Displaying 20 results from an estimated 600 matches similar to: "Conversion error: Incomplete multibyte sequence"
2018 May 20
1
How to average values from grid cells with coordinates
Hi lily,
It's not too hard to do it using dataframes. Getting the indexing
right is usually that hardest part:
# these values are the centers of the black cells
lat<-rep(28:38,11)
lon<-rep(98:108,each=11)
pop<-sample(80:200,121)
# just use the data.frame function
blackcells<-data.frame(lat=lat,lon=lon,pop=pop)
plot(0,type="n",xlim=c(97.5,108.5),ylim=c(27.5,38.5),
2011 Jan 20
1
Generating time progressing line for Google Earth
Dear,
I am trying to visualise a time-progressing line (it's supposed to
represent spread patterns) using brew package and Google Earth.
The idea is to have a function which takes start and end point
geographic coordinates, as well as number of intervals to chop the path
up, and returns the collection of points segmenting this line.
Unfortunately my calculations fail for large distances,
2005 Jan 19
1
looking for a basic spatial diff function
Background:
OS: Linux Mandrake 10.1
release: R 2.0.0
editor: GNU Emacs 21.3.2
front-end: ESS 5.2.3
---------------------------------
Colleagues
Is there a function to calculate distances between adjacent latitude/
longitude pairs in a matrix? It is basically a spatial diff() function that
I have in mind.
Data:
long1, lat1
long2, lat2
long3, lat3
looking for: diff(data$long, data$lat)
2018 May 22
0
How to average values from grid cells with coordinates
Hi Jim,
Thanks. It works. I now have more complex problems. If at each blackcell,
there are two variables such as pop and mood. For each variable, there are
daily records in one year, so 365 records for pop and 365 records for mood.
The averaged values for the redcells should be daily records too. What kind
of format do you recommend for this problem? Right now, I just get the
latitudes and
2010 Jan 05
3
R matching lat/lon pairs from two datasets?
Hello,
I am trying to match lat/lon from one dataset with the lat/lon from a
second dataset and use that rows data for calculations. I am using
match, but this is finding the first match and not comparing the pair,
how can I determine if the lat/lon are the same? See example below. Is
there a better way to determine to a matching pair of lat/lon values?
Example Datasets:
> data2
2010 Jul 23
1
Midpoint between coordinates
Dear R users,
I need to find the coordinates for the point (midpoint) located half
way between two pairs of coordinates (lon1,lat1 and lon2,lat2)
assuming a straight line between them. What would be the best way? I
tried to find an answer in the help archives but without success. I
would greatly appreciate any help.
df<- data.frame(lon1=c(-4.568,-4.3980), lat1=c(59.235,56.369),
2011 Apr 12
1
How to set the dimension of a matrix correctly?
Hi all,
I use kriging to interpolate the precipitation from stations, but the map of this results show lots of stripes. (please see the attachment)I think there's something wrong with the setting of the dimension of this matrix, however, I have no idea how to know or test to see if this setting is correct or not.I've tried to switch the latitude and longitude, but still got the same
2003 Dec 05
1
How to use Sys.setlocale("LC_NUMERIC")?
Can you help me to use Sys.setlocale("LC_NUMERIC", "cs_CZ") (comma as a
decimal point) in some useful way, without all the workarounds?
After switching to Sys.setlocale("LC_NUMERIC", "cs_CZ"):
-- How do I set attributes in read.csv2() not to get columns of real
numbers (decimal point = comma, field separator = semicolon) as factors?
Wokrkaround: I can go
2012 Dec 19
1
"For" loop and "if" question
All -
I have a large data frame that looks like
ID p1 p2 p3...p20 Lat1 Lat2 Lat3...Lat20
Long1 Long2 Long3...Long20
1 0 0 1 0 NA NA 29.xx NA
NA NA -89.xx NA
2 1 0 0 1 27.xx NA NA 29.00
-88.00 NA NA -89.xx
3 0 0 0 0 NA
2008 Sep 12
2
Join data by minimum distance
I am wondering if there is a function which will do a join between 2 data.frames by minimum distance, as it is done in ArcGIS for example. For people who are not familiar with ArcGIS here it is an explanation:
Suppose you have a data.frame with x, y, coordinates called track, and a second data frame with different x, y coordinates and some other attributes called classif. The track data.frame has
2011 May 23
1
Asterisk DTMF 'talkoff' issues
Hi List,
I am using Asterisk 1.6.2.18. One strange problem come into my knowledge
after using this version of asterisk.
Without pressing any digits or key from my mobile, I am getting DTMF into my
asterisk server.
For getting DTMF I have use one opensourse application which gets events
from asterisk server and store into database. And after that I made my own
script to gets these DTMF keys and
2011 Feb 03
1
[newbie] Conference call
Hello
I've never used Asterisk for a three-person call, and would like to
check that MeetMe is the way to do this.
The ADSL modem provided by my ISP offers free calls to
landlines/cellphones when using a handset connected to an RJ11 port on
the modem.
A three-person call can be set up by using the standard PBX sequence:
1. Using the handset, call party #1
2. Hit "R" key on
2011 Oct 18
1
Chanspy() not working with group in asterisk 1.4.42
Hi list,
I have write down my code on which chanspy not working when I make a group
with name of spy. Please help me where is the issue on that.
a) caller will call this number to join konference and spy group
exten => 43681111,1,Answer()
exten => 43681111,n,NoOp(****${CHANNEL}****)
exten => 43681111,n,Set(GROUP(${CHANNEL})=spy)
exten => 43681111,n,Set(a=${GROUP_LIST(spy)})
exten
2011 Jun 07
1
How to get DTMF in Konference module in Asterisk
Hi List,
I am trying to get DTMF into conference room. for conference I am using
Konference module. Konference don't have an option of DTMF gets. Is there
any way by which I can get DTMF within conference room?
-----
Thanks and regards
Virendra Bhati
+91-9172341457
Asterisk Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Oct 30
2
calculate spatial distance
Hi,
I have a set of locations defined by longitude and latitude (in degrees),
and want to calculate the spatial (or geographic) distance among all
locations.
I did not find such a function in the spatial-related packages. (I *cannot*
use 'dist', as I have geographic, not cartesian coordinates).
thanks!
Robert
Robert Ptacnik
Norwegian Institute for Water Research (NIVA)
Gaustadall?en 21
2007 Jun 27
1
make check for 2.5.1 RC fails on mbcsToSbcs in graphics
configure and make run OK, but make check failed
for R version 2.5.1 RC (2007-06-26 r42068) on graphics with error:
> ## The following two examples use latin1 characters: these may not
> ## appear correctly (or be omitted entirely).
> plot(1:10, 1:10, main = "text(...) examples\n~~~~~~~~~~~~~~",
+ sub = "R is GNU ?, but not ? ...")
Error in title(...) :
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
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]]
2004 Jun 04
0
CA Arcserve backups of Samba 3.0 unicode filenames?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
(sorry about the resend forgot limits)
I've got CA Arcserve 9.0 working (sorta) by changing /etc/sysconfig/i18n
(Redhat 7.3 here) to:
LANG="en_US.utf8"
SUPPORTED="en_US.iso885915:en_US:en_US.utf8;en"
SYSFONT="lat0-sun16"
SYSFONTACM="iso15"
The issue I'm having is that a file named Bj?r???n (see
2014 Dec 08
2
Playing audio to bridged channels using ControlPlayBack
There is one more thing to try:
http://snapvoip.blogspot.com/2009/07/appkonference-asterikast-high.html
I would appreciate if anyone can comment on the feasibility of playing an audio file to the caller and callee using ControlPlayBack and appkonference. Much of the reviews indicate that appkonference is an over-kill for an audio as its main functionality is with video. Going past that.
Thanks