[mapserver-users] Label problem

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Tue Dec 15 10:28:35 EST 2009


Screen shots, mapfile snippets (full layer definitions), version info are always helpful when trying to help someone. Post questions
with as much information as possible!

Steve

________________________________________
From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] On Behalf Of Shaz N [geo.engineer123 at gmail.com]
Sent: Saturday, December 12, 2009 1:12 AM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Label problem

Hi All..

Is my error due to my label file or due to some error in my layer file? Shall I attach a snapshot of my map..the labeling is terrible.
Please advise me on how to proceed.

Thanks.

On Sat, Dec 12, 2009 at 10:43 AM, Shaz N <geo.engineer123 at gmail.com<mailto:geo.engineer123 at gmail.com>> wrote:

Hi..

Pelin thanks for your reply. I tried to make some changes but I was unsuccessful.

The labels still run haywire on the map. There is no fixed angle or orientation. Only a very few labels are correctly placed within the road and 'follow' the road.

Please tell me what more changes I could do to have proper labeling for street names.

Thanks.

Regards
On Fri, Dec 11, 2009 at 4:36 PM, pelin <pelin.01 at gmail.com<mailto:pelin.01 at gmail.com>> wrote:
hi,this is part of mi map file
------------------------------
    LABELMAXSCALE 90000
    LABELMINSCALE 8000
     METADATA
          LAYER_ENCODING "UTF-8"
         "DESCRIPTION" "Avenidas"
         "RESULT_FIELDS" "nombre,desde,hasta"
         "RESULT_HEADERS" "Nombre,Desde,Hasta"
    END #METADATA
  LABELITEM 'nombre'
  CLASS
    Name 'Avenidas'
    LABEL
    TYPE truetype
    FONT 'FreeSans'
    ANGLE auto
    POSITION auto
    SIZE 5
   END #label
    STYLE
        SYMBOL 'Avenidas--0--0'
        SIZE 3
        COLOR 193 62 183
      END  #STYLE
  END  # Class

------------------------------

Saludos y espero que te sirva

--------------------------------------------------------
http://blogs.hydras.com.ar/srodriguez/
--------------------------------------------------------
Atentamente
        Rolando Sergio Rodriguez

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users





More information about the mapserver-users mailing list