Sign up ×
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'm planning to build a statistical tool using OpenLayers and OpenStreetMaps. This tool will have to display statistical data for french departments with colors. What I would like to do is the same as this : http://sd1878.sivit.org/geoclip_stats_o3/index.php?profil=FR#v=map3;i=ocs.p_c1_2006;l=fr;z=178717,7038714,864706,751147

Does OpenLayers/OpenStreetMaps allow this ? Or should I look for other alternatives ?

Thanks

share|improve this question

1 Answer 1

Your question is a bit uncertain, because it isn't clear what format you already have the data in. However OpenLayers can show the data in many formats, and you could choose to render the data as vector or raster, or a combination.

A combination is provided as one of the OpenLayers examples (using United States data, but the translation should not be too hard) - see WFS: United States. Note that the source code is provided in a link at the bottom.

You might like to review the many OpenLayers examples if that doesn't meet your precise needs.

share|improve this answer
    
Thank you for your answer. My data is in JSON format with the department's name as key and misc data as value that will be displayed in a popup when the mouse is on top of the department. I suppose I will have to draw polygons for each department, which means that I will have to find all departments coordinates ? –  Harkonnen Apr 24 '14 at 7:28
    
I think that might be another question. –  BradHards Apr 24 '14 at 9:03

Your Answer

 
discard

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.