Opened 5 years ago

Closed 4 years ago

#4597 closed defect (fixed)

[doc] ST_SetSRID should explain difference with ST_Transform

Reported by: komzpa Owned by: komzpa
Priority: medium Milestone: PostGIS 3.0.1
Component: documentation Version: master
Keywords: Cc:


A person claims they transformed their dataset into 3857 from 4326 and ST_DWithin "does not work". Upon investigation they used ST_SetSRID instead of ST_Transform. Our manual does not mention ST_Transform vs. ST_SetSRID on ST_SetSRID function manual.

Change History (1)

comment:1 by robe, 4 years ago

Resolution: fixed
Status: assignedclosed

This looks like it's already addressed.

I see it in the note:


This function does not transform the geometry coordinates in any way - it simply sets the meta data defining the spatial reference system the geometry is assumed to be in. Use ST_Transform if you want to transform the geometry into a new projection.
Note: See TracTickets for help on using tickets.