Hi,
I don’t know if it’s the correct e-mail to ask for question.
I’m trying to display a layer in WGS84 with the following bounding boxes -180,-90,180,90. But when i zoom out on maxextent in OpenLayers, my layer is displayed three times like if world is multiplied three times.
If we take GeoServer 2.5.1’s default layer topp:states, change bounding boxes (Native Bounding Box and Lat/Lon Bounding Box) in Data tab to -180.-90.180.90, and preview it on OpenLayers. Zoom out to maxextent, you’ll see that USA states appears three times.
I’ve taken source code of the html page, tried to set displayOutsideMaxExtent attribute of the WMS layer to false. Nothing better. I also verified map’s maxextent corresponds to -180,-90,180,90. The option may be to block pan to the extent, but i don’t want to use it.
However, it seems to work fine with a layer from a MapServer server.
I search for daysand days, don’t know how to solve this…
Thank you in advance for any help.
Sandra
Hi Sandra,
Are you loading the data from a WMS or a WFS?
This question may be better suited to the OpenLayers user list though - it may be an issue with your OL config (though I understand why you think it may be GeoServer given it works in MapServer).
Cheers,
Jonathan
This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
···
On 24 June 2014 22:14, Brochant Cassandra <cassandra.brochant@anonymised.com> wrote:
Hi,
I don’t know if it’s the correct e-mail to ask for question.
I’m trying to display a layer in WGS84 with the following bounding boxes -180,-90,180,90. But when i zoom out on maxextent in OpenLayers, my layer is displayed three times like if world is multiplied three times.
If we take GeoServer 2.5.1’s default layer topp:states, change bounding boxes (Native Bounding Box and Lat/Lon Bounding Box) in Data tab to -180.-90.180.90, and preview it on OpenLayers. Zoom out to maxextent, you’ll see that USA states appears three times.
I’ve taken source code of the html page, tried to set displayOutsideMaxExtent attribute of the WMS layer to false. Nothing better. I also verified map’s maxextent corresponds to -180,-90,180,90. The option may be to block pan to the extent, but i don’t want to use it.
However, it seems to work fine with a layer from a MapServer server.
I search for daysand days, don’t know how to solve this…
Thank you in advance for any help.
Sandra
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Hi,
sorry for delay, yes i was typing this WMS request :
http://localhost:8080/geoserver/topp/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp:states&styles=&bbox=-180.0,-90.0,180.0,90.0&width=701&height=330&srs=EPSG:4326&format=application/
The topp:states layer is viewing on Openlayers.
Thank you.
···
2014-06-25 18:12 GMT+02:00 Jonathan Moules <jonathanmoules@anonymised.com>:
Hi Sandra,
Are you loading the data from a WMS or a WFS?
This question may be better suited to the OpenLayers user list though - it may be an issue with your OL config (though I understand why you think it may be GeoServer given it works in MapServer).
Cheers,
Jonathan
This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
On 24 June 2014 22:14, Brochant Cassandra <cassandra.brochant@anonymised.com> wrote:
Hi,
I don’t know if it’s the correct e-mail to ask for question.
I’m trying to display a layer in WGS84 with the following bounding boxes -180,-90,180,90. But when i zoom out on maxextent in OpenLayers, my layer is displayed three times like if world is multiplied three times.
If we take GeoServer 2.5.1’s default layer topp:states, change bounding boxes (Native Bounding Box and Lat/Lon Bounding Box) in Data tab to -180.-90.180.90, and preview it on OpenLayers. Zoom out to maxextent, you’ll see that USA states appears three times.
I’ve taken source code of the html page, tried to set displayOutsideMaxExtent attribute of the WMS layer to false. Nothing better. I also verified map’s maxextent corresponds to -180,-90,180,90. The option may be to block pan to the extent, but i don’t want to use it.
However, it seems to work fine with a layer from a MapServer server.
I search for daysand days, don’t know how to solve this…
Thank you in advance for any help.
Sandra
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
sorry again …
this request : http://localhost:8080/geoserver/topp/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp:states&styles=&bbox=-180.0,-90.0,180.0,90.0&width=701&height=330&srs=EPSG:4326&format=application/openlayers/
···
2014-06-30 21:27 GMT+02:00 Brochant Cassandra <cassandra.brochant@anonymised.com…>:
Hi,
sorry for delay, yes i was typing this WMS request :
http://localhost:8080/geoserver/topp/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp:states&styles=&bbox=-180.0,-90.0,180.0,90.0&width=701&height=330&srs=EPSG:4326&format=application/
The topp:states layer is viewing on Openlayers.
Thank you.
2014-06-25 18:12 GMT+02:00 Jonathan Moules <jonathanmoules@anonymised.com>:
Hi Sandra,
Are you loading the data from a WMS or a WFS?
This question may be better suited to the OpenLayers user list though - it may be an issue with your OL config (though I understand why you think it may be GeoServer given it works in MapServer).
Cheers,
Jonathan
This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
On 24 June 2014 22:14, Brochant Cassandra <cassandra.brochant@anonymised.com> wrote:
Hi,
I don’t know if it’s the correct e-mail to ask for question.
I’m trying to display a layer in WGS84 with the following bounding boxes -180,-90,180,90. But when i zoom out on maxextent in OpenLayers, my layer is displayed three times like if world is multiplied three times.
If we take GeoServer 2.5.1’s default layer topp:states, change bounding boxes (Native Bounding Box and Lat/Lon Bounding Box) in Data tab to -180.-90.180.90, and preview it on OpenLayers. Zoom out to maxextent, you’ll see that USA states appears three times.
I’ve taken source code of the html page, tried to set displayOutsideMaxExtent attribute of the WMS layer to false. Nothing better. I also verified map’s maxextent corresponds to -180,-90,180,90. The option may be to block pan to the extent, but i don’t want to use it.
However, it seems to work fine with a layer from a MapServer server.
I search for daysand days, don’t know how to solve this…
Thank you in advance for any help.
Sandra
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users