maxmind / mmdbinspect

look up records for one or more IPs/networks in one or more .mmdb databases
Apache License 2.0
135 stars 14 forks source link

Is it possible to get an array of all countries/cities from a country? #61

Closed cawa-93 closed 8 months ago

cawa-93 commented 8 months ago

I am wondering if it is possible to get an array of all countries, all cities per a country that are contained in the provided database using this tool?

oschwald commented 8 months ago

Just as with https://github.com/maxmind/GeoIP2-php/issues/222, the MMDB format is not really structured for this sort of lookup. You would be better off using the CSVs for this.