[Mapserver-DE] WMS Layer
Michel Garand
garand at odragis.org
Mon Jan 17 14:48:01 CET 2005
Greetings!
On Tue, 2005-01-18 at 16:05, Stefan Stadler wrote:
> Hallo Liste,
>
>
>
> ich hab mein Mapfile so weit es ging heruntergebaut-ich bekomme immer
> weisse Images zurück-keine Fehlermeldung!
>
>
>
> In der Logdatei wird alles sauber ausgeführt, im reference file für
> WMS clients steht was von einer inkonsistenz von BBOX und SRS?
>
>
>
> Beim GET Capabilities des WMS steht so was:
>
> <LatLonBoundingBox minx="10.8594" miny="51.1966" maxx="15.0908"
> maxy="53.6627"/> ---à hab ich bei EXTEND eingetragen!
>
> <BoundingBox SRS="EPSG:25833" minx="3.226e+06" miny="5.679e+06"
> maxx="3.506e+06" maxy="5.946e+06"/>
>
> <ScaleHint min="12.4731" max="1746.16"/>
>
>
>
> Wo kann der Fehler liegen? Wenn epsg25833 und die EXTEND Werte
> vorgegeben sind.
>
>
>
> In meiner epsg datei ist 25833 enthalten!
>
This is how I solved the problem in Brandenburg and it seems to work
fine when i combine it with other services (ex.EPSG:4326) in Mapbender.
In the map file
MAP
NAME SLUBFURT
STATUS ON
SIZE 400 400
EXTENT 468004.347080 5797909.543780 471315.34940 5801220.531690
UNITS METERS
.....
WEB
......
METADATA
"wms_name" "SLUBFURT"
"wms_title" "SLUBFURT"
"wms_abstract" "Slubfurter Mental Map Survey 2000 - 2002"
"wms_onlineresource" "http://odragis.org/cgi-bin/slubfurtwms?"
"wms_srs" "EPSG:4326 EPSG:25833"
............
END
PROJECTION
"init=epsg:25833"
END
..............
LAYER
NAME "Mentalscape"
METADATA
"wms_title" "Mentalscape"
"wms_abstract" "Slubfurter Mental Map Survey 2000 - 2002:
mentalscape"
"wms_extent" "3456633.000000 5788250.000000 3474398.000000
5806845.000000"
.................
END
PROJECTION
"proj=tmerc"
"lat_0=0"
"lon_0=15"
"k=0.9996"
"x_0=3500000"
"y_0=0"
"ellps=GRS80"
"units=m"
"no_defs"
END
......
END#layer
...........
END#map
The result is
for the map
<Layer>
<Name>SLUBFURT</Name>
<Title>SLUBFURT</Title>
<SRS>EPSG:4326 EPSG:25833</SRS>
<LatLonBoundingBox minx="14.5302" miny="52.3306" maxx="14.5791"
maxy="52.3605" />
<BoundingBox SRS="EPSG:25833"
minx="468004" miny="5.79791e+06" maxx="471315"
maxy="5.80122e+06" />
......
for the layer
<Layer queryable="0" opaque="1" cascaded="0">
<Name>Mentalscape</Name>
<Title>Mentalscape</Title>
<Abstract>Slubfurter Mental Map Survey 2000 - 2002:
mentalscape</Abstract>
<LatLonBoundingBox minx="14.3624" miny="52.2429" maxx="14.625"
maxy="52.4112" />
</Layer>
...........
I hope this may help you
try combining this map http://odragis.org/cgi-bin/slubfurtwms? with your
service and please let me know how it works
Best regards
Michel
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)