[geGIS] geGIS
BEYS, Jean-Paul
jeanpaul.beys op rwo.vlaanderen.be
Vr mei 11 14:57:01 CEST 2007
Ik probeer een loket te configureren waarin data in een bepaalde laag als puntsymbolen dienen voorgesteld.
De grootte van het symbool is afhankelijk van de waarde van een tekstveld 'STAND' in de Oracle-db.
De punt symbolen werden gecreeerd in applcation.svg = een copy van het bestaande symbool pointAsCircleGreen met aangepaste r en rgb-waarden
<symbol id="Cream" overflow="visible">
<circle cx="0" cy="0" r="0.5%" style="fill: rgb(255,234,190); fill-opacity: 0.8; stroke: rgb(0,0,0); stroke-width:0.08%"/>
</symbol>
<symbol id="Yellow" overflow="visible">
<circle cx="0" cy="0" r="0.75%" style="fill: rgb(255,255,0); fill-opacity: 1; stroke: rgb(0,0,0); stroke-width:0.08%"/>
</symbol>
<symbol id="Rose" overflow="visible">
<circle cx="0" cy="0" r="1%" style="fill: rgb(255,190,190); fill-opacity: 1; stroke: rgb(0,0,0); stroke-width:0.08%"/>
</symbol>
<symbol id="Orange" overflow="visible">
<circle cx="0" cy="0" r="1.5%" style="fill: rgb(255,125,50); fill-opacity: 1; stroke: rgb(0,0,0); stroke-width:0.08%"/>
</symbol>
<symbol id="Red" overflow="visible">
<circle cx="0" cy="0" r="2%" style="fill: rgb(255,0,0); fill-opacity: 1; stroke: rgb(0,0,0); stroke-width:0.08%"/>
</symbol>
Deze waarden werden ook (voor alle zekerheid) ingevoerd in legend.svg.
In de application.xml wordt volgende configuratie opgegeven:
<layer id="13" xsi:type="mc:leafyLayerType">
<layerName value="Clusters" />
<defaultVisible value="false" />
<displayOrderMap value="7" />
<displayOrderTOC value="4" />
<activatable value="true" />
<active value="false" />
<exportable value="false" />
<urlProperty value="name" />
<layerType value="2" />
<viewScale min="0.012" max="1000" />
<showLabels value="false" />
<editableSupported value="false" />
<attribFeatureId value="FEATURE_ID" />
<attribVersion value="VERSION" />
<attribEditDate value="EDIT_DATE" />
<attribUserId value="USER_ID" />
<attribEditState value="EDIT_STATE" />
<attribFlowState value="FLOW_STATE" />
<featureType value="ora_rop:ROP_STAT_1006" />
<crudValue value="0" />
<snappingRules>
<snappingRule></snappingRule>
</snappingRules>
<identifyingAttributes>
</identifyingAttributes>
<viewableAttributes>
</viewableAttributes>
<labelConfig>
</labelConfig>
<styleDefs>
<styleDef>
<id value="121" />
<name value="5 tot 25" />
<svgStyle value="Cream" />
<showInLegend value="true" />
<imageUrl value="" />
<formula value="(STAND LIKE 1)" />
</styleDef>
<styleDef>
<id value="122" />
<name value="26 tot 50" />
<svgStyle value="Yellow" />
<showInLegend value="true" />
<imageUrl value="" />
<formula value="(STAND LIKE 2)" />
</styleDef>
<styleDef>
<id value="123" />
<name value="51 tot 100" />
<svgStyle value="Rose" />
<showInLegend value="true" />
<imageUrl value="" />
<formula value="(STAND LIKE 3)" />
</styleDef>
<styleDef>
<id value="124" />
<name value="101 tot 250" />
<svgStyle value="Orange" />
<showInLegend value="true" />
<imageUrl value="" />
<formula value="(STAND LIKE 4)" />
</styleDef>
<styleDef>
<id value="125" />
<name value="251 tot 1000" />
<svgStyle value="Red" />
<showInLegend value="true" />
<imageUrl value="" />
<formula value="(STAND LIKE 5)" />
</styleDef>
</styleDefs>
</layer>
Bij het opstarten van het loket op serverniveau worden de punten niet ingetekend. Ze staan er nochtans. De labels worden getoond.
Wanneer ik geen 'klassen' definieer en de punten enkel als één identiek symbool voorstel lukt het wel (ook met een nieuw gedefinieerd symbool).
<styleDef>
<id value="121" />
<name value="test" />
<svgStyle value="pointAsCircleGreen " />
of
<svgStyle value="Cream" />
<showInLegend value="true" />
<imageUrl value="" />
<formula value="" />
</styleDef>
In een lokale configuratie werkt alles perfect.
Graag wat hulp.
Beste groeten,
Jean-Paul Beys
Coördinator Register Onbebouwde Percelen
Vlaamse overheid
Departement Ruimtelijke Ordening, Woonbeleid en Onroerend Erfgoed
Kennis en informatie
Phoenix-gebouw,Koning Albert II-laan 19 bus 12, 1210 Brussel
e-mail: jeanpaul.beys op rwo.vlaanderen.be
telefoon: 02/553 73 81 - fax: 02/553 83 05
------------- volgend deel ------------
Een HTML-bijlage is verwijderd...
URL: http://www.gegis.org/pipermail/list/attachments/20070511/2270ba3f/attachment.htm
Meer informatie over de List
maillijst