[postgis-tickets] [PostGIS] #2283: shp2pgsql may be parsing shp's multipolygon incorrectly
PostGIS
trac at osgeo.org
Tue Aug 18 05:46:14 PDT 2015
#2283: shp2pgsql may be parsing shp's multipolygon incorrectly
----------------------------+---------------------------
Reporter: qtxie | Owner: mcayland
Type: defect | Status: new
Priority: high | Milestone: PostGIS 2.2.0
Component: loader/dumper | Version: trunk
Resolution: | Keywords: multipolygon
----------------------------+---------------------------
Comment (by pramsey):
Confirmed, this polygon
{{{
MULTIPOLYGON(
((0 0,100 0,100 100,0 100,0 0),(10 10,90 10,90 90,10 90,10 10)),
((20 20,20 80,80 80,80 20,20 20),(30 30,30 70,70 70,70 30,30 30))
)
}}}
when exported to shape and then reimported, turns into this one
{{{
MULTIPOLYGON(
((0 0,0 100,100 100,100 0,0 0),(10 10,90 10,90 90,10 90,10 10),(30 30,70
30,70 70,30 70,30 30)),
((20 20,20 80,80 80,80 20,20 20))
)
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2283#comment:4>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list