[prev in list] [next in list] [prev in thread] [next in thread]
List: postgis-users
Subject: Re: [postgis-users] pgsql2shp
From: Mark Cave-Ayland <mark.cave-ayland () siriusit ! co ! uk>
Date: 2011-09-27 8:54:53
Message-ID: 4E818F5D.3050505 () siriusit ! co ! uk
[Download RAW message or body]
On 26/09/11 09:42, Raffaele Morelli wrote:
> Hi,
>
> I am working with R and using pgsql2shp to export shape files from pg.
> The shapes are created by pgsql2shp but when I try to import them in a R
> enviromnent I get this error
>
> Error in res[i, ] <- Map$Shapes[[i]]$verts : replacement has length zero
>
> I can load the shape files in Qgis but not in R. Moreover, if I load one
> of those files in Qgis and then export it again... this file is
> correctly loaded by R.
>
> I really cant' guess what's wrong with pgsql2shp. Any ideas?
>
> Regards
> Raffaele
Hi Raffaele,
Are you able to provide an example shapefile for us to look at? And also
which version of PostGIS/shp2pgsql are you using?
ATB,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic