/[thuban]/trunk/thuban/Thuban/Model/layer.py
ViewVC logotype

Log of /trunk/thuban/Thuban/Model/layer.py

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 437 - (view) (annotate) - [select for diffs]
Modified Thu Feb 27 15:53:21 2003 UTC (22 years ago) by jonathan
File length: 8685 byte(s)
Diff to previous 412
Fixed name resolution problem.


Revision 412 - (view) (annotate) - [select for diffs]
Modified Wed Feb 19 16:51:50 2003 UTC (22 years ago) by jonathan
File length: 8690 byte(s)
Diff to previous 389
(Layer): Removed references to fill, stroke,
        stroke_width attributes. Made the 'classification' attribute private.
        New methods for setting/getting the classification.


Revision 389 - (view) (annotate) - [select for diffs]
Modified Mon Feb 10 15:25:30 2003 UTC (22 years ago) by jonathan
File length: 8950 byte(s)
Diff to previous 386
* Thuban/Model/layer.py (Layer): Remove the
        Set[Fill|Stroke|StrokeWidth]() methods. Code should call the
        SetDefault*() methods on the layer's classification object.
        (Layer.__init__): Use the new SetDefault*() methods in the
        Classification class.


Revision 386 - (view) (annotate) - [select for diffs]
Modified Mon Feb 3 11:44:27 2003 UTC (22 years, 1 month ago) by jonathan
File length: 9681 byte(s)
Diff to previous 382
Modified these functions to change the null data in the classification rather
than keep these values directly in the Layer class. Menu options to change
these values work again.


Revision 382 - (view) (annotate) - [select for diffs]
Modified Tue Jan 28 18:37:35 2003 UTC (22 years, 1 month ago) by jonathan
File length: 9411 byte(s)
Diff to previous 374
Added a call to build the tree info for classifications. Commented out
unnecessary lines.


Revision 374 - (view) (annotate) - [select for diffs]
Modified Mon Jan 27 14:20:02 2003 UTC (22 years, 1 month ago) by jan
File length: 9250 byte(s)
Diff to previous 364
Replace user string by _() for i18n.


Revision 364 - (view) (annotate) - [select for diffs]
Modified Mon Jan 27 11:47:12 2003 UTC (22 years, 1 month ago) by jonathan
File length: 9201 byte(s)
Diff to previous 276
added classification initializations


Revision 276 - (view) (annotate) - [select for diffs]
Modified Fri Aug 23 15:25:07 2002 UTC (22 years, 6 months ago) by bh
File length: 8999 byte(s)
Diff to previous 260
(Layer.__init__): Make sure we have an
absolute filename.


Revision 260 - (view) (annotate) - [select for diffs]
Modified Thu Aug 15 17:43:59 2002 UTC (22 years, 6 months ago) by bh
File length: 8741 byte(s)
Diff to previous 258
* Thuban/Model/layer.py (Layer.Destroy): Call the unboundd method
with self.


Revision 258 - (view) (annotate) - [select for diffs]
Modified Thu Aug 15 12:48:03 2002 UTC (22 years, 6 months ago) by bh
File length: 8737 byte(s)
Diff to previous 217
(Layer.Destroy): New. Explicitly close the
shapefile and destroy the table.


Revision 217 - (view) (annotate) - [select for diffs]
Modified Wed Jul 17 10:50:40 2002 UTC (22 years, 7 months ago) by bh
File length: 8514 byte(s)
Diff to previous 179
* Thuban/UI/tree.py (color_string): Removed. No longer used.
(SessionTreeCtrl.update_tree, SessionTreeCtrl.add_items): Split
update_tree into update_tree and add_items. The tree now uses a
more generic way to display the contents of the tree.
(SessionTreeCtrl): Add a doc string explaining the TreeInfo method

* Thuban/Model/layer.py (Layer.TreeInfo),
Thuban/Model/extension.py (Extension.TreeInfo),
Thuban/Model/map.py (Map.TreeInfo),
Thuban/Model/session.py (Session.TreeInfo):
Add TreeInfo methods to implement the new tree view update scheme


Revision 179 - (view) (annotate) - [select for diffs]
Modified Wed May 15 14:02:49 2002 UTC (22 years, 9 months ago) by bh
File length: 7685 byte(s)
Diff to previous 171
	* Thuban/Model/layer.py (Layer.open_shapefile): Set bbox to None
	when the shapefile is empty.
	(Layer.BoundingBox, Layer.LatLongBoundingBox): Both methods may
	now return None for empty shapefiles. Update doc-strings.


Revision 171 - (view) (annotate) - [select for diffs]
Modified Tue May 14 14:16:24 2002 UTC (22 years, 9 months ago) by bh
File length: 7196 byte(s)
Diff to previous 147
	* Thuban/Model/layer.py (Layer.open_shapefile): Choose a better
	maximum depth for the tree than shapelib does by default.


Revision 147 - (view) (annotate) - [select for diffs]
Modified Tue May 7 16:39:52 2002 UTC (22 years, 10 months ago) by bh
File length: 6824 byte(s)
Diff to previous 143
	* Thuban/Model/layer.py (Layer.ShapesInRegion): Remove some debug
	prints.


Revision 143 - (view) (annotate) - [select for diffs]
Modified Tue May 7 14:17:20 2002 UTC (22 years, 10 months ago) by bh
File length: 6942 byte(s)
Diff to previous 82
	* Thuban/Model/layer.py (Layer.__init__): New instance variable
	shapetree to hold the shapelib quadtree for the shapefile
	(Layer.open_shapefile): Create the quad tree.
	(Layer.ShapesInRegion): New method to return the ids of shapes in
	a given region using the quad tree.


Revision 82 - (view) (annotate) - [select for diffs]
Modified Fri Feb 15 17:11:04 2002 UTC (23 years ago) by bh
File length: 6285 byte(s)
Diff to previous 73
	* Thuban/Model/layer.py (Layer.Shape): list append only takes one
	argument (python <= 1.5.2 erroneously accepted multiuple
	arguments)


Revision 73 - (view) (annotate) - [select for diffs]
Modified Mon Feb 4 19:19:25 2002 UTC (23 years, 1 month ago) by bh
File length: 6283 byte(s)
Diff to previous 21
	* Thuban/Model/layer.py (Layer.__init__): New parameter and
	instance variable stroke_width
	(Layer.SetStrokeWidth): Set the stroke_width.


Revision 21 - (view) (annotate) - [select for diffs]
Modified Tue Sep 4 16:45:28 2001 UTC (23 years, 6 months ago) by bh
File length: 6053 byte(s)
Diff to previous 6
Open the shapefile immediately. This will cause an exception in case the
file can't be opened and we can display an appropriate message.


Revision 6 - (view) (annotate) - [select for diffs]
Added Tue Aug 28 15:41:52 2001 UTC (23 years, 6 months ago) by bh
File length: 6023 byte(s)
import all the source files


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26