I have three layers: Districts, Kampala and Serviceproviders. Serviceproviders is contained in Kampala, and Kampala in turn is contained in Districts.
But Kampala has a false northing of 200000, so it does not fit where it should. How do I remove the false northing in Mapserver? Regards, Richard Orama. My Map file is as follows: # # Start of map file # NAME ORAMA STATUS ON SIZE 600 600 #EXTENT 388107.634400379 5203120.88405952 500896.339019834 5310243.30613897 EXTENT 118478.203105 -163815.968993 725010.937594 467856.125252 #Uganda #EXTENT 445504.463680 223700.879958 463130.351188 244757.138847 #Kampala #EXTENT 450098 25733 460142 37138 #Serviceproviders UNITS METERS SHAPEPATH "data" IMAGECOLOR 204 204 204 #257 258 259 # you may need to change this to match your MapServer build #IMAGETYPE PNG # # Projection definition, consult the PROJ.4 documentation for parameter discussion # #PROJECTION # "proj=utm" # "ellps=GRS80" # "zone=36" #15 # "north" # "no_defs" # OR: # # "init=epsg:26915" #END # # Start of web interface definition (including WMS enabling metadata) # WEB HEADER demo_header.html TEMPLATE kampala.html FOOTER demo_footer.html MINSCALE 1000 MAXSCALE 1550000 IMAGEPATH "set in demo_init.html" IMAGEURL "set in demo_init.html" METADATA WMS_TITLE "UMN MapServer Itasca Demo" WMS_ABSTRACT "This is the UMN MapServer demonstration application for Itasca County located in north central Minnesota." #WMS_ACCESSCONSTRAINTS none # change this value to match your setup WMS_ONLINERESOURCE "C:/ms4w/Apache/htdocs/demo_init.html" WMS_SRS "EPSG:26915" END END QUERYMAP SIZE 200 200 STATUS ON STYLE HILITE COLOR 255 0 0 END # # Start of reference map # REFERENCE IMAGE graphics/reference.png #EXTENT 393234.393701263 5205405.16440722 495769.579718949 5307959.02579127 EXTENT 445504.463680 223700.879958 463130.351188 244757.138847 #Kampala SIZE 120 120 STATUS ON COLOR -1 -1 -1 OUTLINECOLOR 255 0 0 END # # Start of legend # LEGEND KEYSIZE 18 12 LABEL TYPE BITMAP SIZE MEDIUM COLOR 0 0 89 END STATUS ON END # # Start of scalebar # SCALEBAR IMAGECOLOR 255 255 255 LABEL COLOR 255 255 255 SIZE tiny END STYLE 1 SIZE 80 2 COLOR 255 255 255 UNITS MILES INTERVALS 1 TRANSPARENT TRUE STATUS TRUE END # # Start of symbol definitions (we're only using a few) # SYMBOL NAME 'circle' TYPE ELLIPSE POINTS 1 1 END FILLED TRUE END # # Start of layer definitions # #####ADDED BY ORAMA # #Districts Layer # LAYER NAME Districts TYPE POLYGON STATUS DEFAULT DATA Districts CLASSITEM 'DISTRICT' CLASS EXPRESSION 'Itasca' OUTLINECOLOR 257 257 257 #128 128 128 COLOR 225 225 185 END CLASS # every other county in the state EXPRESSION /./ OUTLINECOLOR 128 128 128 COLOR 255 255 255 END METADATA WMS_TITLE "County Boundary" WMS_ABSTRACT "Itasca County boundary shapefile. See http://deli.dnr.state.mn.us/metadata/full/ctybdne2.html for more information." WMS_SRS "EPSG:26915" END END # #Kampala Layer # LAYER NAME Kampala #False northing of 200000 TYPE POLYGON STATUS DEFAULT DATA Kampala CLASSITEM 'DIVID' CLASS EXPRESSION '61' OUTLINECOLOR 0 0 0 #really black COLOR 255 102 153 END CLASS EXPRESSION '62' OUTLINECOLOR 0 0 0 #really black COLOR 255 255 0 END CLASS EXPRESSION '63' OUTLINECOLOR 0 0 0 #really black COLOR 153 255 0 END CLASS EXPRESSION '64' OUTLINECOLOR 0 0 0 #really black COLOR 0 102 204 END CLASS EXPRESSION '65' OUTLINECOLOR 0 0 0 #really black COLOR 255 153 51 END CLASS # every other county in the state EXPRESSION /./ OUTLINECOLOR 0 0 0 COLOR 255 255 255 END METADATA WMS_TITLE "Village Boundary" WMS_ABSTRACT "Itasca County boundary shapefile. See http://deli.dnr.state.mn.us/metadata/full/ctybdne2.html for more information." WMS_SRS "EPSG:26915" END END # #Serviceproviders Layer # LAYER NAME serviceproviders TYPE POINT DATA serviceproviders STATUS DEFAULT CLASS NAME 'ServiceProviders' COLOR 255 0 0 #128 255 164 SYMBOL 'circle' SIZE 7 #TEMPLATE "serviceproviders.html" END #HEADER "serviceproviders_header.html" #FOOTER "serviceproviders_footer.html" TOLERANCE 5 METADATA WMS_TITLE "ServiceProviders" WMS_ABSTRACT "ServiceProviders in Kampala." WMS_SRS "EPSG:26915" END END #####END ADDED BY ORAMA # # END # Map File ____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
