Changes between Version 8 and Version 9 of VirtualSpatialData
- Timestamp:
- Jan 27, 2009, 4:08:56 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VirtualSpatialData
v8 v9 108 108 The virtual file can be called anything you want and be placed anywhere. I'll assume its called virtual.ovf (OGR Virtual File = .ovf). 109 109 110 The <!SrcLayer> parameter is a table name. If you wish to join tables or select only certain columns, you can use an SQL statement by omitting <!SrcLayer> and including < !SrcSQL>select table.name, table.x, table.y from table</!SrcSQL> in its place. Note that in the !GeometryField, you may need to refer to the attributes x and y as table.x and table.y in this case.110 The <!SrcLayer> parameter is a table name. If you wish to join tables or select only certain columns, you can use an SQL statement by omitting <!SrcLayer> and including <SrcSQL>select table.name, table.x, table.y from table</SrcSQL> in its place. Note that in the !GeometryField, you may need to refer to the attributes x and y as table.x and table.y in this case. 111 111 112 112 === Testing using ogrinfo ===