Giter Club home page Giter Club logo

Comments (16)

cvvergara avatar cvvergara commented on July 19, 2024

@sarthak-0415
this is related to #43 what would be an appropiate flag for this?

from osm2pgrouting.

sarthak0415 avatar sarthak0415 commented on July 19, 2024

yes we should and name is csystem

from osm2pgrouting.

cvvergara avatar cvvergara commented on July 19, 2024

csystem what is that?

from osm2pgrouting.

cvvergara avatar cvvergara commented on July 19, 2024

oh, c for coordinate, c for conf

from osm2pgrouting.

sarthak0415 avatar sarthak0415 commented on July 19, 2024

yes and defalut value should the coordinate system we are using currently

from osm2pgrouting.

cvvergara avatar cvvergara commented on July 19, 2024

yes is c for conf? I think the name should be more meaninful,

  • coord (short for coordinate)

from osm2pgrouting.

cvvergara avatar cvvergara commented on July 19, 2024

and can you tell me what is the coordinate system osm uses?

from osm2pgrouting.

cvvergara avatar cvvergara commented on July 19, 2024

nd also what are the valid coordinate systems that we can accept?

from osm2pgrouting.

sarthak0415 avatar sarthak0415 commented on July 19, 2024

we use longitudes and lattitudes from the osm file
geographic coordinate system

from osm2pgrouting.

sarthak0415 avatar sarthak0415 commented on July 19, 2024

that I dont know but boost.geomtery supports these coordinate systems

  • cartesian
  • spherical
  • spherical_equatorial
  • geographic

from osm2pgrouting.

cvvergara avatar cvvergara commented on July 19, 2024

@sarthak-0415
please find out what osm use, because that should be the default.
maybe @woodbri knows?

from osm2pgrouting.

sarthak0415 avatar sarthak0415 commented on July 19, 2024

OSM uses WGS84
http://wiki.openstreetmap.org/wiki/Converting_to_WGS84

from osm2pgrouting.

woodbri avatar woodbri commented on July 19, 2024

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.

woodbri avatar woodbri commented on July 19, 2024

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.

cvvergara avatar cvvergara commented on July 19, 2024

@sarthak-0415
can you ask to boost.geometry what coordinates system is convenient when the data is WGS84?

from osm2pgrouting.

dkastl avatar dkastl commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.