Displaying 20 results from an estimated 8000 matches similar to: "Precision on Latitude/Longitude"
2004 Aug 22
1
latitude longitude data
Dear R-helpers,
I get GPS readings with bug counts (bugs meaning
insects in this case) made along rows in crop fields
and use these to make maps of bug distribution. The
GPS readings are not quite accurate enough for my
purpose, so since I know what row each reading is made
in, I adjust the latitudinal coordinate using:
grd<-lm(lat~lon+Row,data)
2009 Aug 25
2
latitude and longitude distribution
Good day to you all,
I have lightning data containing date, time, latitude and longitude. I hope
that distribution of latitude and longitude will give number of lightning
occurrence in a region. I have used factor function to sum up the number of
events on latitude and longitude axis and saved as x and y. But when I tried
to plot the two, I had and error message ( Error in image.default(x, y, z) :
2008 Nov 27
0
Rails Join problem
Hi, i''m trying to use the GeoKit plugin to calculate the distance
between 2 points. So the idea is, i do a search for an article, and
the results i want to order by distance. So i have a form where I
enter the article (that im looking for) and my address. Then rails
must find all articles that match with my query and order by address.
So now, i have two models: Article and User. Articles
2012 Jun 05
2
Converiting longitude/latitude to utm
Dear all,
I have been trying to convert coordinates from longitude/latitude to utm
but I got an error. As soon as the longitude coordinate is greater than 90,
I get the folloowing error message: "error in pj_transform: latitude or
longitude exceeded limits"
Here is what I did:
SP<-SpatialPoints(cbind(126.59,-14.30),proj4string=CRS("+proj=longlat"))
2012 Sep 24
2
Latitude Longitude to SPDF
Hi Team,
Need your guidance in building SPDF objects from Latitude, Longitude
Information available.
I am using package "plotGoogleMaps" which is really awesome but it requires
SPDF objects to build the maps.
I have a data frame which have Latitude and Longitude information and
wanted to convert it in SPDF for making maps.
Please help me to find suitable package or function to convert
2016 Apr 29
1
How to access the latitude & longitude for UK post codes in R
Hi All,
I have a data frame with three columns i.e., pc, lat, lon.
The pc column is populated with list of postcodes, and I want to execute R command that can get me the lat and lon for the every item in the pc column and populate the respective lat and lon columns.
Is there any package that could be used?
Any help will be really appreciated.
Many Thanks and
Kind Regards
--
Muhammad
2010 Jan 28
1
make a grid with longitude, latitude and bathymetry data
hi,
i have a longitude vector (x) a latitude vector (y) and a matrix of bathymetry (z) with the dimensions (x,y). I have already succeeded in plotting it with the image.plot (package 'field') and the contour functions.
But now, I want to make a grid in order to extract easily the bathymetry corresponding to a couple of longitude, latitude coordinates.
Do you know a function or a
2010 Nov 19
2
Calculating distance between longitude,latitude of 2 points
Hi all,
I would like to know a way of calculating the distance between 2 points when
I already have the longitude and latitude of the points.
For example :
Point 1 : 52? 9'54.00"N 4?25'8.40"E
Point 2 : 52?27'46.80"N 4?33'18.00"E
Distance between point 1 and point in km ....
Is there any functions already available for this ?
Any help will be much
2007 Mar 04
0
Event listeners
Hello.. I am playing around on a pilot project with this wonderful
Rails plugin.... thanks for sharing it w us !
I read in a post , in reply to this subject yjat :
Events are possible. Either through the @map.record_init "azeazeae" (for
arbitrary events like domlistener) or through the
@map.event_init(@map,:click,"function(){alert(''HOYOYO'');}").
The
2011 Feb 08
0
favorite pattern for adding functionality to an AR?
Do you have a preferred programming pattern for adding functionality to
an ActiveRecord? As an example, say I have some gnarly trig functions
for distance and bearing between pairs of latitude and longitude:
=== file: latlng.rb
module LatLng
def haversine_distance(lat1, lng1, lat2, lng2)
...
end
def bearing(lat1, lng1, lat2, lng2)
...
end
=== EOF
... and I want to mix in
2010 Mar 16
2
Retrieving latitude and longitude via Google Maps API
Does anyone have any experience retrieving latitutde and longitude for
an address from the Google Maps API?
I'd like to have an R script that submits a street address, city, state,
and zip code and returns the coordinates. So far, I've been submitting
the coordinates from another program, then loading the coordinates in R
and merging them back into the data frame I want to use.
2010 Nov 08
1
API Google MAPS
Hello everybody,
I''m working with Version 3 of Google Maps JavaScript API, and I have
the next code:
In a layout of my application:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/
libs/jquery/1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?
2018 Jan 19
1
Leaflet maps. Nudging co-incident markers
I have a dataset showing points, with a category for each point and its location.
I simply want to display my points, in a way that users can toggle the points on and off by category.
Where I have two objects in the same category I'd like to display them nudged to appear as two distinct, but very close points.
I have made reproduceable example (the places are not real), which is loosely
2016 Apr 27
1
Determine if a set of x and y-latitude points are inside of a polygon using R
Objective: Determine if a set of x and y-latitude points are inside of
a polygon using R.
Lets say I have 9 polygons. Where I have labeled the polygons to be
checked from 1-9. The problem I?m running into is running the
point.in.polygon to check if those points are in one of several
polygons, as my code overwrites the result.
To accomplish this I am using the R-built in function called
2009 Jul 01
1
Map projections - converting latitude/longitude to eastings and northings
I am trying to set up a Grass project and need to set up the region so
that I can view the map. I can look at a map and find the lat/lon,
but the map projection is in UTM NAD38 WGS84 and I need to set the
eastings and northings. Is there a package that will help me
calculate this in R.
thanks
--
Stephen Sefick
Let's not spend our time and resources thinking about things that are
so little
2008 Aug 19
4
converting coordinates from utm to longitude / latitude
Hi,
is there a function in R to convert data read with read.shape and which is originally in UTM coordinates into longitude / latitude coordinates?
I found the convUL() function from the PBSmapping package but I have no idea how I could apply that to the read.shape object.
Many thanks,
Werner
__________________________________________________
Do
sragenden Schutz gegen Massenmails.
2008 Jul 02
1
flow map lines between point pairs (latitude/longitude)
I have a dataset giving traffic between pairs of ports, and the
lat/lon of each port, roughly as follows:
sample data as follows
> df2VisitTrips[1:4,]
Origin Destination NumberOfTrips OriginLatitude OriginLongitude
DestinationLatitude DestinationLongitude
1 P1 P16 1 39.45965
-80.15633 40.76111 -79.54583
2 P1 P3
2006 May 18
3
Google Map
Used a great howto @
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
2008 Sep 19
0
Rounding Errors using GeoKit
Hi all,
I''m trying to use the excellent GeoKit plugin to geocode addresses
entered by users. I use GeoKit to get latitude and longitude values,
then plot these using Google Maps.
The problem I have is that the maps produced tend to be slightly off
where they should be. Nearby addresses seem to be grouped to one
point, which suggests that the problem is in rounding the lat and lng
values
2009 Nov 20
1
problem selecting 330 to 30 longitude
Hello,
This is probably very simple but I am trying to select a region from the
OIv2 SST dataset that crosses 0 longitude. The longitude variable is
arranged from 0 to 360 and I get an error message when trying to go from 330
to 30 for example. The data are from a NOAA netCDF file.
*temp = open.ncdf("c:/documents and settings/theoni/desktop/sstoi_v2.nc")
print(temp)
y1 = get.var.ncdf(