UnownHash / Fletchling

10 stars 3 forks source link

Add simplified osm/overpass importer #5

Closed comstud closed 8 months ago

comstud commented 8 months ago

Based on feedback, going to ditch the old importer. Here's part of its replacement.

This version doesn't require a config file and doesn't have many switches. Takes 2 uris + either an area name or the -all-areas switch. Options for -min-area, max-area also.

I tested this without actually writing anything... by using a really y00ge -min-area and letting it skip everything. That seems to work as expected. The rest of the code after that point should be the same, so I expect that this works fine.

This also adjusts the fletchling example config to move the things people are going to need to edit... to the top.

lenisko commented 8 months ago

Working as intended. Tested a case with Koji as source and DB as target. Great work!

comstud commented 8 months ago

Going to merge this and iterate more.