[postgis-tickets] [PostGIS] #4159: ST_Distance failing with a geography and a point with specific values
PostGIS
trac at osgeo.org
Mon Aug 27 04:34:48 PDT 2018
#4159: ST_Distance failing with a geography and a point with specific values
--------------------------+--------------------------------
Reporter: GustavoAcid | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS PostgreSQL
Component: postgis | Version: 2.2.x
Resolution: | Keywords: ST_Distance
--------------------------+--------------------------------
Comment (by GustavoAcid):
Replying to [comment:1 komzpa]:
> Can you share WKB of both geographies?
I'm kind of new with Spatial Data, how can I retrieve the WKB of both
geographies?
>
> Is 242 km an incorrect result? It sounds like the country-scale
distance.
Yes, it is incorrect. The point is in the center of the first Geography.
If I do the same query with (-3.676523~~3~~, 40.5036783) the result is 0
as expected.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4159#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list