[mapserver-users] cahnging Mapfile from 3.4 to 3.5

Stephen Lime steve.lime at dnr.state.mn.us
Thu Oct 11 07:42:09 PDT 2001


What does the mapfile look like? The error probably stems from a layer with no DATA
defined and no inline features that you were using to render features on-the-fly with
from MapScript. I'll throw a test in to skip those. The default layer type is a shapefile
which is why you see the error.

Query parameters (i.e. TEMPLATE) have moved into CLASS objects. You can also
define a global TEMPLATE at the layer level. The test suite:

  http://maps.dnr.state.mn.us/mapserver_demos/tests3.5 

shows how this configuration looks.

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> "Wolfgang W. Wasserburger" <wasserburger at plan.at> 10/11/01 09:24AM >>>
Listers,

today I tried to change a existing (and working) MAP-File from 3.4 to 3.5

I got the following Error: msOpenSHPFile(): Unable to access file. No (NULL)
filename provided.

Does anybody know, what that is meaning.

I used the nightly build from 1.10. under NT.

Another question: how to build querys after thorwing out the Query ... End
section?

Gtreetings from Vienna, Austria

Wolfgang W. Wasserburger





More information about the MapServer-users mailing list