[postgis-users] how to correct shared boundary data problem?

Kevin Neufeld kneufeld at refractions.net
Tue Mar 24 13:21:54 PDT 2009


Did you try ST_SnapToGrid() to force your geometries to lie on a grid?
http://postgis.refractions.net/documentation/manual-svn/ST_SnapToGrid.html

Note: this is close to, but not the same thing as, reducing the precision on geometry coordinates.
-- Kevin

John Zhang wrote:
> Hi there,
> 
> I have two feature classes which are supposed to have shared boundaries. 
> However, the data came from another party with the shared boundary data 
> issue, which boundary lines are slightly moved (no snapping during 
> editing?).  I am thinking how I can solve the data problem by using 
> PostGIS methods.
> 
> Any input would be greatly appreciated!
> 
> Thanks a lot
> John
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list