[mapserver-commits] r11031 - trunk/docs/en/input/vector
svn at osgeo.org
svn at osgeo.org
Mon Feb 28 08:56:34 EST 2011
Author: jmckenna
Date: 2011-02-28 05:56:34 -0800 (Mon, 28 Feb 2011)
New Revision: 11031
Modified:
trunk/docs/en/input/vector/pgeo.txt
Log:
correct ODBC instructions
Modified: trunk/docs/en/input/vector/pgeo.txt
===================================================================
--- trunk/docs/en/input/vector/pgeo.txt 2011-02-28 13:50:55 UTC (rev 11030)
+++ trunk/docs/en/input/vector/pgeo.txt 2011-02-28 13:56:34 UTC (rev 11031)
@@ -100,28 +100,22 @@
::
- >ogrinfo ODBC:jeff/pass at testDSN counties -summary
- INFO: Open of `ODBC:jeff/pass at testDSN'
- using driver `ODBC' successful.
+ >ogrinfo PGeo:testDSN counties -summary
+ INFO: Open of `testDSN'
+ using driver `PGeo' successful.
1: counties
2: counties_Shape_Index
- 3: GDB_AnnoSymbols
- 4: GDB_AttrRules
- 5: GDB_CodedDomains
- 6: GDB_DefaultValues
- 7: GDB_Domains
- 8: GDB_EdgeConnRules
- 9: GDB_Extensions
- 10: GDB_FeatureClasses
- 11: GDB_FeatureDataset
- 12: GDB_FieldInfo
- 13: GDB_GeomColumns
...
+(where "testDSN" is the name of your System DSN)
+
Mapfile Example
---------------
+Direct Access to MDB
+********************
+
::
LAYER
@@ -137,4 +131,24 @@
COLOR 255 255 120
END
END
- END
\ No newline at end of file
+ END
+
+Through an ODBC Connection
+**************************
+
+::
+
+ LAYER
+ NAME my_geodatabase
+ TYPE POLYGON
+ CONNECTIONTYPE ogr
+ CONNECTION "PGeo:testDSN"
+ DATA "counties"
+ STATUS ON
+ CLASS
+ NAME "counties"
+ STYLE
+ COLOR 255 255 120
+ END
+ END
+ END
\ No newline at end of file
More information about the mapserver-commits
mailing list