I'm working on a project where we have a large number of very detailed polygons being displayed on a image using Openlayers. The polygons are added to the map through a GML feed.
We are having end user performance issues on some of our more complicated polygon feeds. The issues are two fold:
1) The browser will freeze up when loading the polygons from GML initially. After the loading it seems to perform pretty well is there some way to stream the data in slower as to not freeze the browser when the polygons are initially being added to the map?
2) The data payload to the user is too large. We would like to simplify the actual amount of polygon data that is sent to the user. We have our source polygon data in a mysql database, is there an algorithm we could use that would simplify our source polygon data to reduce the number of vertexes?
Some of this may be very basic, sorry I'm pretty new to this stuff.