Hot answers tagged reverse-geocoding
10
It's important to understand that ZIP+4 codes and even 5-digit ZIP codes do not represent geographic regions. ZIP codes represent groups of addresses or delivery routes. The +4 codes might narrow it down to a block, a building or single organization.
ZIP+4 data is available directly from the USPS (including a file that relates it TIGER) or from third ...
10
Reverse Geocode Tool Documentation.
Your data needs to be in a format that ArcGIS will recognize as a layer (shapefile, geodatabase feature class, etc.). If you just have XY's in a table, consider adding your table to ArcMap then using the add XY data tool to create a layer you can use in the reverse geocode tool.
6
Via Michelin (best for Europe)
SOAP
http://dev.viamichelin.com/web/api-soap/documentation?WSDoc=GeoV3
REST
http://dev.viamichelin.com/web/api-rest/documentation/1.0/geocoding
Mapquest Open API (based on OpenStreeMap data)
http://developer.mapquest.com/web/products/dev-services/geocoding-ws
Microsoft Geocoding
...
5
I would highly reccomend deCarta (I also work there). We powered google maps, yahoo maps and a ton of other people. We just announced new pricing. We expose our geocoding (and reverse geocoding) through many different apis. We also have worldwide coverage.
http://developer.decarta.com
Feel free to drop me a line if you have any other questions. I will be ...
5
Suppose your district table looks like this
districts(name text, the_geom geometry)
Then you would select the district a point falls into using
SELECT name
FROM districts
WHERE ST_Within(ST_SetSRID(ST_MakePoint(lon,lat),4326),
the_geom);
Replace lon and lat with your values.
If your districts are in a different projection than WGS84, ...
5
Reverse Geocode (Geocoding)
Creates addresses from point locations in a feature class. The reverse
geocoding process searches for the nearest address or intersection for
the point location based on the specified search distance.
In ArcMap, the tool is located under Geocoding Tools. Note that you'll need to have an address locator to reverse ...
5
You need the tables
addr,
addrfn,
and featnames.
And the geography in the edges layers.
addr
These are address ranges, just address ranges. They relate to feature (i.e. road) names via...
addrfn
A table relating address ranges and feature names. addr.ARID -> addrfn -> featnames.LINEARID
featnames
A table of feature names. Each edge (line) can have ...
4
Finaly, I understand the way to do geocode and reverse geocode with my PostGIS database. I made an stored procedure that finds geometry types that are near a point. This stored procedure uses the distance function to get the nearest points. After that I've created a REST api that calls this stored procedure to resolve the reverse geocoding requests.
Correct ...
3
You might want to try using GEOS, a C++ port of the Java Topology Suite:
http://trac.osgeo.org/geos/
You were on the right lines with a bounding-box check, but the even smarter way is build a spatial index which means you can do better than O(n) for that first pass. GEOS can build spatial indexes for you.
I'm wondering what mobile platform you're ...
3
I made good experience with nominatim.
Try this (College Park in Toronto)
lat long lookup
address lookup
More examples can be found here examples.
It is in German but the examples are self declarative.
I guess the premium product is googles map API. Therefore I mentioned just something which might be an alternative.
3
I have been using the 2010 TIGER shapefiles extensively and found the transition easy. The basic change is that what used to be separated into different shapefiles is now contained in a single one: rivers, roads, special places, railroads, everything. The [MTFCC] field tells you what's what. All the roads have an "S" prefix; e.g., S1100 is primary roads. ...
3
Looks like the Google reverse geocoding API will break it down for you, take a look at this result:
http://maps.googleapis.com/maps/api/geocode/xml?latlng=40.714224,-73.961452&sensor=false
If you switch out xml with json, you can get json instead. Another option could be the Nominatim service, which also returns either xml or json.
2
I would look into using Spatialite. It's sqlite + spatial functions and indexes. It'll do what you need and should(?) work on iOS.
See also: Reverse Geocoding Without Web Access
2
If you don't want the hassle of managing the entire OSM dataset required for worldwide address datasets you'll need an online service.
As well as Nominatim, Cloudmade have a geocoding API to work with OSM data. There are reverse geocoding examples here. It includes a distance parameter to allow radius searches. E.g.
...
2
I've answered to that kind of question there:
http://stackoverflow.com/questions/4373730/is-there-an-offline-geocoding-framework-library-or-database-for-ios/4419113#4419113
The compilation of spatialite under iOS is not that easy. I struggled for a while before having something that works OK.
I have made a pdf file that explains the steps required to ...
2
Via Michelin
http://dev.viamichelin.com/data/api-jsv2/geo1.htm
http://dev.viamichelin.com/web/api-javascript/documentation-v2#Geocoding
2
In PostGIS, if you have a table of points, and the census boundary information that @Sminbamangu refers to you could calculate this using the following approach:
SELECT
c.census_tract,
p.point_id
FROM
census_boundary as c,
table_of_points as p
WHERE
ST_Contains(c.geom, p.geom);
You can see the description ST_Contains ...
2
Is there software that will do reverse geocoding to convert photographs' GPS locations to addresses?
geosetter can do it. I liked Pro Photo Tools much better, but as you pointed out, it no longer works. The biggest difference for me is the sublocation field. Pro Photo Tools put an addess in sublocation. geosetter at this point just repeats the location field (city). Pretty useless IMHO.
My understanding is Lightroom 4 now does reverse geocoding using ...
2
PostGIS 2.0 tiger geocoder has a reverse geocoder utilizing Tiger data. The geocoder will install fine on PostGIS 1.5 8.4+ or higher.
If you are in US, might be the easiest to use since it's all packaged as plpgsql functions.
http://www.postgis.org/documentation/manual-svn/Extras.html#Tiger_Geocoder
...
2
What you are trying to do is to Reverse geocode information.
Since you'are going offline only you have imho two options:
1) Incorporate to your software a portable spatial db (eg. spatialite) loaded with the data you want.
2) You can use any reverse geocoding data dump (eg GeoNames data dump) as reference for your program (more info)
Either options I ...
2
There is an obvious flaw in your algorithm for step 2. Consider, say for instance, Airport Rd, WA where it intersects on the eastern end with the Pullman Hwy map. The nearest city is Moscow, ID which is not necessarily where the mail comes from considering it is a separate state.
If, however, you wish to carry on with that method, you can obtain the ...
2
Did you install the development branch, as it mentioned in the link you provided?
The reverse geocoding feature is currently in an experimental but
stable development branch, which you can checkout here:
svn checkout http://geopy.googlecode.com/svn/branches/reverse-geocode
geopy
cd geopy/ sudo
python setup.py install
You may ...
1
Just an idea, what about a raster approach? Your whole region would be a raster grid instead of polygons. Instead of a point in polygon operation, you would just:
Convert lon lat to pixel/cell coordinate
Retrieve pixel/cell value
Check for corresponding state/province on lookup table.
There would a a corresponding loss in precision though but I think it ...
1
Have a look at two papers from Nokia's Mobile Data Challenge 2012 Workshop:
MobReduce: Reducing State Complexity of Mobility Traces by Fabian Hartmann, Christoph P. Mayer, Ingmar Baumgart, Karslruhe Insitute of Techology (link).
and
A Trajectory Cleaning Framework for Trajectory Clustering by Agzam Idrissov, Mario A. Nascimento, University of ...
1
I haven't tested it personally (as I would use a Bing Maps REST API for that), but gisgraphy sounds like it might be what you're looking for because it would provide you with an API to make searches using both OpenStreetMap and Geonames datasets.
Gisgraphy is a free, open source framework that offers the possibility
to do geolocalisation and geocoding ...
1
You can take the GIS approach and use one of the other suggestions (spatialite etc) or use a more simple approach: Use standard SQL to calculate the distance to the nearest city coordinate and if the distance is below some threshold, you know which city you are in. Assuming it isn't critical if you are just inside or outside the actual city boundary. You may ...
1
Seeing as it's Android, you might be far better using something like Spatialite, which has an active project building on Android. Spatialite can store all your city point co-ordinates (and even your city boundaries)
So long as you don't need absolute pinpoint accuracy, then a possible approach is to find the nearest "city point" to your point (the more city ...
1
Another geocoder to consider is Nominatim. It uses OpenStreetMap data.
http://wiki.openstreetmap.org/wiki/Nominatim
For the usage policy of nominatim.openstreetmap.org, please see Nominatim usage policy.
MapQuest also provide a version of this API, without the usage limits.
As for comparisons... I have not come across much in terms of benchmarks or a ...
1
As mentioned by @Simbamangu, this could easily done locally by just about any desktop GIS software on the market.
For free & open source, take a look at a "join attributes by location" in QGIS.
If you plan to need to do this repeatedly over time, you could consider putting the datasets into PostGIS and creating a spatial join (see this example in ...
1
I agree with Mapperz, postgres/postgis would be a good way to go if you're looking to change your database system at the same time.
But if you're stuck with SQL Server 2005 (which I assume doesn't have spatial extensions), you could create a hash function of the input coordinates such that geographically close locations are also close in the table, but I ...
Only top voted, non community-wiki answers of a minimum length are eligible


