search for: kml

Displaying 20 results from an estimated 41 matches for "kml".

Did you mean: lkml
2009 Sep 09
1
Package that does not work until I re write the exactly the same code
Hi the list, I am writing a package in S4 and I do not manage to understand a bug. The "R CMD check" and the "R CMD build" both work. Here is links to the package (not on CRAN yet for the raison that I explain bellow): http://christophe.genolini.free.fr/aTelecharger/kml_0.5.zip http://christophe.genolini.free.fr/aTelecharger/kml_0.5.tar.gz Then I install the package and I try an example: --- 8< -------------- library(kml) dn <- as.cld(gald()) kml(dn) # XXX ~ Fast KmL ~ # Erreur dans as.vector(x, mode) : argument 'mode' incorrect --- 8< ---------...
2008 Aug 18
2
Fwd: Parsing XML or KML into CSV /Using R for geocoding , OR problem
Hi, I have a data file in a KML format which is Google Earth's format for geographic data. I need to import it into a csv file . How can I do that. KML format is just like XML format .example below Which R module with deal with an OR problem (like transportation problem using geo coded data as in the example below) Regards,...
2007 Jun 26
0
Best way to render KML files using RXML templates
I want to produce google maps KML files which are baiscally XML files with a KML extention. I''m using restful routes and respond_to. The best way I''ve found is to use respond_to do |format| format.kml { render :action => "kml" } will render a kml.rxml template I have but really I want to have acti...
2010 Nov 26
1
Generating kml lines output
Dear, I would like to generate kml file with lines (<LineString>) of different style (definitely color, but width would also be nice to see). However with kmlLine from maptools package I am able only to output the single first Lines object (first row of SpatialLinesDataFrame) I guess the option would be to have single Lines...
2012 Feb 22
1
How can I save plot()/points() using SHP files into KML format?
Hi, I am new to R and am a very basic user. I'm importing SHP files, adding plots of random locations within my polygon (these files have GPS data), and then want to save these plots (intact with added points) as KML files to look at in GoogleEarth (or possibly as SHP files which I can then convert into KML). This is as far as I've gotten (code below) and am lost as to next steps, Any suggestions or references would be greatly appreciated! Thanks in advance for any help. Gabe # Initialize pseudo random...
2014 Mar 19
1
Memcheck: Invalid read of size 4
Hi the list, One of my package has a memory issue that I do not manage to understand. The Memtest notes is here: <http://www.stats.ox.ac.uk/pub/bdr/memtests/valgrind/kml-Ex.Rout> Here is the message that I get from Memtest --- 8< ---------------- ~ Fast KmL ~ ==27283== Invalid read of size 4 ==27283== at 0x10C5DF28: kml1 (kml.c:183) ... ==27283== by 0x10C5DE4F: kml1 (kml.c:151) ... ==27283== at 0x10C5DF90: kml1 (kml.c:198) --- 8< -------------...
2014 Sep 12
0
Compatibility issues between Matrix and kml
Hi the list, I am the maintainer of the package kml. I quite often receive some email about a specific bug. The answer is always the same, I tell people to remove the package Matrix, and then kml works fine. I wonder what my code is not compatible with the Matrix package. Here is a (simplified) version of the kml code : --- 8< ------------ libr...
2015 May 26
0
Compatibility issue between lme4 and kml (operateur "[")
Hi all, There is a compatibility issue between the package 'lme4' and my package 'kml'. I define the "[" operator. It works just fine in my package (1). If I try to use the lme4 package, then it does no longer work (2). Moreover, it has some kind of strange behavior (3). Do you know what is wrong? Any idea of how I can correct that? Thanks for your help Christophe --...
2009 Feb 24
0
kml 0.9.2
KmL, version 0.9.2 KmL is a new implematation of k-means for longitudinal data (or trajectories). This algorithm is able to deal with missing value and provides an easy way to re roll the algorithm several times, varying the starting conditions and/or the number of clusters looked for. It also pro...
2009 Feb 24
0
kml 0.9.2
KmL, version 0.9.2 KmL is a new implematation of k-means for longitudinal data (or trajectories). This algorithm is able to deal with missing value and provides an easy way to re roll the algorithm several times, varying the starting conditions and/or the number of clusters looked for. It also pro...
2011 Jan 20
1
Generating time progressing line for Google Earth
...atan2( sin(bearing) * sin(ang_dist) * cos(lat_1), cos(ang_dist) - sin(lat_1) * sin(lat_2) ); # Convert from radians to degrees new_lat = Degrees(new_lat_rad); new_lon = Degrees(new_lon_rad); coords[i, 2] = new_lat coords[i, 1] = new_lon } return(coords) } ################### #---BREWING KML---# ################### #A 39.5 -4.5 #E 44.75 -107.5 startLong = -4.5 startLat = 39.5 endLong = -107.5 endLat = 44.75 numberOfIntervals = 100 coords <- GenerateLineSegments(startLong, startLat, endLong, endLat, numberOfIntervals) coords <- as.data.frame(coords) names(coords) <- c(&quot...
2006 Jul 19
5
Model Validation - with a twist
...ess2 address1 = URI.escape(address) googleoutput = ''&output=xml'' googlekey = ''&key=mykey'' result=URI(url+address1+googleoutput+googlekey ).read doc = Document.new(result.to_s) root = doc.root retstatus = root.elements[''/kml/Response/Status/code''].text if retstatus.to_i == 200 coordinates = root.elements[''/kml/Response/Placemark/Point/coordinates''].text long1, lat1, = coordinates.split('','').map { |v| v.to_f } params[:bookstore][:latitude] = lat1 par...
2010 Mar 04
0
KmL 1.1.1
?kml? is an implementation of k-means for longitudinal data (or trajectories). This algorithm is able to deal with missing value and provides an easy way to re roll the algorithm several times, varying the starting conditions and/or the number of clusters looked for. KmL 1.1.1 addition: - 7 imputatio...
2010 Mar 04
0
KmL 1.1.1
?kml? is an implementation of k-means for longitudinal data (or trajectories). This algorithm is able to deal with missing value and provides an easy way to re roll the algorithm several times, varying the starting conditions and/or the number of clusters looked for. KmL 1.1.1 addition: - 7 imputatio...
2012 Feb 24
1
Producing KML files
Hi, I am very new to R and I am trying to write KML files. I am running R-2.13.1 and I have the following packages: - AKIMA - RGDAL - RSAGA - SP I was trying to run the simple example that I found at the following web page: http://spatial-analyst.net/wiki/index.php?title=Export_maps_to_GE The lines that I c...
2009 Jun 01
0
[mapstraction commit] r12 - Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays
Author: duvander Date: Sun May 31 17:34:27 2009 New Revision: 12 Modified: trunk/source/mxn.cloudmade.core.js Log: Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays Modified: trunk/source/mxn.cloudmade.core.js ============================================================================== --- trunk/source/mxn.cloudmade.core.js (original) +++ trunk/source/mxn.cloudmade.core.js Sun May 31 17:34:27 2009 @@ -6,49 +6,73 @@ var me = thi...
2009 Mar 02
2
Need help extracting info from XML file using XML package
...ithin it the coordinates of some polygons that I would like to extract and use in R. The polygons are nested rather deeply. For example, I found by trial and error that I can extract the coordinates of one of them using functions from the XML package: doc <- xmlInternalTreeParse('doc.kml') docroot <- xmlRoot(doc) pgon <- xmlValue(docroot[[52]][[3]][[7]][[3]][[3]][[1]][[1]]) but this is hardly general! I'm hoping there is some relatively straightforward way to use functions from the XML package to recursively descend the structure and return the text strin...
2017 Mar 19
2
Error "Warning in read_symbols_from_dll(so, rarch): this requires 'objdump.exe' to be on the PATH
Hi all, I try to compile my package kml and I get the message Warning in read_symbols_from_dll(so,rarch): this requires 'objdump.exe' to be on the PATH I check 'Writing R Extensions' but I did not find any reference to this error. Does someone know how to fix that? Thank you very much for your help. Christophe
2004 Aug 06
1
Intel libraries
...some code so it's integer based as opposed to floating point based. Has anyone looked at using Intel's Integrated Performance Primitives or their Math Kernel Library in an effort to optimize the code across all x86/XScale processors? IPP: http://www.intel.com/software/products/ipp/ipp30/ KML: http://www.intel.com/software/products/mkl/ -- --Jeff Sr. Unix Systems Administrator & Engineer SAIR Linux and GNU Certified Professional This email may contain privileged and confidential information. It is intended only for the use of the adressee(s). I'll further add that if this me...
2017 May 30
9
GPX files
I have a Garmin 78s marine GPS receiver and it stores tracks in GPX format. This is an XML encoded set of points giving longitude, latitude, time and sea depth. Garmin support viewing this via their Garmin Express product, but there only seem to be Windows and Mac versions. I've emailed them and await a reply. In the mean time, does anyone know of any Linux products that will emable me to