[Mapserver-users] Projection trouble

opengis_libero opengis at libero.it
Wed Jan 14 08:51:28 PST 2004


Stephen

>please post your map file to help me.
>  
>
My map file is very simple:

NAME MyMap
STATUS ON
SIZE 600 330
EXTENT 806450 4688906 834120 4710677
UNITS DD
SHAPEPATH "data"
FONTSET "./data/fonts.txt"
IMAGECOLOR -1 -1 -1

PROJECTION
    "init=epsg:4318"
#    proj=utm
#    zone=32
#    ellps=WGS84
#    datum=WGS84
#    a=6378249.200
#    b=6356515.000
#    towgs84=-263,6,431,0,0,0,0
#    units=dd
   
#        proj=tmerc
#        ellps=WGS84
#        zone=32
#        "north"
#        "no_defs"
#    "proj=32761"
#    proj=latlong
#    ellps=clrk66
      END
   
WEB
  TEMPLATE main.html
  HEADER main.html
  IMAGEPATH ../tmp/
  IMAGEURL ../tmp/ 
END

QUERYMAP
  STATUS ON
  STYLE HILITE
  COLOR 255 0 0
END

LEGEND
  KEYSIZE 18 12
  OUTLINECOLOR 0 0 0
  TRANSPARENT ON
  LABEL
    TYPE BITMAP
    SIZE MEDIUM
    COLOR 0 0 89
  END
  STATUS ON
END

#
# Start of scalebar
#
SCALEBAR
  IMAGECOLOR 0 0 0
  LABEL
    COLOR 0 0 0
    SIZE tiny   
  END
  STYLE 1
  SIZE 80 2
  COLOR 0 0 0
  UNITS METERS
  INTERVALS 1
  TRANSPARENT TRUE
  STATUS TRUE
END

LAYER
    NAME Adminbndy4_region
    DATA Ri_pd
    STATUS ON
    TYPE POLYGON
#    PROJECTION
#        geographic
#    END
# ERROR OUTPUT:
# msProcessProjection(): Projection library error. PROJECTION 
'GEOGRAPHIC' no longer supported. Provide explicit definition. ie. 
proj=latlong ellps=clrk66

    CLASS
        NAME 'Provincia'
        COLOR 220 220 255
        MAXSCALE 800001
#        MINSCALE 100000
    END
#    METADATA
#        WMS_TITLE "Your title "
#        "wms_srs" "EPSG:4326"
#    END


END


END




More information about the MapServer-users mailing list