Questions tagged [geocode]

Geocoding is a method to assign spatial coordinates - like longitude and latitude on the Earth's surface - to a data record or object which represents an address or other geographic data.

Geocoding is a method to assign spatial coordinates - like longitude and latitude on the Earth's surface - to a data record or object which represents an address or other geographic data.


Useful links


Related tags

756 questions
0
votes
0 answers

How to use "before_save :geocode" without throwing "Google Geocoding API error: over query limit."

I am using Ruby Geocoder with Rails. I have the following in my model: class Location < ActiveRecord::Base geocoded_by :locale def locale [city, state].compact.join(', ') end before_save :geocode #, :if => :address_changed? end I…
Choylton B. Higginbottom
  • 2,236
  • 3
  • 24
  • 34
0
votes
0 answers

Javascript/Google Geocoding address printed from another JS function

I am working on Geocoding a city/country input value using Javascript which is a result of another JS function. The function that inputs the result to the value is called sata() and the Google Geocode function is called UpdateMap(), which prints out…
Jeffrey Teruel
  • 364
  • 2
  • 10
  • 29
0
votes
1 answer

How to find the end of response of geocode in javascript?

window.findLL = function() { var address = new Array(); var longlat = new Array(); var j = 0; $('.place').each(function() { address[j] = $(this).val(); j++; }); for(var…
Punith G
  • 31
  • 6
0
votes
2 answers

Hide Show City and State when zip is populated

javascript: I want to show city and state when the zip is filled in. I have the the geo location working but now I just want city and state to show when the zip is filled in. This is my HTML:
lakenney
  • 89
  • 1
  • 2
  • 9
0
votes
0 answers

Closes matching address (Google maps) APEX procedure

I have problem with displaying address in text field in one of the apex pages region. Currently I have longitude and latitude text fields, which read their values from draggable marker from the google map. (When you drag the marker, the program…
user4564280
0
votes
1 answer

Google map disappearing in APEX region

I'm trying to display map in one of my apex pages region, this map will have draggable marker which links to text-fields on other region and displays geocode for latitude and longitude. Everythings works except one thing the map is appearing just…
user4564280
0
votes
1 answer

Geocode : converting doesn't work by submitting form

I have a form which converts an adress to geocode with the Google Map API using the onsubmit property. Since I know geocoding is asynchronous. Sometimes it works, and sometime it doesn't. Can anyone help me please? Thanks a lot! jsp-file…
JFluyt
  • 23
  • 3
0
votes
2 answers

Javascript Google Geocode Returning Undefined (Can't figure callback function)

I'm trying to store the values of the latitude and the longitude from the response that I get from the Google Geocoding API. Right now I am using a fixed location in California. My HTTP request keeps returning undefined. I've been looking around a…
Ryan
  • 107
  • 1
  • 1
  • 12
0
votes
2 answers

Here Maps Geocoder Javascript API - Postcode problems

I am creating a script to find locations starting from UK Postcodes using the Here Maps Geocoder Javascript API. The code seems to work fine, but on the postcode BT45 7PX I got the error TypeError: result.Response.View[0] is undefined The code I…
tabris963
  • 110
  • 2
  • 14
0
votes
1 answer

How to show user location on custom map?

I want to show user location and other object location on custom map as follows : For that I have Googled the things that says "we need to convert the lat long data in to X Y Coordinates in the image and then we need to show it on image" Other…
BhavikKama
  • 8,566
  • 12
  • 94
  • 164
0
votes
1 answer

Can't get address from longitude and latitude in android

I am trying to get my address from longitude and latitude , but when I am trying to do so , it doesn't work . It says W/System.err﹕ at teamtreehouse.com.stromy.MainActivity.getCompleteAddressString(MainActivity.java:163) in logcat Here is the…
shuvroMithun
  • 85
  • 1
  • 9
0
votes
2 answers

Distance in KMs results are off - what am I doing wrong? PHP

So I am trying to get the distance between two point based on Latitude and Longitude calculated and printed to the screen, it 'works' but the correct answer is way off. And by way off I mean 187 kms off in my particular case. I am not sure why, and…
magin
  • 149
  • 5
0
votes
3 answers

Why does my javascript geocode function return blank results?

I hope you can help. Ive made a function that receives a lnglat point object and returns just the town. I can get it to print the correct town in the console.log but it doesnt return the data back from the function. I know its going to be a basic…
user4707267
0
votes
1 answer

How to Add a Geocoding Service as a Form of Plugin (For Leaflet)

I am specifically using Leaflet Routing Machine plugin and I have been trying to add a geocoding service to the plugin but I have been facing some difficulties. I tried Bing, Google and Nominatim but I'm unable to load any of the geocoding service…
hftan
  • 11
  • 3
0
votes
1 answer

HTTP Request Failed - Google Maps

I have a question with my Google Maps API. I am using a simple geocoding script to pull a txt/xml file from my server and geocoding the addresses. I have a problem with the addresses coming back as a null value and breaking the script and my…
chronotrigga
  • 589
  • 1
  • 10
  • 33