[OSM-dev] [Talk-GB] OS LandForm Panorama (contour data) parsing tools?

Jon Burgess jburgess777 at gmail.com
Thu Aug 12 23:18:32 BST 2010


On Thu, 2010-08-12 at 16:15 +0100, Nick Whitelegg wrote:
> To save effort, are there any open source scripts available for
> parsing the LandForm Panorama data out there? e.g. converting the DXF
> format into shapefiles, or populating a database?

DXF is supported by the gdal (ogr) tools since version 1.7.0. The
contour information can be extracted into a shapefile by converting the
G8040201 layer:

$ ogr2ogr sy08.shp sy08.dxf -where Layer=G8040201

The resulting shapefile will be in OSGB projection like the rest of the
OS data. Information on the other available layers can be found in the
"Landform Panorama user guide", linked from [1]. 

	Jon

1: http://wiki.openstreetmap.org/wiki/Ordnance_Survey_Opendata#Land-Form_PANORAMA





More information about the dev mailing list