Note: forwarded message attached.
---------------------------------
Need a vacation? Get great deals to amazing places on Yahoo! Travel.
--- Begin Message ---
Hi List!
I try to create a feature source of shp files ilocated in a directory other
than the repository of mapguide. I have made my aliases in mg site
administrator and then wrote the xml file which follows. when I open the mg
studio, the feature source is shown there but when I try to make a new layer
using the feature source a pop up menu appears saying: The feature source is
invalid. Reason: An exception occured in FDO component.
The connection property 'Temporary File Location' was not found.
1. Is the way that I use to display the feature source(making new layer)
correct?
2. What's wrong with the xml?
<?xml version="1.0" encoding="utf-8"?>
<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
<Provider>OSGeo.SHP</Provider>
<Parameter>
<Name>DefaultFileLocation</Name>
<Value>%MG_DATA_PATH_ALIAS[san-diego]%study_quads.shp</Value>
</Parameter>
<Parameter>
<Name>Temporary File Location</Name>
<Value>Read only</Value>
</Parameter>
</FeatureSource>
Thanks in advance,
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo!
FareChase.
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
--- End Message ---
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users