[mapguide-users] How to make features unique in markup layer?

Jackie C. Ng jumpinjackie at gmail.com
Fri Apr 25 01:01:56 EDT 2008


What does the table definition look like in your database? Can you give a
sample of some of the rows from this database table?

- Jackie


Tanja Suikkanen wrote:
> 
> 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
> 
>  
> 
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 


-----
http://themapguyde.blogspot.com

http://www.linkedin.com/in/jackieng
-- 
View this message in context: http://www.nabble.com/How-to-make-features-unique-in-markup-layer--tp16848626p16890697.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list