Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am tasked with adding one feature to an existing app. It was built with OpenLayers and GeoServer. The task is to import a shapefile on-the-fly and have GeoServer render it instantly. However, I can't find any doc or tutorial.

Since a user can import any shapefile, the geometry type or the data structure can't be determined ahead of time.

Thanks, Fred

share|improve this question
You might take a look at the Open Source OpenGeo Suite, or the GeoExplorer as a part of the suite, respectively. They are supposed to support instant shape file upload using GeoServer’s REST API. (Although it doesn’t work for me… I always get the message that my upload is “incomplete”.) – hfs Oct 12 '12 at 12:02
up vote 3 down vote accepted

There is nothing already done, but using REST config you can do the upload, it should auto-configure itself (watch out for missing or invalid .prj files though) and then you can use it like a normal WMS layer, previewing it where you prefer.

share|improve this answer
Thanks Andrea. That's exactly what I am looking for. – freddell Jul 6 '12 at 21:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.