Importing Land Form PANORAMA

From OpenStreetMap Wiki
Jump to: navigation, search

This page describes a possible method to import and render Land-Form PANORAMA OpenStreetMap contour data. Land-Form PANORAMA (LFP) data is imported into a PostGIS database using a custom command-line application. The contents of the PostGIS database can then be rendered using Mapnik.

WARNING! Note that this is very much an experimental work-in-progress. Many of the applications are proof-of-concept "quick hacks" and will probably require you to edit the source for them to work on your system.

Method

svn co svn://free-map.org.uk/svn/freemap/opendata opendata

The application can also be browsed here.

lfp2pg DXFfile

for the contours table. Add an entry with these values:

INSERT INTO geometry_columns(f_table_catalog,f_table_schema,f_table_name,f_geometry_column,coord_dimension,srid,type) VALUES (<blank string>,'public','contours','way',2,27700,'LINESTRING');

An example of a Mapnik XML file with the correct projection is here (also in the SVN repository).

See also

Personal tools
Namespaces
Variants
Actions
site
Toolbox