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 do not know whether something like this is possible but nonetheless.

If I understand OSM correctly all objects essentially have associated tags based on type of object (street, building etc) ...

I want to use QGIS (or something else). The idea is to obtain the statistics of different commonly used tags in that area so that I can have an idea of the feature distribution.

Any suggestion (using other software or format is welcome)

share|improve this question
    
Improve your acceptance rate or some people might be reluctant to help. Do this by accepting the best answers to your questions. –  CaptDragon Mar 5 '12 at 20:19
    
I did not know that i had to accept the best answer ...thank you i will make sure that i accept it henceforth –  GeoH2O Mar 5 '12 at 20:45
    
(+1) much better! Unfortunately, i don't know much about querying OSM. Just wanted to help you improve your acceptance rate because i also did not know when i signed up on this site and i had to be told to do that =) –  CaptDragon Mar 6 '12 at 13:44
add comment

1 Answer 1

up vote 1 down vote accepted

Do you want to do something like "count the number of buildings in area x"?

You can do that in QGIS

  1. Load the OSM file using Openstreetmap plugin.
  2. Check the attribute table now.
  3. A query such as tags LIKE '%"building"%' should select only those features which have the building tag

To get statistics per area, I'd suggest the following approach:

  1. Select buildings like described above
  2. export the features to Shapefile using "Save as ..." from layer context menu
  3. Replace building polygons by centroids
  4. Use "Points in polygon" tool to count points per area

If you are selecting the area manually using e.g. freehand selection tool:

  1. Select all features within your region
  2. Use "Search only selected" option in attribute table and
  3. Use above mentioned query
share|improve this answer
    
Yes i do understand that, the problem is that my area size is a bit larger and i want to select irregular polygons manually and yes i am using the above approach presently –  GeoH2O Mar 6 '12 at 21:19
add comment

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.