Remove symbol properties from layer element in .thuban files

Jan-Oliver Wagner jan at intevation.de
Wed Jul 27 23:58:21 CEST 2005


On Wed, Jul 27, 2005 at 01:21:26AM +0200, Jan-Oliver Wagner wrote:
> On Wed, Jun 29, 2005 at 11:53:45PM +0200, Jan-Oliver Wagner wrote:
> > On Mon, Jun 27, 2005 at 06:26:59PM +0200, Jan-Oliver Wagner wrote:
> > > I have come to the conclusion that it makes sense
> > > to remove symbol properties from layer element in .thuban files:
> > > (these are used for the default values)
> > > 
> > > Actually, it seems to be better to have always a
> > > classification for a layer and then have
> > > a clnull element describing the defaults.
> > > Else the situation is a bit redundant. Also, the more
> > > complex the description of a symbol becomes the more
> > > the layer element is overloaded. The introduction of the
> > > size element showed this.
> > > 
> > > Using always a classification would also fix the bug
> > > that labels for default (if there is only just a default
> > > and no classification) are not stored in the .thuban
> > > file.
> > > 
> > > Opinions?
> > 
> > Apparently not. So I will prepare a patch that removes
> > the default symbol attributes from layer element in .thuban
> > files ...
> 
> the attached patch does most of the job.
> However, running test_save.py shows an error
> that has something to do with postgis stores not
> having a method ShapeType ...
> I'll try to solve this next.

solved (it was easier than I thought) and checked in.

Best

	Jan
-- 
Jan-Oliver Wagner               http://intevation.de/~jan/
Intevation GmbH                      http://intevation.de/
Kolab Konsortium               http://kolab-konsortium.de/
FreeGIS                                http://freegis.org/




More information about the Thuban-devel mailing list

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