···
On Thu, Apr 19, 2018 at 9:45 AM, László Németh <nlaszlo1976@anonymised.com> wrote:
Thanks again. Could you please help what to look for in the code of the UI?
Is SRS bounds stored in the SRS definition? Could it be that EPSG:23700 SRS definition is not correct?
Laszlo
On 2018. Apr 19., at 8:33, Andrea Aime <andrea.aime@anonymised.com> wrote:
–
On Thu, Apr 19, 2018 at 6:45 AM, László Németh <nlaszlo1976@anonymised.com> wrote:
Hi Andrea,
Thank you for your answer. I did some tests.
- Deleted all workspaces in the workspaces configuration except the tested one.
- Tried downloading Layer preview in KML for the problematic layer → I get the error.
- Deleted the layer and recreated as new. Geoserver did figure our the Native SRS based on DB info. If I use “compute from data” I get 0,0,-1-1, since the table is empty, so I used “compute from SRS” and I get -180,-90,180,90.
This seems wrong, the native bbox should be native. If your data is in EPSG:23700 the bound coordinates should be too. I guess the UI is confused by the “reproject native to declared” setting, but I’m not sure,
I did not work on adding the “compute from SRS” functionality.
- Tried downloading Layer preview in KML for the problematic layer → SUCCESS
- Diffed the two featuretype XML files and the only difference I see that the one with the error has a line: EPSG:23700 in the nativeboundingbox XML section.
I attached the two XMLs. Removing the line and inserting EPSG:4326 instead solved the problem on other problematic layers as well. Could you please clarify why?
I don’t know, my guess is that it’s working by accident.
Here is a sample from a working layer that I have locally, in a projected crs (but mind the projected coordinates here):
-840901.150827375
872858.801962177
2966776.48464754
5029485.2911404
EPSG:32654
Cheers
Andrea
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.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.
Regards,
Andrea Aime
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.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.