Log of /branches/WIP-pyshapelib-bramz/Extensions/umn_mapserver/mapfile.py
Parent Directory
|
Revision Log
Revision
2326 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 9 11:38:47 2004 UTC
(20 years, 6 months ago)
by
jschuengel
Original Path:
trunk/thuban/Extensions/umn_mapserver/mapfile.py
File length: 49841 byte(s)
Diff to
previous 2316
Move the import AnnotationLayer to the function where it is needed, because it don't works if it stands at the beginning.
(MF_Layer.__init__): Removed the extra numclassed variable. Now numclasses from the mapscript will be used.
(MF_Layer.get_index): New. Return the index of the layer in mapfile.
(MF_Layer.set_classes): New. A Classlist will be set to the layer.
(MF_Layer.set_metadata): New. A Metadata mapscript object will set.
(MF_Layer.remove_allclasses): New. All class of the layer will remove.
(MF_Map.create_new_layer): New. A new Layer is created and associated with the mapscript object.
(MF_Map.set_layerorder): New. The Layer order like in thuban is set in the mapscript.
(MF_Map.add_thubanlayer): Now a new layerobj is created if no one is linked to the layer in thuban, else the layerobject linked to the thubanlayer will be used.
AnnotationLayer will now store the filename of the shapefile.
(MF_Map.remove_layer): If a layer is removed the associated object must be set new.
Revision
2316 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 3 11:46:00 2004 UTC
(20 years, 7 months ago)
by
jschuengel
Original Path:
trunk/thuban/Extensions/umn_mapserver/mapfile.py
File length: 48015 byte(s)
Diff to
previous 2301
(MF_Metadata): Added a function to remove all metadata.
(MF_Layer): Added two functions to handle the group setting.
Removed the extra numlayers variable, used the mapscript parameter instead.
(MF_Map): Added a function to get the numlayers parameter.
Added a funtion to remove all layers.
(MF_Map.add_thubanlayer): Replaced the exception handling by a check if the object is an instance. Also added the annotation layer here to export, but only the layer is created in the mapfile.
Revision
2301 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 28 12:35:32 2004 UTC
(20 years, 7 months ago)
by
jschuengel
Original Path:
trunk/thuban/Extensions/umn_mapserver/mapfile.py
File length: 47123 byte(s)
Diff to
previous 2287
Changed all class functions. Now all metadata will handle by the function and its not needed to initialize it from outside. Therefor the associated mapobj will be stored in the Metadata Object. So we can use thespecial functions from the associated mapobj to get the Metadata. Therefor all initialization code for the metadata is removed from the other classes.
(MF_Layer): Added a function to get the metadata object.
(MF_Map): Added a function to set the mappath, the path where the mapfile ist stored.
Revision
2287 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 15 14:31:37 2004 UTC
(20 years, 7 months ago)
by
jschuengel
Original Path:
trunk/thuban/Extensions/umn_mapserver/mapfile.py
File length: 48245 byte(s)
Diff to
previous 2284
Added a function to get the mappath directly from the mapobj. Is needed becaus of the changes in mf_import.py.
(MF_Layer.add_thubanclass): Added a new comment.
(MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the mapobj is empty there is no extent get from thuban an so no one can set to th mapobj.
Revision
2284 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 14 10:38:08 2004 UTC
(20 years, 7 months ago)
by
jschuengel
Original Path:
trunk/thuban/Extensions/umn_mapserver/mapfile.py
File length: 47902 byte(s)
Diff to
previous 2273
Added ClassGroupDefault to import.
(MF_Symbolset): Removed the extra variable for numsymbols.
(MF_Class.__init__): Added a comment to the exception clause.
Removed the extent init, because it was not needed anymore.
(MF_Layer.add_thubanclass): Added the code to set the class name to the expression value from thuban if no label is defined.
Added the code to export Range expressions from thuban to the mapfile.
(MF_Map.set_extent): Removed the exception and replace it by some if code. If the size of a map is not defined the size will be set to 1,1. This is necessary because if the extent is set, mapscript checks if the size is greater than zero.
(MF_Web): Added the get and set function for the template.
Revision
2273 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 8 14:26:56 2004 UTC
(20 years, 8 months ago)
by
jschuengel
Original Path:
trunk/thuban/Extensions/umn_mapserver/mapfile.py
File length: 43912 byte(s)
Diff to
previous 2270
Added code to generade and get a list of supported outputformats. This formats are not alle supported because there is no possibility to get the outputformat without the name known. Make some formal changes to the code.
(MF_Map.set_name()): Fixed a bug if the name is None.
Revision
2265 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 6 14:28:52 2004 UTC
(20 years, 8 months ago)
by
jschuengel
Original Path:
trunk/thuban/Extensions/umn_mapserver/mapfile.py
File length: 39615 byte(s)
Diff to
previous 2260
Added the symbolObj, pointObj and line Obj and add the scalebar_status_type, scalebar_style_type and scalebar_position_type.
Added the symbol- and symbolsetObject (MF_Symbol,MF_Symbolset). The are only used to create a Symbol like the circle in Thuban.
Added the scalebarObject (MF_Scalebar)
(MF_Class): Added set_status and get_status.
(MF_Layer.add_thubanclass): Added code to set the class status
(MF_Map): Added code to handle the symbols and scalebar
(MF_Label): Added the set_partials and get_partials functions
Revision
2260 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 1 14:39:00 2004 UTC
(20 years, 8 months ago)
by
jschuengel
Original Path:
trunk/thuban/Extensions/umn_mapserver/mapfile.py
File length: 33486 byte(s)
Diff to
previous 2252
Added new types which are need for the editing functions.
Added needed set-functions for the editing functions.
Added the possibility to export rasterimages.
Added new classes (MF_Web, MF_Label, MF_Legend, MF_Symbol, MF_SymbolSet).
MF_Symbol and MF_SymbolSet are not needed at the moment.
(MF_Class.set_thubanstyle): Now point layers will set to a default symbol
to show a circle in mapserver and not only a 1px dot. (MF_Style.__init__): Fixed a bug with the color. Color was not set correct
before.
(MF_Size): Removed, because it is not needed.
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.