Displaying 20 results from an estimated 1200 matches similar to: "Geodata SQL statements with multiple results in the controller"
2007 Apr 03
4
Replacing ERB with Erubis
Hey guys,
I''ve been hearing a lot about erubis: http://www.kuwata-lab.com/erubis/
Especially about how much faster it is than straight ERB.
In their Ruby on Rails support docs: http://www.kuwata-lab.com/erubis/users-guide.05.html#topics-rails
They state that with a few added lines to your environment.rb it will
replace ERB completely.
I''m wondering if anyone has done this in
2003 Sep 28
1
geodata conversion
Hey,
I have a data set of 1.20MB. I used read.table( ) to read in the data and then tried to convert it to geodata type. But it failed and I got "Error in vector("double", length) : cannot allocate vector of length 1351974000" message.
All the commands I used were:
rawdata<-read.table(file=" ")
datag<-as.geodata(rawdata)
BTW, what is the biggest origin
2008 Aug 12
1
Geodata object border
Sorry, this is probably quite an easy question, but I'm new to R and couldn't
find the answer anywhere.
I'm using geoR and geoRglm, but can't figure out how to get a border in my
geodata object. Does this need to be defined when I'm importing my data, or
afterwards, and how do I go about doing this?
Thanks
--
View this message in context:
2011 Jul 12
1
How to "smoothen" a geodata set in R
Hello, I'm new to this list. Sorry if my question or parts of it already came
up before.
For my research in geostatistics, I am working with large sets of data in R
(basically large matrices containing discrete x and y coordinates and a
value for a certain parameter). These sets are obtained by kriging. The
operation I'd like to perform is smoothen the output data set. I want to do
it by
2009 Apr 16
0
points geodata {geoR}
I used points graphic (geoR) in this way:
points(zn,pt.divide=c("quintiles"),
main="Location map of Zn",lambda=1,col="gray",yl="coord y",xl="coord x",x.leg=0.
3, y.leg=5.5,dig.leg=2,cex.min=0.5,cex.max=1,)
Can I reduce legend characters
(a sort of cex)?
2007 Dec 06
3
anybody use OPEN_ID to authenticate?
how did it go?
here is the link if you are interested: http://openid.net/what/
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe
2007 Mar 28
7
Rails, REST and JSON
Hi everyone,
I''m writing a lightweight AJAX application using Rails on the server side as
a RESTful web service provider.
I need the web service to support both JSON and XML I/O. Outputting data in
XML and JSON is easy (using to_xml and to_json),
and it''s also easy to do XML input as Rails does it for you automatically.
Is it possible to somehow have the same
automatic parsing
2007 Mar 10
6
ActiveResources 0.1.0 Released
See the blog post at http://blog.lonestarsoftware.net/2007/03/09/active_resources-010-released/
Reading through the rails blogosphere last week, I read a post (which
I can not find again) that suggested a completely different approach
to AJAX use in rails apps. The idea was to create a Javascript proxy
to the ActiveRecord models and allow AR operations to be called from
the client.
I see this
2006 Oct 23
3
Design Dilemma - Please Help
Hi, I''m new. ;-)
I creating a little rails app, that will crawl the web on a regular
basis and then show the results.
The crawling will be scheduled, likely a cron job.
I can''t wrap my head around where to put my crawler. It doesn''t seem
to fit.
An example:
Model - News Story
Controllers - Grabs a story from the DB, Sort the Stories, Search the
Stories etc.
View -
2007 Apr 18
2
Checking validity of NHS numbers
Hello
I need to check that the NHS numbers in my database are valid. I''m
storing them as ten-digit strings: the first nine are the identifier and
the tenth is a check digit.
There are four steps to calculating the check digit (from
http://www.connectingforhealth.nhs.uk/systemsandservices/nsts/docs/tech_nn_check_digit.pdf):
1. multiply each of the first nine digits by a weighting factor
2008 Oct 13
1
ggplot faceting like lattice | variable
I would like to be able to do the xyplot in ggplot below. I read in
the archive that Hadley was working on this for the next release, and
I can not find the documentation (Aug. 23rd).
River.Mile <- c(215 ,202, 198, 190, 185, 179, 148, 119, 61)
Cu <- rnorm(9)
Fe <- rnorm(9)
Mg <- rnorm(9)
Ti <- rnorm(9)
Ir <- rnorm(9)
r <- data.frame(River.Mile, Cu, Fe, Mg, Ti, Ir)
z <-
2008 Oct 10
2
ggplot adding points
I would like to do the following in ggplot:
what am I missing?
River.Mile <-c(202, 198, 190, 185, 179, 148, 119, 61)
TSS <- c(1:8)
DOC <- seq(2, by= 0.6, length.out=8)
z <- data.frame(River.Mile, TSS, DOC)
xyplot(TSS+DOC~River.Mile, data=z, auto.key=TRUE)
thanks
--
Stephen Sefick
Research Scientist
Southeastern Natural Sciences Academy
Let's not spend our time and resources
2008 Jan 31
2
Box Plot With Groups being numbers
I would like to Summarize values that are repeated measures at a
certain river mile with box plot i.e.
The data matrix looks like this
123 124 125 #fiver mile
0.5 0.6 0.7
0.4 0.5 0.6
... ... ... #values
I would like to make a boxplot with the river mile naming the
different box plot. How do you suppress the X123?
Stephen
--
Let's not
2008 Jul 07
3
subset() multiple arguments
This is what I would like to do and it works just fine. Is there a way to
shorten this code so I don't have to subset a subset of a subset?
d<-subset(subset(subset(subset(x, River.Mile<=202), River.Mile>3),
Lagrangian=="Yes"), EventType=="Regular")
Stephen
--
Let's not spend our time and resources thinking about things that are so
little or so large that
2006 Jun 16
3
Does HABTM support non "id" FKs?
Quick question. Say I have a geographical database with counties and zip
codes where counties have and belong to many zip codes.
zip_codes (id, zip_code)
counties (id, name)
When I create the association table, the Rails way says to do the
following: counties_zip_codes (county_id, zip_code_id).
However, given that zip_codes.zip_code is itself a candidate key, I
would much prefer to do the
2004 Jan 12
2
Re: Nauti miles
>
>
I might as well add to the offtopic thread... why are natuical miles longer
than "regular" miles?
Andrew
A nautical mile is 1 minute of latitude.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040112/6658a905/attachment.htm
2004 Jul 23
3
Grandstream Budgetone 101 channels don't disappear on hangup.
Hi there,
I'm having problems with the Grandstream Budgetone 101 on hangup -
"show channels"/"show channels concise" output is still showing the
call's channels as active.
The problem does not exist when I use SJPhone, so I'm assuming it isn't
an Asterisk configuration issue. Has anyone seen this, or better, does
anyone have a fix? :)
Thanks,
David.
--
2006 Mar 21
2
Sorting by computed temporary field
Hey all,
I''m rather new to Ruby and Rails (and not great with SQL), but I''m
developing a ride sharing app and would like to be able to sort on
something I don''t have stored.
I have users, events, and rides, each of which has a zip code. Events
have_many rides, and rides belong_to events.
When an event is selected, I''d like to be able to show a list of
2008 Apr 16
4
Doing a radius/location search
The application I''m developing allows people to create events in their local
area; as part of this feature I want to display a list of, say, the five
most recent events within 30 miles of a person''s location.
I have a User model and a Profiles model which contains the user''s location
(city, state, zip code) among other non-related personal information. So
what I would
1999 Oct 13
2
bind failed on port 139 socket_addr=0.0.0.0 (Address already in use)
I can't figure out what is causing the error message of
[1999/10/13 11:39:42, 0] lib/util_sock.c:open_socket_in(671)
bind failed on port 139 socket_addr=0.0.0.0 (Address already in use)
in my logs and thus preventing smbd from serving up connections.
How can I track down what is causing this? Samba has been working great
and now I must have done something but I don't know what. The