Re: [Geoserver-users] Odd Mapbox vector tile (MVT) rendering since GS 2.15

2019-11-14 Thread Jody Garnett
Thanks for the detailed report, checking the release notes here:
https://osgeo-org.atlassian.net/jira/secure/ReleaseNote.jspa?projectId=1=16746

Shows a number of map box vector tile problems being fixed that would
result in differences between 2.14 and 2.15.
--
Jody Garnett


On Thu, 14 Nov 2019 at 06:24, Maurizio La Mela 
wrote:

> Hi,
>
>
> after upgrading Geoserver from version 2.13 to version 2.15.3, I have
> encountered an odd issue concerning GWC and MVT:
>
> Mapbox vector tiles (pbf as well as generated mbtiles) that are generated
> by GWC are rendered at the wrong location on the map.
>
> Coordinates, extent, and scaling of vector tiles generated by GS >=2.15.x
> differ greatly from VT that were generated by previous GS versions (GS <=
> 2.14.x).
>
> This deviation can be examined by using the QGIS mapping software.
>
>
> Steps to reproduce this issue by using the topp:tasmania_roads layer:
>
>1. Enable caching for the topp:tasmania_roads layer
>2. Generate MVT with GS 2.14 - Use the GWC integration to seed MVT
>(MIME "application/x-protobuf;type=mapbox-vector") using the default
>EPSG:900913 gridset
>3. Generate MVT with GS 2.15 - Use the GWC integration to seed MVT
>(MIME "application/vnd.mapbox-vector-tile") using the same gridset
>4. Open QGIS and add one arbitrary pbf-file that was generated by GS
>2.14 to the QGIS map (Note: "Vector Tiles Reader" plugin must be installed)
>5. Add the pbf-file that was generated by GS 2.15 and the same
>coordinate (XYZ) to the map
>6. Examine if the rendered position, scale and/or extent differ
>
>
> Any help is appreciated.
>
>
> Thanks,
>
> Mauro
> ___
> 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 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] How to upload custom files to Geoserver

2019-11-14 Thread Andrea Aime
Hi,
I believe most web containers limit the size of what can be uploaded by
POST, but it's configurable.. in each container in a different way.
For example, in GeoSolutions we use Tomcat, and the configuration is called
maxPostSize, see here:
https://tomcat.apache.org/tomcat-8.0-doc/config/http.html

Cheers
Andrea


On Wed, Nov 13, 2019 at 7:09 PM  wrote:

> Hi,
> The problem in this solution is that the limitation of the body of the WPS
> request. I tried to search if there is  a limitation on that, but found
> that it's just the limitation of the web-browser you are using. Is that
> correct? are there any other limitations on the WPS request's body?
>
> Regards,
> Fawzy
>
> --
> Securely sent with Tutanota. Get your own encrypted, ad-free mailbox:
> https://tutanota.com
>
>
> Nov 13, 2019, 21:03 by andrea.a...@geo-solutions.it:
>
> Hi,
> since this is a mix of info that can be directly managed by GeoServer (the
> GML), and info that do not (the images),
> and you're already familiar with writing a WPS process, writing another
> process to do the import and place the
> files wherever you need would seem the easiest way.
>
> Cheers
> Andre
>
> On Wed, Nov 13, 2019 at 6:55 PM  wrote:
>
> Hi Andrea,
> Thanks a lot for your replies.
> My problem is:
> 1- I have a vector layer, which has some points.
> 2- When a user adds a point, he associates an image to it. He first needs
> to upload these images to GeoServer (using a custom WPS I've made), then
> assign each image to as much points as he wants.
> 3- Now I need to implement an Import/Export functionality in my program.
> So for the vector layer I decided to export it as GML, then when importing
> the program converts this GML to a WFS-T Insert. I've succeeded in that
> point.
> 4- The problem is in the images, they must be also exported, then imported
> to the same relative path.
> 5- So, I decided to export the images also and combine them with the GML
> file in a zip file. Then when importing I decompress the file, take the
> images and put them in the correct relative path, then process the GML file
> as described in (3).
> 6- My problem now is how to upload this zip file to GeoServer.
>
> Regards,
> Fawzy
>
> --
> Securely sent with Tutanota. Get your own encrypted, ad-free mailbox:
> https://tutanota.com
>
>
> Nov 13, 2019, 20:40 by andrea.a...@geo-solutions.it:
>
> On Wed, Nov 13, 2019 at 6:36 PM  wrote:
>
> My data is neither a vector nor a raster data. It's a custom data.
>
>
> Oh, in that case the import is the last of your problems, GeoServer has
> concepts only for rasters and vectors,
> if your custom data can be related to one of those two (or both) you'll
> have to write first a new DataStore (for the vector part)
> or a new coverage reader (for the raster part).
>
> Hard to give you more information without an explanation of what "custom"
> really means
>
> 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.*
>
>
>
>
> --
>
> 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
> 

Re: [Geoserver-users] How to unsubscribe?

2019-11-14 Thread Simone Giannecchini
This should do:
https://sourceforge.net/projects/geoserver/lists/geoserver-users/unsubscribe

Regards,
Simone Giannecchini
==
GeoServer Professional Services from the experts!
Visit http://bit.ly/gs-services for more information.
==
Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob:   +39  333 8128928

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.

On Thu, Nov 14, 2019 at 7:22 PM Mike Bronner via Geoserver-users
 wrote:
>
> Sorry if this is posted in the wrong place, but I have tried MANY times to 
> unsubscribe using the link at the bottom of the list emails, but am still 
> getting copied on list conversations.
>
> Is there some other way we need to unsubscribe ourselves?
>
> ___
> 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 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] How to unsubscribe?

2019-11-14 Thread Mike Bronner via Geoserver-users
Sorry if this is posted in the wrong place, but I have tried MANY times to 
unsubscribe using the link at the bottom of the list emails, but am still 
getting copied on list conversations.

Is there some other way we need to unsubscribe ourselves?

___
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] No gdaljni in java.library.path Tomcat docker container

2019-11-14 Thread webbber
The error I am encountering is:

WARNING [http-nio-8090-exec-82]
it.geosolutions.imageio.gdalframework.GDALUtilities.loadGDAL Failed to load
the GDAL native libs. This is not a problem unless you need to use the GDAL
plugins: they won't be enabled.* java.lang.UnsatisfiedLinkError: no gdaljni
in java.library.path*

I have read other threads already regarding this, and have tried several
suggested offerings for fixing this without much luck. I have followed the
instructions here: 
https://docs.geoserver.org/stable/en/user/data/raster/gdal.html
  . 

My environment variables look like this:

LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib:/usr/lib/jni
GDAL_DATA=/usr/share/gdal/2.1

Per the instructions, running this:

sudo apt-get install gdal-bin libgdal-java

installs everything I need. Considering the docker container has app-get, I
believe it is a flavor of linux that supports this installation. This being
the case, I am surprised it cannot find what it needs. I have confirmed the
gdal install and env variable are correct, but the catalina log keeps
spitting out the same error above.

My question is, what does
it.geosolutions.imageio.gdalframework.GDALUtilities.loadGDAL consider to be
the native libs and where does it expect to find them? Also, where does the
command sudo apt-get install gdal-bin libgdal-java install the libgdal-java
files? I looked in the /usr/share/gdal/2.1 and there is no lib folder.
Hence, tried using /usr/lib/jni above as an export. 

Man thanks in advance for any help you can provide. Cheers






--
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] Odd Mapbox vector tile (MVT) rendering since GS 2.15

2019-11-14 Thread Maurizio La Mela
Hi,


after upgrading Geoserver from version 2.13 to version 2.15.3, I have
encountered an odd issue concerning GWC and MVT:

Mapbox vector tiles (pbf as well as generated mbtiles) that are generated
by GWC are rendered at the wrong location on the map.

Coordinates, extent, and scaling of vector tiles generated by GS >=2.15.x
differ greatly from VT that were generated by previous GS versions (GS <=
2.14.x).

This deviation can be examined by using the QGIS mapping software.


Steps to reproduce this issue by using the topp:tasmania_roads layer:

   1. Enable caching for the topp:tasmania_roads layer
   2. Generate MVT with GS 2.14 - Use the GWC integration to seed MVT (MIME
   "application/x-protobuf;type=mapbox-vector") using the default EPSG:900913
   gridset
   3. Generate MVT with GS 2.15 - Use the GWC integration to seed MVT (MIME
   "application/vnd.mapbox-vector-tile") using the same gridset
   4. Open QGIS and add one arbitrary pbf-file that was generated by GS
   2.14 to the QGIS map (Note: "Vector Tiles Reader" plugin must be installed)
   5. Add the pbf-file that was generated by GS 2.15 and the same
   coordinate (XYZ) to the map
   6. Examine if the rendered position, scale and/or extent differ


Any help is appreciated.


Thanks,

Mauro
___
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] Sending overly large viewparams in a GetMap request

2019-11-14 Thread Louis JOHANET
Hi all,

I found the answer in previous (albeit old !) e-mail exchanges in this mailing 
list.

The solution is quite simple : just send overly large parameters in the request 
body, and set the 'Content-Type' header to 'application/x-www-form-urlencoded'. 
Geoserver will read  these as if they were sent through the URL.

When using OpenLayers, one can configure it to send POST WMS requests instead 
of GET by overriding the imageLoadFunction/tileLoadFunction as shown here :

https://stackoverflow.com/questions/29826627/how-to-make-ol-source-imagewms-send-post-request

Best regards,

Louis Johanet

De : Louis JOHANET 
Envoyé : jeudi 7 novembre 2019 18:22
À : geoserver-users@lists.sourceforge.net
Objet : [Geoserver-users] Sending overly large viewparams in a GetMap request

Hi,

I am sending large GetMap WMS requests (> 15kb) to Geoserver with numerous 
viewparams, which causes HTTP errors as it exceeds the container's 
configuration. I would like to avoid modifying this config as I would have to 
do it in many places, thus I am looking for another way to send these 
viewparams.

· It appears that although the GetMap endpoint supports POST XML 
requests (as seen 
here), it 
does not support sending viewparams

· Posting viewparams as form-data in the GET request does not seem to 
work. I can't find the related source code, but I assume that these are not 
handled when parsing the request

This question has been partially answered 
here,
 suggesting that I could do a « GET-like request by submitting a form ». I 
struggle to see how this would work, as an XML would be expected in this case.

Has anyone ever had to deal with overly large viewparams ? If so, how did you 
do it ?
Best regards,

Louis Johanet
___
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