Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import KML to ZWCAD
#1

Import KML to ZWCAD



KML to CAD (KML to ZWCAD)
Using Spatial Manager™ for ZWCAD, whose main function is to import Features from geo-spatial data sources as ZWCAD Entities, any user can convert KML to ZWCAD Entities by selecting a very interesting data provider designed and optimized for KML/KMZ files
The KML data provider can read complex KML/KMZ files (including complex folder structures), and allows you to accurately select the information you are importing and distribute it over ZWCAD Layers according to the folder of the data source in the KML/KMZ file or following the criteria defined by the value of any data Field of the KML/KMZ table when you import KML to ZWCAD drawings
[Image: Import-KML-to-ZWCAD-Data-provider-SPM-for-ZWCAD.png]
 
Importing using Spatial Manager™ for ZWCAD and the “ZWCAD KML” data provider
Example: Import KML to ZWCAD
Part one: we will import the full content of a Google Earth KML file into ZWCAD, without distributing this information in different Layers nor transforming the Coordinate Reference System of the incoming data. The files in KML/KMZ formats are always defined using the WGS 84 geographic system, whose standard identifier (EPSG) is 4326, and, as you can see in the drawing when the import process is finished, the cursor coordinates indicate values of Latitude and Longitude
In this case, the point type Features are converted to ZWCAD Points, the linear type Features to ZWCAD open Polylines and the polygon type Features to ZWCAD closed Polylines, adding ZWCAD Hatches, using the SOLID pattern with a certain level of Transparency, for those polygons
Part two: we will separately import two folders from the same KML file that was used in part one, into an existing drawing, whose coordinate values are established as the UTM30-ED50 projected system which, as you can see in the drawing, uses the meter as the unit length. The standard identifier (EPSG) for this system is 23030
The first folder holds point type Features belonging to a network and will be imported as  ZWCAD Block References using an existing Block Definition in the drawing. This Block Definition contains two attributes which can be “mapped” to any Field from the source table to take their values. As you can see in the video, if the name of a Field matches that of an Attribute, the application selects this relationship Field-Attribute as the default relationship. Furthermore, these Blocks References will be distributed into different new or existing Layers of the drawing depending on the values of one of the Fields of the point type Features in the source
The second folder holds linear type Features corresponding to the previous network, and will be imported using open Polylines into a single Layer
In both import processes carried out in the second part of the example, the Coordinates of the imported Entities are transformed from the original system of the KML file (WGS84) to that of the drawing (UTM30-ED50)

Reply
Thanks given by: LikRooge , mamaligadoc


Forum Jump:


Users browsing this thread: 2 Guest(s)