KML2SHP V2 3 Instructions
KML2SHP V2 3 Instructions
Double-click here
11. After double-clicking over the folder C:\ icon, folders will be reordered,
as shown in this window:
12. Roll down the folder list until you find the folder where your KML file
is:
(You are encouraged to create a folder under C:\ to keep your KML files, like C:\KML Files)
13. Now double-click over the folder C:\KML Files to open this folder:
Double-click
here
14. When you double-click over C:\ KML Files, you will get this, supposing
that you created a KML file on Google Earth, named “cam5.kml”:
17. When you click OK, the KML file will be converted to a 3D shapefile,
named “3D_shp12.shp” (or any other name you have chosen), and, next,
you will be asked if you want to open this shapefile on the current View of
the ArcView 3.x project:
18. Next again, the extension asks the user for a shapefile conversion from
3D to 2D – the reason for this will be explained on the last page of this
manual.
20. Please note that a new View, named “Geographic coordinate View”,
was created automatically, to store the converted KML files, which are
shapefiles in the WGS84 Geographic Coordinate System –
Latitude/Longitude, Decimal Degrees.
• Water1 (the first water source for fire fighting) – point feature
• Water2 (the second water source for fire fighting) – point feature
• Fences (around the plant) – polyline feature
• Build1 (main building) – polygon feature
• Build2 (offices) – polygon feature
• Store1 (raw materials store) – polygon feature
• Store2 (also raw materials store) – polygon feature
• Workers (workers facilities – kitchen, resting, WC’s, etc) – polygon
feature
If you save “Plant1.kml” you will obtain a mixed-feature KML file,
containing, in the same KML file, the 3 types of features: points,
polylines (or lines) and polygons, altogether.
To avoid this, you must save each feature-type KML file at a time,
and will obtain the following 8 KML files:
• Water1.kml
• Water2.kml
• Fences.kml
• Build1.kml
• Build2.kml
• Store1.kml
• Store2.kml
• Workers.kml
Of course that this is for explanation purposes, and you could have
arranged the KML files another way, creating a sub-folder for each
feature type, like this:
• Plant1
• WaterPoints (containing both feature points)
• Water1
• Water2
1
To save any folder or sub-folder on Google Earth, simply select that folder and right-click the mouse, choosing Save As...
On the ArcView 3.x this will look like:
On the left side the user can find a list of Geographic Coordinate
Transformations. Each record is a combination of a Datum name and
its transformation variant, according the EPSG Geodetic Parameter
Data Set, Version 6.18, released 12/Nov/2008 2 :
Tip: to select a Datum name, just click any name on the list, and then
key in the first letter of the datum name you are looking for.
2
Download the EPSG Geodetic Parameter Data Set at: http://www.epsg.org/Geodetic.html
REMEMBER: this tool transforms only in one direction – from
WGS84 Datum to a local Datum 3. Let us remind again that KML files
are always in WGS84 Datum, geographic coordinates
(Latitude/Longitude, degrees).
On the dialog box title you can see that the tool is transforming a
shapefile named “2d_shp22.shp” from WGS84 Datum to European
Datum (1) local Datum (using transformation variant number 1), and
is proposing, for the new transformed shapefile, the name
“2d_shp22_trf.shp”. It will be very useful to use this dialog box to
make a small change in the transformed shapefile: in place of “_trf”
you can write “_Eur_Dt_1” and therefore always remember the
Datum of the new shapefile (2d_shp22_Eur_Dt_1.shp).
3
For bi-direction transformations download extension “datum_transform_v10.avx” at:
http://arcscripts.esri.com/details.asp?dbid=15967; if you need to unproject a projected theme, download Projector_EPSG extension at:
http://arcscripts.esri.com/details.asp?dbid=16218
This dialog box contains all the information for the selected
Datum/Transformation variant combination, and the Copy & Close
button allow you to copy this information to the clipboard, so that it
can be pasted onto any text processor (Notepad, Wordpad, WORD,
etc.).
From Version 2.1 on, the extension writes a projection file for the 3D
and 2D shapefiles directly converted from KML files, of the type
[name of shapefile].prj with the following parameters4:
GEOGCS["GCS_WGS_1984",
DATUM["D_WGS_1984",
SPHEROID["WGS_1984",6378137,298.257223563]],
PRIMEM["Greenwich",0],
UNIT["Degree",0.017453292519943295]]
This projection file will permit the new 8.x/9.x ESRI family
georeference a converted shapefile easier.
4
For now, the projection file is only for the WGS84 shapefiles; maybe, at a later time, the extension will be able to write the
projections files for the transformed shapes, also.
Projecting a geographic coordinate FTheme:
From version 2.3 on, this extension is able to perform a Map
Projection for a geographic coordinate shapefile.
Clicking “Yes” on this message box, the following window will show
up:
Now the user may select the most appropriate5 Coordinate Reference
System for the map projection; in this example there is only one
choice, but on other cases there may be several different map
projections for the same geographic coordinate shapefile.
Note that, in some cases, there are no available Map Projections for a
specific Datum AND a specific location; if this happens, try to use
another destination Datum for the Datum transformation.
Clicking OK on the above window, will start the projection of the
transformed geographic shapefile, attaching the suffix “_prj” to the
geographic shapefile name, as in the following example:
Geographic coordinate shapefile: “2d_shp22_trf.shp”
Coordinate
Operation
Method
If the user performs several map projections for the same CRS, the
resulting shapes will be shown at the same Projected View.
5
According the Are of Use form of the EPSG dataset.