MAP NAME "OMAR" STATUS ON EXTENT -180.0 -90.0 180.0 90.0 SIZE 400 200 SYMBOLSET "../etc/symbols.sym" FONTSET "../etc/fonts.txt" IMAGETYPE JPEG IMAGEQUALITY 100 UNITS DD WEB IMAGEPATH "/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" METADATA "ows_title" "OMAR" "ows_srs" "EPSG:4326 EPSG:4035" "ows_onlineresource" "http://localhost/cgi-bin/mapserv?map=/Library/WebServer/Documents/omar/map/omar.map" "ows_formatlist" "image/gif,image/png,image/jpeg,image/wbmp image/tiff" "OWS_FEATURE_INFO_MIME_TYPE" "text/html" END END REFERENCE STATUS ON IMAGE "../data/refmap.png" SIZE 160 80 EXTENT -180.0 -90.0 180.0 90.0 COLOR -1 -1 -1 OUTLINECOLOR 255 0 0 MINBOXSIZE 3 MAXBOXSIZE 0 MARKER 0 MARKERSIZE 0 END PROJECTION "init=epsg:4326" END OUTPUTFORMAT NAME "png" DRIVER "GD/PNG" MIMETYPE "image/png" IMAGEMODE "RGB" EXTENSION "png" END OUTPUTFORMAT NAME "gif" DRIVER "GD/GIF" MIMETYPE "image/gif" IMAGEMODE "RGB" EXTENSION "gif" END OUTPUTFORMAT NAME GTiff DRIVER "GDAL/GTiff" MIMETYPE "image/tiff" IMAGEMODE RGB EXTENSION "tif" END LAYER NAME "Earth_Image" GROUP "Reference" STATUS ON # DATA "/Library/WebServer/Documents/ajaxmaps/earth.tif" # DATA "/var/www/omar_images/earth.tif" DATA "/projects/ngos/website/earth.tif" TYPE RASTER METADATA "ows_title" "World Image" "ows_group_title" "Reference" "ows_abstract" "The Earth Image layer provides the display of the 1 kilometer resolution earth image as a background. This image, also known as Blue Marble, is a mosaic of several satellite images that are blended to provide a uniform, cloud free picture of the earth. The Earth Image layer can be turned off in favor of the default white background." "ows_srs" "epsg:4326" END # PROJECTION # "init=epsg:4326" # END END # LAYER # NAME "Earth_Image_East" # GROUP "Reference" # STATUS ON # DATA "c:/data/earth/land_shallow_topo_east_tiled.tif" # TYPE RASTER # METADATA # "ows_title" "World Image East" # "ows_group_title" "Reference" # "ows_abstract" "The Earth Image layer provides the display of the 1 kilometer resolution earth image as a background. This image, also known as Blue Marble, is a mosaic of several satellite images that are blended to provide a uniform, cloud free picture of the earth. The Earth Image layer can be turned off in favor of the default white background." # "ows_srs" "epsg:4326" # END # # PROJECTION # # "init=epsg:4326" # # END # END # LAYER # NAME "Earth_Image_West" # GROUP "Reference" # STATUS ON # DATA "c:/data/earth/land_shallow_topo_west_tiled.tif" # TYPE RASTER # METADATA # "ows_title" "World Image West" # "ows_group_title" "Reference" # "ows_abstract" "The Earth Image layer provides the display of the 1 kilometer resolution earth image as a background. This image, also known as Blue Marble, is a mosaic of several satellite images that are blended to provide a uniform, cloud free picture of the earth. The Earth Image layer can be turned off in favor of the default white background." # "ows_srs" "epsg:4326" # END # # PROJECTION # # "init=epsg:4326" # # END # END LAYER NAME "Countries" GROUP "Reference" STATUS ON DATA "../data/world_adm0" TYPE POLYGON METADATA "ows_title" "Political Boundries" "ows_abstract" "The Countries layer provides the display of international borders for the map viewer. Country borders are displayed as black lines and resemble the States layer which displays U.S. state border lines." "ows_srs" "epsg:4326" END CLASS NAME "outline" STYLE OUTLINECOLOR 0 0 0 END END # PROJECTION # "init=epsg:4326" # END END LAYER NAME "States" GROUP "Reference" STATUS ON DATA "../data/statesp020" TYPE POLYGON METADATA "ows_title" "State Boundries" "ows_abstract" "The States layer provides the display of U.S. state borders for the map viewer. State borders are displayed as black lines and resemble the Countries layer which displays international border lines." "ows_srs" "epsg:4326" END CLASS NAME "outline" STYLE OUTLINECOLOR 0 0 0 END END # PROJECTION # "init=epsg:4326" # END END LAYER NAME "Images" GROUP "Data" STATUS ON EXTENT -180 -90 180 90 # DATA "bounding_geometry from (SELECT i.oid AS oid, g.* FROM geospatial_object g, image_source_object i WHERE i.geospatial_object_id_fk = g.id_pk) AS foo USING UNIQUE oid USING SRID=4326" # DATA "bounding_geometry from geospatial_object" # DATA "bounding_geometry from (select oid, g.* from geospatial_object g, image_source_object i where i.geospatial_object_id_fk = g.id_pk) AS foo USING UNIQUE oid USING SRID=4326" DATA "bounding_geometry from (SELECT g.oid, g.id_pk, f.path, f.filename, i.entry, g.bounding_geometry FROM image_source_object i, geospatial_object g, image_source_file_object f, image_file_association a WHERE i.geospatial_object_id_fk = g.id_pk AND f.id_pk = a.file_id_fk AND i.id_pk = a.image_id_fk AND main_image_file = 't' ) AS foo USING UNIQUE oid USING SRID=4326" TYPE POLYGON CONNECTIONTYPE POSTGIS CONNECTION "user=postgres dbname=omardb-1.0 password=postgres" HEADER "./templates/post_gis_test_header.html" FOOTER "./templates/post_gis_test_footer.html" TEMPLATE "./templates/post_gis_test.html" METADATA "ows_title" "Images" "ows_group_title" "Data" "ows_abstract" "Available Imagery" "ows_srs" "epsg:4326" "ows_featureid" "id_pk" "gml_include_items" "all" END DUMP TRUE CLASS STYLE OUTLINECOLOR 0 255 0 END END PROJECTION "init=epsg:4326" END END LAYER NAME "Labels" GROUP "Data" STATUS ON # DATA "bounding_geometry from (select i.oid, i.id_pk, g.bounding_geometry from geospatial_object g, image_source_object i where i.geospatial_object_id_fk = g.id_pk) AS foo USING UNIQUE oid USING SRID=4326" DATA "bounding_geometry from geospatial_object" TYPE ANNOTATION CONNECTIONTYPE POSTGIS CONNECTION "user=postgres dbname=omardb-1.0 password=postgres" LABELITEM "id_pk" # HEADER "./templates/post_gis_test_header.html" # FOOTER "./templates/post_gis_test_footer.html" TEMPLATE "./templates/post_gis_test.html" METADATA "ows_title" "Labels" "ows_abstract" "Image Ids" "ows_srs" "epsg:4326" END CLASS LABEL TYPE truetype FONT "fritqat" SIZE 7 POSITION AUTO ANGLE AUTO COLOR 255 255 255 OUTLINECOLOR 0 0 0 SHADOWCOLOR 0 0 0 SHADOWSIZE 0 0 END STYLE SYMBOL 7 COLOR 255 255 255 SIZE 3 MINSIZE 1 MAXSIZE 100 END END PROJECTION "init=epsg:4326" END END END