Re: [Geoserver-users] MapProjection doesn't converge

2017-11-08 Thread Andrea Aime
On Mon, Nov 6, 2017 at 10:53 AM, Matteo Cusmai 
wrote:
>
> Finally, I am very confused. Where I am wronging?
>
>
You're not sharing a sample data set that can be used to reproduce the
problem (possibly on a jira ticket,
there is no guarantee when others will have to do checks, all support here
is given on a voluntary basis,
a ticket makes sure we don't forget about it).
I believe no progress will be made until someone else can try looking into
it on their computer

Cheers
Andrea


-- 

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.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

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


Re: [Geoserver-users] MapProjection doesn't converge

2017-11-06 Thread Matteo Cusmai
Hi Andrea,
sorry for delay, I was in holiday.

If I take the area of use from the site you mentioned (6 38.76, 12 83.92) I
can calculate a bbox as follow:

select st_astext(st_envelope(st_geometryfromtext('LINESTRING(6 38.76, 12
83.92  )', 4326))) and the result is:
POLYGON((6 38.76,6 83.92,12 83.92,12 38.76,6 38.76)).

Now, If I repeat the query on my data with this extent, there are a lot of
data out of it:
select count(*) from database.table_point where not
ST_Contains(st_geometryfromtext('POLYGON((6 38.76,6 83.92,12 83.92,12
38.76,6 38.76))', 4326), st_transform(geom, 4326)) --> 3660763

on the other hand, there are 1447847 inside it.

But, there another strange thing, the bbox of srs from geoserver:
(239323.44497139292 4290144.074117256, 760676.555028607 9320086.206909368)

is different from area of use from the site:

select st_astext(st_transform(st_geometryfromtext('POINT(6 38.76)', 4326),
25832)) --> POINT(239323.444971393 4294418.79680585)
select st_astext(st_transform(st_geometryfromtext('POINT(12 83.92)', 4326),
25832)) --> POINT(535459.483902448 9320086.20690937)


If I use the area of use from geoserver I receive the following results:

select st_astext(st_transform(st_geometryfromtext('POINT(239323.44497139292
4290144.074117256)', 25832), 4326))--> POINT(6.00161054618446
38.7215301292457)
select st_astext(st_transform(st_geometryfromtext('POINT(760676.555028607
9320086.206909368)', 25832), 4326))--> POINT(30.0743594610395
83.4965847858297)

and the extent will be POLYGON((6 38.72,6 83.5,30.07 83.5,30.07 38.72,6
38.72))

and the results wiil be:
select count(*) from database.table_point where not
ST_Contains(st_geometryfromtext('POLYGON((6 38.72,6 83.5,30.07 83.5,30.07
38.72,6 38.72))', 4326), st_transform(geom, 4326)) --> 716855

Finally, I am very confused. Where I am wronging?

Thanks a lot,
Matteo.


Matteo Cusmai

On Tue, Oct 31, 2017 at 11:24 AM, Andrea Aime 
wrote:

> On Tue, Oct 31, 2017 at 10:17 AM, Matteo Cusmai 
> wrote:
>
>> Hi all,
>> I am trying to check my data against epsg 25832.
>> Following the steps:
>>
>>1. get bounds of epsg:25832 in lon, lat (https://epsg.io/25832) -->
>>(-16.1 32.88) (39.65 84.17)
>>
>> I'm quite surprised to see such an extension... its limit is 25 degrees
> west of the central meridian and
> a whopping 55 degrees large, while a UTM is supposed to be only 6 degrees
> large, 3 degrees on
> each side.
>
> This seems to be a bug in epsg.io though, if I check an official
> reference like https://www.epsg-registry.org/
> the "area of use" is reported to be what I expected it to be (too bad the
> blasted web site does not allow
> for a direct link, but see this screenshot:
>
> [image: Inline image 1]
>
> That said, the UTM math should be somewhat stable even so far away from
> the central meridian.
> I would like to see some sample data that can be used to reproduce the
> issue (in a ticket).
>
> Cheers
> Andrea
>
> --
>
> 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 <0584%20962313>
> fax: +39 0584 1660272 <0584%20166%200272>
> mob: +39  339 8844549 <339%20884%204549>
>
> 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 an

Re: [Geoserver-users] MapProjection doesn't converge

2017-10-31 Thread Andrea Aime
On Tue, Oct 31, 2017 at 10:17 AM, Matteo Cusmai 
wrote:

> Hi all,
> I am trying to check my data against epsg 25832.
> Following the steps:
>
>1. get bounds of epsg:25832 in lon, lat (https://epsg.io/25832) -->
>(-16.1 32.88) (39.65 84.17)
>
> I'm quite surprised to see such an extension... its limit is 25 degrees
west of the central meridian and
a whopping 55 degrees large, while a UTM is supposed to be only 6 degrees
large, 3 degrees on
each side.

This seems to be a bug in epsg.io though, if I check an official reference
like https://www.epsg-registry.org/
the "area of use" is reported to be what I expected it to be (too bad the
blasted web site does not allow
for a direct link, but see this screenshot:

[image: Inline image 1]

That said, the UTM math should be somewhat stable even so far away from the
central meridian.
I would like to see some sample data that can be used to reproduce the
issue (in a ticket).

Cheers
Andrea

-- 

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.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

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


Re: [Geoserver-users] MapProjection doesn't converge

2017-10-31 Thread Matteo Cusmai
Hi all,
I am trying to check my data against epsg 25832.
Following the steps:

   1. get bounds of epsg:25832 in lon, lat (https://epsg.io/25832) -->
   (-16.1 32.88) (39.65 84.17)
   2. calculate bbox: select
   st_astext(st_envelope(st_geometryfromtext('LINESTRING(-16.1 32.88, 39.65
   84.17 )', 4326))) --> POLYGON((-16.1 32.88,-16.1 84.17,39.65 84.17,39.65
   32.88,-16.1 32.88))
   3. count point outside: select count(*) from table_lines where not
   ST_Intersects(st_transform(geom, 4326), st_geometryfromtext('POLYGON((-16.1
   32.88,-16.1 84.17,39.65 84.17,39.65 32.88,-16.1 32.88))', 4326)) --> 0

I have executed the check also using epsg:3857:

select count(*) from sinfidb_history.infr_rt_estensione_p where not
ST_Contains(st_transform(st_geometryfromtext('POLYGON((-16.1 32.88,-16.1
84.17,39.65 84.17,39.65 32.88,-16.1 32.88))', 4326), 3857),
st_transform(geom, 3857))

with same result.


So, do you think there is a better way to make this check?



Matteo Cusmai

On Sat, Oct 28, 2017 at 9:26 PM, Andrea Aime 
wrote:

>
>
> Il 28 ott 2017 8:14 PM, "Matteo Cusmai"  ha
> scritto:
>
> So, the most probable cause of this error is the presence of data on the
> boundary of the epsg, isn't it?
>
>
> At the border... Not really, I'd say really outside. But we are going in
> circles here... Can you use another tool to just query the data?
>
> Also, which version of GeoServer are you using?
>
> Cheers
> Andrea
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

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


Re: [Geoserver-users] MapProjection doesn't converge

2017-10-28 Thread Andrea Aime
Il 28 ott 2017 8:14 PM, "Matteo Cusmai"  ha scritto:

So, the most probable cause of this error is the presence of data on the
boundary of the epsg, isn't it?


At the border... Not really, I'd say really outside. But we are going in
circles here... Can you use another tool to just query the data?

Also, which version of GeoServer are you using?

Cheers
Andrea
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

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


Re: [Geoserver-users] MapProjection doesn't converge

2017-10-28 Thread Matteo Cusmai
So, the most probable cause of this error is the presence of data on the
boundary of the epsg, isn't it?

Could you suggest me a way to check this?



On 28 Oct 2017 17:09, "Andrea Aime"  wrote:

On Sat, Oct 28, 2017 at 4:51 PM, Kristian Thy  wrote:

> > >28 Oct 13:25:15 ERROR [geotools.rendering] - Transformation doesn't
> > >convergence.
>
> "doesn't convergence"?  ¯\_(ツ)_/¯
>

He he, yeah, it's actually a correct error message, the code in question
performs a
calculation implemented as an iterative approximation, which is supposed to
"converge" to the result given a desired tolerance.

In this case, it did not.

For reference:

https://github.com/geotools/geotools/blob/28feaea1f83ea729c3ed02b894d6ad
ecb8641c98/modules/library/referencing/src/main/java/org/
geotools/referencing/operation/projection/MapProjection.java#L1385

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 <0584%20962313>
fax: +39 0584 1660272 <0584%20166%200272>
mob: +39  339 8844549 <339%20884%204549>

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.



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to
this list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/
userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

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


Re: [Geoserver-users] MapProjection doesn't converge

2017-10-28 Thread Andrea Aime
On Sat, Oct 28, 2017 at 4:51 PM, Kristian Thy  wrote:

> > >28 Oct 13:25:15 ERROR [geotools.rendering] - Transformation doesn't
> > >convergence.
>
> "doesn't convergence"?  ¯\_(ツ)_/¯
>

He he, yeah, it's actually a correct error message, the code in question
performs a
calculation implemented as an iterative approximation, which is supposed to
"converge" to the result given a desired tolerance.

In this case, it did not.

For reference:

https://github.com/geotools/geotools/blob/28feaea1f83ea729c3ed02b894d6adecb8641c98/modules/library/referencing/src/main/java/org/geotools/referencing/operation/projection/MapProjection.java#L1385

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.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

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


Re: [Geoserver-users] MapProjection doesn't converge

2017-10-28 Thread Kristian Thy
On Sun, Oct 29, Ben Caradoc-Davies wrote:
> The official range of validity of EPSG:25832 is 6-12 degrees East, but
> I do not know if we expect reprojections to fail outside this range.

Denmark straddles 12° East and it is customary to use EPSG:25832 for
mapping the entire country. We have had no problems with this in
GeoServer.

> >28 Oct 13:25:15 ERROR [geotools.rendering] - Transformation doesn't
> >convergence.

"doesn't convergence"?  ¯\_(ツ)_/¯

/Kristian

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

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


Re: [Geoserver-users] MapProjection doesn't converge

2017-10-28 Thread Andrea Aime
On Sat, Oct 28, 2017 at 3:00 PM, Ben Caradoc-Davies 
wrote:

> Your BBOX appears to be in the Western Mediterranean, somewhat centred on
> the Balearic Islands. The WGS84 corners in degrees are lower left: lon=0.0
> lat=36.597889133070204, and upper right: lon=5.6250001
> lat=40.97989806962012. The official range of validity of EPSG:25832 is 6-12
> degrees East, but I do not know if we expect reprojections to fail outside
> this range.
>

It should not, as far as I know, however, there is a "weird" bit, Matteo
says all data inside the valid area of that projection:
"I am using data from Postgis with epsg 25832 and I am in Italy and I am
sure enough that all data into database should be inside this epsg."

The stack trace is also showing that the renderer is actually reprojecting
source data while it fails, this means the data source returned
something intersecting that BBOX... and given the premises, this should not
really be happening no?

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.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

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


Re: [Geoserver-users] MapProjection doesn't converge

2017-10-28 Thread Ben Caradoc-Davies

Matteo,

I do not know why the projection is failing. If it works when viewed in 
EPSG:4326, then it is unlikely to be a problem with your data. What are 
the approximate bounds in EPSG:4326? Do your features roughly line up 
with a basemap? If not, then perhaps EPSG:4326 is not working.


Your BBOX appears to be in the Western Mediterranean, somewhat centred 
on the Balearic Islands. The WGS84 corners in degrees are lower left: 
lon=0.0 lat=36.597889133070204, and upper right: lon=5.6250001 
lat=40.97989806962012. The official range of validity of EPSG:25832 is 
6-12 degrees East, but I do not know if we expect reprojections to fail 
outside this range.


Have you tried changing the declared SRS to, for example, EPSG:4326, and 
setting "Reproject native to declared"? This might change the order of 
transformations.


Kind regards,
Ben.

On 29/10/17 01:08, Matteo Cusmai wrote:

The application is based on boundlessgeo sdk and openlayer 3.

This is a request
https:///geoserver//wms?SERVICE=
WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng&
TRANSPARENT=true&LAYERS=&TIME=2017-10-
28T11%3A18%3A05.079Z&TILED=true&WIDTH=230&HEIGHT=230&SRS=
EPSG%3A3857&STYLES=&FORMAT_OPTIONS=dpi%3A81&BBOX=0%
2C4383204.9499851465%2C626172.1357121639%2C5009377.08569731

And this is an error log

28 Oct 13:25:15 ERROR [geotools.rendering] - Transformation doesn't
convergence.
org.geotools.referencing.operation.projection.ProjectionException:
Transformation doesn't convergence.
 at org.geotools.referencing.operation.projection.MapProjection.inv_mlfn(
MapProjection.java:1399)
 at org.geotools.referencing.operation.projection.TransverseMercator.
inverseTransformNormalized(TransverseMercator.java:217)
 at org.geotools.referencing.operation.projection.MapProjection$Inverse.
transform(MapProjection.java:1050)
 at org.geotools.referencing.operation.projection.MapProjection$Inverse.
transform(MapProjection.java:1105)
 at org.geotools.referencing.operation.transform.ConcatenatedTransform.
transform(ConcatenatedTransform.java:440)
 at org.geotools.referencing.operation.transform.
ConcatenatedTransformDirect.transform(ConcatenatedTransformDirect.java:80)
 at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
Decimator.java:479)
 at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
Decimator.java:283)
 at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
Decimator.java:241)
 at org.geotools.renderer.lite.StreamingRenderer$RenderableFeature.
getTransformedShape(StreamingRenderer.java:3123)
 at org.geotools.renderer.lite.StreamingRenderer$
RenderableFeature.getShape(StreamingRenderer.java:3066)
 at org.geotools.renderer.lite.StreamingRenderer.processSymbolizers(
StreamingRenderer.java:2549)
 at org.geotools.renderer.lite.StreamingRenderer.processFeature(
StreamingRenderer.java:2449)
 at org.geotools.renderer.lite.StreamingRenderer.drawPlain(
StreamingRenderer.java:2306)
 at org.geotools.renderer.lite.StreamingRenderer.processStylers(
StreamingRenderer.java:1927)
 at org.geotools.renderer.lite.StreamingRenderer.paint(
StreamingRenderer.java:831)
 at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:550)
 at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:273)
 at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:143)
 at org.geoserver.wms.GetMap.executeInternal(GetMap.java:623)
 at org.geoserver.wms.GetMap.run(GetMap.java:279)
 at org.geoserver.wms.GetMap.run(GetMap.java:125)
 at org.geoserver.wms.DefaultWebMapService.getMap(
DefaultWebMapService.java:320)
 at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.springframework.aop.support.AopUtils.
invokeJoinpointUsingReflection(AopUtils.java:302)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.
invokeJoinpoint(ReflectiveMethodInvocation.java:190)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:157)
 at org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(
WebMapServiceKmlInterceptor.java:34)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:179)
 at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(
CacheSeedingWebMapService.java:62)
 at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(
CacheSeedingWebMapService.java:36)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:179)
 at org.geoserver.gwc.wms.CachingWebMapService.invoke(
CachingWebMapService.java:87)
 at org.geoserver.gwc.wms.CachingWebMapService.in

Re: [Geoserver-users] MapProjection doesn't converge

2017-10-28 Thread Matteo Cusmai
The application is based on boundlessgeo sdk and openlayer 3.

This is a request
https:///geoserver//wms?SERVICE=
WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng&
TRANSPARENT=true&LAYERS=&TIME=2017-10-
28T11%3A18%3A05.079Z&TILED=true&WIDTH=230&HEIGHT=230&SRS=
EPSG%3A3857&STYLES=&FORMAT_OPTIONS=dpi%3A81&BBOX=0%
2C4383204.9499851465%2C626172.1357121639%2C5009377.08569731

And this is an error log

28 Oct 13:25:15 ERROR [geotools.rendering] - Transformation doesn't
convergence.
org.geotools.referencing.operation.projection.ProjectionException:
Transformation doesn't convergence.
at org.geotools.referencing.operation.projection.MapProjection.inv_mlfn(
MapProjection.java:1399)
at org.geotools.referencing.operation.projection.TransverseMercator.
inverseTransformNormalized(TransverseMercator.java:217)
at org.geotools.referencing.operation.projection.MapProjection$Inverse.
transform(MapProjection.java:1050)
at org.geotools.referencing.operation.projection.MapProjection$Inverse.
transform(MapProjection.java:1105)
at org.geotools.referencing.operation.transform.ConcatenatedTransform.
transform(ConcatenatedTransform.java:440)
at org.geotools.referencing.operation.transform.
ConcatenatedTransformDirect.transform(ConcatenatedTransformDirect.java:80)
at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
Decimator.java:479)
at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
Decimator.java:283)
at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
Decimator.java:241)
at org.geotools.renderer.lite.StreamingRenderer$RenderableFeature.
getTransformedShape(StreamingRenderer.java:3123)
at org.geotools.renderer.lite.StreamingRenderer$
RenderableFeature.getShape(StreamingRenderer.java:3066)
at org.geotools.renderer.lite.StreamingRenderer.processSymbolizers(
StreamingRenderer.java:2549)
at org.geotools.renderer.lite.StreamingRenderer.processFeature(
StreamingRenderer.java:2449)
at org.geotools.renderer.lite.StreamingRenderer.drawPlain(
StreamingRenderer.java:2306)
at org.geotools.renderer.lite.StreamingRenderer.processStylers(
StreamingRenderer.java:1927)
at org.geotools.renderer.lite.StreamingRenderer.paint(
StreamingRenderer.java:831)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:550)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:273)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:143)
at org.geoserver.wms.GetMap.executeInternal(GetMap.java:623)
at org.geoserver.wms.GetMap.run(GetMap.java:279)
at org.geoserver.wms.GetMap.run(GetMap.java:125)
at org.geoserver.wms.DefaultWebMapService.getMap(
DefaultWebMapService.java:320)
at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.
invokeJoinpointUsingReflection(AopUtils.java:302)
at org.springframework.aop.framework.ReflectiveMethodInvocation.
invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:157)
at org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(
WebMapServiceKmlInterceptor.java:34)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:179)
at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(
CacheSeedingWebMapService.java:62)
at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(
CacheSeedingWebMapService.java:36)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:179)
at org.geoserver.gwc.wms.CachingWebMapService.invoke(
CachingWebMapService.java:87)
at org.geoserver.gwc.wms.CachingWebMapService.invoke(
CachingWebMapService.java:55)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:179)
at org.geoserver.ows.util.RequestObjectLogger.invoke(
RequestObjectLogger.java:33)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.
invoke(JdkDynamicAopProxy.java:208)
at com.sun.proxy.$Proxy112.getMap(Unknown Source)
at sun.reflect.GeneratedMethodAccessor248.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:857)
at org.geoserver.ows.Dispatcher.handleRequestInternal(
Dispatcher.java:268)
at org.springframework.web.servlet.mvc.AbstractController.handleRe

Re: [Geoserver-users] MapProjection doesn't converge

2017-10-28 Thread Ben Caradoc-Davies

Matteo,

how are you requesting data in EPSG:3857? Please provide the exact 
parameters. The WMS URL and the request information from the GeoServer 
log would be most useful.


Kind regards,
Ben.

On 29/10/17 00:07, Matteo Cusmai wrote:

Hi Ben, hi Andrea,
I am using data from Postgis with epsg 25832 and I am in Italy and I am
sure enough that all data into database should be inside this epsg.
Do you know if there is a postgis function to check that all my data are
inside 25832?

All geoserver layer are using keep native SRS handling.

The strange thing is that I retrieve the error if I request data in EPSG
3857, but when I access data from openlayer demo page that use 4326 I don't
get the error.

Do you have some suggestions to check deeper?

Thanks a lot,
Matteo.

Matteo Cusmai

On Sat, Oct 28, 2017 at 3:22 AM, Ben Caradoc-Davies 
wrote:


And it is easy to end up outside the area of projection validity by using
the wrong axis order in some part of your request. How did you specify the
coordinates of your request?

Kind regards,
Ben.


On 28/10/17 03:51, Andrea Aime wrote:


Ciao Matteo,
this error usually happens when a projection is used far away from its
area
of definition.
Which are the source and target projections, and the area in which you're
working?
Also, did you fiddle with the "advanced projection handling" WMS settings
(are they off by any chance)?

Cheers
Andrea


On Fri, Oct 27, 2017 at 4:41 PM, Matteo Cusmai 
wrote:

Hi all,

I have a problem with geoserver, but the error is related to geotools.

For different layers I receive the following log:

org.geotools.referencing.operation.projection.ProjectionException:
Transformation doesn't convergence.
  at org.geotools.referencing.operation.projection.
MapProjection.inv_mlfn(MapProjection.java:1399)
  at org.geotools.referencing.operation.projection.TransverseMerc
ator.
inverseTransformNormalized(TransverseMercator.java:217)
  at org.geotools.referencing.operation.projection.
MapProjection$Inverse.transform(MapProjection.java:1050)
  at org.geotools.referencing.operation.projection.
MapProjection$Inverse.transform(MapProjection.java:1105)
  at org.geotools.referencing.operation.transform.ConcatenatedTra
nsform.
transform(ConcatenatedTransform.java:440)
  at org.geotools.referencing.operation.transform.
ConcatenatedTransformDirect.transform(ConcatenatedTransformD
irect.java:80)
  at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
Decimator.java:479)
  at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
Decimator.java:283)
  at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
Decimator.java:241)
  at org.geotools.renderer.lite.StreamingRenderer$RenderableFeature.
getTransformedShape(StreamingRenderer.java:3123)
  at org.geotools.renderer.lite.StreamingRenderer$
RenderableFeature.getShape(StreamingRenderer.java:3066)
  at org.geotools.renderer.lite.StreamingRenderer.processSymbolizers(
StreamingRenderer.java:2549)
  at org.geotools.renderer.lite.StreamingRenderer.processFeature(
StreamingRenderer.java:2449)
  at org.geotools.renderer.lite.StreamingRenderer.drawPlain(
StreamingRenderer.java:2306)
  at org.geotools.renderer.lite.StreamingRenderer.processStylers(
StreamingRenderer.java:1927)
  at org.geotools.renderer.lite.StreamingRenderer.paint(
StreamingRenderer.java:831)
  at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:550)
  at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:273)
  at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:143)
  at org.geoserver.wms.GetMap.executeInternal(GetMap.java:623)
  at org.geoserver.wms.GetMap.run(GetMap.java:279)
  at org.geoserver.wms.GetMap.run(GetMap.java:125)
.


It seems related to the MapProjection class and in particular on the
following method:

protected final double inv_mlfn(double arg) throws ProjectionException {

Has someone experienced the same issue? Could you help me?

Thanks a lot,
Matteo.




Matteo Cusmai


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to
this list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/
userlist-guidelines.html

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








--
Check out the vibrant tech c

Re: [Geoserver-users] MapProjection doesn't converge

2017-10-28 Thread Matteo Cusmai
Hi Ben, hi Andrea,
I am using data from Postgis with epsg 25832 and I am in Italy and I am
sure enough that all data into database should be inside this epsg.
Do you know if there is a postgis function to check that all my data are
inside 25832?

All geoserver layer are using keep native SRS handling.

The strange thing is that I retrieve the error if I request data in EPSG
3857, but when I access data from openlayer demo page that use 4326 I don't
get the error.

Do you have some suggestions to check deeper?

Thanks a lot,
Matteo.

Matteo Cusmai

On Sat, Oct 28, 2017 at 3:22 AM, Ben Caradoc-Davies 
wrote:

> And it is easy to end up outside the area of projection validity by using
> the wrong axis order in some part of your request. How did you specify the
> coordinates of your request?
>
> Kind regards,
> Ben.
>
>
> On 28/10/17 03:51, Andrea Aime wrote:
>
>> Ciao Matteo,
>> this error usually happens when a projection is used far away from its
>> area
>> of definition.
>> Which are the source and target projections, and the area in which you're
>> working?
>> Also, did you fiddle with the "advanced projection handling" WMS settings
>> (are they off by any chance)?
>>
>> Cheers
>> Andrea
>>
>>
>> On Fri, Oct 27, 2017 at 4:41 PM, Matteo Cusmai 
>> wrote:
>>
>> Hi all,
>>> I have a problem with geoserver, but the error is related to geotools.
>>>
>>> For different layers I receive the following log:
>>>
>>> org.geotools.referencing.operation.projection.ProjectionException:
>>> Transformation doesn't convergence.
>>>  at org.geotools.referencing.operation.projection.
>>> MapProjection.inv_mlfn(MapProjection.java:1399)
>>>  at org.geotools.referencing.operation.projection.TransverseMerc
>>> ator.
>>> inverseTransformNormalized(TransverseMercator.java:217)
>>>  at org.geotools.referencing.operation.projection.
>>> MapProjection$Inverse.transform(MapProjection.java:1050)
>>>  at org.geotools.referencing.operation.projection.
>>> MapProjection$Inverse.transform(MapProjection.java:1105)
>>>  at org.geotools.referencing.operation.transform.ConcatenatedTra
>>> nsform.
>>> transform(ConcatenatedTransform.java:440)
>>>  at org.geotools.referencing.operation.transform.
>>> ConcatenatedTransformDirect.transform(ConcatenatedTransformD
>>> irect.java:80)
>>>  at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
>>> Decimator.java:479)
>>>  at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
>>> Decimator.java:283)
>>>  at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
>>> Decimator.java:241)
>>>  at org.geotools.renderer.lite.StreamingRenderer$RenderableFeature.
>>> getTransformedShape(StreamingRenderer.java:3123)
>>>  at org.geotools.renderer.lite.StreamingRenderer$
>>> RenderableFeature.getShape(StreamingRenderer.java:3066)
>>>  at org.geotools.renderer.lite.StreamingRenderer.processSymbolizers(
>>> StreamingRenderer.java:2549)
>>>  at org.geotools.renderer.lite.StreamingRenderer.processFeature(
>>> StreamingRenderer.java:2449)
>>>  at org.geotools.renderer.lite.StreamingRenderer.drawPlain(
>>> StreamingRenderer.java:2306)
>>>  at org.geotools.renderer.lite.StreamingRenderer.processStylers(
>>> StreamingRenderer.java:1927)
>>>  at org.geotools.renderer.lite.StreamingRenderer.paint(
>>> StreamingRenderer.java:831)
>>>  at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
>>> RenderedImageMapOutputFormat.java:550)
>>>  at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
>>> RenderedImageMapOutputFormat.java:273)
>>>  at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
>>> RenderedImageMapOutputFormat.java:143)
>>>  at org.geoserver.wms.GetMap.executeInternal(GetMap.java:623)
>>>  at org.geoserver.wms.GetMap.run(GetMap.java:279)
>>>  at org.geoserver.wms.GetMap.run(GetMap.java:125)
>>> .
>>>
>>>
>>> It seems related to the MapProjection class and in particular on the
>>> following method:
>>>
>>> protected final double inv_mlfn(double arg) throws ProjectionException {
>>>
>>> Has someone experienced the same issue? Could you help me?
>>>
>>> Thanks a lot,
>>> Matteo.
>>>
>>>
>>>
>>>
>>> Matteo Cusmai
>>>
>>> 
>>> --
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> ___
>>> Geoserver-users mailing list
>>>
>>> Please make sure you read the following two resources before posting to
>>> this list:
>>> - Earning your support instead of buying it, but Ian Turton:
>>> http://www.ianturton.com/talks/foss4g.html#/
>>> - The GeoServer user list posting guidelines: http://geoserver.org/comm/
>>> userlist-guidelines.html
>>>
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-

Re: [Geoserver-users] MapProjection doesn't converge

2017-10-27 Thread Ben Caradoc-Davies
And it is easy to end up outside the area of projection validity by 
using the wrong axis order in some part of your request. How did you 
specify the coordinates of your request?


Kind regards,
Ben.

On 28/10/17 03:51, Andrea Aime wrote:

Ciao Matteo,
this error usually happens when a projection is used far away from its area
of definition.
Which are the source and target projections, and the area in which you're
working?
Also, did you fiddle with the "advanced projection handling" WMS settings
(are they off by any chance)?

Cheers
Andrea


On Fri, Oct 27, 2017 at 4:41 PM, Matteo Cusmai 
wrote:


Hi all,
I have a problem with geoserver, but the error is related to geotools.

For different layers I receive the following log:

org.geotools.referencing.operation.projection.ProjectionException:
Transformation doesn't convergence.
 at org.geotools.referencing.operation.projection.
MapProjection.inv_mlfn(MapProjection.java:1399)
 at org.geotools.referencing.operation.projection.TransverseMercator.
inverseTransformNormalized(TransverseMercator.java:217)
 at org.geotools.referencing.operation.projection.
MapProjection$Inverse.transform(MapProjection.java:1050)
 at org.geotools.referencing.operation.projection.
MapProjection$Inverse.transform(MapProjection.java:1105)
 at org.geotools.referencing.operation.transform.ConcatenatedTransform.
transform(ConcatenatedTransform.java:440)
 at org.geotools.referencing.operation.transform.
ConcatenatedTransformDirect.transform(ConcatenatedTransformDirect.java:80)
 at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
Decimator.java:479)
 at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
Decimator.java:283)
 at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
Decimator.java:241)
 at org.geotools.renderer.lite.StreamingRenderer$RenderableFeature.
getTransformedShape(StreamingRenderer.java:3123)
 at org.geotools.renderer.lite.StreamingRenderer$
RenderableFeature.getShape(StreamingRenderer.java:3066)
 at org.geotools.renderer.lite.StreamingRenderer.processSymbolizers(
StreamingRenderer.java:2549)
 at org.geotools.renderer.lite.StreamingRenderer.processFeature(
StreamingRenderer.java:2449)
 at org.geotools.renderer.lite.StreamingRenderer.drawPlain(
StreamingRenderer.java:2306)
 at org.geotools.renderer.lite.StreamingRenderer.processStylers(
StreamingRenderer.java:1927)
 at org.geotools.renderer.lite.StreamingRenderer.paint(
StreamingRenderer.java:831)
 at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:550)
 at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:273)
 at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:143)
 at org.geoserver.wms.GetMap.executeInternal(GetMap.java:623)
 at org.geoserver.wms.GetMap.run(GetMap.java:279)
 at org.geoserver.wms.GetMap.run(GetMap.java:125)
.


It seems related to the MapProjection class and in particular on the
following method:

protected final double inv_mlfn(double arg) throws ProjectionException {

Has someone experienced the same issue? Could you help me?

Thanks a lot,
Matteo.




Matteo Cusmai


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to
this list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/
userlist-guidelines.html

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







--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

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



--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_

Re: [Geoserver-users] MapProjection doesn't converge

2017-10-27 Thread Andrea Aime
Ciao Matteo,
this error usually happens when a projection is used far away from its area
of definition.
Which are the source and target projections, and the area in which you're
working?
Also, did you fiddle with the "advanced projection handling" WMS settings
(are they off by any chance)?

Cheers
Andrea


On Fri, Oct 27, 2017 at 4:41 PM, Matteo Cusmai 
wrote:

> Hi all,
> I have a problem with geoserver, but the error is related to geotools.
>
> For different layers I receive the following log:
>
> org.geotools.referencing.operation.projection.ProjectionException:
> Transformation doesn't convergence.
> at org.geotools.referencing.operation.projection.
> MapProjection.inv_mlfn(MapProjection.java:1399)
> at org.geotools.referencing.operation.projection.TransverseMercator.
> inverseTransformNormalized(TransverseMercator.java:217)
> at org.geotools.referencing.operation.projection.
> MapProjection$Inverse.transform(MapProjection.java:1050)
> at org.geotools.referencing.operation.projection.
> MapProjection$Inverse.transform(MapProjection.java:1105)
> at org.geotools.referencing.operation.transform.ConcatenatedTransform.
> transform(ConcatenatedTransform.java:440)
> at org.geotools.referencing.operation.transform.
> ConcatenatedTransformDirect.transform(ConcatenatedTransformDirect.java:80)
> at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
> Decimator.java:479)
> at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
> Decimator.java:283)
> at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
> Decimator.java:241)
> at org.geotools.renderer.lite.StreamingRenderer$RenderableFeature.
> getTransformedShape(StreamingRenderer.java:3123)
> at org.geotools.renderer.lite.StreamingRenderer$
> RenderableFeature.getShape(StreamingRenderer.java:3066)
> at org.geotools.renderer.lite.StreamingRenderer.processSymbolizers(
> StreamingRenderer.java:2549)
> at org.geotools.renderer.lite.StreamingRenderer.processFeature(
> StreamingRenderer.java:2449)
> at org.geotools.renderer.lite.StreamingRenderer.drawPlain(
> StreamingRenderer.java:2306)
> at org.geotools.renderer.lite.StreamingRenderer.processStylers(
> StreamingRenderer.java:1927)
> at org.geotools.renderer.lite.StreamingRenderer.paint(
> StreamingRenderer.java:831)
> at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
> RenderedImageMapOutputFormat.java:550)
> at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
> RenderedImageMapOutputFormat.java:273)
> at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
> RenderedImageMapOutputFormat.java:143)
> at org.geoserver.wms.GetMap.executeInternal(GetMap.java:623)
> at org.geoserver.wms.GetMap.run(GetMap.java:279)
> at org.geoserver.wms.GetMap.run(GetMap.java:125)
> .
>
>
> It seems related to the MapProjection class and in particular on the
> following method:
>
> protected final double inv_mlfn(double arg) throws ProjectionException {
>
> Has someone experienced the same issue? Could you help me?
>
> Thanks a lot,
> Matteo.
>
>
>
>
> Matteo Cusmai
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/comm/
> userlist-guidelines.html
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 

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.


[Geoserver-users] MapProjection doesn't converge

2017-10-27 Thread Matteo Cusmai
Hi all,
I have a problem with geoserver, but the error is related to geotools.

For different layers I receive the following log:

org.geotools.referencing.operation.projection.ProjectionException:
Transformation doesn't convergence.
at
org.geotools.referencing.operation.projection.MapProjection.inv_mlfn(MapProjection.java:1399)
at
org.geotools.referencing.operation.projection.TransverseMercator.inverseTransformNormalized(TransverseMercator.java:217)
at
org.geotools.referencing.operation.projection.MapProjection$Inverse.transform(MapProjection.java:1050)
at
org.geotools.referencing.operation.projection.MapProjection$Inverse.transform(MapProjection.java:1105)
at
org.geotools.referencing.operation.transform.ConcatenatedTransform.transform(ConcatenatedTransform.java:440)
at
org.geotools.referencing.operation.transform.ConcatenatedTransformDirect.transform(ConcatenatedTransformDirect.java:80)
at
org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(Decimator.java:479)
at
org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(Decimator.java:283)
at
org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(Decimator.java:241)
at
org.geotools.renderer.lite.StreamingRenderer$RenderableFeature.getTransformedShape(StreamingRenderer.java:3123)
at
org.geotools.renderer.lite.StreamingRenderer$RenderableFeature.getShape(StreamingRenderer.java:3066)
at
org.geotools.renderer.lite.StreamingRenderer.processSymbolizers(StreamingRenderer.java:2549)
at
org.geotools.renderer.lite.StreamingRenderer.processFeature(StreamingRenderer.java:2449)
at
org.geotools.renderer.lite.StreamingRenderer.drawPlain(StreamingRenderer.java:2306)
at
org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1927)
at
org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:831)
at
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:550)
at
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:273)
at
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:143)
at org.geoserver.wms.GetMap.executeInternal(GetMap.java:623)
at org.geoserver.wms.GetMap.run(GetMap.java:279)
at org.geoserver.wms.GetMap.run(GetMap.java:125)
.


It seems related to the MapProjection class and in particular on the
following method:

protected final double inv_mlfn(double arg) throws ProjectionException {

Has someone experienced the same issue? Could you help me?

Thanks a lot,
Matteo.




Matteo Cusmai
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

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