Displaying 9 results from an estimated 9 matches for "latlong".
Did you mean:
latlng
2011 Aug 02
0
Wrong values when projecting LatLong in UTM
Hi R helpers,
I tried to convert a list of LatLong coordinates (in DD format) into UTM
zone 11 NAD 27. I first tried this from PBSmapping:
library(PBSmapping)
LatLong<-cbind(c(56.85359, 56.85478),c(-118.4109, -118.4035))
colnames(LatLong)<-c("X","Y")
attr(LatLong, "projection") <- "UTM"
attr(LatLon...
2008 May 27
6
IE7 Problems
...penBubble also throws the error "this.maps is null or not an
object" on this line:
// bloody microsoft -- this is broken
var el = $m(this.pinID + "_" +
this.maps[this.api].GUID).onmouseover;
And if I click in the map and drag it, when I let go, I get
"view.LatLong is null or not an object" on this line
this.maps[api].AttachEvent("onclick", function(e) {
me.clickHandler(e.view.LatLong.Latitude, e.view.LatLong.Longitude, me);
});
Since I''m kind of new to this sort of development and Mapstraction, I''m
wondering how mu...
2009 Mar 24
0
Patch: clickHandlers in VirtualEarth
...Virtual Earth maps ("e.view is undefined").
I''m using version 6 of mapcontrol.ashx. After consulting Virtual Earth
documentation, I came up with a solution.
Here is my patch (based on rev 212)
> var that = this;
360c361,368
< me.clickHandler(e.view.LatLong.Latitude,
e.view.LatLong.Longitude, me);
---
> //added by FB
> var x = e.mapX;
> var y = e.mapY;
> var pixel = new VEPixel(x, y);
> var LL = that.maps[api].PixelToLatLong(pixel);
> //end of add
> //me.clickHandler(e.view.LatLong...
2009 Jun 29
2
How to select partially (not completely) unique rows?
...the same value on these two columns
would not be kept, even if they had different values in other columns).
For example, I have a dataframe with 10 columns, two of which are LATITUDE
and LONGITUDE. I wish to keep only one row per unique combination of these
two columns, so I've tried:
unique.latlong<-extracted[unique(paste(extracted$latitude,extracted$longitude)),]
but this is returning a dataframe of missing values (NAs).
Could anyone point me in the right direction?
Thanks! Mark Na
[[alternative HTML version deleted]]
2005 Jun 09
1
Using transform on spproj package.
Hi,
I'm trying to use transform my mercator locations into utm but I'm doing
something wrong because only x is transformed ... see
> xy.sp
SpatialPoints:
loni lati
[1,] -8.85 38.16
[2,] -9.19 37.99
[3,] -9.11 37.97
[4,] -9.06 38.15
[5,] -9.03 37.87
[6,] -9.14 37.81
[7,] -9.09 37.70
[8,] -8.95 37.45
[9,] -9.17 37.37
[10,] -9.00 37.34
Coordinate Reference
2010 Nov 16
3
Anyone can help with this question
Hi there:
I am a total beginner in R, and I have a simple question:
I have a table with thousands of lines that represent locations, and two
columns: latitude and longitude. I need to randomly sample 1000 lines. How
do I do it? I know the command "sample", but it samples elements
independently, not lines.
If there is a better place for me to ask that type of question, please let
me
2011 May 28
1
newbie xml parsing question
...rice: $239,000
Beds : 3
Baths: 1.0
Sqft :1630
I noticed all that information is in "doc". The section of doc where the
information is contained is shown below. How do I go about extracting this
information and getting it into R for the general case where the address in
url will change ?
LatLong.createFromDegrees(40.187567, -75.125861),
"<div class=\"map-bubble property-bubble\"> <div class=\"search-result\">
<div class=\"plisting\"> <div id=\"bubble-photoex-up\" class=\"photoex
hide\"> <div class=\"phot...
2006 May 18
3
Google Map
...http://iamrice.org/articles/2005/12/09/using-google-maps-in-the-uk-with-rails
for using google maps on uk sites. Just having one issue I can''t seem
to work out how to draw the postcode from my table I keep getting hit by
method errors.
The controller is
require ''postcode_2_latlong''
postcode = Postcode.new("TN22 2LG")
# I want this to be a postcode from my database not TN22...
latlong = postcode.to_latlong
Then postcode.rb in /lib reads...
require ''uri''
require ''open-uri''
class Postcode
def initialize(postcode)
@...
2008 Nov 17
2
How to calculate the linear distance between 2 points
Deemed colleagues
I would appreciate your help with a sentence to calculate the linear
distance between 2 geographical points (coordinates in UTM).
In advance thnks for your attention,
--
Ricardo Bandin Llanos
rbandin@udec.cl
Estudiante - Magíster Cs. m. Pesquerías
Universidad de Concepción, Región del Bio-Bio, Chile
Celular: (0056-41) 97949957
[[alternative HTML version deleted]]