search for: geocode

Displaying 20 results from an estimated 65 matches for "geocode".

2009 Oct 22
6
Mapstraction V2 Geocoder?
Hey all, I''m wondering about your thoughts on upgrading the Geocoder to use Mapstraction V2. Currently it uses the old syntax (i.e., for LatLonPoint, etc.): http://mapstraction.appspot.com/#geocoding Moving from V1 to V2 is fairly simple changes to the code. However, I wonder whether we want to update the way the geocoder is structured, as well? Some optio...
2007 Aug 14
3
diffusing GIS data in maps
Hi- I am trying to find a way to diffuse GIS data on a European map. I have a dataset consisting of particular locations scattered across Europe, along with magnitude and value information. I can plot these as discrete points with something like the following: "geocode" is a dataframe with four columns: LAT; LONG; MAGNITUDE;VALUE. library(maps) library(mapdata) map("worldHires", regions=c("Germany", "Belgium", "Netherlands")) points(geocode$LONG, geocode$LAT, cex=geocode$MAGNITUDE / 2500, col=rainbow(length(geocode$VA...
2010 May 21
0
r83 committed - Making the geocoder pass JSLint
Revision: 83 Author: dezfowler Date: Fri May 21 11:57:43 2010 Log: Making the geocoder pass JSLint http://code.google.com/p/mapstraction/source/detail?r=83 Modified: /trunk/source/mxn.google.geocoder.js ======================================= --- /trunk/source/mxn.google.geocoder.js Wed May 19 16:33:35 2010 +++ /trunk/source/mxn.google.geocoder.js Fri May 21 11:57:43 2010 @@ -28...
2005 Dec 14
3
Geocode for Ruby
Hey, Does anybody know of a good Geocode library for Ruby, similar to Perl''s Geocode::Postal, that i could use in my rail app? I need to do some "within 5 miles" calculations of zipcodes and i dont have a nice ruby (or gem) utility to do it. any help would be appreciated. thanks adam ________________________________...
2007 Jul 24
3
geocoding addresses with ym4r google maps
Does anyone know how to geocode addresses using the YM4R Google Map plug-in? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyon...
2012 Jul 21
0
undefined method `scope' for non ActiveRecord class
I am trying to use the geocoding capabilities into a table less model , but the method :scope is not defined .. is there a way to include it ? class SearchLocation require ''geocoder'' include ActiveModel::Validations include ActiveModel::Conversion extend ActiveModel::Naming extend Geocoder::Model::ActiveRecord # extending the class w geocoding capaibilities ( from geocoder) geocoded_by :address reverse_geocoded_by :latitude, :longitude ... I get the er...
2012 Nov 25
1
Issue with using geocode
Hello, A very simple question but I am stuck. I have an excel file each row is an address. However, I cannot make geocode read each line and come up with the latitude longitude. Could you please correct my code? library(ggmap) X<-c (2 Afxentiou Ampelokipi Thessaloniki Greece, 2 Afxentiou Ampelokipi Thessaloniki Greece, 4 Afxentiou Ampelokipi Thessaloniki Greece, 55 Agathonos Ampelokipi Thessaloniki Greec...
2011 Sep 19
14
gmaps4rails "acts_as_gmappable" error
Hi all, I started to see fun of gmaps4rails gem from https://github.com/apneadiving/Google-Maps-for-Rails. After everything done. When visited the locahost, i got the following error. undefined local variable or method `acts_as_gmappable'' for #<Class: 0x31a9da8> the error is due to i have line "acts_as_gmappable" in my model. Anybody knows how this is
2006 Sep 01
1
Reverse Geocoding?
Howdy folks, I know a lot of people (Google, Yahoo, others) offer geocoding, I am looking for a Web service for reverse geocoding. For instance, I have a latitude and longitude and I would like to get an approximate street address for them. I haven''t found anything that''s working all that well for me so I thought I would ask here. Any ideas? Thanks, H
2016 Jun 21
2
Problemas con tildes y otros caracteres en R y RStudio
...por_poblaci%C3%B3n "))) obtengo un data frame en el que las ciudades ya aparecen con sus tildes y sus eñes...aunque en los nombres de las variables siguen apareciendo esos caracteres extraños en vez de tildes. Con el resto del código de Carlos me sigue ocurriendo lo mismo, ya que si intento geocode("Logroño") me devuelve Information from URL : http://maps.googleapis.com/maps/api/geocode/json?address=Logro%F1o&sensor=false lon lat 1 NA NA Warning messages: 1: In readLines(connect, warn = FALSE) : cannot open URL ' http://maps.googleapis.com/maps/api/geocode/json?addre...
2019 May 15
2
Identificar por coordenadas geográficas una calle de una ciudad
...oogle maps sobre direcciones y devolvían la > posición. El número de consultas tenía restricciones y había que darse > de alta en la api de google: > https://developers.google.com/maps/documentation/geocoding/start?csw=1 > > Buscando ahora esas herramientas me encontré con la función geocode de > ggmap: > https://www.rdocumentation.org/packages/ggmap/versions/2.6.1/topics/geocode > https://www.jessesadler.com/post/geocoding-with-r > podrías comenzar por esta... > > Como a mi gustan bastante las herramientas de OpenStreetMap (para cargar > rutas en R, ...), > y p...
2008 Jun 16
1
Fix for IE6 bug in geocoding
Hi, I was trying to use the geocoding stuff in Mapstraction and found a bug with IE6. I couldn''t find a way of submitting it on Trac, so here it is. Change line 110 of mapstraction-geocode.js from: place = response.Placemark[0]; to: var place = response.Placemark[0]; Otherwise IE6 doesn''t declare the variable properly and things break in obscure ways. Cheers, Tom (with a new mapstraction based site up and running at <http://mmm.iamnear.net >)
2010 May 20
0
best practices for calling a web service (like geocode)
Guys, I have a Customer class which creates an instance of an Address class, and the user can then go into the show method of the Customer class and associate other addresses with that Customer (sites). As soon as an Address instance is created, I want to call geocoding to get the latitude and longitude of that address so that I can later render a map of all the sites. now, I suspect that a
2016 Jun 21
2
Problemas con tildes y otros caracteres en R y RStudio
Hola, Carlos. Pues, efectivamente, me ha ayudado. Sobre la utilización de la función geocode con ciudades con tilde, me dio Carlos Gil Bellosta anteriormente la idea de utilizar iconv para transformar la cadena de búsqueda a UTF-8, y yo lo utilicé para intentar transformar el output de html_table sin resultado: capitales <- read_html(" https://es.wikipedia.org/wiki/Anexo:Capitales...
2016 Jun 21
2
Problemas con tildes y otros caracteres en R y RStudio
...quot;encoding" declarado en la página, por lo que no debería haber > problemas en ninguna plataforma. De todos modos, tienes una opción en > rvest para indicar el juego de caracteres. Igual indicando "latin1" > funciona. > > También he visto problemas llamando a ggmap::geocode desde Windows > cuando la cadena contiene caracteres no ascii. Hay información aquí: > > https://github.com/dkahle/ggmap/issues/89 > > No sé si tratar de transformar la cadena de búsqueda a UTF8 con iconv > ayudará o no a resolver el problema. > > Un saludo, > > Carlos...
2019 May 15
2
Identificar por coordenadas geográficas una calle de una ciudad
Saludos estimados compañeros: ¿Alguno de ustedes sabe de alguna librería con la que geolocalizar una calle de una ciudad española?, aunque no cuenten nada más que aquellas a partir de un umbral de población. Muchas gracias. [[alternative HTML version deleted]]
2006 Feb 01
3
Parsing RDF coming from a URL
Hello, i''m writing an application that needs geocoding information for locations outside of the US. I''m using the brainoff.com geocoding service mappoint = Net::HTTP.new(''brainoff.com'', 80) response = mappoint.get(''/geocoder/rest/?city=Gent,BE'') logger.debug response.body and the body of the response is in the following form : <rdf:RDF xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:rdf=" http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <geo:Point> <geo:long>3.7...
2010 Nov 09
3
help getting started with javascript generated forms
How does one generate a form within a view using javascript? Specifically, assume views/premise/new.html.erb looks like this: <%= form_for(Premise.new) do |f| %> <%= f.hidden_field :full_address, :value => $FULL_ADDRESS %> <%= f.hidden_field :geocoding, :value => $GEOCODING %> <%= f.submit :value => "use this address" %> <%= f.label
2006 Apr 19
9
geolocation db?
...n is to capture their zipcode or postal code, and then be able to query a webservice once for that data. It''s also possible that there might be a database or even a CSV somewhere that contains this information for every zip/postalcode... I don''t want to reinvent the wheel. The geocode APIs that I''ve seen seem to be slow and US-only. Yet dozens of sites give me quasi-accurate "your are 1251 miles from Bob" type metrics - and it works across continents. How do they do this? Pete
2008 May 05
2
Geocoding and XMLRPC
Hello people, I''m implementing a geocoding feature in my web app, a classic feature, for showing registered user by location. For this purpose, I''ve inspired myself from the following tutorial : http://earthcode.com/blog/2006/04/rails_geocoding_and_google_map.html However, I''m getting this error from Rails : uninitialized constant SandboxController::XMLRPC Being a