[Geoserver-users] Mapbender does not show Geoserver maps

Dear Geoserver-Users,

I have a software-setup as follows: PostGIS 8.2 (Win2K), Geoserver
1.5.0-RC1, Mapbender 2.4 (both Suse 9.2). I want Geoserver to export maps,
which get their data both from the PostGIS-database and shapefiles in the
geoserver repository. Mapbender should join these layers in a single map.
Geoserver displays every single layer properly in his preview but reports an
"unsupportet map projection: EPSG:31467".

If I load the wms capabilities in mapbender, I get the output stated below.
Despite I did all the steps for the map preparation, link wms to gui, create
tree gde etc. I get no map on the gui, just the scrolling-edges in the upper
left corner. The "show wms-infos"-page contains no data. I can't find out
the error in geoserver's or mapbender's configuration. Who knows help?

Thanks in advance!

Tilo Wuetherich

8<------------------------------------------------

id:
version: 1.1.1
title: Jupiter GeoServer WMS
abstract: This is a description of your Web Map Server.
maprequest: http://jupiter:8080/geoserver/wms?SERVICE=WMS&
capabilitiesrequest: http://jupiter:8080/geoserver/wms?SERVICE=WMS&
featureinforequest: http://jupiter:8080/geoserver/wms?SERVICE=WMS&
gui_wms_mapformat: image/png
gui_wms_featureinfoformat: text/html
gui_wms_exceptionformat: application/vnd.ogc.se_xml
gui_wms_epsg: EPSG:4326
wms_srs: EPSG:69036405
gui_wms_visible: 1
map -> application/pdf
map -> image/png
map -> image/jpeg
map -> application/vnd.google-earth.kmz
map -> image/svg+xml
map -> image/geotiff
map -> image/tiff
map -> image/gif
map -> application/vnd.google-earth.kml+xml
featureinfo -> text/plain
featureinfo -> text/html
featureinfo -> application/vnd.ogc.gml
exception -> application/vnd.ogc.se_xml

----------------------------------------------------------------------------
----
id: 0 parent: name: Jupiter GeoServer WMS title: Jupiter GeoServer WMS
queryable: 0 minScale: 0 maxScale: 0
dataurl:
metadataurl: EPSG:4326 7.448800382414901 47.5302332404651 10.529081355572082
49.79307546716433
layerstyle:name title legendurl legendurlformat

----------------------------------------------------------------------------
----
id: 1 parent: 0 name: meinshape:gmd25 title: gmd25_Type queryable: 1
minScale: 0 maxScale: 0
dataurl:
metadataurl: EPSG:4326 7.4488923394441064 47.530244920955745
10.529012968728045 49.79307546716433
EPSG:31467 3388368.76 5266823.17 3610188.94 5517399.53
layerstyle:name title legendurl legendurlformat
gemeinde25 A boring default style
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinshape:gmd25 image/png

----------------------------------------------------------------------------
----
id: 2 parent: 0 name: meinshape:land25 title: Jupiter Shapes: land25
queryable: 1 minScale: 0 maxScale: 0
dataurl:
metadataurl: EPSG:4326 7.4488923394441064 47.530244920955745
10.529012968728045 49.79307546716433
EPSG:31467 3388368.76 5266823.17 3610188.94 5517399.53
layerstyle:name title legendurl legendurlformat
land25 Land25
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinshape:land25 image/png
land25 Land25
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinshape:land25 image/png

----------------------------------------------------------------------------
----
id: 3 parent: 0 name: meinpostgis:teilorte title: Teilorte BaWü queryable:
1 minScale: 0 maxScale: 0
dataurl:
metadataurl: EPSG:4326 7.461544534562737 47.54786612341508
10.469722991016729 49.78464607162338
EPSG:31467 3389261.0 5268766.0 3605936.0 5516459.0
layerstyle:name title legendurl legendurlformat
teilortpunkt A boring default style
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinpostgis:teilorte image/png

----------------------------------------------------------------------------
----
id: 4 parent: 0 name: meinshape:gmk200 title: gmk200_Type queryable: 1
minScale: 0 maxScale: 0
dataurl:
metadataurl: EPSG:4326 7.448800382414901 47.5302332404651 10.529081355572082
49.79301676245308
EPSG:31467 3388362.0 5266822.0 3610194.0 5517393.0
layerstyle:name title legendurl legendurlformat
gmk200 A boring default style
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinshape:gmk200 image/png

----------------------------------------------------------------------------
----
id: 5 parent: 0 name: meinshape:krei25 title: krei25_Type queryable: 1
minScale: 0 maxScale: 0
dataurl:
metadataurl: EPSG:4326 7.4488923394441064 47.530244920955745
10.529012968728045 49.79307546716433
EPSG:31467 3388368.76 5266823.17 3610188.94 5517399.53
layerstyle:name title legendurl legendurlformat
kreis25 A boring default style
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinshape:krei25 image/png
kreis25 A boring default style
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinshape:krei25 image/png

----------------------------------------------------------------------------
----
id: 6 parent: 0 name: meinpostgis:gemeinden title: Gemeinden BaWü
queryable: 1 minScale: 0 maxScale: 0
dataurl:
metadataurl: EPSG:4326 7.480252071115384 47.55347625536471
10.463420363510894 49.77398736587067
EPSG:31467 3390585.0 5269365.0 3605505.0 5515274.0
layerstyle:name title legendurl legendurlformat
gemeindepunkt A boring default style
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinpostgis:gemeinden image/png
MeinPunkt A boring default style
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinpostgis:gemeinden image/png

Hi Tilo,

Is GeoServer displaying your layer that is in the 31467 projection in the map preview page?
If that projection is not supported by geoserver, then you can follow the steps in this link to add a new projection:
http://docs.codehaus.org/display/GEOSDOC/Custom+projection+definition+in+Geoserver+1.5.0+(onwards)

GeoServer supports a lot of projections, but not all. So we provide a means to supply the ones it doesn't have.

If you need any help feel free to ask us on the list.

Brent Owens
(The Open Planning Project)

Tilo Wütherich wrote:

Dear Geoserver-Users,

I have a software-setup as follows: PostGIS 8.2 (Win2K), Geoserver
1.5.0-RC1, Mapbender 2.4 (both Suse 9.2). I want Geoserver to export maps,
which get their data both from the PostGIS-database and shapefiles in the
geoserver repository. Mapbender should join these layers in a single map.
Geoserver displays every single layer properly in his preview but reports an
"unsupportet map projection: EPSG:31467".

If I load the wms capabilities in mapbender, I get the output stated below.
Despite I did all the steps for the map preparation, link wms to gui, create
tree gde etc. I get no map on the gui, just the scrolling-edges in the upper
left corner. The "show wms-infos"-page contains no data. I can't find out
the error in geoserver's or mapbender's configuration. Who knows help?

Thanks in advance!

Tilo Wuetherich

8<------------------------------------------------

id:
version: 1.1.1
title: Jupiter GeoServer WMS
abstract: This is a description of your Web Map Server.
maprequest: http://jupiter:8080/geoserver/wms?SERVICE=WMS&
capabilitiesrequest: http://jupiter:8080/geoserver/wms?SERVICE=WMS&
featureinforequest: http://jupiter:8080/geoserver/wms?SERVICE=WMS&
gui_wms_mapformat: image/png
gui_wms_featureinfoformat: text/html
gui_wms_exceptionformat: application/vnd.ogc.se_xml
gui_wms_epsg: EPSG:4326
wms_srs: EPSG:69036405
gui_wms_visible: 1
map -> application/pdf
map -> image/png
map -> image/jpeg
map -> application/vnd.google-earth.kmz
map -> image/svg+xml
map -> image/geotiff
map -> image/tiff
map -> image/gif
map -> application/vnd.google-earth.kml+xml
featureinfo -> text/plain
featureinfo -> text/html
featureinfo -> application/vnd.ogc.gml
exception -> application/vnd.ogc.se_xml

----------------------------------------------------------------------------
----
id: 0 parent: name: Jupiter GeoServer WMS title: Jupiter GeoServer WMS
queryable: 0 minScale: 0 maxScale: 0
dataurl:
metadataurl: EPSG:4326 7.448800382414901 47.5302332404651 10.529081355572082
49.79307546716433
layerstyle:name title legendurl legendurlformat

----------------------------------------------------------------------------
----
id: 1 parent: 0 name: meinshape:gmd25 title: gmd25_Type queryable: 1
minScale: 0 maxScale: 0
dataurl:
metadataurl: EPSG:4326 7.4488923394441064 47.530244920955745
10.529012968728045 49.79307546716433
EPSG:31467 3388368.76 5266823.17 3610188.94 5517399.53
layerstyle:name title legendurl legendurlformat
gemeinde25 A boring default style
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinshape:gmd25 image/png

----------------------------------------------------------------------------
----
id: 2 parent: 0 name: meinshape:land25 title: Jupiter Shapes: land25
queryable: 1 minScale: 0 maxScale: 0
dataurl:
metadataurl: EPSG:4326 7.4488923394441064 47.530244920955745
10.529012968728045 49.79307546716433
EPSG:31467 3388368.76 5266823.17 3610188.94 5517399.53
layerstyle:name title legendurl legendurlformat
land25 Land25
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinshape:land25 image/png
land25 Land25
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinshape:land25 image/png

----------------------------------------------------------------------------
----
id: 3 parent: 0 name: meinpostgis:teilorte title: Teilorte BaWü queryable:
1 minScale: 0 maxScale: 0
dataurl:
metadataurl: EPSG:4326 7.461544534562737 47.54786612341508
10.469722991016729 49.78464607162338
EPSG:31467 3389261.0 5268766.0 3605936.0 5516459.0
layerstyle:name title legendurl legendurlformat
teilortpunkt A boring default style
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinpostgis:teilorte image/png

----------------------------------------------------------------------------
----
id: 4 parent: 0 name: meinshape:gmk200 title: gmk200_Type queryable: 1
minScale: 0 maxScale: 0
dataurl:
metadataurl: EPSG:4326 7.448800382414901 47.5302332404651 10.529081355572082
49.79301676245308
EPSG:31467 3388362.0 5266822.0 3610194.0 5517393.0
layerstyle:name title legendurl legendurlformat
gmk200 A boring default style
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinshape:gmk200 image/png

----------------------------------------------------------------------------
----
id: 5 parent: 0 name: meinshape:krei25 title: krei25_Type queryable: 1
minScale: 0 maxScale: 0
dataurl:
metadataurl: EPSG:4326 7.4488923394441064 47.530244920955745
10.529012968728045 49.79307546716433
EPSG:31467 3388368.76 5266823.17 3610188.94 5517399.53
layerstyle:name title legendurl legendurlformat
kreis25 A boring default style
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinshape:krei25 image/png
kreis25 A boring default style
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinshape:krei25 image/png

----------------------------------------------------------------------------
----
id: 6 parent: 0 name: meinpostgis:gemeinden title: Gemeinden BaWü
queryable: 1 minScale: 0 maxScale: 0
dataurl:
metadataurl: EPSG:4326 7.480252071115384 47.55347625536471
10.463420363510894 49.77398736587067
EPSG:31467 3390585.0 5269365.0 3605505.0 5515274.0
layerstyle:name title legendurl legendurlformat
gemeindepunkt A boring default style
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinpostgis:gemeinden image/png
MeinPunkt A boring default style
http://jupiter:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=imag
e/png&WIDTH=20&HEIGHT=20&LAYER=meinpostgis:gemeinden image/png

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Tilo Wütherich ha scritto:

Dear Geoserver-Users,

I have a software-setup as follows: PostGIS 8.2 (Win2K), Geoserver
1.5.0-RC1, Mapbender 2.4 (both Suse 9.2). I want Geoserver to export maps,
which get their data both from the PostGIS-database and shapefiles in the
geoserver repository. Mapbender should join these layers in a single map.
Geoserver displays every single layer properly in his preview but reports an
"unsupportet map projection: EPSG:31467".

This message is coming from MapBuilder, it just won't be able to show you lat/lon coordinates in the upper left box.

About MapBender, I don't know, you may want to ask on the MapBender
mailing lists.

Cheers
Andrea

Hi Brent,

Is GeoServer displaying your layer that is in the 31467 projection in
the map preview page?

yes, the layer is displayed properly, despite the browser shows the alert. I
suppose there is a misconfiguration between geoserver and mapbender, because
mapbender shows in the capabilities-file the appropriate legend-url's, but
does not show any element of the legend in the gui.

I don't know how to proceed with troubleshooting, probably the
capabilities-file of a working goeserver-mapbender installation could give
me some hints or a look in the configuration of an geoserver.

With best regards, Tilo

Hi Tilo,
If geoserver is spitting out an error on the map preview page with regards to the projection, that is a bug that only affects the preview page of geoserver (we have a fix for it in the next release coming out).

Is geoserver spitting out any errors in the logs when you try and point mapbender at it?
If there are no errors, some of the possibilities could be incorrect SRS value for the layers, a style that is not rendering anything, or an incorrect bounding box (I'm sure there are other possibilities too).

Brent Owens
(The Open Planning Project)

Tilo Wütherich wrote:

Hi Brent,

Is GeoServer displaying your layer that is in the 31467 projection in
the map preview page?
    
yes, the layer is displayed properly, despite the browser shows the alert. I
suppose there is a misconfiguration between geoserver and mapbender, because
mapbender shows in the capabilities-file the appropriate legend-url's, but
does not show any element of the legend in the gui.

I don't know how to proceed with troubleshooting, probably the
capabilities-file of a working goeserver-mapbender installation could give
me some hints or a look in the configuration of an geoserver.

With best regards, Tilo

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Brent,

thank you for your hints:

Is geoserver spitting out any errors in the logs when you try and point
mapbender at it?

When I reload the capabilities geoserver makes a log-entry (no errors,
http-status 200 ok), but not when I open the gui.

If there are no errors, some of the possibilities could be incorrect SRS
value for the layers, a style that is not rendering anything, or an
incorrect bounding box (I'm sure there are other possibilities too).

I configured SRS 31467 in the geoserver "FeatureType Editor", but mapbender
shows me in the "WMS GUI Settings" a long pulldown-menue with alternating
EPSG 4326 and 31467 entries. But neither of the selections helps.

The capabilities-link to the legend-items is correct, so I suppose my styles
should work, the maps are also shown in the geoserver-preview. Probably it
could be the incorrect bounding box. How can I proof this? In the
feature-type editor i have the button for calculating the bb, but despite I
use the srs 31467, the edges of the bb are shown in degrees - the srs 31467
is Gauss-Krueger with it's kilometre-measure. When I click in the gui to
redraw the non-existing map, i get the javascript error-message shown below.
Probably there is no data about the bounding-box?

With best regards, Tilo

8<--------------------------
error: mb_mapObj[ind] has no properties
source:
http://jupiter/mapbender2.4/http/javascripts/map.php?gui_id=Geo%20PostGIS&&m
b_myBBOX=
line: 1936

I haven't used MapBender, so I can't guess at what it might be doing with great accuracy.

In the feature type editor, the bounding box always shows at lat/lon, so don't be worried by it.
Can mapbender render any of the sample datasets that GeoServer comes with? Or is it just not rendering anything for any dataset?

Brent Owens
(The Open Planning Project)

Tilo Wütherich wrote:

Hi Brent,

thank you for your hints:

Is geoserver spitting out any errors in the logs when you try and point
mapbender at it?
    
When I reload the capabilities geoserver makes a log-entry (no errors,
http-status 200 ok), but not when I open the gui.

If there are no errors, some of the possibilities could be incorrect SRS
value for the layers, a style that is not rendering anything, or an
incorrect bounding box (I'm sure there are other possibilities too).
    
I configured SRS 31467 in the geoserver "FeatureType Editor", but mapbender
shows me in the "WMS GUI Settings" a long pulldown-menue with alternating
EPSG 4326 and 31467 entries. But neither of the selections helps.

The capabilities-link to the legend-items is correct, so I suppose my styles
should work, the maps are also shown in the geoserver-preview. Probably it
could be the incorrect bounding box. How can I proof this? In the
feature-type editor i have the button for calculating the bb, but despite I
use the srs 31467, the edges of the bb are shown in degrees - the srs 31467
is Gauss-Krueger with it's kilometre-measure. When I click in the gui to
redraw the non-existing map, i get the javascript error-message shown below.
Probably there is no data about the bounding-box?

With best regards, Tilo

8<--------------------------
error: mb_mapObj[ind] has no properties
source:
http://jupiter/mapbender2.4/http/javascripts/map.php?gui_id=Geo%20PostGIS&&m
b_myBBOX=
line: 1936

Hi Brent,

Can mapbender render any of the sample datasets that GeoServer comes
with? Or is it just not rendering anything for any dataset?

as far as I can see it is not rendering anything for any dataset :frowning:

I am wondering why mapbender loads the capabilities-document but does not
show it in the gui (there is a button "show wms infos").

Besides this I probably have to reinstall mapbender or my mysql-db. I can't
update the capabilities of any external server, like "Germany" from ccgis
because mapbender complains about an sql-error...

Thank you for your help!

Tilo