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

 

Hugues.

 

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

 

Try ST_SimplifyPreserveTopology.

 

-Rob

 

________________________________

From: postgis-users-boun...@postgis.refractions.net 
[mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Steve Horn
Sent: Tuesday, June 26, 2012 8:39 AM
To: postgis-users@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

_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to