I am using a spatialite db to perform a union and dissolve over a vector file.The vector inside the db looks like this:
when I export the table with: ogr2ogr -f "ESRI Shapefile" -overwrite output.shp db.sqlite -dsco SPATIALITE=yes -sql "SELECT * FROM unidos" -nlt MULTIPOLYGON
the resulting shapefile has some of the holes filled, like in the next image
What can be wrong? I have checked the input file and it is OK. I mean, the holes are actually holes.
Thanks.
أكثر...

when I export the table with: ogr2ogr -f "ESRI Shapefile" -overwrite output.shp db.sqlite -dsco SPATIALITE=yes -sql "SELECT * FROM unidos" -nlt MULTIPOLYGON
the resulting shapefile has some of the holes filled, like in the next image

What can be wrong? I have checked the input file and it is OK. I mean, the holes are actually holes.
Thanks.
أكثر...