geocoding

Offline reverse geocoding on iOS

跟風遠走 提交于 2019-12-22 01:04:06
问题 There are lots of existing questions relating to this issue, but I have looked at as many of them as I could find and did not get an answer. I'm trying to perform an offline reverse geocoding lookup on iOS based on a latitude and longitude. I'd like to be able to provide a latitude and longitude, and be provided with the country in which that point lies. I can do this with Geonames (such as: http://api.geonames.org/countryCode?lat=45.03&lng=8.2&username=demo), but I need a similar ability

Point-in-Polygon PHP Errors

*爱你&永不变心* 提交于 2019-12-21 23:02:20
问题 I am using a point-in-polygon check in php, but I am getting major errors - as in points that are not in the polygon are coming up as inside. My basic functions are typed out below (found here, modified from a class to a simple function: http://www.assemblysys.com/dataServices/php_pointinpolygon.php). The only thing I can think of is some kind of rounding errors someplace? As one example, I am trying to determine whether a point is in Central Park, a simple square, but I get positives from

Latitude longitude API's [closed]

安稳与你 提交于 2019-12-21 18:32:52
问题 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 2 years ago . 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. 回答1: I'm aware of at least one other geocoding system, OpenStreetMap. The only major differences I've found with any of

Latitude longitude API's [closed]

不羁的心 提交于 2019-12-21 18:32:13
问题 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 2 years ago . 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. 回答1: I'm aware of at least one other geocoding system, OpenStreetMap. The only major differences I've found with any of

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

ε祈祈猫儿з 提交于 2019-12-21 07:38:58
问题 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

Country/region codes (iso-3166-1/iso-3166-2) to longitude and latitude

▼魔方 西西 提交于 2019-12-21 06:26:07
问题 I need to convert from iso-3166-1/iso-3166-2 codes to longitude/latitude Examples: Input: "US", Output: (37.09024, -95.71289100000001). Input "VE-O", Output: (10.9970723, -63.91132959999999). I have been searching around but failed to find a complete listing or, ideally, a Java library doing it. This Github project is promising but is missing a lot of geolocation information for a lot of regions. Note that, unlike the question Need a list of all countries in the world, with a longitude and

Country/region codes (iso-3166-1/iso-3166-2) to longitude and latitude

 ̄綄美尐妖づ 提交于 2019-12-21 06:26:06
问题 I need to convert from iso-3166-1/iso-3166-2 codes to longitude/latitude Examples: Input: "US", Output: (37.09024, -95.71289100000001). Input "VE-O", Output: (10.9970723, -63.91132959999999). I have been searching around but failed to find a complete listing or, ideally, a Java library doing it. This Github project is promising but is missing a lot of geolocation information for a lot of regions. Note that, unlike the question Need a list of all countries in the world, with a longitude and

identify zip codes that fall within latitude and longitudinal coordinates

≡放荡痞女 提交于 2019-12-21 06:10:32
问题 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

Google reverse geocoding - how to snap to nearest full postcode

依然范特西╮ 提交于 2019-12-21 05:13:38
问题 I am using Google's reverse geocoding functionality with the maps api v3 to retrieve postal addresses for latitude longitude (when dragging a marker around a map). This is a UK application only, and part of the system requires a full, or near full, postcode to process correctly. However the reverse geocoder regularly returns just the part of the postcode - for example "GU3", even when the actual address returned appears to be complete - for example including street and house number. Is there

Rails inner join combined with geocoding gem

∥☆過路亽.° 提交于 2019-12-21 04:53:08
问题 I have 2 related rails models class Location < ActiveRecord::Base has_many :rates geocoded_by .... end class Rate < ActiveRecord::Base belongs_to :location end I am using the geocoder gem - http://www.rubygeocoder.com I want to find all rates with a particular pair attribute that are within a certain distance to the user. In SQL, I would do an inner join on the rates SELECT * FROM rates INNER JOIN locations ON rates.location_id=locations.id; Then, insert a where condition to filter on the