[Cartoweb-users] Layer Reorder
Jady
jadychow at gmail.com
Mon Apr 14 04:56:50 EDT 2008
Hi Oliver,
The 2 'OK' layers are both polygon layers, they represent the land area.
The 2 'not OK' layers: 1) line layer; 2)polygon layer, which is actually a
white rectangle layer covering the whole map area as a background, coz I
would like the background of the map to be white in colour.
Maybe I include their definition in mapfile here:
The 2 'OK' layers:
#-------------------------prc---------------------
LAYER
NAME "prc"
TYPE POLYGON
STATUS ON
DATA "PRC"
CLASS
NAME "PRC"
COLOR 235 235 235
OUTLINECOLOR 130 130 130
END
END
#-------------------------HKSAR-----------------------
LAYER
NAME "hksar"
TYPE Polygon
STATUS ON
DATA "HKSAR"
CLASS
NAME "HKSAR"
COLOR 239 228 190
OUTLINECOLOR 161 157 157
END
END
The 2 'not OK' layers:
#--------------------SAR BOUNDARY--(LINE)--------------------
LAYER
NAME "sarboundary"
TYPE LINE
STATUS ON
DATA "sarboundary"
CLASS
NAME "SAR Boundary"
STYLE
SYMBOL "dash_dot"
SIZE 1
COLOR 230 11 222
ANTIALIAS TRUE
END
END
END
#-------------------------background---------------------
LAYER
NAME "bkground"
TYPE POLYGON
STATUS ON
DATA "Background"
CLASS
NAME "bkground"
COLOR 250 250 250
END
END
Thanks and regards,
Jady
Oliver Christen wrote:
>
> No idea, I have never looked at that plugin myself.
>
> what's the difference between the 2 layers you identified and the others ?
>
>>
>> Hi Oliver,
>>
>> Thanks very much for ur prompt reply.
>>
>> You're right, I cannot reorder the other layers. And just now I
>> discovered
>> a strange behavior: I have originally 4 layers in the bottomLayer list.
>> If
>> I
>> exclude 2 of them, the layerReorder function works perfect. So I dont
>> know
>> whats wrong with those 2 layers. Any possible reason?
>>
>> Thanks and regards,
>> Jady
>>
>>
>>
>> Oliver Christen wrote:
>>>
>>> Hi
>>>
>>> 1) this is currently a limitation of that plugin. it was simply never
>>> designed to take into account aggregated layers.
>>> you will need to extend that plugin to modify the behaviour to suite
>>> your
>>> need.
>>>
>>> 2) do you mean, beside the layers specified in the bottomLayers list,
>>> you
>>> cant reorder the other layers ?
>>>
>>>
>>>>
>>>> Hi all,
>>>>
>>>> I have 2 questions on the layer reorder plugin:
>>>>
>>>> 1) I have 4 raster files which actually come from the same source but
>>>> in
>>>> different resolution. What I am doing is to display them in different
>>>> scales. Thus, in a certain scale, only one of them will be displayed.
>>>> So
>>>> I
>>>> put them in a LayerGroup with aggregate=true (coz I want it appears
>>>> simple
>>>> to the users). However, all these 4 raster layers appear under the
>>>> layer
>>>> reorder list. Could it only display the layer group name?
>>>>
>>>> 2) In the layerReorder.ini, I have filled the 'topLayers' and
>>>> 'bottomLayers'. However, I found that whenever the 'bottomLayers' is
>>>> set,
>>>> the user cannot reorder the layers (but the transparency can still be
>>>> set)
>>>>
>>>> Any help would be much appreciate!
>>>>
>>>> Best Regards,
>>>> Jady
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Layer-Reorder-tp16671484p16671484.html
>>>> Sent from the cartoweb-users mailing list archive at Nabble.com.
>>>>
>>>> _______________________________________________
>>>> Cartoweb-users mailing list
>>>> Cartoweb-users at lists.maptools.org
>>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>>
>>>
>>> _______________________________________________
>>> Cartoweb-users mailing list
>>> Cartoweb-users at lists.maptools.org
>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Layer-Reorder-tp16671484p16673842.html
>> Sent from the cartoweb-users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Cartoweb-users mailing list
>> Cartoweb-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
>
--
View this message in context: http://www.nabble.com/Layer-Reorder-tp16671484p16674177.html
Sent from the cartoweb-users mailing list archive at Nabble.com.
More information about the Cartoweb-users
mailing list