[mapguide-users] How to make features unique in markup layer?
Tanja Suikkanen
tanja.suikkanen at dimenteq.fi
Wed Apr 23 01:46:27 EDT 2008
Our markup layers are only in Library repository.
In the database there is information about one markup feature per Id.
I don't know if you meant this, but here it is:
<?xml version="1.0" encoding="UTF-8"?>
<FeatureInformation>
<FeatureSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="FeatureSet-1
.0.0.xsd"> <Layer id="6a4667be-0000-1000-8007-001a4b7564d4"> <Class
id="MarkupSchema:Markup"> <ID
>AgAAAA==</ID> </Class> </Layer></FeatureSet><Tooltip />
<Hyperlink />
<Property name="ID" value="2" />
</FeatureInformation>
All markup layers are created with the phpGenericTasks sample code.
Now we thought if we put the layer definition (Library://somepath/.) and the
propertys id value (2) in an array or something.
Then we get a value pair which we can compare to ids in the database.
If you have a better idea, please tell!
Tanja
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080423/75cd28d9/attachment.html
More information about the mapguide-users
mailing list