MobilityData / mobility-database-catalogs

The Catalogs of Sources of the Mobility Database.
Apache License 2.0
257 stars 51 forks source link

Extract location when only URL is provided #460

Open emmambd opened 1 month ago

emmambd commented 1 month ago

What problem is your feature request trying to solve? Oftentimes, we'll only receive a feed URL with no other information.

Solution

Extract country code, subdivision and municipality from stops.txt in cases where the location fields are null in the feed form. Use same process @cka-y used in https://github.com/MobilityData/mobility-feed-api/issues/618

Extract country, subdivision and municipality using 5 points in stops.txt Need to be able to mark which feeds you want to extract locations from (automatic or manual?)

We know this is done when... Country, subdivision, and municipality are always generated/provided. Should test with just a URL.