[Geoserver-users] export kmz to use in google maps

I'm using geoserver 2.7.2 and I'm trying export a raster layer to kmz to use
in google maps, but the longitude is flipped and not show correctly

<LatLonBox>
     <north>5.27215562971562</north>
     <south>-33.7515827465927</south>
     <east>-73.990943646787</east>
     <west>-32.3921901638168</west>
     <rotation>0.0</rotation>
</LatLonBox>

Anyone know how to solve this?

Cheers
Cintia

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/export-kmz-to-use-in-google-maps-tp5245870.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi Cinthia,

default axis ordering depends on the WFS version, as explained here:
http://docs.geoserver.org/latest/en/user/services/wfs/basics.html#axis-ordering

Long story short, if you want long/lat order, use WFS 1.0.0, if you want lat/long order use WFS 1.1.0 or 2.0.0.

Hope this helps.

···

On Mon, Jan 18, 2016 at 1:32 PM, cintiafreitas <cintia.cpfreitas@anonymised.com> wrote:

I’m using geoserver 2.7.2 and I’m trying export a raster layer to kmz to use
in google maps, but the longitude is flipped and not show correctly

5.27215562971562 -33.7515827465927 -73.990943646787 -32.3921901638168 0.0

Anyone know how to solve this?

Cheers
Cintia


View this message in context: http://osgeo-org.1560.x6.nabble.com/export-kmz-to-use-in-google-maps-tp5245870.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140


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

Best regards,
Stefano Costa

==
GeoServer Professional Services from the experts! Visit
[http://goo.gl/it488V](http://goo.gl/it488V) for more information.
==
Dott. Stefano Costa
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272

[http://www.geo-solutions.it](http://www.geo-solutions.it)
[http://twitter.com/geosolutions_it](http://twitter.com/geosolutions_it)

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate.
Il loro utilizzo è consentito esclusivamente al destinatario del
messaggio, per le finalità indicate nel messaggio stesso. Qualora
riceviate questo messaggio senza esserne il destinatario, Vi preghiamo
cortesemente di darcene notizia via e-mail e di procedere alla
distruzione del messaggio stesso, cancellandolo dal Vostro sistema.
Conservare il messaggio stesso, divulgarlo anche in parte,
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità
diverse, costituisce comportamento contrario ai principi dettati dal
D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely
for the attention and use of the named addressee(s) and may be
confidential or proprietary in nature or covered by the provisions of
privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New
Data Protection Code).Any use not in accord with its purpose, any
disclosure, reproduction, copying, distribution, or either
dissemination, either whole or partial, is strictly forbidden except
previous formal approval of the named addressee(s). If you are not the
intended recipient, please contact immediately the sender by
telephone, fax or e-mail and delete the information in this message
that has been received in error. The sender does not give any warranty
or accept liability as the content, accuracy or completeness of sent
messages and accepts no responsibility  for changes made after they
were sent or for other risks which arise as a result of e-mail
transmission, viruses, etc.

Whoops, I replied too fast… I just realized you’re talking about KMZ, so it’s actually WMS:
http://docs.geoserver.org/latest/en/user/services/wms/basics.html#differences-between-wms-versions
http://docs.geoserver.org/latest/en/user/services/wms/basics.html#axis-ordering

Try WMS 1.1.0 if you want long/lat order, WMS 1.3.0 if you want lat/long order.

···

On Mon, Jan 18, 2016 at 2:59 PM, Stefano Costa <stefano.costa@anonymised.com> wrote:

Hi Cinthia,

default axis ordering depends on the WFS version, as explained here:
http://docs.geoserver.org/latest/en/user/services/wfs/basics.html#axis-ordering

Long story short, if you want long/lat order, use WFS 1.0.0, if you want lat/long order use WFS 1.1.0 or 2.0.0.

Hope this helps.

On Mon, Jan 18, 2016 at 1:32 PM, cintiafreitas <cintia.cpfreitas@anonymised.com> wrote:

I’m using geoserver 2.7.2 and I’m trying export a raster layer to kmz to use
in google maps, but the longitude is flipped and not show correctly

5.27215562971562 -33.7515827465927 -73.990943646787 -32.3921901638168 0.0

Anyone know how to solve this?

Cheers
Cintia


View this message in context: http://osgeo-org.1560.x6.nabble.com/export-kmz-to-use-in-google-maps-tp5245870.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140


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

Best regards,
Stefano Costa

==
GeoServer Professional Services from the experts! Visit
[http://goo.gl/it488V](http://goo.gl/it488V) for more information.
==
Dott. Stefano Costa
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272

[http://www.geo-solutions.it](http://www.geo-solutions.it)
[http://twitter.com/geosolutions_it](http://twitter.com/geosolutions_it)

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate.
Il loro utilizzo è consentito esclusivamente al destinatario del
messaggio, per le finalità indicate nel messaggio stesso. Qualora
riceviate questo messaggio senza esserne il destinatario, Vi preghiamo
cortesemente di darcene notizia via e-mail e di procedere alla
distruzione del messaggio stesso, cancellandolo dal Vostro sistema.
Conservare il messaggio stesso, divulgarlo anche in parte,
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità
diverse, costituisce comportamento contrario ai principi dettati dal
D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely
for the attention and use of the named addressee(s) and may be
confidential or proprietary in nature or covered by the provisions of
privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New
Data Protection Code).Any use not in accord with its purpose, any
disclosure, reproduction, copying, distribution, or either
dissemination, either whole or partial, is strictly forbidden except
previous formal approval of the named addressee(s). If you are not the
intended recipient, please contact immediately the sender by
telephone, fax or e-mail and delete the information in this message
that has been received in error. The sender does not give any warranty
or accept liability as the content, accuracy or completeness of sent
messages and accepts no responsibility  for changes made after they
were sent or for other risks which arise as a result of e-mail
transmission, viruses, etc.

Best regards,
Stefano Costa

==
GeoServer Professional Services from the experts! Visit
[http://goo.gl/it488V](http://goo.gl/it488V) for more information.
==
Dott. Stefano Costa
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272

[http://www.geo-solutions.it](http://www.geo-solutions.it)
[http://twitter.com/geosolutions_it](http://twitter.com/geosolutions_it)

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate.
Il loro utilizzo è consentito esclusivamente al destinatario del
messaggio, per le finalità indicate nel messaggio stesso. Qualora
riceviate questo messaggio senza esserne il destinatario, Vi preghiamo
cortesemente di darcene notizia via e-mail e di procedere alla
distruzione del messaggio stesso, cancellandolo dal Vostro sistema.
Conservare il messaggio stesso, divulgarlo anche in parte,
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità
diverse, costituisce comportamento contrario ai principi dettati dal
D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely
for the attention and use of the named addressee(s) and may be
confidential or proprietary in nature or covered by the provisions of
privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New
Data Protection Code).Any use not in accord with its purpose, any
disclosure, reproduction, copying, distribution, or either
dissemination, either whole or partial, is strictly forbidden except
previous formal approval of the named addressee(s). If you are not the
intended recipient, please contact immediately the sender by
telephone, fax or e-mail and delete the information in this message
that has been received in error. The sender does not give any warranty
or accept liability as the content, accuracy or completeness of sent
messages and accepts no responsibility  for changes made after they
were sent or for other risks which arise as a result of e-mail
transmission, viruses, etc.

Stefano, thanks for your help. I'm using WMS 1.1.0, the latitude is ok, but
the longitude is reverse. My bbox is

bbox=-73.990943646787,-33.7515827465927,-32.3921901638168,5.27215562971562

My problem is exactly this:

http://gis.stackexchange.com/questions/173102/longitudes-look-flipped-when-displaying-geoserver-kml-on-google-maps

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/export-kmz-to-use-in-google-maps-tp5245870p5245896.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

For WMS 1.3.0 I think you will need to specify CRS:84 and not EPSG:4326

-----Original Message-----
From: cintiafreitas [mailto:cintia.cpfreitas@anonymised.com]
Sent: Monday, January 18, 2016 2:15 PM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] export kmz to use in google maps

Stefano, thanks for your help. I'm using WMS 1.1.0, the latitude is ok, but the
longitude is reverse. My bbox is

bbox=-73.990943646787,-33.7515827465927,-
32.3921901638168,5.27215562971562

My problem is exactly this:

http://gis.stackexchange.com/questions/173102/longitudes-look-flipped-
when-displaying-geoserver-kml-on-google-maps

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/export-
kmz-to-use-in-google-maps-tp5245870p5245896.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance APM
+ Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor
end-to-end web transactions and take corrective actions now Troubleshoot
faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

________________________________
This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system.
________________________________

I put CRS, but didn't work yet.
The value to north and south is ok, but west and east is reverse.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/export-kmz-to-use-in-google-maps-tp5245870p5245906.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

This problem can be a bug or did I do something wrong?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/export-kmz-to-use-in-google-maps-tp5245870p5246082.html
Sent from the GeoServer - User mailing list archive at Nabble.com.