Hi Rainer, Rainer M Krug píše v Pá 14. 12. 2007 v 09:22 +0200: > Hi > > I have hundreds, probably thousands, of orthophotos which I would like > to access as easy as possible. They are in MrSid format, but I will > convert them to geotiff. > > My problem is that it is sometimes quite difficult to find the one > covering the region I am working in and it involves quite some trial and > error to get the right one (which is time intensive and annoying...). > > I thought about setting up mapserver as a WMS server, but I didn't > manage (might have to spend some m ore time on that). What I would like > to know: > > 1) Is mapserver as WMS server the best solution or is there a more > effective one?
IMHO yes - but I would advice WCS to you. WMS does render "map", where WCS returns raw data (coverage) to you. > > 2) If mapserver (WMS server) is the way to go - can somebody give me an > example .map file which is achieving that? Some example attached - but please, take it as skeleton. I do not expect, single line would stay untouched after you start to modify it. have a look at http://mapserver.gis.umn.edu/docs/reference/mapfile http://mapserver.gis.umn.edu/docs/howto/wcs_server http://mapserver.gis.umn.edu/docs/howto/tileindex > > 3) the whole layer is obviously in several single tiles - can mapserver > handle this as a single layer or do I( have to do something special? see the tileindex link above > > Sorry for the slightly oftopic questions - but 1) should be ontopic. > > Thanks > > Rainer good luck :) j -- Jachym Cepicky e-mail: [EMAIL PROTECTED] URL: http://les-ejk.cz GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
NAME "Mellon's WFS Server"
STATUS ON
SIZE 400 300
#SYMBOLSET ../etc/symbols.sym
EXTENT -180 -90 180 90
SHAPEPATH "data/"
IMAGECOLOR 255 255 255
#FONTSET fonts.txt
WEB
IMAGEPATH "/var/www/tmp/"
IMAGEURL "/tmp/"
METADATA
"wfs_title" "Mellon's WFS Server" ## REQUIRED
"wfs_onlineresource" "http://127.0.0.1/cgi-bin/wfs?" ## Recommended
"wfs_srs" "EPSG:4326" ## Recommended
END
END
PROJECTION
"init=epsg:4326"
END
LAYER
NAME "linie"
METADATA
"wfs_title" "Line" ## REQUIRED
"gml_featureid" "cat" ## REQUIRED
"gml_include_items" "all" ## Optional (serves all attributes for layer)
END
TYPE LINE
STATUS ON
CONNECTIONTYPE OGR
CONNECTION "linie.xml"
PROJECTION
"init=epsg:4326"
END
EXTENT -103.8706 44.370035 -103.86814 44.37294
DUMP TRUE ## REQUIRED
CLASS
NAME "Linie"
STYLE
COLOR 0 155 0
OUTLINECOLOR 120 120 120
END
TEMPLATE "foo.html"
END
END # Layer
LAYER
NAME "roads"
METADATA
"wfs_title" "Roads" ## REQUIRED
"gml_featureid" "cat" ## REQUIRED
"gml_include_items" "all" ## Optional (serves all attributes for layer)
END
TYPE LINE
STATUS ON
CONNECTIONTYPE OGR
CONNECTION "roads.xml"
PROJECTION
"init=epsg:4326"
END
EXTENT -103.826702 44.414668 -103.673336 44.469238
DUMP TRUE ## REQUIRED
CLASS
NAME "Roads"
STYLE
COLOR 0 0 155
OUTLINECOLOR 120 120 120
END
TEMPLATE "foo.html"
END
END # Layer
LAYER
NAME "hsrs"
TYPE RASTER
STATUS ON
CONNECTION "http://www.bnhelp.cz/cgi-bin/crtopo?"
DEBUG ON
CONNECTIONTYPE WMS
METADATA
"wms_srs" "EPSG:4326"
"wms_name" "obce,kraje,hr_cr,sidla,doprava"
"wms_title" "CR Topo"
"wms_server_version" "1.1.1"
"wms_format" "image/png"
"wms_latlonboundingbox" "11.9384 48.2337 18.957 51.3549"
END
END
LAYER
NAME "dmt"
TYPE RASTER
DATA "elev256.tif"
PROJECTION
"init=epsg:4326"
END
STATUS ON
DEBUG ON
METADATA
"wms_srs" "EPSG:4326"
"wms_name" "dmt"
"wms_title" "CR dmt"
"wms_server_version" "1.1.1"
"wms_format" "image/png"
"wms_latlonboundingbox" "11.9384 48.2337 18.957 51.3549"
END
END
END # Map File
signature.asc
Description: Toto je digitálně podepsaná část zprávy
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
