Hi,
Here is my scenario:
I am required by my client to provide a web application based on JQuery framework and OpenLayers. NOTE: No aspx and no thinkgeo web suite control allowed :(.
I have a ThinkGeo WMS server which works great, and I provide REST services build ontop of ThinkGeo Web Suite Edition. Using these services, I construct shapefiles from data residing in a MySql database. I need to display those shapefiles in the OpenLayers map. I tried converting the shapefile to GeoJSON (successfully and every quick operation), however, the problems is, using GeoJSON, it takes about 40 minutes to load a shapefile that represents all ZIP Code features(>30k features) for the USA!! So GeoJSON is out. Another option is to consume each feature as WKT, one at a time - also very inefficient.
It would be fantastic if I could add the newly generated shapefile(s) to the WMS server on the fly, and then just consume them from there. Any ideas on how I could achieve this, or is it even in the realm of possibilities.
Any other suggestions would be greatly appreciated.
Thanks,
Chris
PS. I investigated doing this with GeoServer and it allows me to add new shapefiles to the WMS server on the fly via cURL, but styling etc is real pain in the *ss on GeoServer, and the performance in my experience is not as good as that of ThinkGeo WMS server.