[Geoserver-users] Requests with LANGUAGE Parameters

2023-01-10 Thread Anna-Lena.Hock
Dear Mailing-List,

currently we're facing a problem with this type of request to a wms service 
from GeoServer (2.22.0):
__WMS_URL__?LANGUAGE=ger&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetCapabilities

Following error will be thrown: 
javax.xml.transform.TransformerException: Translator error Translator error 
Content has been requested in one of the following languages: de. But there is 
no international content defined

Originally we havn't set a standard language and the INSPIRE 
ExtentedCapabilities are also disabled. 

If we enable both - AND check the Checkbox i18n for the Title in the WMS 
Settings - AND enter the title for the language de, the problem will be solved. 
But as a consequence the global contact information will be lost and we have to 
enable it for the workspace. 

Is there any workaround, that GeoServer will use the standard values in the 
title, abstract, etc. fields without checking the i18n Checkboxes for those 
LANGUAGE-Requests?

Best regards,
Anna-Lena Hock





___
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

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


[Geoserver-users] OGC Best Practices WMS & TIME

2018-01-09 Thread Anna-Lena.Hock
Hello List,

now I am more or less done with the OGC Best Practices for using WMS with Time 
Dependent or Elevation-Dependent Data 
(https://portal.opengeospatial.org/files/?artifact_id=56394).
You can find in the paper exactly the requirement I was searching for: setting 
a expiry date or a validity period
It is not possible to set an expiry date (a) or a period (b) because in case a) 
only one time attribute is allowed for rasters and in case b) only attributes 
of type date are allowed (QGIS only allows -MM-DD)

Is there any planning to support further TIME Dimension cases from the OGC Best 
Practices?

Kind Regards,
Anna

Von: anna-lena.h...@bkg.bund.de [mailto:anna-lena.h...@bkg.bund.de]
Gesendet: Dienstag, 19. Dezember 2017 16:04
An: geoserver-users@lists.sourceforge.net
Betreff: [Geoserver-users] WMS Time

Hello List,

I am having trouble to set the time range of image mosaics granules. The 
problem is, that it would be necessary to set a valid_from and valid_till for 
each granule. But I tried to make small steps and display the data for one 
year, without success. It is just possible to display the picture 1 day - I 
changed settings and the attributes, but it remains 1 day.

The documentation mentions a reference value and a range in this format 
(originally with time): 2001-01-01/2002-03-23
But I couldn't find a way to set it for raster data. Has anybody an explanation?

Kind regards,
Anna


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

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


[Geoserver-users] WMS Time

2017-12-19 Thread Anna-Lena.Hock
Hello List,

I am having trouble to set the time range of image mosaics granules. The 
problem is, that it would be necessary to set a valid_from and valid_till for 
each granule. But I tried to make small steps and display the data for one 
year, without success. It is just possible to display the picture 1 day - I 
changed settings and the attributes, but it remains 1 day.

The documentation mentions a reference value and a range in this format 
(originally with time): 2001-01-01/2002-03-23
But I couldn't find a way to set it for raster data. Has anybody an explanation?

Kind regards,
Anna


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

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


Re: [Geoserver-users] WMS NullPointer Exception

2017-09-27 Thread Anna-Lena.Hock
Hi Andrea,

I think I found the issue.

This request works:
?FORMAT=image%2Fpng&TRANSPARENT=FALSE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=d&SRS=EPSG%3A25832&BBOX=281628.86785608,6110430.5035682,359900.3848201,6188702.0205323&WIDTH=256&HEIGHT=256&tiled=true&tilesOrigin=28%2C520

And this doesn’t:
?FORMAT=image%2Fpng&TRANSPARENT=FALSE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=d&SRS=EPSG%3A25832&BBOX=281628.86785608,6110430.5035682,359900.3848201,6188702.0205323&WIDTH=256&HEIGHT=256

So geoserver throws the exception because of the following missing parameters:
&tiled=true&tilesOrigin=28%2C520

As far as I understood those are vendor parameters and geoserver should return 
the image also without them. Is this correct?
Can you reproduce the problem?

Best,
Anna

Von: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] Im Auftrag von Andrea 
Aime
Gesendet: Mittwoch, 27. September 2017 08:41
An: Hock, Anna-Lena 
Cc: GeoServer Mailing List List 
Betreff: Re: [Geoserver-users] WMS NullPointer Exception

Hi Anna,
the main issue here is making the problem reproducable.
For the past few months I've worked a lot of image mosaics and did not stumble 
into
this problem.
To make sure there is nothing particular about my settings I've downloaded the
latest nightly build and played with the build-in image mosaic with the 
following variations:

  *   layer preview vs GWC internal preview
  *   in the layer preview single tile and tiled mode
  *   nearest neighbor and bilinear interpolation
  *   wgs84 and web mercator
  *   completely outside the image, on the border between inside and outside, 
in a hole of the image
However none of these tests lead to a NullPointerException. So, it's now up to 
you: try to isolate
what is causing the NPE and when you have, share data and instruction to make 
it happen :-)

Cheers
Andrea


On Wed, Sep 27, 2017 at 7:59 AM, 
mailto:anna-lena.h...@bkg.bund.de>> wrote:
Hi Andrea,

we installed and tested the nighly build – the transformation error is gone, 
but the Nullpointer-Exception is still there.

Here is a picture with OpenLayers with the service running with the nightly 
build:

[cid:image001.jpg@01D33776.FE4D1710]

Currently I am running the service as ImageMosaic – same error…

Best,
Anna

Von: andrea.a...@gmail.com 
[mailto:andrea.aime@gmail.com] Im 
Auftrag von Andrea Aime
Gesendet: Dienstag, 26. September 2017 15:17
An: Hock, Anna-Lena 
mailto:anna-lena.h...@bkg.bund.de>>
Cc: GeoServer Mailing List List 
mailto:geoserver-users@lists.sourceforge.net>>
Betreff: Re: [Geoserver-users] WMS NullPointer Exception

On Tue, Sep 26, 2017 at 3:14 PM, 
mailto:anna-lena.h...@bkg.bund.de>> wrote:
Hi Andrea,

thanks for the reply!

I removed the footprints ( ;)! ) and it’s still the same problem. I also added 
a new layer with a ImageMosaic Datasource – pointing to 0-Folder in the 
pyramid. It’s still the same error – it only occurs if I am requesting a tile 
size.

We will install the master tomorrow and test if the problem is solved. The 
error message is quite different – plus we don’t have a color map in the sld 
and we can’t view the layer in any other CRS.

The color map is actually not part of the problem, it happens also with other 
raster types, the reporter
discovered it on that case and reported it as such.

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

Re: [Geoserver-users] WMS NullPointer Exception

2017-09-26 Thread Anna-Lena.Hock
Hi Andrea,

we installed and tested the nighly build – the transformation error is gone, 
but the Nullpointer-Exception is still there.

Here is a picture with OpenLayers with the service running with the nightly 
build:

[cid:image003.jpg@01D33766.8AE8F0B0]

Currently I am running the service as ImageMosaic – same error…

Best,
Anna

Von: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] Im Auftrag von Andrea 
Aime
Gesendet: Dienstag, 26. September 2017 15:17
An: Hock, Anna-Lena 
Cc: GeoServer Mailing List List 
Betreff: Re: [Geoserver-users] WMS NullPointer Exception

On Tue, Sep 26, 2017 at 3:14 PM, 
mailto:anna-lena.h...@bkg.bund.de>> wrote:
Hi Andrea,

thanks for the reply!

I removed the footprints ( ;)! ) and it’s still the same problem. I also added 
a new layer with a ImageMosaic Datasource – pointing to 0-Folder in the 
pyramid. It’s still the same error – it only occurs if I am requesting a tile 
size.

We will install the master tomorrow and test if the problem is solved. The 
error message is quite different – plus we don’t have a color map in the sld 
and we can’t view the layer in any other CRS.

The color map is actually not part of the problem, it happens also with other 
raster types, the reporter
discovered it on that case and reported it as such.

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] WMS NullPointer Exception

2017-09-26 Thread Anna-Lena.Hock
Hi Andrea,

thanks for the reply!

I removed the footprints ( ;)! ) and it’s still the same problem. I also added 
a new layer with a ImageMosaic Datasource – pointing to 0-Folder in the 
pyramid. It’s still the same error – it only occurs if I am requesting a tile 
size.

We will install the master tomorrow and test if the problem is solved. The 
error message is quite different – plus we don’t have a color map in the sld 
and we can’t view the layer in any other CRS.

Here are some pictures from my latest tests…
This is the index-shp (behind is the wms service):

[cid:image002.jpg@01D336DA.1EB2EF90] 
[cid:image003.jpg@01D336DA.1EB2EF90]

Best regards,
Anna


Von: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] Im Auftrag von Andrea 
Aime
Gesendet: Dienstag, 26. September 2017 08:24
An: Hock, Anna-Lena 
Cc: GeoServer Mailing List List 
Betreff: Re: [Geoserver-users] WMS NullPointer Exception

Hi Anna,
see my notes inline.

On Mon, Sep 25, 2017 at 3:08 PM, 
mailto:anna-lena.h...@bkg.bund.de>> wrote:
Dear List,

currently I am facing a problem with our WMS Service. The data source is a big 
Image Pyramid with 5 levels covering Germany in EPSG:25832. For tiles outside 
the boundaries of the dataset Geoserver throws nullpointer exceptions:

2017-09-25 11:47:22,205 ERROR [geoserver.ows] -
java.lang.NullPointerException
at javax.media.jai.PlanarImage.getData(PlanarImage.java:2110)
at javax.media.jai.PlanarImage.getData(PlanarImage.java:2016)
at javax.media.jai.RenderedOp.getData(RenderedOp.java:2266)
at 
it.geosolutions.imageio.plugins.png.ScanlineProviderFactory.getProvider(ScanlineProviderFactory.java:53)
at 
it.geosolutions.imageio.plugins.png.PNGWriter.isScanlineSupported(PNGWriter.java:111)

I added a footprints.shp to each level of the Pyramid to set the boundary for 
the WMS. Is this causing those issues? I added the footrpints via trial and 
error, because I couldn’t find footprints for pyramids in the documentation.

I cannot tell if they are, but it's simple enough to remove the footprints, 
reload the configuration, and check if that's causing the issue, no? :)

In terms of configuring footprints, a pyramid is really just a switcher between 
N image mosaics, so you configure the footprints in each mosaic
separately. Footprints are designed to match each image in the mosaic and 
provide a way to cut it to its valid area, there is no notion of footprint
for the whole mosaic. See documentation here:
http://docs.geoserver.org/stable/en/user/tutorials/imagemosaic_footprint/imagemosaic_footprint.html

The footprint is meant mostly for satellite/aerial imagery having each their 
own "valid area", not sure if it's a match for you case
(I'm imagining you'd rather provide the boundaries of Germany for the whole 
layer, but maybe I'm just guessing wrong).


We are running a geoserver 2.11.1 (we already downgraded, because in the latest 
stable release (2.11.2) we couldn’t view the WMS in any other CRS)

For 2.11.2 I believe you hit this one, I tried a fix during the weekend but 
could not
get any confirmation from the reporter:
https://osgeo-org.atlassian.net/browse/GEOS-8298

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 

[Geoserver-users] WMS NullPointer Exception

2017-09-25 Thread Anna-Lena.Hock
Dear List,

currently I am facing a problem with our WMS Service. The data source is a big 
Image Pyramid with 5 levels covering Germany in EPSG:25832. For tiles outside 
the boundaries of the dataset Geoserver throws nullpointer exceptions:

2017-09-25 11:47:22,205 ERROR [geoserver.ows] -
java.lang.NullPointerException
at javax.media.jai.PlanarImage.getData(PlanarImage.java:2110)
at javax.media.jai.PlanarImage.getData(PlanarImage.java:2016)
at javax.media.jai.RenderedOp.getData(RenderedOp.java:2266)
at 
it.geosolutions.imageio.plugins.png.ScanlineProviderFactory.getProvider(ScanlineProviderFactory.java:53)
at 
it.geosolutions.imageio.plugins.png.PNGWriter.isScanlineSupported(PNGWriter.java:111)

I added a footprints.shp to each level of the Pyramid to set the boundary for 
the WMS. Is this causing those issues? I added the footrpints via trial and 
error, because I couldn't find footprints for pyramids in the documentation.

We are running a geoserver 2.11.1 (we already downgraded, because in the latest 
stable release (2.11.2) we couldn't view the WMS in any other CRS)

Thanks and kind regards,
Anna

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


[Geoserver-users] WMS NullPointer Exception

2017-09-25 Thread Anna-Lena.Hock
Dear List,

currently I am facing a problem with our WMS Service. The data source is a big 
Image Pyramid with 5 levels covering Germany in EPSG:25832. For tiles outside 
the boundaries of the dataset Geoserver throws nullpointer exceptions:

2017-09-25 11:47:22,205 ERROR [geoserver.ows] -
java.lang.NullPointerException
at javax.media.jai.PlanarImage.getData(PlanarImage.java:2110)
at javax.media.jai.PlanarImage.getData(PlanarImage.java:2016)
at javax.media.jai.RenderedOp.getData(RenderedOp.java:2266)
at 
it.geosolutions.imageio.plugins.png.ScanlineProviderFactory.getProvider(ScanlineProviderFactory.java:53)
at 
it.geosolutions.imageio.plugins.png.PNGWriter.isScanlineSupported(PNGWriter.java:111)

I added a footprints.shp to each level of the Pyramid to set the boundary for 
the WMS. Is this causing those issues? I added the footrpints via trial and 
error, because I couldn't find footprints for pyramids in the documentation.

We are running a geoserver 2.11.1 (we already downgraded, because in the latest 
stable release (2.11.2) we couldn't view the WMS in any other CRS)

Thanks and kind regards,
Anna


--
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] WCS returns wrong GeoTiffs

2017-08-11 Thread Anna-Lena.Hock
Hello Andrea,

yes, I did. But I send it again:

I requested in GK3:
SUBSET=Y,http://www.opengis.net/def/crs/EPSG/0/31467(340,342)&SUBSET=X,http://www.opengis.net/def/crs/EPSG/0/31467(566,568)
AND set the crs to be the same:
&SUBSETTINGCRS=http://www.opengis.net/def/crs/EPSG/0/31467
&OUTPUTCRS=http://www.opengis.net/def/crs/EPSG/0/31467

Should be 340, 566 to 342, 568

But GeoServer returned:
339.6508074491284788,565.2086437549442053 : 
3419997.6992640472017229,5680002.2594826966524124

I just don’t understand why the extent is wrong AND the pixel size and 
dimension. I understand that there are different distortions depending on the 
projection.
But how could I get the bounding box I requested?

@Jukka: Thanks for the hint with the Scaleextent – I give it a try… I just 
wanted to avoid to clip the image again to the requested extend.

Von: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] Im Auftrag von Andrea 
Aime
Gesendet: Freitag, 11. August 2017 14:04
An: Hock, Anna-Lena 
Cc: Rahkonen Jukka (MML) ; GeoServer 
Mailing List List 
Betreff: Re: [Geoserver-users] WCS returns wrong GeoTiffs

On Fri, Aug 11, 2017 at 1:45 PM, 
mailto:anna-lena.h...@bkg.bund.de>> wrote:
As far as I can interpret this, it means that in case we have OUTPUTCRS equals 
SUBSETTINGCRS the extent of the image should be exactly the one requested in 
SUBSET. The request coordinates aren’t transformed – the bounding box is 
“fixed” and the image is filled in this extent. If you vary the dimension and 
the size, then it should be possible to keep the requested extent. Am I missing 
something here?

Hum... you did not provide the output bounding box, in your first mail you were 
concerned about the resolution and pixel width/height only no?
What bounding box did GeoServer return?

During reprojection with no target resolution normally one can choose to 
respect either the native resolution (it seems GeoServer did,
to the letter, taking into account the different scaling factor of the two 
projections) or the target bounding box, but it's impossible in
general to do both.
Looking again at the specification extracts from Jukka I don't see a indication 
that one should be preferred over the other, looks
like an implementation decision.

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
htt

Re: [Geoserver-users] WCS returns wrong GeoTiffs

2017-08-11 Thread Anna-Lena.Hock
As far as I can interpret this, it means that in case we have OUTPUTCRS equals 
SUBSETTINGCRS the extent of the image should be exactly the one requested in 
SUBSET. The request coordinates aren’t transformed – the bounding box is 
“fixed” and the image is filled in this extent. If you vary the dimension and 
the size, then it should be possible to keep the requested extent. Am I missing 
something here?

Von: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] Im Auftrag von Andrea 
Aime
Gesendet: Freitag, 11. August 2017 12:37
An: Rahkonen Jukka (MML) 
Cc: Hock, Anna-Lena ; 
geoserver-users@lists.sourceforge.net
Betreff: Re: [Geoserver-users] WCS returns wrong GeoTiffs

On Fri, Aug 11, 2017 at 12:21 PM, Rahkonen Jukka (MML) 
mailto:jukka.rahko...@maanmittauslaitos.fi>>
 wrote:
Hi,

I did not notice that reprojection happens.

Ah sorry, I thought you did not when I read you stating that the server should 
keep the native resolution... which, when reprojecting,
seems a very hard thing to do, at least exactly as requested in the first mail
The GeoServer resolution is off by just 2mm, or a shift of  0.04% of the 
original resolution.

Also, the two coordinate reference systems do not have the same scaling factor, 
the target one has a scaling factor
of 1 and UTM32N has a scaling factor or 0.9996, so 1 meter in one is not 1 
meter in the other.
Actually, guess what... 5/0.9996 -> 5.0020008, exactly the resolution computed 
by GeoServer.
Can we say GeoServer is actually retaining the exact original pixel size here? 
:-)

And this probably explains what should happen with extents and pixel size if 
reader can interpret it (I couldn’t yet).

“The range values of the response to a successful GetCoverage request 
containing an
outputCrs parameter shall be determined according to the following conceptual
evaluation model: Take the bounding box of the request’s subsetting parameter 
(or the full
coverage bounding box if no subsetting was specified in the request); 
re-project this
bounding box to the output CRS provided; generate the result image extent as 
the smallest
bounding box around the reprojected subsetting box; fill this new image extent 
with pixel
values re-projected from the coverage’s Native CRS to the output CRS in a way 
that, for each
axis, the smallest distance between any two reprojected grid points is used as 
offset
(including all interpolation and resampling necessary) unless specified 
otherwise by further
request parameters.

Yeah, I read it as well, but could not figure out its meaning either! :-)

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 thi

[Geoserver-users] WCS returns wrong GeoTiffs

2017-08-10 Thread Anna-Lena.Hock
Hello everyone,

we recently tested the WCS of Geoserver. We want to use the service to request 
images in different projections. Our data source is in UTM32N and we requested 
GK3 images with coordinates in GK3. Here is the request:

{_URL_}wcs?SERVICE=WCS&VERSION=2.0.1&REQUEST=GetCoverage&COVERAGEID=raster_test:DTK100n
 
&FORMAT=GeoTIFF&SUBSET=Y,http://www.opengis.net/def/crs/EPSG/0/31467(340,342)&SUBSET=X,http://www.opengis.net/def/crs/EPSG/0/31467(566,568)&SUBSETTINGCRS=http://www.opengis.net/def/crs/EPSG/0/31467&OUTPUTCRS=http://www.opengis.net/def/crs/EPSG/0/31467

First we thought it would be a problem of the transformation of the pixels, but 
in our opinion the distortion is too big (3 pixels are missing). Here are the 
parameters of the image generated by the request:

Dimensions
X: 3998 Y: 3999 Bands: 1


Pixel Size

5.00201,-5.00201
Layer Extent (layer original source projection)
339.6508074491284788,565.2086437549442053 : 
3419997.6992640472017229,5680002.2594826966524124

The resulting image has the wrong Pixel size (should be 5), the wrong extent 
and the wrong dimensions (should be 4000 each direction). Additionally there is 
a small shift in the image compared to the data source. We also run the test on 
the MapServer and received the correct size, extent and dimension.
Are we missing a setting? We already checked the CRS settings in the 
epsg.properties file, but those are correct. Is there any possibility or 
workaround for this issue?
Maybe there is a possibility to snap the pixels to a specified grid?

Kind regards,
Anna

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


[Geoserver-users] Freemarker Templates empty Response

2017-07-31 Thread Anna-Lena.Hock
Dear Geoserver Users,

currently we experienced a problem with the freemarker Templates and the 
GetFeatureRequest. If Geoserver couldn't find any feature and therefore the 
response of GetFeature is empty, we want to show a "No results" message instead 
of the empty html.

As far as we know only the content-Freemarker Template has access to the 
features returned from the server. But unfortunately the content.ftl is never 
executed if the response was empty.
Consequently it's not possible to show such a message, because you don't have 
access to the features in the header.ftl to check if the result is null and the 
content.ftl (where we could check) is never executed.

Is there any workaround for this problem?

Kind regards,
Anna
--
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