CityOfLosAngeles / dot-planner

Planning software and database for Active Transportation Projects
Apache License 2.0
9 stars 7 forks source link

Coordinates #54

Closed spencercharest closed 7 years ago

spencercharest commented 7 years ago

We are having some trouble understanding the coordinate system that ArcGIS uses for geometry. From my research is looks like it is WSG84. An example of the coordinates we are getting are -13168634.8981, 4026429.6236. Is there anyway to easily convert these to decimal degrees like 34.0522, -118.2437. We are having trouble figuring out how to render the WSG84 on the map.

Other than this issue we have successfully imported from the geodatabase that was sent to us to our postgres database.

hunterowens commented 7 years ago

Obligatory West Wing Map projection reference

GDAL Transform which you should have install as part of gdal should do the trick. My guess is the command will look something like this.

ogr2ogr -f "ESRI Shapefile" original.shp output.shp -s_srs EPSG:27700 -t_srs EPSG:degree. You can also inline this using flags as part of the the conversion step. (see link below)

Additional Documentation

spencercharest commented 7 years ago

Thanks! We were able to get this working.