geocoding

Marking streets in Google Maps

久未见 提交于 2019-12-03 13:27:24
问题 I want to create an overlay on top of Google Maps that displays different streets in different colors. In the Google Maps API it is possible to create markers and polygons that cover certain areas. Is there a way to somehow mark different streets? 回答1: It sounds to me like you are interested in showing some application specific coloring for your Google maps display (rather than traffic maps). If so , then you should check out custom overlays. You can create your own transparent background

Geocoder error java.io.IOException: Unable to parse response from server

巧了我就是萌 提交于 2019-12-03 13:09:05
Code: Geocoder geocoder = new Geocoder(map.this,Locale.getDefault()); List<Address> list = geocoder.getFromLocation(geoLat, geoLng, 1); Exception: java.io.IOException: Unable to parse response from server What am I doing wrong? This kind of error shows up when the GPS is not active. Since the emulator doesnt have a GPS hardware, similar exception can be thrown. Cant say for sure unless you post more detail about the problem. 来源: https://stackoverflow.com/questions/6754817/geocoder-error-java-io-ioexception-unable-to-parse-response-from-server

Geocoding Services - limits - Google vs Yahoo vs others? [closed]

泄露秘密 提交于 2019-12-03 12:21:54
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Is Yahoo the best option? http://developer.yahoo.com/geo/placefinder/ It says 50,000 requests per day. Does this mean you can geocode 50k addresses a day? compared to Google at only 2,500? http://code.google.com/apis/maps/faq.html#geocoder_limit Have I got this correct? that's a massive difference. So in essence

Is a point inside or outside a polygon which is on the surface of a globe

纵然是瞬间 提交于 2019-12-03 12:13:44
How do I determine if a point is inside or outside a polygon that lies on the the surface of the earth? The inside of the polygon can be determined via the right hand rule, ie. the inside of the polygon is on your right hand side when you walk around the polygon. The polygon may Circle either pole Cross the 180 longitude Cover more than 50% of the globe As the globe is a sphere the normal ray crossing algorithms do not work correctly. In fact the normal ray tracing and winding rule approaches work just fine on the surface of a sphere, with a little adjustment. On the surface of a sphere a

ZIP / Postal Code + Country to Geo Coordinates

亡梦爱人 提交于 2019-12-03 12:10:59
问题 What is the most complete, precise and reliable way to get the coordinates (latitude / longitude) of a given ZIP / Postal Code of a given country? I need to make a lot of requests, so a high API limit rate (maybe even absent) would be useful. GeoNames dumps would be cool, but it seems to have way too many duplicate coordinates (example) and it also seems that their database is missing some ZIP / postal codes for specific countries. Are there any other (reliable) alternatives? While I was

current location is always null

本小妞迷上赌 提交于 2019-12-03 11:21:38
问题 I am trying to retrieve my current location on the button click in an editbox using gps or network..i have tried all possible methods which i found in tutorials and older posts....but my location is always null.. i am not getting where i am wrong.? i am testing it on real device having network but no internet/gprs... this is the code which i am using..i tried the same with GPS_PROVIDER as well ..please help me.. protected void showCurrentLocation() { geocoder = new Geocoder(this);

Geocode doesn't work - Genymotion

两盒软妹~` 提交于 2019-12-03 10:16:16
问题 I've tried to implement my project geocode in Genymotion emulator, but it doesn't work. However the map works perfectly. Android build target : 4.2.2 With Google API Genymotion : Galaxy Nexus 4.2.2 With Google Apps And I've added the google-play-services_lib to my project I've got this E/GooglePlayServicesUtil(1954): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. anyone have a solutions? Thanks 回答1: The geocoder

Offline Reverse Geocoding at Country Level [closed]

吃可爱长大的小学妹 提交于 2019-12-03 08:57:20
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. There seems to be much about this, but everyone seems to want street level data. I'm writing an iOS app that needs to get the international dial code (outgoing) for the country you are in - so all I need is the country. As this is mostly going to be used abroad, an online solution isn't really going to work! Whist searching I discovered the fantastic openstreetmap.org, but their export feature seems only to provide

Find path by sea from coastal point A to coastal point B

廉价感情. 提交于 2019-12-03 08:50:49
问题 I have the seemingly tricky challenge of trying to work out a path, by sea, from one sea port to another sea port. The eventual aim is to plot this on a Google (or Bing) Map as a polyline. The path needs to: Be plausible, as a ship can't go over land (obviously) Not run too close to the coast line. Ships can't go that far near to shore Not be too complex. It's going to be plotted on Google Maps so a 2000 point polyline wont do. Be the shortest, but not at the expense of the above three points

how to setup own geocoding server

放肆的年华 提交于 2019-12-03 08:09:56
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. Here's how to build your own OpenStreetMap Server . How about Nominatim ? 来源: https://stackoverflow.com/questions/4459274/how-to-setup-own-geocoding-server