Hi Tore that was the legacy spatial indexing.
EPSG:4326 Seems to be te standard widely used also in other GIS system. 2016-07-28 11:21 GMT+02:00 Tore Austrått <[email protected]>: > Hello Enrico, > > in your latest blog post(7/25) you state " ... coordinates (latitude, > longitude) ". > It seems that this is the common understanding. All positions from Google > comes in this format(see attached png) and hence this was the way I > understood it. > In my view this will cause confusion as you can't expect every developer to > be a full fledged navigator. So why not say this explicitly - ODB does it > the opposite way? > > How come OrientDB selected EPSG:4326 ? > > T. > > > On 27 July 2016 at 21:01, Enrico Risa <[email protected]> wrote: > >> Hi Tore >> >> the docs is not incorrect. >> The Spatial Module uses the spatial reference system EPSG 4326 >> >> http://spatialreference.org/ref/epsg/wgs-84/ >> >> and the x & y are projected in longitude (-180 +180) and latitude( -90 >> +90). >> >> See here >> >> http://geojson.org/geojson-spec.html#positions >> >> and here >> >> http://edndoc.esri.com/arcsde/9.1/general_topics/what_coord_sys.htm >> >> Thanks >> Enrico >> >> 2016-07-27 20:33 GMT+02:00 Tore <[email protected]>: >> >>> http://orientdb.com/docs/2.1/Spatial-Module.html >>> >>> The examples are mixing latitude and longitude. >>> Please check this: (it appears the restaurant is located in Ethiopia) >>> This goes for all the examples. Please correct. >>> Thanks. >>> >>> INSERT INTO Restaurant SET name = 'Dar Poeta', location = {"@class": >>> "OPoint","coordinates" : [12.4684635,41.8914114]} >>> >>> -- >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "OrientDB" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "OrientDB" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/orient-database/0suULkswLxU/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Tore Austrått > phone +47 90657231 > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
