[fdo-users] metada access (shp.xml)
dan.stoica at autodesk.com
Tue Aug 4 11:34:39 EDT 2009
Here is an example (unmanaged):
FdoPtr<FdoIConnection> connection = ...;
connection->SetConnectionString (L"DefaultFileLocation=" ONTARIO_LOCATION);
FdoIoFileStreamP fileStream = FdoIoFileStream::Create(L"ShpSchemaConfig.xml", L"r");
Is this what you need?
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Eric Dureault
Sent: Tuesday, August 04, 2009 10:21 AM
To: fdo-users at lists.osgeo.org
Subject: [fdo-users] metada access (shp.xml)
I am currently working on a project of administration of geographic data. For now, I'm just working on data in the format shape (shp).
I've begun to work with FDO last week so i have not a great experience...
I create a connection:
fdoconnectionmgr = FeatureAccessManager.GetConnectionManager()
iconnection = fdoconnectionmgr.CreateConnection(OSGeo.SHP.3.4)
and open it with this connectionstring:
iconnection.ConnectionString = "DefaultFileLocation = C:\....\road.shp"
The connectoin state is correctly show as "open"
Now I need to access to the metada contain in the .xml associed file and i don't know how to do this...
Is it possible to do this with : CommandType.CommandType_Select or i need to use something else?
Have you got an exemple for this type of query commands?
Appreciate your cooperation in advance
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fdo-users