octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53422] [octave forge] (mapping) Corrupt outpu


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #53422] [octave forge] (mapping) Corrupt output when writing polygons to shapefile with shapewrite
Date: Sun, 1 Apr 2018 18:02:20 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46

Update of bug #53422 (project octave):

                  Status:               Confirmed => In Progress            

    _______________________________________________________

Follow-up Comment #9:

A progress report:

Upon close inspection, shapewrite's code for "Point" geometries; AFAICS
conforms exactly to the specs in
http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf.
Indeed, I found that the utility program shapechk.exe [*] rather screws up the
.shx file.

However, along the way I fixed a bug in dbfwrite.m (io package), it prepended
a space to text attributes.
I also adapted shapewrite.m to always write a .dbf file.

As to your remark in comment #4 that shaperead.m produces a different struct
than you wrote with shapewrite.m:
Note that the Point geometry has no BoundingBox field - it isn't in the specs,
see URL above.

With these changes I'll try again with ArcGIS.

[*]
https://allaroundgis.wordpress.com/2013/12/10/shapefile-shp-shape-checker-v3-2/

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53422>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]