Generated PDFs look fine, but the extents of the vector contours often extend well beyond the map bounds, resulting in file sizes larger than necessary.
Can be addressed by editing maptiler/styles/inc/layers_contours.xml.inc and replacing the two occurrences of:
(select geom, prop_value from terr50_lns WHERE ...
with
(select ST_Intersection(geom, !bbox!) as geom, prop_value from terr50_lns WHERE ...
Generated PDFs look fine, but the extents of the vector contours often extend well beyond the map bounds, resulting in file sizes larger than necessary. Can be addressed by editing maptiler/styles/inc/layers_contours.xml.inc and replacing the two occurrences of:
(select geom, prop_value from terr50_lns WHERE ...
with
(select ST_Intersection(geom, !bbox!) as geom, prop_value from terr50_lns WHERE ...