[postgis-users] migration problem from 1.5.3 to 2.0.1
Daniele Debernardi
daniele at geosar.ch
Fri Nov 23 01:45:57 PST 2012
Hi,
I have some problems migrating a MULTISURFACE geometry to the postgis 2.0.1
this is the geometry:
MULTISURFACE(CURVEPOLYGON(COMPOUNDCURVE((725984.644 120409.84,725978.411
120154.328,726520.75 120060.848,726545.685 120
366.216,725984.644 120409.84))))
in 1.5.3 the geometry looks like this:
010F00000001000000010D00000001000000010900000001000000010200000005000000355EBA49C12726410AD7A3709D65FD408D976ED2B427264191ED7C3FA555FD4000000080F12B2641B0726891CD4FFD40EC51B85E232C26417F6ABC74E362FD40355EBA49C12726410AD7A3709D65FD40
but in 2.0.1 is different:
010C00000001000000010A00000001000000010900000001000000010200000005000000355EBA49C12726410AD7A3709D65FD408D976ED2B427264191ED7C3FA555FD4000000080F12B2641B0726891CD4FFD40EC51B85E232C26417F6ABC74E362FD40355EBA49C12726410AD7A3709D65FD40
(there are 2 differenct characters)
the problem occur when i try to import the geometry from the old
database to the new one,
it get recognized as a PolyhedralSurface instead of a Multisurface.
Is this a bug in the 2.0.1 serializer?
There is a solution to this problem?
Thanks in advance,
Daniele
More information about the postgis-users
mailing list