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 have some SHP layers that contain some streets and buildings data, and i'm showing it with openLayers (by GeoServer). they are not contain the names of the streets or the numbers of the buildings. there is a way to get from OSM list with the streets names and the numbers of buildings with the location of theme, its can be in any format(kml, shp, gml, text etc)?

share|improve this question

4 Answers 4

You can download roads and buildings from overpass query and export in geojson, gpx, kml format.use the following query:

<osm-script>
    <union> 
        <query type="way"> 
            <bbox-query {{bbox}}/> 
            <has-kv k="highway"/> 

        </query> 
        <query type="way">
          <bbox-query {{bbox}}/>
          <has-kv k="building"/>    
        </query>
     <recurse type="way-node"/>
    </union> 
  <print mode="body"/>
</osm-script>

select the bounding box from the toolbar by clicking on "manaually select bbox" or it will take your current map view as bounding box of the query.

share|improve this answer

You can extract data from OSM for a particular region but you cant get the name for your streets with a location query because they surely wont match perfectly.

See this question: How can I extract data from OSM which includes the street names? for information about OSM data extraction procedure.

share|improve this answer

You can get the OSM data as SHP from WeoGeo (my employer) for any location in the world. The streets/highways layer has names of streets and the buildings have numbers and type, when provided by the OSM user who created or edited the feature. You can also select the output to be any of the file formats you mentioned.

http://market.weogeo.com/datasets/osm-openstreetmap-planet.html

share|improve this answer

You can get shapefiles build from OSM data for most parts of the world from Geofabrik. These contain street names, but not the number of buildings.

Furthermore, buildings are missing in Openstreetmap data for many (especially less populated) parts of the world.

share|improve this answer

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.