[fdo-dev] SHP provider connection string

Greg Boone greg.boone at autodesk.com
Mon Oct 30 13:18:23 EST 2006


Yes. This test is meant to test if special characters are readable in a
shape file name.

-----Original Message-----
From: Mateusz Loskot [mailto:mateusz at loskot.net] 
Sent: Sunday, October 29, 2006 5:39 AM
To: fdo-dev
Subject: [fdo-dev] SHP provider connection string

Hi,

What does following code test?

mConnection->SetConnectionString (L"DefaultFileLocation=\"" LOCATION
L"..//Ontario\\~`!@#$%^&()_-+=}{[];',.shp\""
L";TemporaryFileLocation=");

Does it test if !@#$%^&()_-+=}{[]; characters are allowed as a part of
shapefile file name?

I see following files are created by SHP provider UnitTest:

mloskot:~/dev/fdo/_svn/fdoshp/TestData/Ontario$ ls -1
~`!@#$%^&()_-+=}{[];',.dbf
~`!@#$%^&()_-+}{[]',.dbf
lakes.dbf
lakes.sbn
lakes.sbx
lakes.shp
lakes.shx
ontario.dbf
ontario.sbn
ontario.sbx
ontario.shp
ontario.shx
readme.txt
roads.dbf
roads.sbn
roads.sbx
roads.shp
roads.shx
~`!@#$%^&()_-+=}{[];',.sbn
~`!@#$%^&()_-+}{[]',.sbn
~`!@#$%^&()_-+=}{[];',.sbx
~`!@#$%^&()_-+}{[]',.sbx
~`!@#$%^&()_-+=}{[];',.shp
~`!@#$%^&()_-+}{[]',.shp
ShpMixedDecimals.dbf
ShpMixedDecimals.sbn
ShpMixedDecimals.sbx
ShpMixedDecimals.shp
ShpMixedDecimals.shx
~`!@#$%^&()_-+=}{[];',.shx
~`!@#$%^&()_-+}{[]',.shx

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at fdo.osgeo.org
For additional commands, e-mail: dev-help at fdo.osgeo.org







More information about the Fdo-internals mailing list