WIP-pyshapelib-Unicode issues

Bram de Greve bram.degreve at gmail.com
Mon Jan 14 12:36:50 CET 2008


On 14/01/2008, Bernhard Reiter <bernhard at intevation.de> wrote:
>
> On Friday 11 January 2008 18:44, Bram de Greve wrote:
> > > cool, I saw some of the commits happening, but hunted the empty shape
> > > file problem. (Does somebody know, btw, if such a shape file is
> > > legitimate at all?)
>
> > Why would it not be legitimate?
>
> I don't know. Given Thuban's existance and that it is only reported now,
> makes me believe such shapefiles are rare. Also it would not really serve
> a
> purpose to have an object without geoobject in there.
>
> > I've skimmed the specs and found no
> > such thing (about being illegal).
>
> Okay, good to know! Thanks for looking into the specs.


I've looked a bit further into it and I've found the conclusive paragraph in
the specs on page 5:

"If the shapefile is empty (that is, has no records), the values for Xmin,
Ymin, Xmax and Ymax are unspecified."

To me, that implies that they are valid.

Also, there's something like null shapes, without geometric data.  Each
shapefile type supports null shapes, so you can have points and nulls in one
file.  But not points and lines ...

Bramz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.intevation.de/pipermail/thuban-devel/attachments/20080114/60e12b6b/attachment.html


More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)