[MapProxy] Mapnik render error - proj_create: init=epsg:/init=IGNF: syntax not supported in non-PROJ4 emulation mode

Phillip Ashworth phill at inversebit.com
Fri Mar 22 01:16:57 PDT 2024


Hi,
I’m new to MapProxy and I’m trying to get a very basic setup running 
with a mapnik source.

I have Mapnik working successfully with Apache and mod_tile/renderd but 
when I try to generate tiles via the MapProxy demo app I get the 
following errors:


```
[info] 192.168.65.1 - - [22/Mar/2024 07:54:34] "GET 
/service?layer=mapnik&style=&tilematrixset=bng&Service=WMTS&Request=GetTile&Version=1.0.0&Format=png&TileMatrix=6&TileCol=21&TileRow=43 
HTTP/1.1" 500 -
proj_create: init=epsg:/init=IGNF: syntax not supported in non-PROJ4 
emulation mode
[2024-03-22 07:54:34,713] mapproxy.source.request - INFO - API 
/home/renderer/src/openstreetmap-carto/mapnik.xml:(399902.34375,399902.34375,493847.65625,493847.65625):EPSG:27700:(1184,1184) 
500 - 1
[2024-03-22 07:54:34,713] mapproxy.source.mapnik - ERROR - could not 
render Mapnik map: failed to initialize projection with: 
'+init=epsg:27700'
proj_create: init=epsg:/init=IGNF: syntax not supported in non-PROJ4 
emulation mode
```

I’m running mapproxy-util with config below:

# mapproxy-util serve-develop -b 0.0.0.0:8080 mapproxy.yaml


```
services:
   demo:
   tms:
     use_grid_names: true
     # origin for /tiles service
     origin: 'sw'
   kml:
       use_grid_names: true
   wmts:
   wms:
     md:
       title: MapProxy WMS Proxy
       abstract: This is a minimal MapProxy example.

layers:
   - name: mapnik
     title: Mapnik map
     sources: [mapnik_cache]

caches:
   mapnik_cache:
     grids: [bng]
     sources: [mapnik_source]

sources:
   mapnik_source:
     type: mapnik
     mapfile: /home/renderer/src/openstreetmap-carto/mapnik.xml
     #layers: mapnik
     #transparent: true

grids:
     bng:
       srs: 'EPSG:27700'
       bbox: [0, 0, 700000, 1300000]
       bbox_srs: 'EPSG:27700'
       origin: 'sw'

globals:

```

I’m not sure if this is an error on my part in configuring MapProxy or 
an incompatibility between the versions of Mapnik/MapProxy (Mapnik 3.1.0 
with the latest MapProxy).

Any help would be much appreciated.
-Phill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20240322/028ff741/attachment.htm>


More information about the MapProxy mailing list