geocoding

Google Version 3 Maps Geocoder, Get Coordinates of marker layer when clicking or dragging marker

情到浓时终转凉″ 提交于 2019-12-04 06:06:30
问题 I have made a Google Version 3 Geocoder , I want to be able to pick up the coordinates of the marker when it is dragged or clicked. Below is my code: <!DOCTYPE html> <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no"/> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title>Google Maps JavaScript API v3 Example: Geocoding Simple</title> <link href="http://code.google.com/apis/maps/documentation/javascript/examples/default.css" rel="stylesheet

how do I map (on a geographical map) data in R just given the US Zipcodes

天大地大妈咪最大 提交于 2019-12-04 05:48:01
问题 for a school project I have to map some data on a geographical map in R. Therefore I've got some data containing the zipcode and many other information (just no more information on the state, county or whatever). I've been trying to point out on a map of the usa first all the zips I have. Just dots. Afterwards I wanted to mix and match the criteria like the count of zips I have in the data (e.g. the zips that appear very often I wanted to colour dark and the less often ones in a lither colour

Loading city/state from SQL Server to Google Maps?

蓝咒 提交于 2019-12-04 05:25:49
I'm trying to make a small application that takes a city & state and geocodes that address to a lat/long location. Right now I am utilizing Google Map's API, ColdFusion, and SQL Server. Basically the city and state fields are in a database table and I want to take those locations and get marker put on a Google Map showing where they are. This is my code to do the geocoding, and viewing the source of the page shows that it is correctly looping through my query and placing a location ("Omaha, NE") in the address field, but no marker, or map for that matter, is showing up on the page: function

How do I enter an “empty” POINT() geometry value into a MySQL field of type POINT?

纵然是瞬间 提交于 2019-12-04 05:16:58
I have a table with a POINT geometry field. I enter latitude/longitude points into it like this: INSERT INTO table( point ) VALUES( POINT( lon_value, lat_value ); Sometimes I do not have lat/lon values to enter. I am unable to enter a blank, a NULL, or an empty POINT() ... since POINT(0,0) is actually a location on the globe, that won't work either. What is the solution here? I would use coordinates of North Pole INSERT INTO table( point ) VALUES( POINT(0.0000,90.0000); If the actual coordinates of the pole may be an issue i would change the lon value from 0.0000. 来源: https://stackoverflow.com

Exception User-Unhandled reported in VS Debugger when using Polly

陌路散爱 提交于 2019-12-04 04:45:00
问题 I'm using Polly to catch an exception while calling a Pittney Bowes Geocoder service. I'm using a g1client library that throws a MessageProcessingException. I've wrapped the call in a Polly network policy to retry the call up to 3 times if this exception is thrown, but Visual Studio insists that the exception is "User-Unhandled" What do I need to modify to make this exception be handled? I'm using Visual Studio 2017 community Edition and C# 4.6.1. try { var networkPolicy = Policy .Handle

Google Maps API - geocoding accuracy chart?

爱⌒轻易说出口 提交于 2019-12-04 03:21:39
Where in the Google Maps API docs can I find a table explaining the accuracy values of Geocode lookups? Has the range of values changed in between V2 and V3? John Himmelman Here are the Google Maps API Docs. It contains a table with accuracy values... http://code.google.com/apis/maps/documentation/reference.html#GGeoAddressAccuracy Constant | Description 0 Unknown location. 1 Country level accuracy. 2 Region (state, province, prefecture, etc.) level accuracy. 3 Sub-region (county, municipality, etc.) level accuracy. 4 Town (city, village) level accuracy. 5 Post code (zip code) level accuracy.

Geocoder.getFromLocationName() throws “Service not available” exception on Android 4 with Google Maps V2

ⅰ亾dé卋堺 提交于 2019-12-04 02:13:28
问题 The method Geocoder.getFromLocationName() throws the exception Service not available on Android 4.1, even if GooglePlayServicesUtil.isGooglePlayServicesAvailable() returns SUCCESS and Geocoder.isPresent() returns true . Is there any official example for geocoding in the new Google Maps v2 API? 回答1: Geocoder is not related to Google Maps Android API v2. You may want to use Google Geocoding API directly instead of Geocoder , which gives you limited amount of data and might be affected by device

android - Geocoder.getFromLocationName() is not working in ICS device

↘锁芯ラ 提交于 2019-12-04 01:52:34
I have two devices. One is HTC WildFire S and other one is HTC 1V . I used the Geocoder.getFromLocationName() in my application. It is running successfully in the HTC wildfire S . But in the HTC 1V i got the following error. why it's came? How can i solve this? please can anybody help me. Code Geocoder geoCoder = new Geocoder(getBaseContext(), Locale.getDefault()); //s is the address List<Address> addresses = geoCoder.getFromLocationName(s, 5); //Here i got the following Exception. Error 06-18 16:28:17.933: W/System.err(4960): java.io.IOException: Service not Available 06-18 16:28:17.953: W

identify zip codes that fall within latitude and longitudinal coordinates

点点圈 提交于 2019-12-03 21:18:21
I have several data frames in R. The first data frame contains the computed convex hull of a set of lat and long coordinates by market (courtesy of chull in R). It looks like this: MyGeo<- "Part of Chicago & Wisconsin" Longitude <- c(-90.31914, -90.61911, -89.37842, -88.0988, -87.44875) Latitude <- c(38.45781, 38.80097, 43.07961, 43.0624,41.49182) dat <- data.frame(Longitude, Latitude, MyGeo) The second has zip codes by their latitude and longitudinal coordinates (courtesy of the US census website). It looks like this: CensuseZip <- c("SomeZipCode1","SomeZipCode2","SomeZipCode3","SomeZipCode4"

Geocoding service for a startup?

岁酱吖の 提交于 2019-12-03 16:55:25
I'm working on an idea for a service that uses geocoded data (lat/lng) form a US address. Google maps API v3 has been awesome, until I read the terms of service and acceptable uses a little closer. The problem is that the terms seem to prohibit use of the maps API for any commercial use where the site is not freely accessibly to the public, such as a subscription based service. The alternative offered is Google Maps API Premier, but at $10,000 per year minimum, it's just not possible at this time. Same goes for services offered by Yahoo! and MS - initial fees are small for enterprises, but for