[Mapserver-DE] Question about WMS Services and capabilities
Erich Meyerheim
erich.meyerheim at stadt-brandenburg.de
Mon Apr 24 11:39:52 CEST 2006
Hi Folks,
first, sorry for my bad english ... :(
We have a big Problem concerning the WMS- capabilities request of the Mapserver.
After Days of trickling around we have no ideas left :(
Is anybody out there who can help us with more ideas or even a solution ?
We setup a map file:
Inside there are 2 indentical Layers. The first Layer "Flurstshp" is a shape layer the second layer is coming out of a postgis database.
When we send a "get capabilities" Request to the mapserver we are getting a result telling us some confused data.
Please see snip layer and snip capabilites.
-------------------------------------------- snip Layer section of the mapfile ------------------------------------------------------------------------------------
LAYER # Flurstshp
NAME Flurstshp
METADATA
WMS_TITLE "Flurstuecke_shp"
WMS_ABSTRACT "Flurstuecke aus shapefile"
WMS_SRS "25833"
END
DATA vector/alk/060208/Flurst
STATUS ON
TYPE POLYGON
CLASS
NAME 'Flurst'
OUTLINECOLOR 0 0 255
END
END
LAYER # Flurst
NAME Flurstue
PROJECTION
"init=epsg:25833"
END
METADATA
WMS_TITLE "Flurstuecke"
WMS_SRS "25833"
END
CONNECTIONTYPE postgis
CONNECTION "user=foo password=bar dbname=sridbastel host=10.234.5.9"
DATA "the_geom FROM flurst USING SRID=25833"
STATUS ON
TYPE POLYGON
CLASS
NAME 'Flurst2'
OUTLINECOLOR 255 0 0
END
END
-------------------------------------------- snap Layer section of the mapfile ------------------------------------------------------------------------------------
Explanation :
the first latlonBounding Box and BoundingBox are ok. (This is the bounding box of the project)
the second latlonBounding Box and BoundingBox are also ok. (the Bounding Boxes of Flurstshp, a shape File)
the third latlonBoundingBox and BoundingBox are wrong !! (the Bounding Boxes of Fluerstue, postgis data with the_geom)
has somebody the same Problems and / or sved them already
-------------------------------------------- snip capabilities ------------------------------------------------------------------------------------
- <Layer queryable="0">
<Name>BaBastelBastelbe</Name>
<Title>Bastel</Title>
<SRS>25833</SRS>
<LatLonBoundingBox minx="50.0706" miny="44.5791" maxx="54.129" maxy="47.451" /> <----------- correct data
<BoundingBox SRS="EPSG:25833" minx="3.226e+06" miny="5.689e+06" maxx="3.506e+06" maxy="5.938e+06" /> <--------- correct data
- <Layer queryable="0">
<Name>Flurstshp</Name>
<Title>Flurstuecke_shp</Title>
<Abstract>Flurstuecke aus shapefile</Abstract>
<SRS>25833</SRS>
<LatLonBoundingBox minx="51.6012" miny="45.9923" maxx="51.916" maxy="46.2068" /> <---------- correct data
<BoundingBox SRS="EPSG:25833" minx="3.32065e+06" miny="5.79884e+06" maxx="3.34272e+06" maxy="5.8168e+06" /> <---- correct Data
</Layer>
- <Layer queryable="0">
<Name>Flurstue</Name>
<Title>Flurstuecke</Title>
<SRS>25833</SRS>
<LatLonBoundingBox minx="-176.365" miny="-8.2419e+12" maxx="179.216" maxy="8.2419e+12" /> <------------ WRONG !! Must be the same as above
<BoundingBox SRS="EPSG:25833" minx="-2.5e+07" miny="-2.5e+07" maxx="2.5e+07" maxy="2.5e+07" /> <--- WRONG !! Must be the same as above
</Layer>
</Layer>
-------------------------------------------- snap capabilities ------------------------------------------------------------------------------------
Best Regards
E. Meyerheim
Mit freundlichen Grüßen
Erich Meyerheim
Berufsfeuerwehr Brandenburg
Fontanestr. 1
14770 Brandenburg an der Havel
Tel.: 03381 / 623 500
Fax: 03381 / 623 114
mail: Erich.Meyerheim at stadt-brb.brandenburg.de
__________________________________________________________
- Sapere aude - Habe Mut dich deines eigenen Verstandes zu bedienen !
Immanuel Kant ( 1724 - 1804 )
-------------- nächster Teil --------------
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: Erich Meyerheim.vcf
URL: http://www.intevation.de/pipermail/mapserver-de/attachments/20060424/ec33942f/ErichMeyerheim.vcf
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)