Re: [R-sig-Geo] Is latest Rgdal support spatialite

2010-01-12 Thread Noli Sicad
No. GDAL 1.7.0 not yet released. http://www.mail-archive.com/gdal-...@lists.osgeo.org/msg05330.html http://svn.osgeo.org/gdal/trunk/gdal/NEWS Noli On 1/12/10, Noli Sicad wrote: > Hi, > > Anybody know, if the latest update (3 January 2010) of Rgdal supports > spatialite

[R-sig-Geo] Is latest Rgdal support spatialite

2010-01-11 Thread Noli Sicad
Hi, Anybody know, if the latest update (3 January 2010) of Rgdal supports spatialite - GDAL 1.7.0? Thanks. Noli ` http://www.gdal.org/ogr/drv_sqlite.html from the site. ~~ Using the SpatiaLite library (Spatial extension for SQLite) (Starting with GDAL 1.

[R-sig-Geo] subsetting shapefile polygons with separate table criteria

2010-01-06 Thread Noli Sicad
# Subseting shapefile before merging tables - join table I realised that deleting the polygon with does match wit the record is not possible since, I can read the shapefile at all. But still I need to know how to delete / subset polygons. I think this is more workable. 1. Read shapefile polygons

[R-sig-Geo] Deleting shapefile polygon with no attribute / record

2010-01-06 Thread Noli Sicad
# Deleting shapefile polygons that doesn't much with record in the merge dbf file I want to do: 1. Delete polygons that doesn't have a match with record in joined / merge table of the shapefile. (Done transpose and merging - joined to one-to-one relationship already.) 2. Create a subset of the

Re: [R-sig-Geo] One-to-many table relationship to shapefile polygon in spplot / plot - possible?

2010-01-06 Thread Noli Sicad
> Depends on your GIS! Shapefiles only have a 1-1 relationship, but > that's because they are a bit rubbish. If you use a proper spatial > database then you can do one-many. This is an application for a > PostGIS or Spatialite database, and if your GIS can read that (Qgis > for example) then you a

Re: [R-sig-Geo] One-to-many table relationship to shapefile polygon in spplot / plot - possible?

2010-01-06 Thread Noli Sicad
> Review ?reshape to convert to wide format before trying to merge into > your object for using spplot(). > > Roger OK. The answer is not possible. I have been studying reshape - cast and melt. The illustration submit in my earlier post, can be easily done. But here is the real data (below) is b

[R-sig-Geo] One-to-many table relationship to shapefile polygon in spplot / plot - possible?

2010-01-05 Thread Noli Sicad
Hi, I have problem transposing my database table which is to be merged / joined with the shapefile file (*.dbf) inorder to have one-to-one relationship with shapefile polygon. As we know that inorder for the polygon to be rendered in GIS, it has to have one-to-ope relationship. One to many table:

[R-sig-Geo] In is.na(e2) : is.na() applied to non-(list or vector) of type 'NULL' in Shapefile and CSV Data

2010-01-02 Thread Noli Sicad
Hi, I am trying to join harvest_cut.csv (csv table) from LP linear programming run to shapefile (*.dbf). I got some problem (below). This is what I am trying to do 1.Read area from the shapefile as input to LP model. Data (Croptype, Age, Area) 2.Get result / output harvest_cut.csv 3.Link back my

[R-sig-Geo] How to implement Org2Org "-dcso NameField=..." in rgdal, writeOGR() KML

2010-01-01 Thread Noli Sicad
Hi, I would like to minic this Org2Ogr command (below) to write shapefile to KML. How do I do this in rgdal, " -dcso NameField=Name_2" Org2Ogr command: ~ Org2Org -f KML NZL_3.kml NZL_adm3.shp -dcso NameField=Name_2 ~ Rgdal ~~ library(rgdal) mymap<-readOGR("NZL_adm3.sh

Re: [R-sig-Geo] stuck on importing and projecting shapefiles

2009-12-30 Thread Noli Sicad
Hi Julie, Probably you can downloading and installing using rgdal for Mac OS X from this site http://www.kyngchaos.com/software:frameworks ~ GDAL * GDAL framework v1.6.3-1 [44.9 MiB] {requires UnixImageIO, GEOS, SQLite3 and PROJ frameworks} * ECW plugin v1.6.2-1 [2.

Re: [R-sig-Geo] Shapefiles of New Zealand

2009-12-30 Thread Noli Sicad
Better Free Spatial Data Country level http://www.diva-gis.org/Data Sorry for answering my own question. Noli On 12/31/09, Noli Sicad wrote: > OK. I remember OSM repo - cloudmade. > > http://downloads.cloudmade.com/oceania/new_zealand#breadcrumbs > > Noli > > On 12/31/

Re: [R-sig-Geo] Shapefiles of New Zealand

2009-12-30 Thread Noli Sicad
OK. I remember OSM repo - cloudmade. http://downloads.cloudmade.com/oceania/new_zealand#breadcrumbs Noli On 12/31/09, Noli Sicad wrote: > Hi, > > I am searching the net for the "basic" shapefile of New Zealand. I > could not find a site to download it. > > A

[R-sig-Geo] Shapefiles of New Zealand

2009-12-30 Thread Noli Sicad
Hi, I am searching the net for the "basic" shapefile of New Zealand. I could not find a site to download it. Any hint where to download it. Thanks. Noli ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-s