MapServer / basemaps

Scripts to generate MapServer mapfiles based on OpenStreetMap data. Please submit pull requests to the 'main' branch.
61 stars 46 forks source link

Update Makefile #57

Closed tacatac closed 5 years ago

tacatac commented 5 years ago

Recent versions of Imposm use "osm_" as a table prefix (cf. the Imposm3 tutorial https://imposm.org/docs/imposm3/latest/tutorial.html#writing) so the value is modified here.

The Proj4 epsg file location turned into a parameter (PROJ_LIB), the default value is left as pwd but this allows setting, say, the /usr/share/proj directory more easily.

yjacolin commented 5 years ago

Thanks @tacatac :)

yjacolin commented 5 years ago

osm_new is the table prefix, for example: osm_new_roads. You can choose whatever you want in the import process but you should set the one you define in your makefile to the one you choose when importing your data.

Le mer. 24 avr. 2019 à 10:45, Stephan Großberndt notifications@github.com a écrit :

I think this must stay osmnew as this does not refer to the database name but to the database schema (osmnew, osm_, osmbackup) in order to deploy to production (see https://imposm.org/docs/imposm3/latest/tutorial.html#deploy-production-tables ).

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/mapserver/basemaps/pull/57#issuecomment-486128782, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFBFXZB5U33ZLWUJOSXDWLPSAM37ANCNFSM4HGOLXTQ .

-- Yves Jacolin Training and support manager - Team Manager Camptocamp

Tel (France) : +33 4 58 48 20 43 Tel (Switzerland) : +41 21 619 10 43 Mob. : +33 6 18 75 42 21

email : yves.jacolin@camptocamp.com http://www.camptocamp.com

sgrossberndt commented 5 years ago

Yes, I realized that too and deleted my comment, you were faster commenting mine. Thanks!