[mapguide-users] FeatureSource. PointTypeStyle? LineTypeStyle?

Jackie C. Ng jumpinjackie at gmail.com
Thu Nov 6 19:11:26 EST 2008


Look at the class definition of the feature source it (the layer) is
referencing. More specifically, look at the geometry property and see what
geometry types it supports. This will correspond with what styles you can
have in your layer.

- Jackie


Greenhough, Jamie wrote:
> 
> I'm trying to programmatically add shape files as a FeatureSource, and
> then use a .NET layer factory (ported from PHP) to add a LayerDefinition
> to the MapGuide repository.
> 
>  
> 
> I can add the shape files and create a MapGuide FeatureSource just
> great.
> 
>  
> 
> I'm stuck with how to determine if the FeatureSource contains Line or
> Point data. Specifically the <PointTypeStyle> and <LineTypeStyle> nodes
> in the LayerDefinition.xml.
> 
>  
> 
> Does anyone have experience with this?
> 
>  
> 
> Thanks!
> 
>  
> 
> Jamie Greenhough | IT Consultant
> Sierra Systems
> 
>  
> 
> 
> 
> ----Notice Regarding Confidentiality----
> This email, including any and all attachments, (this "Email") is intended
> only for the party to whom it is addressed and may contain information
> that is confidential or privileged.  Sierra Systems Group Inc. and its
> affiliates accept no responsibility for any loss or damage suffered by any
> person resulting from any unauthorized use of or reliance upon this Email. 
> If you are not the intended recipient, you are hereby notified that any
> dissemination, copying or other use of this Email is prohibited.  Please
> notify us of the error in communication by return email and destroy all
> copies of this Email.  Thank you.
> 
> _______________________________________________
> 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/FeatureSource.-PointTypeStyle--LineTypeStyle--tp20368313p20372411.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list