OFFSITE parameter ends processing of mapfile in 3.7 (ok in 3.6.3)
When I try to use OFFSITE in a raster layer (DRG tile index), my PHP
application crashes with the following error:
Warning: MapServer Error in getInteger(): (MAXSCALE):(118)
in /opt/httpd/htdocs/gis/crypto/crypto.php on line 35
Fatal error: Failed to open map file /www/gis/mapfiles/crypto.map
in /opt/httpd/htdocs/gis/crypto/crypto.php on line 35
MAXSCALE is throwing an error because it's the next parameter in the layer
definition. If I place OFFSITE right before MINSCALE it would indicate an
error with MINSCALE, and so on.
This is with today's 3.7 cvs version. I tried it in 3.6.3 and it works fine.
Change History
(4)
Cc: |
morissette@… added
|
Component: |
MapScript-PHP → MapServer Documentation
|
Owner: |
changed from morissette@… to jdoyon@…
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|