geocoding

how to setup own geocoding server

被刻印的时光 ゝ 提交于 2019-12-04 14:01:31
问题 Is there a possibility to install a server for geocoding based on open streetmap data ? Unfortunately calling a web service is no option, we need an own server. I saw that Map Server does not provide geocoding. 回答1: Here's how to build your own OpenStreetMap Server. 回答2: How about Nominatim ? 来源: https://stackoverflow.com/questions/4459274/how-to-setup-own-geocoding-server

Calculation of Center Point from List of Latitude and Longitude are slightly diffrent from actual

假如想象 提交于 2019-12-04 12:53:21
I am calculating center Lat/Lng fron list of available Lat/Lng using C# and rendering on OpenLayer Map. I observed the calculation of getting center lat/lng will give me slightly difference in lat/lng . I am referring this link for the calculation Calculate the center point of multiple latitude/longitude coordinate pairs . C# Code: static void Main(string[] args) { List<GeoCoordinate> listCoordinate = new List<GeoCoordinate>(); listCoordinate.Add(new GeoCoordinate() { Latitude = 22.9833, Longitude = 72.5000 }); //Sarkhej listCoordinate.Add(new GeoCoordinate() { Latitude = 18.9750, Longitude =

Google geocode API returns inconclusive results

試著忘記壹切 提交于 2019-12-04 11:57:13
For some addresses that I attempt to geocode, google returns inappropriately inconclusive results. The following is an example, but it is not an isolated incident. The first returned result is the exact match, however google flags it as a "partial_match": Street address: 16160 Frederick Rd City: Gaithersburg State: MD Zip code: 20877 Link: http://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=16160%20Frederick%20Rd,+Gaithersburg,+MD,+20877 My issue here is in determining which is the correct match. In this case, the "partial match" flag is not useful because it is set to "true"

Finding latitude and longitude of many places once

陌路散爱 提交于 2019-12-04 10:56:41
I have a long list of towns and cities, and I'd like to add latitude and longitude information to each of them. Does anyone know the easiest way to generate this information once? See also Geocode multiple addresses The first part of the third video shows how to get latitude and Longitude using Google Refine and geocoding. No need to write a new script. Ideal for doing this kind of change once . http://code.google.com/p/google-refine/ Or use www.geonames.org - there's language APIs for that. Or Open Street Map's Nominatim: http://wiki.openstreetmap.org/wiki/Nominatim - google have slightly

Latitude longitude API's [closed]

拟墨画扇 提交于 2019-12-04 10:23:24
I have an address database and I tried to find latitude and longitude using google geocoding and yahoo API . Is there any other popular API's or programs are there. I'm using ubuntu platform. I'm aware of at least one other geocoding system, OpenStreetMap . The only major differences I've found with any of these API's is the level of detail in each. OpenStreetMap has significantly less data, but is much easier to integrate with custom data. Also, I think the maps produced by google are the most beatiful of the three. I was usually using Google Maps geocoding service over HTTP which returns you

MongoDB geospatial index in C#

自闭症网瘾萝莉.ら 提交于 2019-12-04 09:51:24
I have been trying to get started but run into the same rock time after time trying to create and query MongoDB with C# official driver. The problem is how to create data with geo information. I am just not finding the answer. Code: MongoUrl url = new MongoUrl("mongodb://xxx.xx.x.xx/mydb"); MongoServer server = MongoServer.Create(url); MongoDatabase database = server.GetDatabase("mydb"); <-- this works fine BsonDocument[] batch = { new BsonDocument { { "name", "Bran" }, { "loc", "10, 10" } }, new BsonDocument { { "name", "Ayla" }, { "loc", "0, 0" } } }; places.InsertBatch(batch); <-- that part

Google Geocoding — parsing address_components that may return differently

混江龙づ霸主 提交于 2019-12-04 09:38:45
问题 I'm using Google Maps V3 api. I am submitting an address search to return the proper geocoded result including the address, name of establishment, and lat/lngs. My problem is that the response from the geocoder can be formatted differently. It always follows the same structure, but some responses use different keys for the address_components data structure. For Example, some searches result in: establishment -> location name street_number -> address street number route -> the street name

Does Google Maps API offer a way to search for locations by name?

落爺英雄遲暮 提交于 2019-12-04 08:20:38
问题 When one visits http://maps.google.com, they are able to type queries into the search field and receive results based on locations or places, and not hard search results, as they would in a normal Google Search query. They're a unique style of result (names of places, locations) suited to the Maps interface for obvious reasons. I've been digging through both the Maps and standard Google Search API for a couple hours now, and have done multiple searches on this question, and I can't seem to

Why use the SQL Server 2008 geography data type?

限于喜欢 提交于 2019-12-04 07:21:23
问题 I am redesigning a customer database and one of the new pieces of information I would like to store along with the standard address fields (Street, City, etc.) is the geographic location of the address. The only use case I have in mind is to allow users to map the coordinates on Google maps when the address cannot otherwise be found, which often happens when the area is newly developed, or is in a remote/rural location. My first inclination was to store latitude and longitude as decimal

google geocoding api not as accurate as google maps using address

梦想的初衷 提交于 2019-12-04 07:11:58
I have many examples where google maps returns the exact location whereas geocoding cannot find an exact match and provides only a close match lat/lon which is no good for my purpose. example: "1729 state road 8, auburn, IN 46706" in google maps drops me exactly on a walmart distribution center as it should. using geocoding.....either thru http://gmaps-samples.googlecode.com/svn/trunk/geocoder/singlegeocode.html or manually via https://maps.googleapis.com/maps/api/geocode/json?address=1729+state+road+8,+auburn,+IN,+46706&key=[your_key_here] has the location several miles away... I don't