I am looking for some free dotNET libraries which can be used to convert an OpenStreet .osm file to .shp shapefile.
I did Google, but mostly found either .exe files, or non.NET files.
Can you point me to the .NET libraries?
I am looking for some free dotNET libraries which can be used to convert an OpenStreet .osm file to .shp shapefile.
I did Google, but mostly found either .exe files, or non.NET files.
Can you point me to the .NET libraries?
According to Shapefiles#Create_your_own_shapefiles there is at least one of the various osm2shp softwares written in C#, the osm2shp hosted at google code.
https://code.google.com/archive/p/osm2shp/issues/8
. Also when I try to open an .osm file by calling the OSM2SHP.osm.ReadFromFile
method an error message appears: osm - Unknown attribute : copyright
. It may be that the code is too old (written in 2008 for dotNET 2.0).
shp
file from OpenStreet data? There is a webpage which explains how to download the osm
file from OpenStreet data: http://wiki.openstreetmap.org/wiki/Downloading_data
. This is why I thought I can convert it. But if I could directly download the shp
file, then I do not even need the osm2shp dotNET libraries. By the way, I do not want to use geofabrik.de as it does not allow download of the openstreet data by extent through url address, which is what I need.
osm2shp
and GDAL/OGR
. The first one having upper issues. With the GDAL/OGR I had the famous "missing drivers issue" even though the version is newer than 1.10.0: http://gis.stackexchange.com/questions/67371/gdal-1-10-ogr2ogr-osm-unable-to-open-datasource
.