Questions tagged [geolite2]

43 questions
1
vote
0 answers

Geolite2 alternative for city and country query?

I am using geolite2 to get location by IP address for my java application. Now I need to get city list by country and country by city name. Geolite2 doesn’t support it, is there any alternative for this?
sam
  • 1,073
  • 4
  • 13
  • 27
1
vote
2 answers

Reference file from Azure function 2.0 with .net core

I am trying to create an Azure function that reads from a .mmdb file GeoLite2 Country DB I have added the geolite2 file next to my function. But I cannot find a way programmatically to reference the file path such that it remains the same on my…
1
vote
1 answer

The file GeoLite2-Country.mmdb does not exist or is not readable

I am in a little project where I need to collect the country form people who submit a contact form to one site, now I'm using MaxMind/GeoLite2 reading the DB file with GeoIp2 v2.0 (installed from composer) and I am getting the next error…
1
vote
1 answer

How to update maxmind GeoLite2

It's said GeoLite2 is updated every month, so do I have to manually update GeoLite2 every month to local? or do this with watchForUpdate? maxmind.open('/path/to/GeoLite2.mmdb', { watchForUpdates: true }); Does the update take a lot of time, I don't…
Daniel.zZ
  • 131
  • 2
  • 15
1
vote
0 answers

Geolite2 files taking up space on disk

Checking the disk use of my hosting account I have discovered a section called "Another use" with more than 500MB (my plan has 2GB). I have contacted to them about that and they said me this: "It looks like you have any plugin using geolite, which…
Antonio
  • 11
  • 2
1
vote
1 answer

How to create database in MySQL for import Maxmind GeoLite2 city csv

How to create database in MySQL for import Maxmind GeoLite2 city csv? I need to know what types of fields I have to use and how properly connect the tables in the database to import from a csv-file. This is my SQL-code example: DROP TABLE IF EXISTS…
komax93
  • 61
  • 7
1
vote
1 answer

GeoLite2 accuracy in “Country” level

MAXMIND info shows that GeoLite2 is less accurate than GeoIP2 DB when "City" resolution is required. If only “Country” resolution is required – is the accuracy of the two DB equivalent? Thanks in advance, Gil
Gil Gazit
  • 11
  • 2
1
vote
1 answer

How does geolite region codes works?

We are using the region code from Geolite (Maxmind) that we found here: http://geolite.maxmind.com/download/geoip/misc/region_codes.csv Does anyone know how they select the region they cover? I'm asking because for Latvia (LV) we cannot find any…
scoob27
  • 91
  • 6
1
vote
4 answers

Importing MaxMind's GeoLite2 to MySQL

MaxMind's GeoLite2 is a wonderful database and is very useful if you want to map IP addresses to countries. To do this efficiently, I want to import it into a MySQL database with a scheme like this: I remember writing an import script for the CSV…
bytecode77
  • 14,163
  • 30
  • 110
  • 141
0
votes
0 answers

Total Imported Number diff between Postgres/SQL Server and MySQL

Trying to import and make data available in SQL Server, I studied steps for Postgres and MySQL. Notice total imported records combining ipv4 and ipv6 between them are different: 5,018,861 = Postgres 12,575,441 = MySQL (ipv4=11,334,870 …
Jeb50
  • 6,272
  • 6
  • 49
  • 87
0
votes
1 answer

Java - GeoLite2 database corruption when creating .jar in Gradle

Recently I have been using GeoLite2 City database in my application to get information on the user location using their IP. The database works fine in my local machine, but when I compile it to a .jar using ./gradlew -Pprod clean bootJar I get this…
Kiporman
  • 23
  • 3
0
votes
2 answers

Get geoLocation of incoming request in Spring boot

I want to know the location of the user that is on our web application. The information should contain user's Country and City. I am unable to find a good way to do so using Java or Spring Boot. I have tried using GeoLite2-City but it gives me…
Eatsam ul haq
  • 317
  • 1
  • 12
0
votes
0 answers

How to get information from IP address in CSV

I'm bulding a model by python, and apply on Bot-IoT dataset https://research.unsw.edu.au/projects/bot-iot-dataset I tried extract information from IP address in CSV file inside this dataset. The features [saddr, daddr] refers source and destination…
LAT
  • 21
  • 4
0
votes
1 answer

How to install Geolite2 on Piwik 3.0.2 (old version of Motomo)?

I have Piwik 3.0.2 and a tar ball of Geolite2_City. Can I install directly on my folders on server? Where I put this file?
kimal73
  • 13
  • 3
0
votes
1 answer

Checking GeoLite2 have IP Adress

I use this repository. But, I don't know how to check if that data exists. Help me. All codes…
user12897186