Re: [R-sig-Geo] writeOGR error: problem with GDAL (libgdal1- 1.7.0)

2010-07-23 Thread Henk Sierdsema
s up to 10 characters, but crashes on longer variable-names. The problem appears apparently both on a Linux- (Ubuntu 9) and Windows-platforms (XP, Win7). Henk Van: Roger Bivand [mailto:roger.biv...@nhh.no] Verzonden: wo 21-7-2010 23:17 Aan: Henk Sierdsema; Agust

Re: [R-sig-Geo] writeOGR error: problem with GDAL (libgdal1- 1.7.0)

2010-07-21 Thread Henk Sierdsema
Hi Augustin, I've encountered the same problem after an update of the rgdal-package. I have resolved the problem by removing the rgal-folder in the library and replacing it by an older version of November 2009. You can download that version of www.sovon.nl/temp/rgdal_nov_2009.zip Success! Hen

Re: [R-sig-Geo] problem saving spplot in a loop

2009-12-07 Thread Henk Sierdsema
Hi Alex, You have to assign the plot to a temporary variable (like tmp <- spplot(...)) and then use print(tmp1) to save it in the png-file so somethink like: tmp <- spplot(...) png(filename=...) print(tmp) dev.off() Succes! Henk ----- Henk Sierdsema

Re: [R-sig-Geo] need to create US map with colors by state

2009-11-05 Thread Henk Sierdsema
Hi Mark, The 'ASDAR'-book (Bivand et al, Applied Spatial Data Analysis with R http://www.asdar-book.org/) contains a lot of examples of desease mapping and modelling. From the website you can also download example data sets and scripts. Here is an (extended) example from page 91 onwards from

Re: [R-sig-Geo] Very basic figure question

2009-10-16 Thread Henk Sierdsema
re you can download for example shorelines and a basic map with country borders (but good enough for reference purposes). Henk Henk Sierdsema SOVON Vogelonderzoek Nederland / SOVON Dutch Centre for Field Ornithology Rijksstraatweg 178 6573 DG Beek-Ubbergen The Netherlands tel: +

Re: [R-sig-Geo] SpatialLines to SpatialPolygons convertion

2009-03-03 Thread Henk Sierdsema
Hi Hans, Please have a look at paragraph 2.6 (page 41) on spatial polygons in the ASDAR-book. Here you will find an example of converting a shoreline into polygons. Henk Henk Sierdsema SOVON Vogelonderzoek Nederland / SOVON Dutch Centre for Field Ornithology Rijksstraatweg 178 6573 DG

Re: [R-sig-Geo] Converting kml to shape (readOGR)

2009-01-07 Thread Henk Sierdsema
n: di 6-1-2009 15:39 Aan: Henk Sierdsema CC: Edzer Pebesma; r-sig-geo@stat.math.ethz.ch Onderwerp: Re: [R-sig-Geo] Converting kml to shape (readOGR) On Tue, 6 Jan 2009, Henk Sierdsema wrote: > I have installed Expat XML Parser, but how do I rebuilt GDAL/OGR? Since you are on Windows,

Re: [R-sig-Geo] Converting kml to shape (readOGR)

2009-01-06 Thread Henk Sierdsema
Hi Juliane, I have found an Arcview3-extension that converts kml to shapes (http://arcscripts.esri.com/details.asp?dbid=14988) and that works fine. But it would like to solve the problem in the scripting-environment of R. Henk PS: the kml-files were made with Google Earth. Henk Sierdsema

Re: [R-sig-Geo] Converting kml to shape (readOGR)

2009-01-06 Thread Henk Sierdsema
l") Error in ogrInfo(dsn = dsn, layer = layer) : Cannot open layer and the traceback: > traceback() 3: .Call("ogrInfo", as.character(dsn), as.character(layer), PACKAGE = "rgdal") 2: ogrInfo(dsn = dsn, layer = layer) 1: readOGR(dsn = ".", layer = "Gebied2

Re: [R-sig-Geo] Converting kml to shape (readOGR)

2009-01-06 Thread Henk Sierdsema
I have installed Expat XML Parser, but how do I rebuilt GDAL/OGR? Henk Henk Sierdsema SOVON Vogelonderzoek Nederland / SOVON Dutch Centre for Field Ornithology Rijksstraatweg 178 6573 DG Beek-Ubbergen The Netherlands tel: +31 (0)24 6848145 fax: +31 (0)24 6848122 -Oorspronkelijk

[R-sig-Geo] Converting kml to shape (readOGR)

2009-01-06 Thread Henk Sierdsema
Hi, I've been trying to convert a vector kml-file to an ESRI shape with readOGR(), but I don't manage to read the kml-file. Can anyone help me with this? Thnx, Henk Sierdsema SOVON Vogelonderzoek Nederland / SOVON Dutch Centre for Field Ornithology Rijksstraatweg 178 6573 DG Bee

Re: [R-sig-Geo] CODE for spatial logistic regression

2008-10-09 Thread Henk Sierdsema
Hi Rubén, Thanks for defining 'small' better. For me a dataset up to a thousand points is a small dataset, but for most people this is quite a big data set... Henk Henk Sierdsema SOVON Vogelonderzoek Nederland / SOVON Dutch Centre for Field Ornithology Rijksstraatweg 178 657

Re: [R-sig-Geo] CODE for spatial logistic regression

2008-10-09 Thread Henk Sierdsema
Hi Ivan, I have uploaded two papers from Tom Hengl et al on this subject for you. This should give you a good idea how to solve the problem. www.sovon.nl/temp/Hengl1.pdf www.sovon.nl/temp/Hengl2.pdf Henk Henk Sierdsema SOVON Vogelonderzoek Nederland / SOVON Dutch Centre for Field

Re: [R-sig-Geo] CODE for spatial logistic regression

2008-10-09 Thread Henk Sierdsema
fact that you deny this in your second mail. So please extend more on the type of data you have and your aim. Next to geoRglm, which is only suitable for small datasets, you might also try regression-kriging. Is there by the way anyone who has experience with autoregressive models? Henk Henk

Re: [R-sig-Geo] ArcGIS Geostatistical Analyst -- how does itdisplay/ fit variograms?

2008-09-08 Thread Henk Sierdsema
http://www.gis.unbc.ca/help/software/esri/Tutorials/Using_ArcGIS_Spatial_Analyst_Tutorial.pdf Henk Henk Sierdsema SOVON Vogelonderzoek Nederland / SOVON Dutch Centre for Field Ornithology Rijksstraatweg 178 6573 DG Beek-Ubbergen The Netherlands tel: +31 (0)24 6848145 fax: +31 (0)24 6848122