Opened 14 years ago
Closed 14 years ago
#768 closed defect (fixed)
Mapbender does not load GeoServer WMS and other WMS
Reported by: | astrid_emde | Owned by: | kmq |
---|---|---|---|
Priority: | major | Milestone: | 2.7 release |
Component: | administration | Version: | 2.7 rc1 |
Keywords: | WMS | Cc: | christoph |
Description
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
Change History (3)
comment:1 by , 14 years ago
Cc: | removed |
---|---|
Milestone: | → 2.7 release |
Owner: | changed from | to
comment:2 by , 14 years ago
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed bug in changeset:
I check the case that EPSG is and then I do not call the function transform(..). We have to check the code, whether this change was ok.
Note:
See TracTickets
for help on using tickets.
row 1964:
next step in class_point.php function transform($toEpsg)
Error occurs as no value is passed as EPSG