I dont know what I do wrong but I have multiple labels in one Polygon, If
the polygon name is Buffalo City it repeately place many Buffalo City
inside that polygon.

Here is a mapfile

#
# Start of Layer District.shp
#
LAYER
  NAME "District"
  TYPE polygon
  DATA 'vector/Districts'
  LABELITEM "DC_NAME"
  TRANSPARENCY 100
  TEMPLATE void
  PROJECTION
    "init=epsg:4148"
  END
  METADATA
    "PM_DESCRIPTION" "District"
    "PM_RESULT_FIELDS" "DC_NAME,DC_MDB_C"
    "PM_RESULT_HEADERS" "Name,DC_MDB_C"

  END  # Metadata
  CLASS
    Name 'EC District'
    COLOR -1 -1 -1
    OUTLINECOLOR 255 0 255
    #TEMPLATE void

    LABEL
      POSITION auto
      COLOR 200 200 200
    #MINDISTANCE 100000000
      TYPE truetype
      ENCODING "ISO-8859-1"
      FONT FreeSerifBold
     # PARTIALS FALSE
      SIZE 9
      #MAXSIZE 12
      #SIZE medium
    END #Label

  END  # Class
END  # Layer
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to