GeoREST with Shapefile

17 views
Skip to first unread message

Dang Quang Vu

unread,
Aug 30, 2011, 3:28:16 AM8/30/11
to GeoREST
Hi all,

I'm trying config GeoREST with Shapefile:

<Source type="FDO">
<Provider>OSGeo.SHP.3.5</Provider>
<ConnectionString>File=..\data\cadastral\polparcel.shp</
ConnectionString>
</Source>

And i got:
Runtime exception. Failed to retrieve message for "Invalid connection
property name 'file' ".

Can you give me a correct configuration for shapefile?

Thanks,

Vu


Simon Pelicon

unread,
Aug 30, 2011, 3:50:54 AM8/30/11
to GeoREST
<Source type="FDO">
<Provider>OSGeo.SHP.3.5</Provider>
<ConnectionString>DefaultFileLocation=..\data\cadastral
\polparcel.shp</
ConnectionString>
</Source>

Simon

Simon Pelicon

unread,
Aug 30, 2011, 3:57:08 AM8/30/11
to GeoREST
Try

<Source type="FDO">
<Provider>OSGeo.SHP.3.5</Provider>
<ConnectionString>DefaultFileLocation=..\data\cadastral
\polparcel.shp</
ConnectionString>

On Aug 30, 9:28 am, Dang Quang Vu <dangquan...@gmail.com> wrote:

Dang Quang Vu

unread,
Aug 30, 2011, 9:37:24 PM8/30/11
to GeoREST
It's done
Thanks Simon.
Finally my configuration is:

<Source type="FDO">
<Provider>OSGeo.SHP.3.5</Provider>
<ConnectionString>DefaultFileLocation=..\data\cadastral
\polparcel.shp</ConnectionString>
<FeatureClass>Default:polparcel</FeatureClass>
</Source>
Reply all
Reply to author
Forward
0 new messages