|
[OSM-dev] DBF files (shapefile) and OSM tags: msg#00131gis.openstreetmap.devel
Am now working on an OSM to shapefile converter. Using shapelib, shapefiles seem fairly straightforward but the accompanying .dbf file is a little more unclear. The general idea seems to be to describe attributes in a database table-like structure, with each column representing a different attribute. The only thing is, with the free-form nature of OSM attributes, the number of columns required in the .dbf table would quickly spiral considerably particularly for nodes (less for ways, as for ways there are only a number of common tags e.g. highway). So might it be better to concatenate the key/values as a comma separated list (e.g amenity=place_of_worship,denomination=anglican,name=St Pauls Church) and put that in one DBF column? Nick Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ dev mailing list dev@xxxxxxxxxxxxxxxxx http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [OSM-dev] LIBOSM - the C++ OSM library: 00131, Nick Whitelegg |
|---|---|
| Next by Date: | Re: [OSM-dev] DBF files (shapefile) and OSM tags: 00131, Kristian Thy |
| Previous by Thread: | [OSM-dev] LIBOSM - the C++ OSM libraryi: 00131, Nick Whitelegg |
| Next by Thread: | Re: [OSM-dev] DBF files (shapefile) and OSM tags: 00131, Kristian Thy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |