Comments (16)
@sarthak-0415
this is related to #43 what would be an appropiate flag for this?
from osm2pgrouting.
yes we should and name is csystem
from osm2pgrouting.
csystem what is that?
from osm2pgrouting.
oh, c for coordinate, c for conf
from osm2pgrouting.
yes and defalut value should the coordinate system we are using currently
from osm2pgrouting.
yes is c for conf? I think the name should be more meaninful,
- coord (short for coordinate)
from osm2pgrouting.
and can you tell me what is the coordinate system osm uses?
from osm2pgrouting.
nd also what are the valid coordinate systems that we can accept?
from osm2pgrouting.
we use longitudes and lattitudes from the osm file
geographic coordinate system
from osm2pgrouting.
that I dont know but boost.geomtery supports these coordinate systems
- cartesian
- spherical
- spherical_equatorial
- geographic
from osm2pgrouting.
@sarthak-0415
please find out what osm use, because that should be the default.
maybe @woodbri knows?
from osm2pgrouting.
OSM uses WGS84
http://wiki.openstreetmap.org/wiki/Converting_to_WGS84
from osm2pgrouting.
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.
from osm2pgrouting.
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.
from osm2pgrouting.
@sarthak-0415
can you ask to boost.geometry what coordinates system is convenient when the data is WGS84?
from osm2pgrouting.
I'm also for using WGS84 (EPSG:4326).
It's easy enough later to reproject if a user wants to have a different one.
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 -E 4326
flag, but i think we don't do this now. Someone can add this later.
from osm2pgrouting.
Related Issues (20)
- length, cost and reverese cost is not a valid distance HOT 6
- Table "ways" has "gid" as id HOT 2
- Migrate to GH Actions
- How is the column "cost" and similars calculated? HOT 5
- mapconfig_for_cars.xml -> "unclassified" has wrong priority HOT 7
- Issue with data import: fe_sendauth: no password supplied HOT 3
- osm2pgrouting does not compile with libpqxx v 7.1.1, 7.2.0. Compiles okay with 6.4.7 HOT 8
- Remove "priority" and "max-speed"
- New release? HOT 4
- 2.3.7 compile error HOT 5
- Change 'gid' column in 'ways' table to id' HOT 15
- Move branch master to "main"
- Release v2.3.8 HOT 1
- Some way are not imported in the ways table HOT 2
- Too many edges HOT 4
- Error opening /usr/share/osm2pgrouting/mapconfig.xml HOT 1
- Problem creating topology on pgrouting HOT 2
- unable to open / parse config file HOT 3
- osm_relations table does not get populated
- unclosed token at line 51376846 Failed to open / parse data file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osm2pgrouting.