[mapguide-users] restrictions for LayerDefinition

Kenneth, GEOGRAF A/S ks at geograf.dk
Mon Oct 29 03:21:26 EDT 2007


I belive that you may also use a font or a symbol as the ShapeType.
I'm not sure if it is desireable to create a restriction that also
allows those elements.

Regards, Kenneth, GEOGRAF A/S



Takashige Nakagawa skrev:
> Hi all.
>
> I'm working on MGOS1.2's LayerDefinition.
> For the "LineStyle", "FillPatern", "Color" elements, I believe there
> must be some restrictions like "ShapeType" below.
>
> <xs:simpleType name="ShapeType">
> <xs:annotation>
> <xs:documentation>SLD supports square, circle, triangle, star, cross,
> and X.</xs:documentation>
> </xs:annotation>
> <xs:restriction base="xs:string">
> <xs:enumeration value="Square"/>
> <xs:enumeration value="Circle"/>
> <xs:enumeration value="Triangle"/>
> <xs:enumeration value="Star"/>
> <xs:enumeration value="Cross"/>
> <xs:enumeration value="X"/>
> </xs:restriction>
> </xs:simpleType>
>
> But, there are no restrictinos described in
> Server\Schema\LayerDefinition-1.1.0.xsd.
> It just says :
> <xs:element name="LineStyle" type="xs:string"/>
> <xs:element name="FillPattern" type="xs:string"/>
>
> Where can I get rules or restrictinos for these elements?
> Is there any document on this?
>
> Regards
>
> Takashige
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list