Questions tagged [geolitecity]

The GeoLite databases are IP geolocation databases

The GeoLite databases are IP geolocation databases from a particular vendor

13 questions
1
vote
0 answers

Maxmind geoip, don't find ip

I have a php docker container that i use on my local environement. In the dockerfile i put this RUN apt-get install -y \ geoip-bin \ geoip-database \ libgeoip-dev RUN pecl install geoip-1.1.1 RUN docker-php-ext-enable geoip RUN echo…
T3ddy
  • 127
  • 2
  • 11
1
vote
1 answer

Maxmind DatabaseReader Java heap space

I try to use GeoLite2-City.mmdb in spring boot to get location data. To that effect, I created a bean like this in the configuration file: @Bean public static synchronized DatabaseReader mmdbReader() throws IOException { …
amelongo
  • 93
  • 11
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
0 answers

maxmind GeoLiteCity doesn't work properly

I'm using maxmind GeoLiteCity to show city name base on user IP address, it show for some of cities but not for all cities. Here's my code: I downloaded latest GeoLiteCity.dat from following…
Alex Mocha
  • 19
  • 3
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
1 answer

Accuracy of the geolite_city_bq_b2 dataset

I believe there are inaccuracies in the BigQuery fh-bigquery.geocode.geolite_city_bq_b2 dataset, and am curious if others have noticed this too. Background: I have the BigQuery code from Ramtin M. Seraj running, and his/my logic appear to be sound.…
Dan Cook
  • 19
  • 2
0
votes
1 answer

GeoIP in Matomo, previous Piwik map Tokyo wards

According to https://dev.maxmind.com/geoip/legacy/release-notes/ Effective July 24th, we will be mapping more IP addresses to special wards of Tokyo instead of Tokyo itself. Matomo that I use has enabled GeoIP2 plugin and I have downloaded the…
Hao
  • 6,291
  • 9
  • 39
  • 88
0
votes
1 answer

Does GeoLite2 provide coordinates?

I'm confused, does the free GeoLite2 database provide coordinates (latitude, longitude) anymore? I have been using GeoLite and was able to use Geo::IP and ->latitude calls to get coordinates. I've looked through the documentation and grepped…
Friedrich
  • 41
  • 3
0
votes
1 answer

Can't get MaxMind Reader to work

According to their PHP Packagist repository page https://packagist.org/packages/maxmind-db/reader the following code is all I need to get the reader to work. PHP doesn't seem to like the use MaxMind\Db\Reader;line. Any clue on how to fix this so it…
White Lotus
  • 353
  • 2
  • 6
  • 16
0
votes
1 answer

Maxmind GeoLite2-City is_anonymous_proxy and is_satellite_provider always 0

I've downloaded the Maxmind GeoLite2-City.csv file from https://dev.maxmind.com/geoip/geoip2/geolite2/ I see that the is_anonymous_proxy and is_satellite_provider columns are always 0. I am trying to figure out why these columns are always 0, and if…
aazeem
  • 844
  • 1
  • 12
  • 23
0
votes
0 answers

Read geoip data from database or binary file. Which is faster?

I need to use the geoip data files from Maxmind and I want to know which is faster: Import CSV into a mysql database (about 60 Mb) and query it Use the binary .DAT files (18 Mb) and the corresponding PHP API
ali
  • 10,927
  • 20
  • 89
  • 138
0
votes
2 answers

How to use GeoLite City, how to obtain startIpNum and endIpNum

Alright i downloaded from http://dev.maxmind.com/geoip/legacy/geolite/ GeoLite City database. The values are in the GeoLiteCity-Blocks.csv startIpNum,endIpNum,locId "16777216","16777471","17" However i have no idea how to convert ips to these…
Furkan Gözükara
  • 22,964
  • 77
  • 205
  • 342