I'm developing an interactive web (HTM5) gis application wich the user draw an element (circle for example) and extract data from base map (OpenStreetMap).The features would be:

1º Base Map like OSM. 2º Control panel to draw a circle (in leaflet.draw). 3º Representation of selected objects within this circle area. 4º Save the selected objects into a variable.

The application would focus on census data where the user gets the number of people within that area.

closed as unclear what you're asking by simo, radouxju, Mapperz Mar 31 '14 at 13:21

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    You, please, should clarify your question. What do you want exactly? Is there any need of including QGIS in your web-app? Why do you want to ? – simo Mar 31 '14 at 12:05

If I understand correctly, you want to use QGIS for making this extraction. QGIS is IMHO not best choice for it, you need something, which you can use in batch. GRASS GIS or some custom script using OGR or PostGIS can do this easily.

You are probably looking for WPS interface, which is intended to perform tasks like this. There are several options around: PyWPS, Zoo-project, Geoserver, deegree, 52North to name the most known one.

At the background, most of them can talk to GRASS GIS or enable you to program what ever analysis you need to perform (such as data extraction).

You should probably load the OSM data to database first, to have better performance.

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