[Mapserver-users] Projection trouble

opengis_libero opengis at libero.it
Thu Jan 15 02:53:28 PST 2004


Stephen,

many thanks for your interest to my trouble.

Now my map work fine!

>please post your map file 
>
NAME MyMap_right!
STATUS ON
SIZE 600 330
EXTENT 782712 4667376 861860 4740999
UNITS meters # <- problem is here, change DD in METER
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
...
LAYER
    NAME layer_county
    DATA Ri_pd
    STATUS ON
    TYPE POLYGON
#    PROJECTION
#        geographic
#    END
#    METADATA
#        WMS_TITLE "Your title "
#        "wms_srs" "EPSG:4326"
#    END
    CLASS
        NAME 'County boundaries'
        COLOR 220 220 255
        OUTLINECOLOR 100 100 100 #gray
    END
END

Remaining a mystery how mapserver realize right projection.

Have you any documentation or link to understand mapserver projection?

Best regards

PS.
I saw www.focus.ca :  Have you got open source software in your solution?




More information about the MapServer-users mailing list