[GeoNode-users] Geonode SRS 3857
Allan Oware
allanoware at gmail.com
Thu Feb 18 14:26:04 PST 2016
Hi,
When i upload the ITRF 2005 data directly to geoserver, i need to declare
the SRS which is epsg: 4896. Computing the latlon bounding box fails with
"Error computing the geographic bounds:transform error"
Defining the projection in QGIS as Daniel suggests, geoserver still cant
compute the bounding box.
I'll test different definitions of the projection to see if geoserver
accepts.
On Mon, Feb 15, 2016 at 11:25 AM, David Alda Fernandez de Lezea <
dalda at hazi.eus> wrote:
> Hi,
>
> As I posted in the GeoServer's Users List there are minor differences in
> the WKT definitions of EPSG:900913 and EPSG:3857:
>
> This the WKT representation of GeoServer's ESPG:900913
>
> PROJCS["WGS84 / Google Mercator",
> GEOGCS["WGS 84",
> DATUM["World Geodetic System 1984",
> SPHEROID["WGS 84", 6378137.0, 298.257223563,
> AUTHORITY["EPSG","7030"]],
> AUTHORITY["EPSG","6326"]],
> PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
> UNIT["degree", 0.017453292519943295],
> AXIS["Longitude", EAST],
> AXIS["Latitude", NORTH],
> AUTHORITY["EPSG","4326"]],
> PROJECTION["Mercator_1SP"],
> PARAMETER["semi_minor", 6378137.0],
> PARAMETER["latitude_of_origin", 0.0],
> PARAMETER["central_meridian", 0.0],
> PARAMETER["scale_factor", 1.0],
> PARAMETER["false_easting", 0.0],
> PARAMETER["false_northing", 0.0],
> UNIT["m", 1.0],
> AXIS["x", EAST],
> AXIS["y", NORTH],
> AUTHORITY["EPSG","900913"]]
>
> And this is the one in spatial reference (
> http://spatialreference.org/ref/sr-org/6627/html/ )
>
> PROJCS["Google Mercator",
> GEOGCS["WGS 84",
> DATUM["World Geodetic System 1984",
> SPHEROID["WGS 84",6378137.0,298.257223563,
> AUTHORITY["EPSG","7030"]],
> AUTHORITY["EPSG","6326"]],
> PRIMEM["Greenwich",0.0,
> AUTHORITY["EPSG","8901"]],
> UNIT["degree",0.017453292519943295],
> AXIS["Geodetic latitude",NORTH],
> AXIS["Geodetic longitude",EAST],
> AUTHORITY["EPSG","4326"]],
> PROJECTION["Mercator_1SP"],
> PARAMETER["semi_minor",6378137.0],
> PARAMETER["latitude_of_origin",0.0],
> PARAMETER["central_meridian",0.0],
> PARAMETER["scale_factor",1.0],
> PARAMETER["false_easting",0.0],
> PARAMETER["false_northing",0.0],
> UNIT["m",1.0],
> AXIS["Easting",EAST],
> AXIS["Northing",NORTH],
> AUTHORITY["EPSG","900913"]]
>
> As you can see in the AXIS part there're two differences. I don't know if
> this is something crucial or not.
>
> I more or less managed to get it work by setting GeoNode's default SRS to
> ESPG:3857 (/usr/local/lib/python2.7/dist-packages/geonode/settings.py) and
> by setting the following layer properties in GeoServer:
>
> Native: EPSG:3857 (what I comes)
> Declared: 3857
> Forced to declared
>
>
> But it seems that there're some problems when a creating a new map from
> the layer due to this change. I'll keep on investigating.
>
> Thanks.
>
> Regards.
>
> Agur bero bat,
>
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> dalda at hazi.eus | www.hazi.eus
> T 945 003 240 – M 627 923 170 – F 945 003 290
> Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba
>
> ********************* LEGE OHARRA ******************* AVISOLEGAL
> ******************* DISCLAIMER *****************************
> Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera
> debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta
> kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
> De: Simone Dalmasso [mailto:simone.dalmasso at gmail.com]
> Enviado el: jueves, 11 de febrero de 2016 13:34
> Para: David Alda Fernandez de Lezea
> CC: geonode-users at lists.osgeo.org
> Asunto: Re: [GeoNode-users] Geonode SRS 3857
>
> Can't reach your server, anyway would be strange if geoserver treats
> 900913 requests different from 3857.
>
> @afabiani any hints?
>
> 2016-02-11 10:26 GMT+01:00 David Alda Fernandez de Lezea <dalda at hazi.eus>:
> Hi Simone,
>
> It’s strange yes… In GeoServer the layers are served in 3857 (native and
> declared) and if I preview the layer directly from GeoServer I can see
> those labels correctly but once loaded into the GeoExplorer Map the tiles
> are requested under 900913, I mean, I’ve tracking them down with fiddler
> and I can’t see anywhere a 3857 parameter.
>
> If you want to check the layer I’m using you can do it with:
>
> http://www.geo.euskadi.eus/WMS_NEKAZARITZA?
>
> LAYER=ADR_DR_TEXT
>
> Agur bero bat,
>
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> dalda at hazi.eus | www.hazi.eus
> T 945 003 240 – M 627 923 170 – F 945 003 290
> Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba
>
> ********************* LEGE OHARRA ******************* AVISOLEGAL
> ******************* DISCLAIMER *****************************
> Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera
> debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta
> kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
> De: Simone Dalmasso [mailto:simone.dalmasso at gmail.com]
> Enviado el: jueves, 11 de febrero de 2016 10:11
> Para: David Alda Fernandez de Lezea
> CC: geonode-users at lists.osgeo.org
> Asunto: Re: [GeoNode-users] Geonode SRS 3857
>
> Hi,
>
> the two srs should be exactly the same. I've loaded many 3857 layers
> without any issue or need to change the geonode code. Also, geonode
> preserves the native projection so in geoserver they are published as 3857
> and geoexplorer just directly load them.
>
> Not sure why you get deformed labels.
>
> 2016-02-10 12:54 GMT+01:00 David Alda Fernandez de Lezea <dalda at hazi.eus>:
> Hi list,
>
> I need to change the default CRS to EPSG:3857. In theory it's the same to
> EPSG:900913 but when I get a layer in a native 3857 CRS if I load the layer
> into the GeoExplorer the labels and vector contours appear slightly
> deformed.
>
> I've changed views.py and layers.py but I still get in the map
> SRS=EPSG:900913 requests..
>
> Where do I have to change the default srs?
>
> Is there a plan to move from 900913 to 3857?? 900913 seems to be obsolete
> and the official is 3857?
>
> Thanks,
> Agur bero bat,
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> dalda at hazi.eus | www.hazi.eus
> T 945 003 240 - M 627 923 170 - F 945 003 290
> Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba
>
> ********************* LEGE OHARRA ******************* AVISOLEGAL
> ******************* DISCLAIMER *****************************
> Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera
> debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta
> kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
>
> --
> Simone
>
>
>
>
> --
> Simone
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
--
Allan Oware
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160219/3e92bf8a/attachment.html>
More information about the geonode-users
mailing list