oobrien / oomap

OpenOrienteeringMap. Includes the website, tiling scripts, and mapnik stylesheets for OOMap and other raster tile layers.
GNU General Public License v2.0
45 stars 8 forks source link

No ocean in rendered PDF at 1:5,000 scale #67

Closed cadnant closed 1 year ago

cadnant commented 3 years ago

E.g. 601fe29464771 (UK streeto style) Same area at 1:7,500 is fine, as are web tiles at all zooms. Perhaps outside the maximum limit for the cairo context? Can reproduce locally and solved by importing a full-extent ocean polygon into Postgres and redefining ocean layer as:

  <Datasource>
        &datasource-settings;
        <Parameter name="table">
            (SELECT ST_Intersection(way, !bbox!) as way from ocean) as ocean
      </Parameter>
    </Datasource>
cadnant commented 1 year ago

Fixed using the method documented here.