[OSM-dev] Rendering OSM carto from epsg:4326 database
Sven Geggus
lists at fuchsschwanzdomain.de
Wed Sep 11 15:39:18 UTC 2019
Hello,
I just got stuck while trying to render osm-carto style from a database
imported epsg:in 4326 format.
I just changed the following:
osm2pgsql: &osm2pgsql
type: "postgis"
dbname: "gis"
key_field: ""
geometry_field: "way"
extent: "-20037508,-20037508,20037508,20037508"
to
osm2pgsql: &osm2pgsql
type: "postgis"
dbname: "gis"
key_field: ""
geometry_field: "way"
extent: *world
srs-name: "WGS84"
srs: "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"
This does not seem to work.
Will I need to do more?
E.g. change "way" to "ST_transform(way) as way" or something?
Output should still bee in Web Mercator.
Regards
Sven
--
"If you don't make lower-resolution mapping data publicly
available, there will be people with their cars and GPS
devices, driving around with their laptops" (Tim Berners-Lee)
/me is giggls at ircnet, http://sven.gegg.us/ on the Web
More information about the dev
mailing list