Re: [Geoserver-users] WCS_2.0.1

2018-10-21 Thread bradh
I don’t think there is any way to do this without code changes on the geoserver 
side. You could modify your client, or use a rewriting proxy.

 

You should be careful about making changes that will make the XML different to 
that expected by standard clients.

 

Brad

 

From: Dipak Gupta  
Sent: Sunday, 21 October 2018 6:58 AM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] WCS_2.0.1

 

Hi Georver Team,

 

I want to add extra parameter like ows:ExceptionReport in wcs xml response of 
get capabilities from geoserver.

 

-- 

Dipak Gupta

Associate IT Developer
Ph no.- +917587113200

___
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] [QGIS-Developer] QGIS WCS is requesting FULL dataset?

2018-10-21 Thread Andrea Aime
On Sat, Oct 20, 2018 at 9:58 PM Jonathan Moules <
jonathan-li...@lightpear.com> wrote:

> Hi Lists,
>
> I'm cross posting this to GeoServer-Users over from QGIS-Dev as the
> current QGIS code seems to be trying to work around a GeoServer quirk
> based on Nyall's code-comment snippet.
>
> Is there something different QGIS can do to work around the stated issue
> in a better way given I guess requesting a 10x10 Coverage via WCS isn't
> going to be doing the host server any favours?
>

The behavior described in the comments might be actually happening...
sorry, no time to
look into it right now, we have the JDK11 code sprint incoming and all
spare time is going there.
I checked the ticket tracker, found no bug report about it.
I would be useful if someone could verify, maybe using a built-in demo
dataset.

Fixing it right now might help, but it will take many years before older
versions of GeoServer
out there are upgraded, we get a surprisingly high number  people running 5
years old versions of GeoServer
asking questions on the list just saying, even if one rushes to fix it
now, that code in QGIS might
not be lifted anytime soon (but it could be made configurable I guess?).

Also, in GeoServer WCS 1.0 normally uses overviews when available, but of
course the layer
might not have them, or be a mosaic of many files. That said, the WCS being
queried is not a GeoServer,
not sure how it might work.

Finally...  any chance QGIS could be using WCS 2.0 instead? The 1.0 and 1.1
protocols are ancient and pretty clunky,
WCS 2.0 is so much better from all points of view.
In fact, I believe that WCS 1.0 and 1.1 have received little to no
significant maintenance
in GeoServer for the longest time, I'd venture to guess very few care about
them.
WCS 2.0 is instead receiving interest and more care, likely because it has
been chosen by INSPIRE
for raster download services.

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
--- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
___
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] Why is footprint shape file necessary in Geoserver and not in QGIS for ECW file?

2018-10-21 Thread Ron Lindhoudt via Geoserver-users
Hi Andrea,

This is the GDALINFO:

C:\ECW\Weesp>gdalinfo Parcel2_Weesp_Mosaic.ecw
Driver: ECW/ERDAS Compressed Wavelets (SDK 3.x)
Files: Parcel2_Weesp_Mosaic.ecw
Size is 175000, 175000
Coordinate System is:
PROJCS["NUTM31",
GEOGCS["RIJKDRIEHOEKSMETING",
DATUM["RD",
SPHEROID["BESS1841",6377397.155,299.1528128]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",3],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",50],
PARAMETER["false_northing",0],
UNIT["Meter",1]]
Origin = (129500.000,483000.000)
Pixel Size = (0.040,-0.040)
Corner Coordinates:
Upper Left  (  129500.000,  483000.000) (  0d20'15.75"W,  4d21'45.91"N)
Lower Left  (  129500.000,  476000.000) (  0d20'14.75"W,  4d17'58.30"N)
Upper Right (  136500.000,  483000.000) (  0d16'28.99"W,  4d21'46.91"N)
Lower Right (  136500.000,  476000.000) (  0d16'28.01"W,  4d17'59.28"N)
Center  (  133000.000,  479500.000) (  0d18'21.87"W,  4d19'52.60"N)
Band 1 Block=175000x1 Type=Byte, ColorInterp=Red
  Overviews: 87500x87500, 43750x43750, 21875x21875, 10937x10937, 5468x5468,
2734x2734, 1367x1367, 683x683, 341x341, 170x170
Band 2 Block=175000x1 Type=Byte, ColorInterp=Green
  Overviews: 87500x87500, 43750x43750, 21875x21875, 10937x10937, 5468x5468,
2734x2734, 1367x1367, 683x683, 341x341, 170x170
Band 3 Block=175000x1 Type=Byte, ColorInterp=Blue
  Overviews: 87500x87500, 43750x43750, 21875x21875, 10937x10937, 5468x5468,
2734x2734, 1367x1367, 683x683, 341x341, 170x170


Maybe QGIS detects the background color black as to be transparent?
In the Geoserver ImageMosaic plugin you can map an inputcolor to be
transparent.
But this is not possible in the Geoserver ECW plugin.

What do you use instead of ECW for rasters that is not too big, time and
memory consuming?

Thanks,
Ron



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


___
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] WFS protect server from overcapacity by enforcing BBOX in requests + limiting max BBOX area

2018-10-21 Thread Andrea Aime
Hi,
the WFS protocol has no way to advertise limits on the bounding box, so
trying to apply them would break
any "standard" client, only clients hand-crafted to work against our
service would be able to reliably extract information
out of it.

The WFS protocol choice to avoid overloading the server is limiting the
number of features returned, and let the client
resort to paging if they cannot get all they want in one shot.
In GeoServer that setting is found under the "WFS" service configuration,
and normally set to a high value, like 10 millions
features, because the way GeoServer operaters is "streaming", meaning it
never loads the whole result in memory,
it reads a page of features, encodes them in GML and sends them out, reads
another page, and so on until the end.
Typically all you need to avoid being overwhelmed is enough database
connections, since they are kept open during
the whole output writing process.

Since you are setting up for production, I'd suggest to also have a look at
these contents:

   -
   
https://www.slideshare.net/geosolutions/geoserver-in-production-we-do-it-here-is-how-foss4g-2016
   - https://geoserver.geo-solutions.it/edu/en/adv_gsconfig/index.html
   - https://geoserver.geo-solutions.it/edu/en/enterprise/index.html

Cheers
Andrea


On Sun, Oct 21, 2018 at 5:36 PM Julien Laurenceau <
julienlaurenc...@gmail.com> wrote:

> Hi,
> I would like to protect my WFS server from overcapacity and thus I would
> like to be able to be able to tune the maximum "cost" of a single request.
> I already have a way to rate limit the number of calls so that once I'll
> be able to tune the maximum cost of a single request it will be easy to
> protect my server from overcapacity.
>
> The easiest way that I can think of would be :
> - to force users to define BBOX in their requests
> - to be able to limit a maximum BBOX area on the server.
>
> I saw that the geofence extension is able to crop the visible area to some
> regions, but this is not what I want.
> I would like everything to be visible to users, but I would like to force
> users to perform several requests when they would like to retrieve a lot of
> features with WFS.
>
> Thanks and regards
> Julien
>
>
> 
>  Virus-free.
> www.avast.com
> 
> <#m_-5174598143498235861_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> ___
> 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
>


-- 

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
--- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
___
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 

[Geoserver-users] WFS protect server from overcapacity by enforcing BBOX in requests + limiting max BBOX area

2018-10-21 Thread Julien Laurenceau
Hi,
I would like to protect my WFS server from overcapacity and thus I would
like to be able to be able to tune the maximum "cost" of a single request.
I already have a way to rate limit the number of calls so that once I'll be
able to tune the maximum cost of a single request it will be easy to
protect my server from overcapacity.

The easiest way that I can think of would be :
- to force users to define BBOX in their requests
- to be able to limit a maximum BBOX area on the server.

I saw that the geofence extension is able to crop the visible area to some
regions, but this is not what I want.
I would like everything to be visible to users, but I would like to force
users to perform several requests when they would like to retrieve a lot of
features with WFS.

Thanks and regards
Julien


Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
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] Why is footprint shape file necessary in Geoserver and not in QGIS for ECW file?

2018-10-21 Thread Andrea Aime
Hi Ron,
no clue, I was under the impression that ECW files had no transparency
information... but
I haven't really looked much into it, server side usage of ECW requires an
expensive licence
to be done legally, so we normally just don't use it.

Can you run a gdalinfo on your file?

Cheers
Andrea

On Sun, Oct 21, 2018 at 9:39 AM Ron Lindhoudt via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> When I open an ECW file in QGIS then the black background of the ECW is
> automatically made transparent.
> When I add the same ECW in Geoserver via ECW plugin then the background is
> black and not transparent.
> Also if I change the footprint behavior to "Transparent". I have to make a
> shape footprint file with the same name as the ECW file to make the black
> background transparent.
> Is it possible in Geoserver to make the background of an ECW fie
> transparent
> without making a footprint shape file?
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> 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
>


-- 

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
--- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
___
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] Why is footprint shape file necessary in Geoserver and not in QGIS for ECW file?

2018-10-21 Thread Ron Lindhoudt via Geoserver-users
When I open an ECW file in QGIS then the black background of the ECW is
automatically made transparent.
When I add the same ECW in Geoserver via ECW plugin then the background is
black and not transparent.
Also if I change the footprint behavior to "Transparent". I have to make a
shape footprint file with the same name as the ECW file to make the black
background transparent.
Is it possible in Geoserver to make the background of an ECW fie transparent
without making a footprint shape file? 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


___
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] WCS_2.0.1

2018-10-21 Thread Dipak Gupta
Hi Georver Team,

I want to add extra parameter like ows:ExceptionReport in wcs xml response
of get capabilities from geoserver.

-- 
Dipak Gupta
Associate IT Developer
Ph no.- +917587113200
___
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] Footprint Behavior property not visible

2018-10-21 Thread Ron Lindhoudt via Geoserver-users
The problem was that the layer was created via the REST API without the entry
for FootprintBehavior. That's why it was not visible in the Web interface. 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


___
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