MAP # # Start of map file # NAME robins STATUS OFF SIZE 450 400 #SYMBOLSET symbols/symbol.sym FONTSET "/opt/iem/data/gis/fonts.list" EXTENT 200000 4400000 710000 4900000 UNITS METERS SHAPEPATH "/mesonet/data/gis/static/" SYMBOLSET "/opt/iem/data/gis/stations.sym" IMAGECOLOR -1 -1 -1 IMAGETYPE PNG # # Projection definition, consult the PROJ.4 documentation for parameter discussion # PROJECTION "init=epsg:26915" END # # Start of web interface definition # WEB HEADER q_header.html TEMPLATE fancy.html FOOTER q_footer.html IMAGEPATH "/var/webtmp/" IMAGEURL "/tmp/" END SCALEBAR IMAGECOLOR 255 255 255 LABEL COLOR 0 0 0 SIZE tiny END STYLE 1 SIZE 50 2 COLOR 0 0 0 UNITS MILES INTERVALS 1 TRANSPARENT TRUE STATUS TRUE END LAYER NAME counties STATUS OFF TYPE POLYGON DATA /mesonet/data/gis/static/shape/4326/us/uscounties.shp PROJECTION "init=epsg:4326" END CLASS STYLE OUTLINECOLOR 255 0 0 COLOR 200 200 200 END END END LAYER CONNECTIONTYPE postgis NAME robins CONNECTION "user=nobody dbname=postgis host=iemdb-postgis.local" DATA "the_geom from (select id, random() as oid, the_geom from robins) as foo using unique oid using srid=4326" STATUS OFF TYPE POINT TEMPLATE q_template.html LABELITEM 'id' PROJECTION "init=epsg:4326" END CLASS STYLE COLOR -1 -1 -1 OUTLINECOLOR 0 0 255 SYMBOL 0 SIZE 3 END LABEL TYPE TRUETYPE FONT 'liberation' SIZE 10 POSITION UC COLOR 0 0 0 END END END END