Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am using geoserver, Postgis(database) and OpenLayers for map. Now I want to create a layer (WFS, WMS) dynamically. The goal is to allow the user to create any number of layers from front end without hardcoding in (map.js) file. Is it possible?

share|improve this question
    
You need to provide more details:What input will the user give? How will the user provide this Input? What have you done so far? What kind of error checking will you do? What base layers do you have in the map by default? –  Devdatta Tengshe Nov 20 '13 at 7:39
    
Your question does not make sense, you must have some kind of predetermined list of what layers are actually available on GeoServer. Users just cannot create layers from nothing. Please be more specific about the number of layers you have on GeoServer, what the expected user interaction is, ie: will they choose from a list, and whether the layers on Geoserver are Static, or are being added to all the time. (Plus what Devdatta Tengshe suggested you provide as well.) –  Mark C Nov 20 '13 at 11:59

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.