I have hosted QGIS server on a remote server. I want to publish OSM layer which is stored in PostgreSQL database. I have prepared one project file with .qgis
extension and copied to the desired directory on hosted server. Now while accessing this layer as WMS service QGIS server is not able to generate the tiles for planet_osm_polygon
layer and giving error in qgis-000.log as:
Layer 'planet_osm_polygon20180803120119097' configFile: /usr/lib/cgi-bin/wms_prj/gpolygon.qgs not found in layer cache'
Note: I am able to generate the map tile if publising other OSM layer like planet_osm_point
, planet_osm_line
, planet_osm_roads
.
Can anyone please guide me how to resolve it. I have made the same configration in my project file (.qgis
) as I am doing it for other layers but only I am getting error for planet_osm_polygon
layer.