2

I have some KML files, polylines. I will convert them in grass to shp. How can I transform coordinates to some projected coordinate system? I was never doing it, so please help me. I need to transform them to Albanian 1987 GK Zone 4. I'm using Autocad Map 3D 2010 or ArcGIS 10.

2

You will want to make sure your converted kml/shapefile has spatial reference or a .prj file first as GCS_WGS_1984 (Google Earth projection). You can define this projection using the Define Projection tool in ArcToolbox, or in ArcCatolog you can go to the properties of the layer and assign its spatial reference. After you do this you can then use the Project tool within the Data Management Toolbox to reproject your layer to Albanian 1987 (Albanian 1987 is located at: Geographic Coordinate Systems>Europe folder).

3

It seems that wanted projection is EPSG:2199 (Albanian 1987 GK Zone 4)

It would be pretty easy to transform it with ogr2ogr (not tested) :

ogr2ogr -f "ESRI Shapefile" /path/to/your/output.shp path/input.kml
ogr2ogr -s_srs EPSG:4326 -t_srs EPSG:EPSG:2199 /path/to/your/output_epsg2199.shp /path/to/your/output.shp
  1. The first command convert your kml to a shapefile
  2. The second re-project your shapefile to Albanian 1987 GK Zone 4

Have a look on GDAL/OGR website if you need more information.

1

This should help you out.

You'll likely want to use the Project tool in the Data Management Toolbox.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.