Displaying 20 results from an estimated 2000 matches similar to: "help getting started with javascript generated forms"
2006 Jul 18
1
Need Help Updating Records
This is a stupid question I know, but it is driving me crazy - I am
missing something simple and basic here. I am trying to update missing
zip codes on a data table. I am doing something incorrectly as the data
in the Source table is not being updated, only the value in the array is
changed. How do I get this to update the actual DB record instead?
def add_missing_zips
#find all records in
2012 Aug 13
6
named character question
Dear R People:
Here is a goofy question:
I want to extract the zip code from an address and here is my work so far:
> add1
results.formatted_address
"200 W Rosamond St, Houston, TX 77076, USA"
> add1[1][32:36]
<NA> <NA> <NA> <NA> <NA>
NA NA NA NA NA
> str(add1)
Named chr "200 W Rosamond St, Houston, TX 77076,
2010 Apr 09
1
Dovecot 1.2.11, Quota and SQL
Hello,
I have a problem :(...
I try to define User Quotas in Dovecot (in my DB mySQL) but default
quotas (in my dovecot.conf) are always set for all users.
I've defined default quota to 500M. I set 0 to one account in my DB but
when i see my logs, this account have a 500M quota !
Could you help me ?
My configuration :
# 1.2.11: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-xenU i686
2007 Nov 07
5
Unexplainable failure...at least for me
I have an address model with country_id and province_id fields
There is also a full_address method that returns an address that is in a
format that the google maps api will be able to return a long-lat
coords.
Within the full_address method there is a call to obtain the
province/state and country name.
---------
def full_address
...
full_address = [city, self.province.name,
2019 May 15
2
Identificar por coordenadas geográficas una calle de una ciudad
Estimados
Sobre como obtener la geolocalización, aparte de lo aportado por Rubén
Casal, también existe el api de Microsoft, lo que yo descartaría es tomar
una base de datos con geolocalización, teóricamente andarían pero si uno
por casualidad conoce la geografía real, se da cuenta de errores, salvo que
en España los datos estén correctos.
Javier Rubén Marcuzzi
El mié., 15 may. 2019 a las 8:50,
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 options:
1) Roll geocoding
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
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
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
2006 Jul 08
4
Hidden fields in forms
Please can someone show me the correct syntax for a hidden field in
forms, this is my code
<%= start_form_tag :action => ''create'' %>
<div class="form1">
<table width="auto" boader="8" cellspacing="5" cellpadding="5">
<% hidden_field ''line_item'', ''client_id'', :value
2014 Feb 06
0
Array Confusion
I have the following instruction that returns an array that I'm quite confused about. I can't even read it. Can someone shed some light as to how to reach into this array of hashes (that's what I can see) to get the location lat and lon?
res = Geocoder.search(addy1)
This is the res:
[#<Geocoder::Result::Google:0x007fb46c345e18
2009 Jul 30
2
CRAN + geography = Cranography
In response to an earlier discussion about finding the
fastest/best/nearest CRAN site, I geocoded (using my geonames package)
the locations of the CRAN sites returned by getCRANmirrors. I've
mapped them here:
http://www.maths.lancs.ac.uk/~rowlings/R/Cranography/
The geocoding may have got it wrong, so if CRAN site maintainers want
to send me a real lat-long (in WGS 84 aka EPSG:4326) I'll
2006 Jul 14
2
RESTful thinking - Need some guidance.
This is my first time working with REST and XML. My goal is to access
Google''s geocoding service using HTTP. Here''s the code I have so far:
require ''open-uri''
require ''rexml/document''
include REXML
url=''http://maps.google.com/maps/geo?''
address = ''q=1600 Amphitheatre Parkway Mountin View,CA''
address1 =
2016 Jun 21
2
Problemas con tildes y otros caracteres en R y RStudio
Hola.
Tengo algún tipo de problema con las tildes, a la hora de trabajar en R o
en RStudio, que no sé resolver.
Intentando reproducir en dos PCs distintos, ambos con Windows 7, uno de los
últimos ejercicios que ha publicado Carlos Gil Bellosta en su blog (
https://www.datanalytics.com/2016/06/20/6602-767-km-alrededor-de-espana-para-visitar-todas-sus-capitales-de-provincia/),
me ocurre que al
2006 Aug 07
2
related to forms
I''m trying to construct a form that would request a page using GET and
would like my variables to be simple like q,v, etc so that the URL it
calls is something like: /controller/action?q=80&v=100
However, I''m having trouble using the basic form helpers (probably doing
something wrong) cos expressions such as:
<%= hidden_field "q", "v", {:value
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
_______________________________________________
Rails mailing list
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
2016 Jun 21
2
Problemas con tildes y otros caracteres en R y RStudio
Hola, Carlos.
A mí también me resulta raro, porque no me pasa siempre. Es un poco
aleatorio. Imagino que habrá alguna razón, y que el código de la página
estará relacionado, claro, pero no consigo averiguar a qué se debe.
Además las pruebas que hago me dejan todavía más perplejo.
Esto
Encoding(capitales)
me dice que el encoding es "unknow", pero luego esto
validUTF8(capitales)
me
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("
2011 Mar 01
6
render :collection calling partial with phantom object?
I have two models with a straightforward has_many / belongs_to
relationship:
class Premise < ActiveRecord::Base
has_many :metered_services, :dependent => :destroy
...
end
class MeteredService < ActiveRecord::Base
belongs_to :premise
...
end
and nested routes to match:
Demo::Application.routes.draw do
devise_for :users
resources :premises do
resources :metered_services