Difference between revisions of "Tiled imagery layer"
Jump to navigation
Jump to search
Wiki-Bitner (talk | contribs) |
(Link to tiling category) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 7: | Line 7: | ||
IMAGECOLOR 255 255 255 | IMAGECOLOR 255 255 255 | ||
IMAGETYPE png | IMAGETYPE png | ||
− | SIZE 500 | + | SIZE 500 500 |
STATUS ON | STATUS ON | ||
UNITS DD | UNITS DD | ||
Line 18: | Line 18: | ||
EXTENSION png | EXTENSION png | ||
IMAGEMODE PC256 | IMAGEMODE PC256 | ||
+ | TRANSPARENT FALSE | ||
+ | END | ||
+ | OUTPUTFORMAT | ||
+ | NAME "jpeg" | ||
+ | MIMETYPE "image/jpeg" | ||
+ | DRIVER "GD/JPEG" | ||
+ | EXTENSION "jpg" | ||
+ | IMAGEMODE RGB | ||
TRANSPARENT FALSE | TRANSPARENT FALSE | ||
END | END | ||
Line 157: | Line 165: | ||
END | END | ||
END | END | ||
+ | |||
+ | |||
+ | [[Category:Tiling]] |
Latest revision as of 01:11, 25 February 2010
Multi-Res Tiled Imagery
This is a page to create a mapfile to stick in front of Ka-Map's tile.php to cache tiles for a multi-resolution dataset to grab via wms the best resolution data possible for any particular area. Please add in a layer for any imagery you feel is missing.
MAP EXTENT -180 -90 180 90 IMAGECOLOR 255 255 255 IMAGETYPE png SIZE 500 500 STATUS ON UNITS DD NAME "World Demo" OUTPUTFORMAT NAME png MIMETYPE image/png DRIVER GD/PNG EXTENSION png IMAGEMODE PC256 TRANSPARENT FALSE END OUTPUTFORMAT NAME "jpeg" MIMETYPE "image/jpeg" DRIVER "GD/JPEG" EXTENSION "jpg" IMAGEMODE RGB TRANSPARENT FALSE END PROJECTION "init=epsg:4326" END LEGEND IMAGECOLOR 255 255 255 KEYSIZE 18 12 KEYSPACING 5 5 LABEL SIZE MEDIUM TYPE BITMAP BUFFER 0 COLOR 0 0 89 FORCE FALSE MINDISTANCE -1 MINFEATURESIZE -1 OFFSET 0 0 PARTIALS TRUE END POSITION LL STATUS ON END QUERYMAP COLOR 255 0 0 SIZE -1 -1 STATUS OFF STYLE HILITE END REFERENCE COLOR -1 -1 -1 EXTENT -180 -90 180 90 IMAGE "../htdocs/images/world_key.png" OUTLINECOLOR 255 0 0 SIZE 240 120 STATUS ON MARKER 0 MARKERSIZE 0 MINBOXSIZE 3 MAXBOXSIZE 0 END SCALEBAR BACKGROUNDCOLOR 0 0 0 COLOR 255 255 255 IMAGECOLOR 255 255 255 INTERVALS 5 LABEL SIZE SMALL TYPE BITMAP BUFFER 0 COLOR 0 0 0 FORCE FALSE MINDISTANCE -1 MINFEATURESIZE -1 OFFSET 0 0 PARTIALS TRUE POSITION CR END OUTLINECOLOR 0 0 0 POSITION LL SIZE 250 3 STATUS ON STYLE 0 TRANSPARENT TRUE UNITS KILOMETERS END WEB IMAGEPATH "/tmp/" IMAGEURL "/tmp/" METADATA "original_projection" "init=epsg:4326" "original_extents" "-180,-90,180,90" END QUERYFORMAT text/html END LAYER CONNECTION "http://wms.jpl.nasa.gov/wms.cgi?" CONNECTIONTYPE WMS METADATA "wms_srs" "EPSG:4326" "wms_onlineresource" "http://wms.jpl.nasa.gov/wms.cgi?" "wms_name" "BMNG" "wms_formatlist" "image/png,image/gif,image/jpeg,image/wbmp" "wms_format" "image/jpeg" "wms_server_version" "1.1.1" "wms_title" "BMNG" END NAME "BMNG" GROUP "imagery" SIZEUNITS PIXELS STATUS ON MINSCALE 1000000 TOLERANCE 0 TOLERANCEUNITS PIXELS TYPE RASTER END LAYER CONNECTION "http://wms.jpl.nasa.gov/wms.cgi?" CONNECTIONTYPE WMS METADATA "wms_srs" "EPSG:4326" "wms_onlineresource" "http://wms.jpl.nasa.gov/wms.cgi?" "wms_name" "modis,global_mosaic" "wms_formatlist" "image/png,image/gif,image/jpeg,image/wbmp" "wms_format" "image/jpeg" "wms_server_version" "1.1.1" "wms_title" "NASA" END NAME "NASA" GROUP "imagery" SIZEUNITS PIXELS STATUS ON MAXSCALE 1000000 MINSCALE 24000 TOLERANCE 0 TOLERANCEUNITS PIXELS TYPE RASTER END LAYER PROJECTION "init=EPSG:4326" NAME "URBANAREAMPLS" TYPE RASTER STATUS ON MAXSCALE 24000 MINSCALE 800 CONNECTION "http://gisdata.usgs.gov/servlet/com.esri.wms.Esrimap?WMTVER=1.1.1&ServiceName=USGS_EDC_Ortho_Urban&layers=Apr_2004_0.3m_Color_Minneapolis-StPaul_index&format=png" CONNECTIONTYPE WMS METADATA "wms_srs" "EPSG:4326" "wms_title" "Apr_2004_0.3m_Color_Minneapolis-StPaul_index" "wms_connectiontimeout" "1000" END END END