[OSM-dev] OSM->PostGIS Python tool?

Jo winfixit at gmail.com
Fri Dec 21 18:15:49 UTC 2018

Hi Spencer,

I'm using Overpy to fetch data using Overpass API, then process it, then
send it to JOSM using its remote control feature:


You can experiment with it in this Notebook:


Maybe it helps. In a previous iteration all this did involve loading the
data into a PostGIS database:



On Fri, Dec 21, 2018 at 2:16 PM Spencer Gardner <spencergardner at gmail.com>

> I'm researching options for a Python-based tool that uses OSM data. From
> what I can gather there's no native Python library for OSM imports to a
> PostGIS database. (Yes, imposm is developed in Python but there's no
> documentation I can find on how to use it as a Python library--it appears
> to be intended as a command line tool). This seems odd to me since there's
> such a large community of OSM users. I feel like I'm missing something. Are
> there other viable Python libraries I'm not aware of? (Viable = large-ish
> user base and history of bugfixing.) Is there documentation for using
> imposm within Python that I've overlooked?
> Bonus points for:
> - Windows compatibility
> - No external (i.e. non-Python) libraries needed
> Thanks for any help!
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20181221/2b6a0805/attachment.html>

More information about the dev mailing list