-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Which coordinate system to choose? #70
Comments
@sarthak-0415 |
yes we should and name is |
csystem what is that? |
oh, c for coordinate, c for conf |
yes and defalut value should the coordinate system we are using currently |
yes is c for conf? I think the name should be more meaninful,
|
and can you tell me what is the coordinate system osm uses? |
nd also what are the valid coordinate systems that we can accept? |
we use longitudes and lattitudes from the osm file |
that I dont know but boost.geomtery supports these coordinate systems
|
@sarthak-0415 |
OSM uses WGS84 |
I would use a term the is common to postgis to refer to projections, what you are calling coordinate system. postgis uses "srid", GDAL/OGR uses "srs, ESRI uses a file extension "prj", there is not need to define yet another term and because the data is getting loaded into a postgis database we should be consistent with that. OSM data generally can be found in WGS84 (aka: srid=4326) or Sperical Mercator (aka: srid=900913 or 3857). I think we should leave the provenance of reprojecting the data to postgis and focus on loading the the data. |
I'm for using WGS84, like I said users can use postgis to transform the data later to another coordinate system if they need that. |
@sarthak-0415 |
I'm also for using WGS84 (EPSG:4326). osm2pgsql seems to use Spherical Mercator by default, so it can be used right away for rendering: https://help.openstreetmap.org/questions/6256/why-do-osm2pgsql-and-mapnik-use-spherical-projection-900913 It seems it also supports an |
boost.geomtery have various coordinate system here, which one to choose for osm data and do user have to be given an option to choose coordinate system .
If the user wants to choose which coordinate system he wants what do we need?
this is the cartisian model followed by osm.
The text was updated successfully, but these errors were encountered: