[mapserver-users] Error with stable build of mapserv 3.5
Stephen Woodbridge
woodbri at swoodbridge.com
Sun Jan 20 20:53:47 PST 2002
Trem,
There was a last minute change to the map file in the released version
of 3.5. Check your symbol.sym file and change FILLED to FILLED TRUE,
also ANTIALIAS also must be ANTIALIAS TRUE
-Steve W.
> Trem Stamp wrote:
>
> Hi,
>
> We have just rebuilt the mapserv executable using the 18 December
> stable build and are using the same mapfiles that worked with a build
> prior to this. (working on a Solaris box)
>
> I seem to get errors with the new build however.
>
> getSymbol(): Symbol definition error. (Points):(4)
>
>
> The Urls are:
> The map file is the same in both cases.
>
> Working:
> http://maps-dev.socialchange.net.au/cgi-bin/mapserv?map=mapfiles/urban1.map&WMTVER=1.0.0&SRS=EPSG%3A4202&REQUEST=map&FORMAT=GIF&TRANSPARENT=true&EXCEPTIONS=INIMAGE&BBOX=138.863%2C-38.830714285714286%2C154.577%2C-29.443285714285715&WIDTH=400&HEIGHT=400&LAYERS=populated&STYLES=
>
> Not working:
> http://maps-dev.socialchange.net.au/cgi-bin/mapserv-3.5?map=mapfiles/urban1.map&WMTVER=1.0.0&SRS=EPSG%3A4202&REQUEST=map&FORMAT=GIF&TRANSPARENT=true&EXCEPTIONS=INIMAGE&BBOX=138.863%2C-38.830714285714286%2C154.577%2C-29.443285714285715&WIDTH=400&HEIGHT=400&LAYERS=populated&STYLES=
>
>
> The mapfile remains the same:
>
> #
> # Start of layer definitions
> bash-2.04$ cat urban1.map
> #
> # Start of map file - created Tue Aug 29 15:24:42 2000
> #
>
> NAME demo
> EXTENT -180 -90 180 90
> SHAPEPATH "/www/hosted/maps-dev/htdocs/mapserv/data/urban"
> SYMBOLSET "/www/hosted/maps-dev/htdocs/mapserv/symbology/symbol.sym"
> FONTSET "/www/hosted/maps-dev/htdocs/mapserv/fonts/fonts.list"
> PROJECTION
> "init=epsg:4326"
> END
>
>
> #
> # Contains the map metadata (capabilities)
> #
>
> WEB
> METADATA
> "wms_abstract" "This map file serves cadastral data which may be
> used for backdrops to base maps"
> "wms_keywordlist" "Shapefile, MapInfo data, towns, places,
> gazetteer"
> "wms_contactperson" "Trem Stamp"
> "wms_contactorganization" "Social Change Online"
> "wms_contactposition" "Application Developer"
> "wms_addresstype" "Mapping research and development"
> "wms_address" "248, Johnston Street"
> "wms_city" "Annandale"
> "wms_stateorprovince" "New South Wales"
> "wms_postcode" "2038"
> "wms_country" "Australia"
> "wms_contactvoicetelephone" "none"
> "wms_contactfacsimiletelephone" "(02) 9692 5192"
> "wms_contactelectronicmailaddress" "trem at socialchange.net.au"
> "wms_accesscontraints" "none"
> "wms_title" "WMS Server: Base maps"
> "wms_fees" "none"
> "wms_onlineresource"
> "http://maps-dev.socialchange.net.au/cgi-bin/mapserv?map=mapfiles/urban.map"
> "wms_srs" "EPSG:4326 EPSG:4202"
> END
> END
>
> #
> # Start of layer definitions
> #
>
>
> LAYER
> NAME populated
> TYPE annotation
> STATUS ON
> CONNECTIONTYPE OGR
> CONNECTION
> "/www/hosted/maps-dev/htdocs/mapserv/data/urban/populated.shp"
>
> METADATA
> "wms_title" "towns in NSW"
> "wms_extent" "138 -39.0 154 -28"
> END
> PROJECTION
> "init=epsg:4326"
> END
> CLASSITEM Pppttype
> CLASS
> NAME "townname"
> EXPRESSION "2"
> TEXT ([Ppptname])
> SYMBOL town
> SIZE 11
> OUTLINECOLOR 6 70 6
> COLOR 255 0 102
> LABEL
> COLOR 0 0 0
> FORCE false
> POSITION ul
> MINSIZE 5
> MAXSIZE 36
> MINDISTANCE 5
> SIZE 10
> TYPE truetype
> FONT arial_bold
> END
> END
> END
>
>
>
> END
>
>
> END
>
>
> Does anyone know why the latest build will no longer work with the
> latest build?
> I noticed that the new build has SUPPORTS=WMS_SERVER rather than the
> old SUPPORTS=WMS - will this have any effect?
>
>
> Cheers,
>
> Trem
>
>
More information about the MapServer-users
mailing list