[Gdal-dev] GDAL shape file comes up with spurious lines using
GDAL library
Frank Warmerdam
warmerdam at pobox.com
Fri Jul 4 08:49:22 EDT 2003
Simon Ronald wrote:
> Hi guys,
>
> I am a developer from Petrosys in Australia, we make mapping software
> for the oil & gas industry. We are using GDAL to read in
> ESRI Shape files. There is one shape file that looks ok when viewed in
> the Arc Explorer program, but when read using GDAL the
> multiple line segments come through as a single LINESTRING with 55,000
> points. This means there are spurious connecting lines when viewed;
> attached is a gif file of the way it looks :- a very strange impression
> of the continent of Australia!
>
> I was wondering if any of you guys have come across this before and if
> so if you can point me in the right direction for a fix. I
> don't mind hacking GDAL - but if anyone has any sagely advice before I
> hack forth.
Simon,
On February 25th, 2003 I corrected a problem in the OGR shapefile driver
so that multi-part arcs would be read as MULTILINESTRING instead of as
a LINESTRING. On June 10th I fixed it so they would also be written
properly. I would suggest you upgrade to GDAL/OGR 1.1.9 and see if the
problem persists.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Gdal-dev
mailing list