[TinyOWS-users] Problem with using MapServer mapfile

Olivier Courtin olivier.courtin at gmail.com
Tue Jun 7 06:50:13 EST 2011


On Jun 7, 2011, at 1:07 PM, Dejan Gambin wrote:

> Take this for example:
>
> SCALEBAR
>  STATUS off
>  TRANSPARENT off
>  INTERVALS 4
>  SIZE 200 3
>  UNITS kilometers
>  COLOR 250 250 250
>  OUTLINECOLOR 0 0 0
>  BACKGROUNDCOLOR 100 100 100
>  STYLE 0
>  POSTLABELCACHE true
>  LABEL
>    COLOR 0 0 90
>    #OUTLINECOLOR 200 200 200
>    SIZE small
>  END  # Label
> END  # Reference

It's not something enough to explain the problem,

Could you:

- Get a fresh svn copy of TinyOWS

- Modify line 16 from src/mapfile/mapfile.l and put #if 0 to #if 1    
(mapfile parser debug statement)

- Then launch:
autoconf
./configure
make flex
make

(set your TINYOWS_MAPFILE envars if needed)

Put a basic query in a file, for instance:
SERVICE=WFS&REQUEST=GetCapabilities&VERSION=1.1.0

then launch test/unit_test YOUR_FILE 4
and send the whole result here. (with you whole mapfile too)


Tks in advance,


--
Olivier



More information about the TinyOWS-users mailing list