[ANN] reading and viewing GIS data in ESRI shapefile format

Baveco, Hans Hans.Baveco at wur.nl
Fri Apr 23 10:17:42 UTC 2004


I just put a small package on SqueakMap, to read and view GIS data in ESRI shapefile format (the format used by ESRI's ArcView program). 
It adds some basic functionality required to improve Squeak's geo-processing abilities, which are currently a bit underdeveloped (Squeak could be made into a perfect platform for GIS work!).

NB it is on SqueakMap, but it doesn't show up in my PackageLoader list yet, - this delay is normal?
NB2 is it really not possible to edit comments after a package has been made into an official release?


from the description:
"Adds classes representing ESRI shapefiles. Commonly used types are handled: Polygon, Polyline, Point and MultiPoint shapes. Shape data are read from files and simply kept as-is in ByteArrays in ShapeMap objects. For further processing of shape data, conversion into real objects (Polygon, Arc, Point, etc) might be handier. 
Both the name.shp file and the index file (name.shx) are read. To get at the attributes of the shapes, the accompanying name.dbf file needs to be read (a dbf-reader is not incorporated in the current version).
Besides reading, the only functionality included is viewing the contents of a ShapeMap as a Form (aShapeMap draw)."

Have fun,

comments and additions greatly appreciated

Hans Baveco




More information about the Squeak-dev mailing list