WMS overlays don't appear in openlayers module preset

Events happening in the community are now at Drupal community events on www.drupal.org.
henrys708's picture

I need to overlay WMS layers over a google maps base layer. The layers are being served by geoserver (WMS version 1.1.1). I've tried a variety of settings on the geoserver side and in the layers section of the openlayers module.

When I add the WMS layer as an overlay to a preset, the preview for the preset is blank although there are no error messages for that preset. If I uncheck the WMS overlays in the switcher, then the base layers appears. I've tried different resolutions on both the geoserver side and in the layer settings int he module. I've also tried different resolutions for the map and for the display. I also tried adding reflect? at the end of the server url (/geoserver/wms/reflect?), but there didn't seem to be a difference.

Any help would be greatly appreciated.

Thanks

Update:
A little more digging and I see now that the problem is in geoserver, or more specifically the postgis table for the layers. These layers do not have native SRS settings, they are missing from the postgis table and so that field is blank in geoserver. I found a recommended solution and will give it a shot.

Just wanted to update the post for others that may experience the same issue.

Thanks

Comments

Can you tell me about the

kapayne's picture

Can you tell me about the recommended solution you found? Having the same issue...thanks!

Location and Mapping

Group organizers

Group categories

Wiki type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: