Even Rouault wrote: >> Parsing relations must be pretty >> difficult, at least with polygons and therefore I was thinking that by >> using the ReadOSM library the responsibility about doing it right could be >> left to ReadOSM developer.
> My understanding of the ReadOSM API is that it is "just" a low level API that > exposes the raw OSM structure to applications wanting to use it. It will not > build geometries for example. For ways, it will report an array of node ids, > which you have to fetch by other means to build the corresponding linestring. You are probably right. I downloaded source code from https://www.gaia-gis.it/fossil/spatialite-tools/index and it looks to me that spatialite_map_c has code for building geometries. I cannot compile anything myself but once new version of spatialite tools are available as Windows binaries I will have a try. -Jukka- _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev