Mapserver Proj File not working for me

Albert Anderson bart_doggers at YAHOO.COM
Fri Jul 14 08:47:36 PDT 2006


Hi All,

 I am trying to get my projection file working.  Installed the program proj4 and I dont know if its working.  here is my code for the map file. Whats the first step on trying to get the projection file working?

#This is Richland County Map Server
NAME "Richland"
SIZE 309 417
UNITS DD
IMAGECOLOR 189 202 222
IMAGETYPE JPEG
PROJECTION "init=epsg:26914"
END
SHAPEPATH "/home/mapdata/"
EXTENT     -97.338391 45.907505 -96.508389 46.717217  
#################################### 
# Symbol for drawing fat lines
#
SYMBOL
     NAME "BigLine"
     TYPE ELLIPSE
     POINTS 1 1 END
END

##################################### 
# Symbol for drawing dashed lines
#
SYMBOL
     NAME "DashedLine"
     TYPE ELLIPSE
     POINTS 1 1 END
     STYLE 10 10 END   
END

##################################### 
# Symbol for drawing spots
#
SYMBOL
     NAME "Circle"
     FILLED true
     TYPE ellipse
     POINTS 1 1 END
END

##################################### 
# Web object
#
WEB
  TEMPLATE '/var/www/htdocs/gismapserver_test_project_mod.html'
  IMAGEPATH '/var/www/htdocs/tmp/'
  IMAGEURL '/tmp/'
END

##################################### 
# Reference map
#
REFERENCE
     IMAGE "/home/mapdata/richland.gif"
     SIZE 136 152
     EXTENT -97.228391 45.907505 -96.628389 46.717217
     STATUS ON
     COLOR -1 -1 -1
     OUTLINECOLOR 0 0 0
END

#####################################  
# Scalebar
#
SCALEBAR
     LABEL
          COLOR 0 0 0 
          ANTIALIAS true
          SIZE small
     END
     POSITION lr
     INTERVALS 5
     STATUS embed
     SIZE 175 5
     STYLE 0
     UNITS miles
     BACKGROUNDCOLOR 0 255 0
     IMAGECOLOR 255 255 255
     COLOR 128 128 128     
     OUTLINECOLOR 0 0 255
     TRANSPARENT off
END
##################################### 
LAYER
    NAME "richland"
    STATUS default
    TYPE polygon
    DATA "RICH_bndy"
    PROJECTION "init=epsg:26914"
    END
    CLASS
      STYLE
            COLOR 0 0 0
      END
   END
END
##################################### 
LAYER
    NAME "boundary"
    STATUS on
    TYPE line
    DATA "RC_boundary_05"
    CLASS
      STYLE
            COLOR 0 0 0
      END
   END
END
##################################### 
LAYER
    NAME "roads"
    STATUS on
    TYPE line
    DATA "roads_shp"
    CLASS
      STYLE
            COLOR 255 0 0
      END
   END
END
##################################### 
LAYER
    NAME "sections"
    STATUS on
    TYPE line
    DATA "RC_sectionsQQs_05"
    CLASS
      STYLE
            COLOR 205 205 0
      END
   END
END
##################################### 
LAYER
    NAME "parecles"
    STATUS on
    TYPE line
    DATA "RC_parcels_05"
    CLASS
      STYLE
            COLOR 0 0 0
      END
   END
END
END

Thanks,
Albert

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060714/6c53c5f4/attachment.htm>


More information about the MapServer-users mailing list