Jose C. Martinez-Llario wrote:
Hi PostGIS users,
When I use the command shp2pgsql with the options -w and -s 23030 (for
example) then I get a bad formed WKT (the SRID chain is repeated twice)
shp2pgsql -w -s 23030 rios.shp rios
Result:
...
INSERT INTO "rios" ("trio",the_geom) VALUES
('2',GeomFromText('SRID=23030;MULTILINESTRING(SRID=23030;(4172 4629,4164
4601,4141 4578))', 23030));
...
Im using:
POSTGIS="1.5.1" GEOS="3.2.0-CAPI-1.6.0" PROJ="Rel. 4.7.1, 23 September
2009" LIBXML="2.7.7" USE_STATS
In previous versions it didnt happend to me.
dont know..maybe this is already fixed in the 1.5.2 version.
Best,
Jose
Hi Jose,
Yes, this is fixed in 1.5.2. See
http://trac.osgeo.org/postgis/ticket/603 for more information.
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
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users