GetLabelPosFromShape (was: update question)
Didrik Pinte
dpinte at itae.be
Thu Oct 5 10:22:12 CEST 2006
Le mercredi 04 octobre 2006 à 18:31 +0200, Bernhard Reiter a écrit :
>
> Looking at this a bit, I believe that it is fine to move GetLabelPosFromShape
> from UI to Model. Why not using Model/layer.py as the funcation seems to
> deal with data on a layer level? Maybe Model/label.py could also be considered
> as it has the related function AddLabel() already.
> Given the layer data it works on, I think Model/layer.py would be fine.
> What speaks for Model/map.py?
I believe that you got it right concerning Model/layer.py. Nothing
speaks for Model/map.py. I suggested it without having a deep look at
all the modules of the Model package. Regarding the content, this is the
best place to add it.
If this is ok for everybody, i'll patch the code this week-end to
integrate the new method.
Didrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20061005/11cc61b5/attachment.bin
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)