[Geoserver-users] Goolge Earth:: WIDTH and HEIGHT incorrectly specified

Hello list,

I have an shapefile in SRS 4326 which is presented fine in the mapbuilder preview.

When I am trying to see this layer through Google Earth I get the following Error:


http://localhost:8080/geoserver/wms?service=WMS&request=GetMap&format=application/layer_0.png
Error: WIDTH and HEIGHT incorrectly specified

I am using GeoServer 1.5.0-RC

Can anyone knows what is going wrong ?

thx
gpio


×ñçóéìïðïéåßôå Yahoo!
ÂáñåèÞêáôå ôá åíï÷ëçôéêÜ ìçíý ìáôá (spam); Ôï Yahoo! Mail äéáèÝôåé ôçí êáëýôåñç äõíáôÞ ðñïóôáóßá êáôÜ ôùí åíï÷ëçôéêþí ìçíõìÜôùí
http://login.yahoo.com/config/mail?.intl=gr

not sure if your problem may be solved by this but you need to specify
the width and height in the URL itself - and the bounding box too -
add this to the url too:

&width=1024&height=1024

you also need to specify the layer, style, srs and (depending on your
app) other variables

e.g. I have a shapefile loaded into postgis in topps:hospitals layer
with and bounding box values and style retrieved from the
config->data->featuretypes page and i need to give the following url
for it to give me a kml file:

http://localhost:8080/geoserver/wms?request=GetMap&layers=topp:hospitals&styles=poi&srs=EPSG:4238&width=1024&height=1024&format=application/vnd.google-earth.kml+XML&bbox=-96.94338186601934,43.49572480044824,-90.26927331127673,48.872180713157135&nbsp

On 3/12/07, gpio Oxxce <gp_io_07@...936...> wrote:

Hello list,

I have an shapefile in SRS 4326 which is presented fine in the mapbuilder
preview.

When I am trying to see this layer through Google Earth I get the following
Error:

-------------------
http://localhost:8080/geoserver/wms?service=WMS&request=GetMap&format=application/layer_0.png
Error: WIDTH and HEIGHT incorrectly specified
-------------

I am using GeoServer 1.5.0-RC

Can anyone knows what is going wrong ?

thx
gpio

________________________________
Χρησιμοποιείτε Yahoo!
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την
καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
http://login.yahoo.com/config/mail?.intl=gr

-------------------------------------------------------------------------
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

Hello gpio,

I had the same problem with geoserver 1.5

Geoserver 1.4.0 does however not have this problem.

With regards,

Wim Blanken

  _____

Van: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] Namens gpio Oxxce
Verzonden: maandag 12 maart 2007 15:34
Aan: geoserver-users@lists.sourceforge.net
Onderwerp: [Geoserver-users] Goolge Earth:: WIDTH and HEIGHT
incorrectlyspecified

Hello list,

I have an shapefile in SRS 4326 which is presented fine in the mapbuilder
preview.

When I am trying to see this layer through Google Earth I get the following
Error:

-------------------
http://localhost:8080/geoserver/wms?service=WMS&request=GetMap&format=applic
ation/layer_0.png
Error: WIDTH and HEIGHT incorrectly specified
-------------

I am using GeoServer 1.5.0-RC

Can anyone knows what is going wrong ?

thx
gpio

  _____

Χρησιμοποιείτε Yahoo!
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την
καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
http://login.yahoo.com/config/mail?.intl=gr

Which RC are you guys working with? For RC2 we had a few google earth fixes.

Wim Blanken wrote:

Hello gpio,

I had the same problem with geoserver 1.5

Geoserver 1.4.0 does however not have this problem.

With regards,

Wim Blanken

------------------------------------------------------------------------

*Van:* geoserver-users-bounces@lists.sourceforge.net [mailto:geoserver-users-bounces@lists.sourceforge.net] *Namens *gpio Oxxce
*Verzonden:* maandag 12 maart 2007 15:34
*Aan:* geoserver-users@lists.sourceforge.net
*Onderwerp:* [Geoserver-users] Goolge Earth:: WIDTH and HEIGHT incorrectlyspecified

Hello list,

I have an shapefile in SRS 4326 which is presented fine in the mapbuilder preview.

When I am trying to see this layer through Google Earth I get the following Error:

-------------------
http://localhost:8080/geoserver/wms?service=WMS&request=GetMap&format=application/layer_0.png
Error: WIDTH and HEIGHT incorrectly specified
-------------

I am using GeoServer 1.5.0-RC

Can anyone knows what is going wrong ?

thx
gpio

------------------------------------------------------------------------

×ñçóéìïðïéåßôå Yahoo!
ÂáñåèÞêáôå ôá åíï÷ëçôéêÜ ìçíý ìáôá (spam); Ôï Yahoo! Mail äéáèÝôåé ôçí êáëýôåñç äõíáôÞ ðñïóôáóßá êáôÜ ôùí åíï÷ëçôéêþí ìçíõìÜôùí
http://login.yahoo.com/config/mail?.intl=gr

!DSPAM:1003,45f59d63188441336712104!

------------------------------------------------------------------------

-------------------------------------------------------------------------
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

!DSPAM:1003,45f59d63188441336712104!

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:1003,45f59d63188441336712104!

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org