### Merge Rule Example Source: https://github.com/sapics/ip-location-db/blob/main/asn-mmdb/README.md An example illustrating the merge rule for multiple databases, showing how IP ranges are prioritized and combined. ```text GeoFeed: 1.0.0.0, 2.0.0.0, AU 3.0.0.1, 4.0.0.0, US Whois: 1.0.0.0, 2.2.0.0, FR 2.5.0.1, 4.0.0.0, IN ASN: 1.0.0.0, 4.0.0.0, JP ``` ```text GeoFeed-Whois-ASN: 1.0.0.0, 2.0.0.0, AU 2.0.0.1, 2.2.0.0, FR 2.2.0.1, 2.5.0.0, JP 2.5.0.1, 3.0.0.0, IN 3.0.0.1, 4.0.0.0, US ``` -------------------------------- ### CSV Format Example Source: https://github.com/sapics/ip-location-db/blob/main/dbip-country/README.md Illustrates the structure of the CSV files, including IP range start, IP range end, and country code. ```CSV ip_range_start, ip_range_end, country_code ``` -------------------------------- ### IPv4 Numeric CSV Example Source: https://github.com/sapics/ip-location-db/blob/main/geo-asn-country/README.md Shows the equivalent of the IPv4 CSV example using numeric IP addresses. ```CSV 16777216,16777471,AU ``` -------------------------------- ### Merge Rule Example Source: https://github.com/sapics/ip-location-db/blob/main/geo-asn-country/README.md Illustrates how multiple databases are merged based on precedence. ```text GeoFeed: 1.0.0.0, 2.0.0.0, AU 3.0.0.1, 4.0.0.0, US Whois: 1.0.0.0, 2.2.0.0, FR 2.5.0.1, 4.0.0.0, IN ASN: 1.0.0.0, 4.0.0.0, JP is converted to GeoFeed-Whois-ASN: 1.0.0.0, 2.0.0.0, AU 2.0.0.1, 2.2.0.0, FR 2.2.0.1, 2.5.0.0, JP 2.5.0.1, 3.0.0.0, IN 3.0.0.1, 4.0.0.0, US ``` -------------------------------- ### IPv6 Numeric CSV Example Source: https://github.com/sapics/ip-location-db/blob/main/geo-asn-country/README.md Presents the IPv6 CSV example using 128-bit unsigned integers. ```CSV 42540528726795050063891204319802818560,42540528806023212578155541913346768895,JP ``` -------------------------------- ### IPv6 CSV Example Source: https://github.com/sapics/ip-location-db/blob/main/geo-asn-country/README.md Demonstrates an IPv6 range and its corresponding country code in CSV format. ```CSV 2001:200::,2001:200:ffff:ffff:ffff:ffff:ffff:ffff,JP ``` -------------------------------- ### IPv4 CSV Example Source: https://github.com/sapics/ip-location-db/blob/main/geo-asn-country/README.md Illustrates an IPv4 range and its corresponding country code in CSV format. ```CSV 1.0.0.0,1.0.0.255,AU ``` -------------------------------- ### CSV Format Header Source: https://github.com/sapics/ip-location-db/blob/main/dbip-city/README.md Defines the columns present in the CSV files for the city database. ```CSV ip_range_start, ip_range_end, country_code, state1, state2, city, postcode, latitude, longitude, timezone ``` -------------------------------- ### MMDB Format Source: https://github.com/sapics/ip-location-db/blob/main/dbip-city-mmdb/README.md The expected format for the MMDB database, listing the fields. ```text country_code, state1, state2, city, postcode, latitude, longitude, timezone ``` -------------------------------- ### CSV Format Header Source: https://github.com/sapics/ip-location-db/blob/main/dbip-asn/README.md Defines the columns for the CSV data files. ```CSV ip_range_start, ip_range_end, autonomous_system_number, autonomous_system_organization ``` -------------------------------- ### City MMDB Format Source: https://github.com/sapics/ip-location-db/blob/main/tools/DATA.md The flat structure of fields for city data within MMDB files. ```plaintext city country_code state1 state2 postcode latitude longitude timezone ``` -------------------------------- ### ASN MMDB Format Source: https://github.com/sapics/ip-location-db/blob/main/tools/DATA.md The flat structure of fields for ASN data within MMDB files. ```plaintext autonomous_system_number autonomous_system_organization ```