[mapguide-users] Re: Add geometry to feature source
Greg
gbneff at cid.utah.gov
Fri Mar 11 11:39:00 EST 2011
Jackie,
Thanks for all your help. It's obvious I am struggling with this. After
making the change you suggested, I can add a layer from xml. Still having
problems though. If I change the node of the xml file from this:
Library://data/sdf/truck_route.FeatureSource
to something like this (the session id varies of course):
Session:f3d25478-4b71-11e0-8000-485b394503be_en_7F0000010AFC0AFB0AFA//truck_route.FeatureSource
The layer is not added. Other than the two lines above, the files are
identical. So at this point, I don't know if the problem is with the xml
file or with the feature source I have created that the layer refers to. I
suspect the latter. Is there a way to test the feature source? I have
tried to test a few things with a feature reader, as you will see if you
look at the attached code. I have also tried to verify the xml as you will
also see in the code. If my code is correct, the xml is OK.
http://osgeo-org.1803224.n2.nabble.com/file/n6162055/FindTruckRouteResult.aspx
FindTruckRouteResult.aspx
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Add-geometry-to-feature-source-tp6082938p6162055.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list