[MapProxy] internal error when using clip with datasource

Bernd Vogelgesang bernd.vogelgesang at gmx.de
Sun Jul 7 03:26:50 PDT 2019


Am 06.07.19 um 18:38 schrieb Lars-Daniel Weber:
> Seems like MapProxy and this mailing-list are abandoned.
>
> Does anyone know similar tools?

I don't think MapProxy is abandoned.

At least https://github.com/mapproxy/mapproxy/commits/master shows some
development


>
>> Gesendet: Mittwoch, 10. April 2019 um 16:03 Uhr
>> Von: "Lars-Daniel Weber" <Lars-Daniel.Weber at gmx.de>
>> An: mapproxy at lists.osgeo.org
>> Betreff: [MapProxy] internal error when using clip with datasource
>>
>> Hi there!
>>
>> I'd like to narrow down to the visible area of my tiles to a BBOX.
>>
>> When using pure BBOX in source-coverage, the tiles don't get limited, they still can be requested outside the BBOX:
>> sources:
>>    src_distribution:
>>      type: mapnik
>>      mapfile: data/mapnik.xml
>>      layers: lyr_distribution
>>      transparent: true
>>      coverage:
>>        bbox: 'xxxx'
>>        srs: 'EPSG:3857'
>>
>> Adding "clip: true" to bbox doesn't work, it directly leads to "internal error".
>> The only way seems to be a datasource with the geometry of the bbox, then "clip: true" works:
>>
>> sources:
>>    src_distribution:
>>      type: mapnik
>>      mapfile: data/mapnik.xml
>>      layers: lyr_distribution
>>      transparent: true
>>      coverage:
>>        clip: true
>>        datasource: 'distribution_bbox.geojson'
>>        srs: 'EPSG:3857'
>>
>>
>> The tiles are perfectly within this bbox only, but I'm getting hundrets of "internal error" as text around the bbox. On areas very far outside the bbox, I'm getting the normal XML error that the requested tile is out of boundary.
>>
>> Is this a bug?
>>
>> Best regards,
>> Lars-Daniel
>> _______________________________________________
>> MapProxy mailing list
>> MapProxy at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapproxy
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapproxy


More information about the MapProxy mailing list