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 published/overlay my layers in openlayers from geoserver as wms. Now I want to add/create vector layers on those layer either point/line or polygon, if it is line/polygon I need to display length/area of the feature respectively. Is it possible?, Then how can i?

share|improve this question
    
What have you tried so far? Have you looked at this sample: openlayers.org/dev/examples/draw-feature.html Once you have the drawn shape, you could use code similar to this: gis.stackexchange.com/questions/59183/… to get the area/length. –  Devdatta Tengshe May 7 '13 at 6:50
    
Can you please share some code ? –  Myra May 7 '13 at 8:30

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.