| 1 | = Importing Ordnance Survey Vectors = |
| 2 | |
| 3 | The OS Mastermap vectors are in a GML format. To read them into most GIS systems they need to be converted first. There is a script which will convert the vectors into ESRI Shapefiles - GML2Shape.sh. This uses the ogr2ogr utility which comes with GDAL. |
| 4 | ----- |
| 5 | === Procedure === |
| 6 | |
| 7 | To convert the OS vectors, copy them off the DVD into a directory. Then run: |
| 8 | `GML2Shape.sh <shapefilesdir> <gmlfilesdir>` |
| 9 | |
| 10 | where <shapefilesdir> is a directory path where you want the shape files to go to (they will overwrite any files with the same name - suggest you use an empty directory) and <gmlfilesdir> is the directory path where the GML vectors have been copied to. |