Displaying 20 results from an estimated 2000 matches similar to: "computing distance in miles or km between 2 street addresses"
2007 Sep 07
0
computing distance in miles or km between 2 street
Phil,
If you have only a list of addresses and nothing else - i have to recognize i am "lost". But if you have more info you can use a GIS software and it will calculate your distance automatically for all your addresses. To have your distance in miles or Km you need to have a projection in your data which will establish your units.
The very basic principle is that for each address
2008 Jul 23
3
how can I write code to detect whether the machine is Windows or Linux?
Hi R-People:
I use 2 machines: a machine with a Windows XP operating system, and
another with a Linux Ubuntu OS. I transport my code between these 2
machines. However, pathnames to data files always need to be "adjusted"
to account for the OS that I'm working on.
Here is my question:
How do I write code to detect whether I'm using the XP or the Linux
machine?
If I knew
2008 Sep 26
1
howto convert matrix of numeric values to Date class?
Hi:
I have a matrix, named "mat," of numeric values that are in days since
Jan 1, 1960.
I want to convert them Date class values so that I can do things like
seq( value , len=10, by="1 week")
where "value" is any of the matrix elements.
How do I do this?
Please reply to: philipsmith at alumni.albany.edu
Thanks!
Phil Smith
Duluth, GA
2009 Apr 14
2
routes with google maps API
Hi,
I''m using mapstraction with Google Maps api and I want to use routes.
As of now, mapstraction only supports mapquest API to do this, so can I
use the underlying googlemaps API to do this, while using mapstraction?
If yes, how?
Btw, mapquest route demo doesn''t work (Error: MQA is not defined /
Source File: http://mapstraction.com/mapstraction-js/mapstraction.js /
Line: 621)
2009 Nov 02
3
question about difference in date objects
Hi R Community:
I want to take the difference in two dates:
dt2 - dt1.
But, I want the answer in months between those 2 dates.
Can you advise me?
Please respond to: pzs6 at cdc.gov
Thank you!
Phil Smith
Centers for Disease Control and Prevention
2004 Aug 14
2
VVDQ : GPS/topo-map software?
Can anyone please hazard a guess at an estimate for a poor old squirrel
hunter with a Very Very Dumb Question? Is wine likely to be able to
install and run any of the proprietary GPS-interfacing topo map programs
(DeLorme, Garmin, Mapquest, et al.) at any roughly predictable future
date? The season opens in three weeks, my GPS (Garmin's etrex vista) is
full -- and it still contains road maps
2007 Jan 16
3
Small design question ... good or bad ...
hey guys, I am trying to add mapping functionality to the example
application from the book.
The mapping (mapquest''s openAPI) uses javascript to generate maps. So I
was thinking that I''ll have a partial view to which i''ll pass the
addresses and it''ll plot them. I''ll then put the partial view in the
main view.
Is this a good way of implementing this
2009 Oct 23
2
Directions and Driving Distance
An HTML attachment was scrubbed...
URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20091023/4b3edf49/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Dave_Kerschner.gif
Type: image/gif
Size: 11121 bytes
Desc: not available
URL:
2008 Feb 09
2
shortest distance between two point pattern
Um texto embutido e sem conjunto de caracteres especificado associado...
Nome: n?o dispon?vel
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080208/bf7b4696/attachment.pl
2018 Jan 28
0
Plotting quarterly time series
On Sun, 28 Jan 2018, phil at philipsmith.ca wrote:
> I have a data set with quarterly time series for several variables. The
> time index is recorded in column 1 of the dataframe as a character
> vector "Q1 1961", "Q2 1961","Q3 1961", "Q4 1961", "Q1 1962", etc. I want
> to produce line plots with ggplot2, but it seems I need to
2018 Jan 28
1
Plotting quarterly time series
Using Achim's d this also works to generate z where FUN is a function used
to transform the index column and format is also passed to FUN.
z <- read.zoo(d, index = "time", FUN = as.yearqtr, format = "Q%q %Y")
On Sun, Jan 28, 2018 at 4:53 PM, Achim Zeileis <Achim.Zeileis at uibk.ac.at> wrote:
> On Sun, 28 Jan 2018, phil at philipsmith.ca wrote:
>
>> I
2009 Jan 21
7
Panning map to a point vs. setCenter
Several map providers have functions to pan to a location, as opposed
to the direct setCenter call. Panning animates the move from one point
to another. To implement this in mapstraction, I created a panCenter
function.
I don''t know how to go about committing the change to svn, or who
decides whether my naming convention is worthy, but I thought I''d
share the function
2009 Feb 12
0
Patch to handle MapQuest icon size and icon anchor parameters
This is a patch we had to implement to use custom icons in mapquest. We
needed to use a custom icon size and offset, so I added a small bit of
code to handle this. We use MapQuest API v5.3. That may make this not
work in all cases, I know the icon stuff changed somewhat between 5.2&5.3.
To make work on MapQuests 5.2 API, I *think* would only take the
following conversions.
1) MapIcon
2008 Jan 10
1
Entropy/KL-Distance question
Dear R-Users,
I have the CDF of a discrete probability distribution. I now observe a
change in this CDF at one point. I would like to find a new CDF such that
it has the shortest Kullback-Leibler Distance to the original CDF and
respects my new observation. Is there an existing package in R which will
let me do this ?
Google searches based on entropy revealed nothing.
Kind regards,
Tolga
2008 Mar 04
1
Ripley's K function within envelope--how to change the maximum distance?
Hi--I'm trying to run a Ripley's K analysis on a point pattern within a window
of 1 square km. The maximum distance I want to use is the diagonal of the
window, around 1400m, run in 50m increments.
The function defaults to a 250m maximum--I thought this was simply the way I had
plotted it, but when I exported the data there was nothing over 250m.
I've looked into seq and ginterval,
2009 Jan 31
4
marker.closeBubble()
Any reason why there''s no closeBubble function in Mapstraction? It''s
supported by at least Yahoo (closeSmartWindow) and Google
(closeInfoWindow).
A related issue, but not as clear-cut: a bubble closed event. I know
Google supports this, but I haven''t investigated further.
--Adam
2006 Jul 02
11
Google maps api in ruby/rails
I''ve been looking for any modules/tools that are available for using
the google maps api in rails. I found a couple of quick examples, but
not much more. If anyone knows of good sites that cover using google
maps api in rails please post it here:)
Chris
2009 May 31
7
[mapstraction commit] r11 - Added functionality to automatically load scripts needed.
Author: robert.moran
Date: Sun May 31 11:13:23 2009
New Revision: 11
Modified:
trunk/source/mxn.core.js
trunk/source/mxn.js
trunk/source/mxn.yahoo.core.js
trunk/tests/index.htm
Log:
Added functionality to automatically load scripts needed.
Allowed mapstraction default constructor to have provider omitted (will use
first loaded provider).
Minor change to yahoo implementation -
2008 Mar 20
1
minimum distances
Hi,
I have a question about computing shortest Euclidean distances between
two data frames of spatial points...
I have 2 dataframes (not yet converted to spatial class)
>Sewers<-data.frame(x=c(10,20,35,50),y=c(100,150,200,300))
>transect <- data.frame(x=seq(from=0, to=50, by=1),y=seq(from=100,
to=150, by=1))
I would like to be able to compute the shortest distance from the
2008 Mar 03
0
Routing through LatLng points and other stuff
Hi to all!
Well, I''ve been trying to find a solution to route using known LatLng points
- I already have the location position, all I needed was the actual route,
so I''ve put together an addition to the "mapstraction-route.js". I''ve listed
it below, so maybe it would not be a bad idea to merge it to the trunk...
Also, I have a few other questions regarding