[mapserver-users] where is the line ?

Tonton to.tonton at gmail.com
Mon Jun 6 06:03:46 EDT 2011


You right

in a definition of a symbol in symbolset.txt

#16
SYMBOL
 NAME 'circle-dashed'
 TYPE ELLIPSE
 POINTS
  1 1
 END
 #FILLED TRUE
 STYLE
  10 10
END
END

this style not accepted


On Mon, Jun 6, 2011 at 11:51 AM, Tonton <to.tonton at gmail.com> wrote:

> but the file is' nt be modify from janary
>
> #7
> SYMBOL
>  NAME 'circle'
>  TYPE ELLIPSE
>  FILLED TRUE
>  POINTS
>   1 1
>  END
> END
>
>
>
> On Mon, Jun 6, 2011 at 11:39 AM, Prabu Raja <prab.raja at gmail.com> wrote:
>
>> Ok. You have included the symbols using "SYMBOLSET" keyword.
>>
>> Problem might be with symbol named 7 or seventh symbol in that
>> file(./symbols/symbols.txt).
>>
>> On Mon, Jun 6, 2011 at 3:01 PM, Tonton <to.tonton at gmail.com> wrote:
>>
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Prabu Raja <prab.raja at gmail.com>
>>>
>>> Post your mapfile content, show that we can check what's wrong.
>>>
>>> euh
>>>
>>> #
>>> #debut du fichier
>>> #
>>> MAP
>>> NAME '28811'
>>> SIZE 640 480
>>> UNITS METERS
>>> FONTSET './fonts/fonts.txt'
>>> SYMBOLSET './symbols/symbols.txt'
>>> EXTENT 4.65883541107178 45.5676007678223 5.06030035018921
>>> 45.9033622741699
>>> DEBUG ON
>>> CONFIG "MS_ERRORFILE" "/var/www/tmp/ms_error.txt" #definition de la
>>> projection de la carte
>>> PROJECTION
>>>     "init=epsg:4326"
>>> END #Projection
>>>
>>>  IMAGETYPE "PNG24"
>>>
>>>  # Debut de la section OUTPUTFORMAT
>>> OUTPUTFORMAT
>>>   NAME png
>>>     DRIVER "GD/PNG"
>>>     MIMETYPE "image/png"
>>>     IMAGEMODE PC256
>>>     EXTENSION 'png'
>>>  END
>>>
>>>  # debut de la section Web
>>>
>>> WEB
>>>      MINSCALEDENOM 1000
>>>     MAXSCALEDENOM 1550000
>>>  #Modifier cette ligne selon votre installation
>>>     IMAGEPATH "/var/www/tmp/"
>>>      IMAGEURL "./tmp/"
>>> METADATA
>>>     ows_TITLE "28811"
>>> ows_ONLINERESOURCE "
>>> http://192.168.12.60/cgi-bin/mapserv?map=/var/www/mapfile/28811.map"
>>> "ows_SRS" "EPSG:4326 "
>>>     ows_ABSTRACT "OWS Geomod webservice "
>>>  ows_ACCESSCONSTRAINTS "None"
>>>  END #METADATA
>>> LOG "./tmp/web.log"
>>>  END #WEB
>>> #
>>>  # debut de Definition de la Couche
>>> #
>>> LAYER
>>> CONNECTIONTYPE postgis
>>>  CONNECTION "host=localhost dbname=DBname user=USER password=PWD
>>> port=5432"
>>> DATA "geometry FROM tablename"
>>> NAME "28811"
>>> TYPE POINT
>>> DUMP TRUE
>>>  TRANSPARENCY ALPHA
>>>  LABELCACHE ON
>>>     METADATA
>>>      ows_TITLE "28811"
>>>     "ows_SRS" "EPSG:4326"
>>>     "gml_featureid" "gid" ##required
>>>     "ows_include_items" "nom_stt"
>>>     "ows_typename" "28811"
>>>     END #METADATA
>>> LABELITEM nom_stt
>>>  STATUS ON
>>>  Class
>>>     NAME "28811"
>>>     STYLE
>>>     SYMBOL 7
>>>     SIZE 2
>>>       OUTLINECOLOR 255 255 255
>>>     COLOR 192 192 192
>>>   END #Style
>>> LABEL
>>>  FONT arial
>>>  TYPE truetype
>>>  ANTIALIAS true
>>>  MAXSCALEDENOM 92500
>>>
>>> _______________________________________________
>>> mapserver-users mailing list
>>> mapserver-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>
>>>
>>
>>
>> --
>> Regards,
>> Prabu Raja
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110606/f371298c/attachment.html


More information about the mapserver-users mailing list