Questions tagged [geolite2]
43 questions
17
votes
1 answer
How to see .mmdb file content?
I have a file GeoLite2-City.mmdb which is MaxMind DB File.
I want to see its content.
What is a way to see the content of this .mmdb file? Does MaxMind offer a tool or a library to be able to read such files?

sam
- 1,073
- 4
- 13
- 27
4
votes
2 answers
MaxMind pulling Geolite2 gets 401 Unauthorized
Geolite2 access changed on 12/30.
Today I registered for a Maxmind account, registered a license key (both one that "Will this key be used for GeoIP Update?" and one that will not) .. and now each time I enter I get a 401:
smachine:~# wget…

jg3
- 503
- 5
- 12
3
votes
1 answer
Query by city name on geolite2 .mmdb file (JAVA)
I am using GeoLite2 to get Location by IP address for my java appliccation.
I want to get country by city from GeoLite2-City.mmdb file.
This is my reader :
DatabaseReader reader = new DatabaseReader.Builder(dbFileStream).withCache(new…

sam
- 1,073
- 4
- 13
- 27
3
votes
4 answers
python-geoip does not work on python3.4?
I was able to get geolite2 working on python2.7 - but i needed 3.4. I found the instructions for 2.7 on this link: http://pythonhosted.org/python-geoip/. Code fragments are also provided.
pip install python-geoip
pip install…

user5331677
- 409
- 3
- 6
- 12
2
votes
0 answers
Undefined symbols for architecture x86_64, Conan geolite2pp
I am trying to build a conan source with dependency, I am getting
Undefined symbols for architecture x86_64:
I am trying to use geolite2pp in a c++ project, But I am getting this error
Here is content of conanfile.py
class AppConan(ConanFile):
…

progrrammer
- 4,475
- 2
- 30
- 38
2
votes
0 answers
Using longitude and latitude in GeoIP to get geographical information
I have been using GeoLite2 from the GeoIP package in Python to geolocate IP-adresses. It is quite easy. Using this code i.e. i can obtain a lot of information about the IP-address:
reader = geolite2.reader()
reader.get('131.165.115.153')
Which…

Jonathan Marin
- 57
- 6
2
votes
0 answers
GeoLite2 database region code
I have been asked to implement regions recognition from IP addresses with GeoIP that is already implemented (version 1 though, not version 2) for my company's website. It is developped with symfony, and i'm quite new to the framework, but also to…

R.Verny
- 21
- 2
2
votes
1 answer
What is the accuracy on country level of GeoLite2 Country DB?
What is the accuracy on the country level of GeoLite2 Country DB? Also, is there any data about the accuracy on the country level for all different DBs(including both paid & free)available in the market?

learning_13
- 140
- 7
2
votes
1 answer
I'm unable to convert ip in array to longitude and latitude
I'm trying to process an array ip from data posted from a input post. To convert this to latitude longitude I am using the following code,
this my ci library:

gofur triad
- 83
- 2
- 6
2
votes
1 answer
Checking an IP Address against an CIDR range in redshift
I've got a problem i have been trying to work out I have googled a few things that are similar to what i want to do but can't work out exactly how to do it,
I have around 250M ip address's and i want to look that up against the maxmind geolite2…

Dillon Wright
- 151
- 10
1
vote
0 answers
Incorrect Header Check at Zlib when install package geolite2-redist
I just got this weird error and did not find a result.
Everything was still fine yesterday. But when I start reinstall my packages ( geolite2-redist) , it gives me this error:
error /home/ubuntu/node_modules/geolite2-redist: Command failed. …

ninoorta
- 662
- 1
- 5
- 13
1
vote
3 answers
Convert IPv6 range in CIDR format to an IPv6 address range (start and end ips) in MySQL
I am trying to import GeoLite2 ip to country csv file to my MySQL database. I was succesfully able to do that, however, to use it to search for IPs in my queries I need to create two more fields in both the ipv4 and ipv6 tables to store the start_ip…

Ahmed Shefeer
- 386
- 2
- 12
1
vote
0 answers
Different behavior with browser and with curl or wget when using GeoLite2 permalink
I am getting different responses when querying for the permalink provided by GeoLite2. I have created a license key and I have tested that I can download it on Incognito Mode. But when I resort to using wget or curl, I am getting an "Invalid license…

vierivincent
- 11
- 1
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
0 answers
How to install maxmind geoLite2 on amazon linux with php server?
I am facing a problem while installing maxmind GeoLite2 free country lookup via IP on my server. Truly, I didn't found any good steps to install it. Can any one please suggest to me a right solution to install it on aws elastic beanstalk linux php…

Lokendra Parihar
- 121
- 2
- 13