Skip to content
This repository
branch: master

Merge pull request #26 from stetou/patch-1

Comment all VACUUM statements and use IF EXISTS when dropping views or tables
latest commit 843fbb0b4f
Thomas Bonfort tbonfort authored
Octocat-spinner-32 contrib Update osm2pgsql-to-imposm-schema.sql February 20, 2014
Octocat-spinner-32 data remove unused shapefile February 26, 2013
Octocat-spinner-32 fonts rendering overhaul, add some other stylings November 10, 2009
Octocat-spinner-32 generated add ignores to data and generated August 13, 2012
Octocat-spinner-32 Makefile use gcc instead of cpp as the preprocessor March 04, 2013
Octocat-spinner-32 README use RFC95 list expressions, optimize landusage order May 06, 2013
Octocat-spinner-32 use a distinct suffix for each layer name to avoid duplicates June 15, 2011
Octocat-spinner-32 boundaries-gadm.sql continued transition to new format May 15, 2011
Octocat-spinner-32 remove duplicate linestrings from higher level May 09, 2011
Octocat-spinner-32 Merge branch 'db-param' of… June 11, 2012
Octocat-spinner-32 epsg revivie the original mapserver stlye March 30, 2012
Octocat-spinner-32 fonts.lst larger labels, less buffer around labels May 26, 2011
Octocat-spinner-32 Add variables throguh (#19) May 15, 2013
Octocat-spinner-32 Add variables throguh (#19) May 15, 2013
Octocat-spinner-32 add custom imposm mapping file April 19, 2012
Octocat-spinner-32 don't use geometry simplification on the the land layer as it creates… July 24, 2011
Octocat-spinner-32 Add variables throguh (#19) May 15, 2013
Octocat-spinner-32 Ajout quotes autour du parametre wms_srs June 06, 2012
Octocat-spinner-32 use RFC95 list expressions, optimize landusage order May 06, 2013
- this package uses the a python script and the c preprocessor to build a
complete mapfile from a set of templates and styling information.

- use the branch corresponding to your mapserver version, e.g.
 - branch-6-2 for mapserver versions 6.2.X
 - master for development (unreleased) mapserver versions

- the build process uses the gcc preprocessor extensively, you should have it installed on your
system. On linux, check that the 'cpp' command is present. On OSX, the provided 'cpp' program is a shell
wrapper that is not suitable: the Makefile is coded to call 'cpp-4.2', which you can change in case
you have another version installed.

- The mapfiles rely on the database schema as created by a recent version of imposm. Until recently
imposm did not create the landusages_gen and waterareas_gen tables. Since 2.3.0 this is not the case anymore.
If you do not have the generalized tables, you can change the landusage_data and waterareas_data entries in so that it queries the non-generalized
tables on the lower zoom levels (this will be slower for the lower zoom levels).

- The generated mapfile can also be made to query an osm database created with osm2pgsql rather than imposm.
This setup is not recommended as it will be much slower. To use the osm2pgsql schema, you should add the 'osm2pgsql'
entry to the list of styles for an entry of style_aliases near the end of, e.g:

then run `make STYLE=bingosm2pgsql` to create the

- Most configuration and tweaks should be done in
documentation as to how to edit to adapt the rendering has yet to be done, but is simple.
check for a preliminary tutorial.

Something went wrong with that request. Please try again.