New answers tagged api
Actually I found one here!!!! http://dev.maxmind.com/geoip/geoip2/geolite2/
In your createPointLayer you're creating a pointer on the heap and dynamic memory will be allocated. Then you remove only the references of this layer-object in map, registry and canvas. But I think you have to free the allocated memory with the delete command or better call the destructor of QgsVectorLayer::~QgsVectorLayer()
An all encompassing list of this information may be hard to find. One option would be to compile your own list using a site like latlong.net or using something like Google Earth. Just zoom in close and record the lng/lat coordinates.
I discovered that the complexity of installing own instance of Nominatim can be mitigated by using a docker container where the set up script is already prepared. I used a docker script available at https://github.com/helvalius/nominatim-docker. Then the installation is just the following: git clone https://github.com/helvalius/nominatim-docker.git cd ...
If you want to stick to OSM then you will need Nominatim to process it, or one of the other OSM geocoders. Address data in OSM is build up hierarchically. Just analyzing the raw data won't help, you have to build up an address hierarchy. This is what OSM geocoders usually do. Or take a look at alternative Nominatim instances / third-party providers.
Surely, the preferred answer is (1), i.e., have clients do the "right thing". A good case to consider is the polygon representing the continent of Antarctica approximated by this kml file <kml> <Folder> <name>Antarctica</name> <Placemark> <name>Antarctica</name> <Polygon> ...
Mapzen has a really cool geocoding service that allows you to query the name of the place to get an XY coordinate. (https://mapzen.com/documentation/search/search/). You can get a free API key from their developers page which will allow you to make 30,000 queries per day at 6 per second. (https://mapzen.com/) Here's a function that will return the XY ...
Speaking purely from a data storage and analysis perspective, the geography type for PostGIS was designed with the antimeridian in mind (among several design goals). There are several functions specifically designed for the geography type. For instance, consider a LineString across Taveuni, Fiji (mapped with Great Circle Mapper), which straddles the ...
Here are a few sites you may want to check out: http://catalog.data.gov/dataset/fcc-geographic-information-systems http://www.cellreception.com/towers/ http://opensignal.com/ http://www.towerco.com/simplicityfound/
You could try using the Google Maps geocoding API (https://developers.google.com/maps/documentation/geocoding/intro). It works well, but there's a limit to 2,500 geocodes per user per day. Here's a function to help geocode using Google. If you go over the daily query limit, or over the per second limit of 10 per second you'll get an error message instead ...
Top 50 recent answers are included