[Mapbender_dev] [Mapbender] #768: Mapbender does not load GeoServer WMS and other WMS

Mapbender mapbender_dev at lists.osgeo.org
Sat Jan 29 13:48:34 EST 2011


#768: Mapbender does not load GeoServer WMS and other WMS
----------------------------+-----------------------------------------------
 Reporter:  astrid_emde     |       Owner:  dev    
     Type:  defect          |      Status:  new    
 Priority:  major           |   Milestone:         
Component:  administration  |     Version:  2.7 rc1
 Keywords:  WMS             |  
----------------------------+-----------------------------------------------
 First error due to missing EPSG information in the next row see XXXX -
 here should be the EPSG Code from the BBOX which is missing in the
 GeoServer getCapabilities document:
  * transform(GeometryFromText('POINT(-180 -90)',4326),XXXX)

 Problem
  * For the root layer Geoserver only gives back one row with the
 LatLonBoundingBox the row with BoundingBox and the EPSG Code information
 is missing. Mapbender expects two rows and tries to transform with no
 EPSG-Code information
 {{{
 <LatLonBoundingBox minx="-180.0" miny="-90.0" maxx="180.0" maxy="90.0"/>
 }}}

 Mapbender expects something like this:
 {{{
         <LatLonBoundingBox minx="-180.0" miny="-90.0" maxx="180.0"
 maxy="90.0"/>
         <BoundingBox SRS="EPSG:4326" minx="-180.0" miny="-90.0"
 maxx="180.0" maxy="90.0"/>
 }}}

 == Error PostgreSQL ==

 {{{
 2011-01-28 21:40:47 CET ANWEISUNG: SELECT
 X(transform(GeometryFromText('POINT(-180 -90)',4326),)) as x,
 Y(transform(GeometryFromText('POINT(-180 -90)',4326),)) as y,
 Z(transform(GeometryFromText('POINT(-180 -90 )',4326),)) as z
 2011-01-28 21:40:47 CET FEHLER: Syntaxfehler bei »)« bei Zeichen 59
 2011-01-28 21:40:47 CET ANWEISUNG: SELECT
 X(transform(GeometryFromText('POINT(180 90)',4326),)) as x,
 Y(transform(GeometryFromText('POINT(180 90)',4326),)) as y,
 Z(transform(GeometryFromText('POINT(180 90 )',4326),)) as z
 }}}

 {{{
 2011-01-28 21:40:47 CET FEHLER: Einfügen oder Aktualisieren in Tabelle
 »layer_keyword« verletzt Fremdschlüssel-Constraint
 »fkey_layer_id_fkey_keyword_id« 2011-01-28 21:40:47 CET DETAIL: Schlüssel
 (fkey_layer_id)=(21330) ist nicht in Tabelle »layer« vorhanden. 2011-01-28
 21:40:47 CET ANWEISUNG: INSERT INTO layer_keyword
 (fkey_keyword_id,fkey_layer_id)VALUES ($1,$2)
 }}}


 == Try with  ==
 GeoServer WMS

-- 
Ticket URL: <http://trac.osgeo.org/mapbender/ticket/768>
Mapbender <http://www.mapbender.org/>
Mapbender


More information about the Mapbender_dev mailing list