[postgis-users] Simplifying Polygons

Francois Hugues hugues.francois at irstea.fr
Tue Jun 26 05:47:00 PDT 2012


 

It preserves topology for a simple polygon but not for an entire layer

 

Hugues.

 

De : postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-bounces at postgis.refractions.net] De la part de Robert_Clift at doh.state.fl.us
Envoyé : mardi 26 juin 2012 14:45
À : postgis-users at postgis.refractions.net
Objet : Re: [postgis-users] Simplifying Polygons

 

Try ST_SimplifyPreserveTopology.

 

-Rob

 

________________________________

From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Steve Horn
Sent: Tuesday, June 26, 2012 8:39 AM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] Simplifying Polygons

Hello!
Having a a client-side performance problem due to a large number of polygons being brought down to a Google Map. Sometimes the GZipped response is around 2MB worth of GeoJSON. 

 

I'm hoping that I can partially solve the problem by simplifying the polygons using ST_Simplify. The problem I'm running into is that the polygons are all contiguous and after simplification they are not connecting with each other. (See attached image) 

 

Anyone know how I can simplify the polygons and keep them all "fitting together"?


 

-- 
Steve Horn

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120626/a2ac23ef/attachment.html>


More information about the postgis-users mailing list