Re: [R-sig-Geo] Importing only lines from big shape file

2014-04-29 Thread Agus Camacho
gt;> import? >>>>> >>>>> These shape files are available at: >>>>> http://mapas.mma.gov.br/mapas/aplic/probio/datadownload.htm >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>

Re: [R-sig-Geo] Importing only lines from big shape file

2014-04-24 Thread Tim Keitt
Dear Agus, Thanks for sending me the shapefile off list. It uncovered some unicode bugs in my code. If you want to try some experimental code (banned even!), you can try https://github.com/thk686/rgdal2 Here's some output: > x = openOGR("/Users/tkeitt/Desktop/mata_atlantica/") > x INFO: Open of

Re: [R-sig-Geo] Importing only lines from big shape file

2014-04-24 Thread Roger Bivand
: r-sig-geo-boun...@r-project.org [r-sig-geo-boun...@r-project.org] on behalf of Barry Rowlingson [b.rowling...@lancaster.ac.uk] Sent: 24 April 2014 16:58 To: Agus Camacho Cc: r-sig-geo Subject: Re: [R-sig-Geo] Importing only lines from big shape file On Thu, Apr 24, 2014 at 4:47 PM, Agus Camacho

Re: [R-sig-Geo] Importing only lines from big shape file

2014-04-24 Thread Agus Camacho
arcia-Pintado < >>> j.garcia-pint...@reading.ac.uk>: >>> >>> A possibility is, if you are interested in some specific area of the >>>> mata >>>> atlantica, to crop the file externally with OGR just for your study >>>> area, >&g

Re: [R-sig-Geo] Importing only lines from big shape file

2014-04-24 Thread Agus Camacho
ic area of the mata >>> atlantica, to crop the file externally with OGR just for your study area, >>> and read the cropped file into R. >>> >>> Javier >>> --- >>> ______ >>> From: r-sig-geo-boun...@r-project.org [r-sig-geo-boun...@r-

Re: [R-sig-Geo] Importing only lines from big shape file

2014-04-24 Thread Roger Bivand
4 16:58 To: Agus Camacho Cc: r-sig-geo Subject: Re: [R-sig-Geo] Importing only lines from big shape file On Thu, Apr 24, 2014 at 4:47 PM, Agus Camacho wrote: Dear Rgeos, Id like to know if there is some workaround to import the lines contained by a shape file, avoiding memory problems when the onl

Re: [R-sig-Geo] Importing only lines from big shape file

2014-04-24 Thread Agus Camacho
t; and read the cropped file into R. > > Javier > --- > __ > From: r-sig-geo-boun...@r-project.org [r-sig-geo-boun...@r-project.org] > on behalf of Barry Rowlingson [b.rowling...@lancaster.ac.uk] > Sent: 24 April 2014 16:58 > To: Agus Camacho > Cc: r-sig-geo > Subje

Re: [R-sig-Geo] Importing only lines from big shape file

2014-04-24 Thread Javier Garcia-Pintado
Rowlingson [b.rowling...@lancaster.ac.uk] Sent: 24 April 2014 16:58 To: Agus Camacho Cc: r-sig-geo Subject: Re: [R-sig-Geo] Importing only lines from big shape file On Thu, Apr 24, 2014 at 4:47 PM, Agus Camacho wrote: > Dear Rgeos, > > Id like to know if there is some workaround to im

Re: [R-sig-Geo] Importing only lines from big shape file

2014-04-24 Thread Barry Rowlingson
On Thu, Apr 24, 2014 at 4:47 PM, Agus Camacho wrote: > Dear Rgeos, > > Id like to know if there is some workaround to import the lines contained > by a shape file, avoiding memory problems when the only thing you need is > the lines it contains. > > I mean, reading the lines of the world's coast

[R-sig-Geo] Importing only lines from big shape file

2014-04-24 Thread Agus Camacho
Dear Rgeos, Id like to know if there is some workaround to import the lines contained by a shape file, avoiding memory problems when the only thing you need is the lines it contains. I mean, reading the lines of the world's coast lines can be done in a instant with: wcoastline <- PBSmapping::im