[postgis-users] Problem transferring geometries from 1.5 to 1.3

Laurent Jégou ljegou at gmail.com
Thu Feb 24 02:02:53 PST 2011


Hello, i stumbled into a problem when i tried to insert geometries from an
1.5 installation to a postgis 1.3.

The 1.5 is my local test server, the 1.3 the distant production server, to
which i only have a FTP access, so i'm uploading geometries with the help of
a PHP script reading a big csv (text) file.

The geometries are MULTIPOLYGONS with holes. When i try to insert some of
the geometries (very complicated ones), i got an error : "ERROR : invalid
geometry". The format used to represent the geometries is the default
hexewkb.

The 1.3 install full version is : POSTGIS="1.3.2" GEOS="2.2.1-CAPI-1.0.1"
PROJ="Rel. 4.4.9, 29 Oct 2004" USE_STATS

The 1.5 install full version is : POSTGIS="1.5.0" GEOS="3.2.2-CAPI-1.6.2"
PROJ="Rel. 4.7.1, 23 September 2009" LIBXML="2.7.3" USE_STATS

Is there a way to convert those geometries ?

Thanks for your help, best regards,

L. Jégou

-- 
Laurent Jégou
Cartographe et enseignant
UTM - Dépt. Géographie
31058 TOULOUSE Cedex 9 - 05.61.50.43.89
http://www.univ-tlse2.fr/geoprdc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110224/66a297ad/attachment.html>


More information about the postgis-users mailing list