[maplab-users] Using Overlaysymbol/Overlaycolor/Overlaysize

VILLOIN Franck DSIC BI Franck.VILLOIN at interieur.gouv.fr
Tue May 10 09:31:04 EDT 2005


hi list,

I Adding the OverlaySymbol/OverlayColor in mapserv_44.xml.
But I put a question compared to the order in which view the sections in the
object class.  
In my case I show initially the name of the object class, 
followed parameters concerning the symbol,
followed parameters concerning the overlaysymbol,
followed parameters expressions, MinScale MaxScale.  

Is this judicious?

My new Class Object


<!-- Class Object -->

<CLASS NAME="Class" SUBOBJECTS="LABEL|JOIN|STYLE" MULTIPLICITY="*">
  <NAME NAME="Name" TYPE="STRING" DEFAULT=""></NAME>
  <SYMBOL NAME="Symbol" TYPE="SYMBOL" DEFAULT=""></SYMBOL>
  <COLOR NAME="Color" TYPE="COLOR"></COLOR>
  <OUTLINECOLOR NAME="OutlineColor" TYPE="COLOR"></OUTLINECOLOR>
  <BACKGROUNDCOLOR NAME="BackgroundColor" TYPE="COLOR"></BACKGROUNDCOLOR>
  <SIZE NAME="Size" TYPE="INTEGER" DEFAULT=""></SIZE>
  <MINSIZE NAME="Minsize" TYPE="INTEGER" DEFAULT=""></MINSIZE>
  <MAXSIZE NAME="Maxsize" TYPE="INTEGER" DEFAULT=""></MAXSIZE>
  <SEP1 NAME="" TYPE="SEPARATOR" DEFAULT=""></SEP1>    
  <OVERLAYSYMBOL NAME="Overlay Symbol" TYPE="SYMBOL"
DEFAULT=""></OVERLAYSYMBOL>
  <OVERLAYCOLOR NAME="Overlay Color" TYPE="COLOR"></OVERLAYCOLOR>
  <OVERLAYOUTLINECOLOR NAME="Overlay OutlineColor"
TYPE="COLOR"></OVERLAYOUTLINECOLOR>
  <OVERLAYBACKGROUNDCOLOR NAME="Overlay BackgroundColor"
TYPE="COLOR"></OVERLAYBACKGROUNDCOLOR>
  <OVERLAYSIZE NAME="Overlay Size" TYPE="INTEGER" DEFAULT=""></OVERLAYSIZE>
  <OVERLAYMINSIZE NAME="Overlay Minsize" TYPE="INTEGER"
DEFAULT=""></OVERLAYMINSIZE>
  <OVERLAYMAXSIZE NAME="Overlay Maxsize" TYPE="INTEGER"
DEFAULT=""></OVERLAYMAXSIZE>
  <SEP2 NAME="" TYPE="SEPARATOR" DEFAULT="OFF"></SEP2>    
  <EXPRESSION NAME="Expression" TYPE="EXPRESSION" DEFAULT=""></EXPRESSION>
  <SEP3 NAME="" TYPE="SEPARATOR" DEFAULT="OFF"></SEP3>    
  <MINSCALE NAME="MinScale" TYPE="DOUBLE" DEFAULT=""></MINSCALE>
  <MAXSCALE NAME="MaxScale" TYPE="DOUBLE" DEFAULT=""></MAXSCALE>  
  <SEP4 NAME="" TYPE="SEPARATOR" DEFAULT="OFF"></SEP4>    
  <TEXT NAME="Text" TYPE="EXPRESSION" DEFAULT=""></TEXT>
  <SEP5 NAME="" TYPE="SEPARATOR" DEFAULT="OFF"></SEP5>    
  <TEMPLATE NAME="Template" TYPE="FILENAME" DEFAULT=""></TEMPLATE>
  <DEBUG NAME="Debug" TYPE="ENUMERATION" DEFAULT=""
VALUE="|ON/TRUE|OFF/FALSE"></DEBUG>
</CLASS>

Thanks

Franck

> 	-----Message d'origine-----
> 	De:	maplab-users-bounces at lists.maptools.org
> [SMTP:maplab-users-bounces at lists.maptools.org] À la place de Jeff McKenna
> 	Date:	lundi 9 mai 2005 15:13
> 	À:	Stephan Holl
> 	Cc:	maplab-users at lists.maptools.org
> 	Objet:	Re: [maplab-users] Using
> Overlaysymbol/Overlaycolor/Overlaysize
> 
> 	Hi Stephan,
> 
> 	Another user on this list (Franck Villoin) recently submitted a new
> file 
> 	for mapserver 44 to this list (attached), note that i haven't tested
> 
> 	this however.  I would start with this file and add your missing 
> 	parameters, and submit your new file back to the list.  Also modify
> the 
> 	'configuration_file' parameter in /maplab/config/mapedit.xml to
> point to 
> 	your new file.
> 
> 	thanks!
> 
> 	jeff
> 
> 
> 
> 
> 
> 	Stephan Holl wrote:
> 	> Dear Maplab-Users/developers,
> 	> 
> 	> I would like to use the MapFile-directives
> Overlaysymbol/Overlaycolor/
> 	> Overlaysize inside a CLASS-element within MapEdit.
> 	> 
> 	> When I insert them by hand with an editor, everything is fine.
> When I
> 	> load this mapfile within MapEdit, the entries get lost when I save
> the
> 	> file again.
> 	> 
> 	> Where do I have to add them so that they appear within a
> class-section?
> 	> Is config/mapserv_40.xml the right place?
> 	> 
> 	> Thanks for any pointers on this.
> 	> 
> 	> Cheers
> 	> 	Stephan
> 	> 
> 
> 
> 	-- 
> 	Jeff McKenna
> 	DM Solutions Group Inc.
> 	http://www.dmsolutions.ca<< Fichier: mapserv_44.xml>><< Fichier:
> ATT167544.txt>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20050510/787da2de/attachment.html


More information about the Maplab-users mailing list