Closed maraev closed 11 years ago
wontfix. the complexity of adding a database call to the scripts isn't worth the hassle imho. you can always add that as a preprocessing step to your "make" invocation, e.g.
export EXTENT=`my-extent-script.sh`
make STYLE=foo OSM_EXTENT=$EXTENT
Hi! is it possible add a option of automatic generate EXTENT to final- mapfile via basemaps script? I mean now we manually add OSM_EXTENT var to MakeFile. Usually I get the value as SELECT ST_Extent(way) from osm_line request. May we add maybe in generate_style.py ?