Re: [OSM-dev] Libosmium method of converting OSM to GeoJSON

2019-10-28 Thread Jochen Topf
Hi!

On Mon, Oct 28, 2019 at 10:39:41AM -0400, Craig Kochis via dev wrote:
> I've been using osmium-tool for extracting features from osm exporting to
> GeoJSON, and was just wondering what method it's using for the osm ->
> geojson conversion. Does it rely on another library (GDAL / OGR), or is it
> using some other method.
> 
> I see that Libosmium has some references to gdal, so that's my hunch, but
> wanted to confirm if that's not the case.

osmium-tool doesn't use gdal for that, it does the work itself. For the
low-level JSON encoding RapidJSON is used.

Jochen
-- 
Jochen Topf  joc...@remote.org  https://www.jochentopf.com/  +49-351-31778688

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Libosmium method of converting OSM to GeoJSON

2019-10-28 Thread Craig Kochis via dev
Hi there,

I've been using osmium-tool for extracting features from osm exporting to
GeoJSON, and was just wondering what method it's using for the osm ->
geojson conversion. Does it rely on another library (GDAL / OGR), or is it
using some other method.

I see that Libosmium has some references to gdal, so that's my hunch, but
wanted to confirm if that's not the case.

Thanks,
Craig
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev