Re: [Geoserver-users] Release mapfish print v2

2024-07-08 Thread Phil Scadden
I do get my google tiles directly from google in approved way (and pay for 
them).  That is why I am more interested in a mapfish server managing all sorts 
of protocols rather that one tied to geoserver.  I am using leaflet as client 
and mixing and matching from all over the show. The big issue with esri vector 
tiles (which have sadly become very popular) is that the leaflet plugin can 
only handle web Mercator. I looked the issue and messy. I will look at geotools 
code and think about it some more.

From: Jody Garnett 
Sent: Tuesday, July 9, 2024 12:30 PM
To: Phil Scadden 
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Release mapfish print v2



CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe:
So you know that use of google tiles is not a thing we are supposed to do 
right? They really want you to use their javascript api - so that the tiles can 
be paid for (by your application user's privacy...).  There all kinds of 
technical ways around this of course, but ethical ways around it are suspect ...

We have all kinds of code for messing with data if you wish to take on vector 
tiles. I think there is even something that reads them, and retrojects them for 
geowebcache, so it is all within reach if you want to play.

Still the origional motivator that paid for printing (and thus PDF output also) 
was parties that had a regulated requirement to output paper maps at specific 
scales. I think we have moved beyond that now 

--
Jody Garnett


On Jul 8, 2024 at 3:23:46 PM, Phil Scadden 
mailto:p.scad...@gns.cri.nz>> wrote:
For my 2c, I was excited when heard about mapfish a decade or so ago, but 
quickly lost interest because it lacked support for google tiles. If more map 
layers were supported, then I suspect there would be more interest. I have 
users of my webmaps (which depend on slightly better than browser screenshots) 
asking for higher res imagery. Layer support was the achilles heel. Better 
support for ESRI services and vector tiles would be needed for it to be really 
interesting. Since virtually all my webmapping deals with layers from multiple 
services, not just geoserver, a mapfish server that is only operating on a 
single geoserver instance is less interesting.

From: Tiago Vieira mailto:tixvie...@gmail.com>>
Sent: Tuesday, July 9, 2024 4:23 AM
To: Jody Garnett mailto:jody.garn...@gmail.com>>
Cc: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] Release mapfish print v2



CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe:


So, as far as I understand you are suggesting to bring the mapfish print to the 
community module of geoserver?
Is it considered a community module or extension? Because it's on the 
extensions download page of geoserver. (https://geoserver.org/release/stable/ 
--> Cartography)

I can give it a try on doing that.

Tiago Vieira


On Mon, 8 Jul 2024 at 15:59, Jody Garnett 
mailto:jody.garn...@gmail.com>> wrote:
I have nothing against the printing plugin - just that it needs some love 

What would be the best way to support this thing? If it is only the geoserver 
project using mapfish printv2 then the geoserver community should come up with 
a plan ... so I was presenting some plans :P​

If you are making pull-requests then you have some technical capacity so you 
are exactly who we want to make plans with
--
Jody Garnett


On Jul 8, 2024 at 12:57:05 AM, Tiago Vieira 
mailto:tixvie...@gmail.com>> wrote:
Hi Jody,

This is the project that supports the "Printing" extension in geoserver, right?
I don't know if many people use it, but in our project we use this printing 
plugin a long time ago :)

Is there any alternative to have a vectorial print? And also, with this printv2 
we are able to print maps with google maps tiles included.

I think the functionality of naming the PDF Layers is essential, so an end-user 
will be able to have a human readable translation, instead of internal layer 
names.

Thanks,
Tiago Vieira


On Mon, 8 Jul 2024 at 01:05, Jody Garnett 
mailto:jody.garn...@gmail.com>> wrote:
I have commit access; but really this project ended a long time ago.

So you know of people who are interested in this functionality? It would be 
good to assemble an activity to update / migrate / or inokement something 
comparable in geotools.

--
Jody Garnett


On Sun, Jul 7, 2024 at 1:04 PM Tiago Vieira 
mailto:tixvie...@gmail.com>> wrote:
Hi,

I don't know if this is the right mailing list to use, but do you know who can 
review the 3 PR in the mapfish print v2 github, and do a new release to upgrade 
the extensions of a next geoserver version.
https://github

Re: [Geoserver-users] Release mapfish print v2

2024-07-08 Thread Phil Scadden
For my 2c, I was excited when heard about mapfish a decade or so ago, but 
quickly lost interest because it lacked support for google tiles. If more map 
layers were supported, then I suspect there would be more interest. I have 
users of my webmaps (which depend on slightly better than browser screenshots) 
asking for higher res imagery. Layer support was the achilles heel. Better 
support for ESRI services and vector tiles would be needed for it to be really 
interesting. Since virtually all my webmapping deals with layers from multiple 
services, not just geoserver, a mapfish server that is only operating on a 
single geoserver instance is less interesting.

From: Tiago Vieira 
Sent: Tuesday, July 9, 2024 4:23 AM
To: Jody Garnett 
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Release mapfish print v2



CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe:


So, as far as I understand you are suggesting to bring the mapfish print to the 
community module of geoserver?
Is it considered a community module or extension? Because it's on the 
extensions download page of geoserver. (https://geoserver.org/release/stable/ 
--> Cartography)

I can give it a try on doing that.

Tiago Vieira


On Mon, 8 Jul 2024 at 15:59, Jody Garnett 
mailto:jody.garn...@gmail.com>> wrote:
I have nothing against the printing plugin - just that it needs some love 

What would be the best way to support this thing? If it is only the geoserver 
project using mapfish printv2 then the geoserver community should come up with 
a plan ... so I was presenting some plans :P​

If you are making pull-requests then you have some technical capacity so you 
are exactly who we want to make plans with
--
Jody Garnett


On Jul 8, 2024 at 12:57:05 AM, Tiago Vieira 
mailto:tixvie...@gmail.com>> wrote:
Hi Jody,

This is the project that supports the "Printing" extension in geoserver, right?
I don't know if many people use it, but in our project we use this printing 
plugin a long time ago :)

Is there any alternative to have a vectorial print? And also, with this printv2 
we are able to print maps with google maps tiles included.

I think the functionality of naming the PDF Layers is essential, so an end-user 
will be able to have a human readable translation, instead of internal layer 
names.

Thanks,
Tiago Vieira


On Mon, 8 Jul 2024 at 01:05, Jody Garnett 
mailto:jody.garn...@gmail.com>> wrote:
I have commit access; but really this project ended a long time ago.

So you know of people who are interested in this functionality? It would be 
good to assemble an activity to update / migrate / or inokement something 
comparable in geotools.

--
Jody Garnett


On Sun, Jul 7, 2024 at 1:04 PM Tiago Vieira 
mailto:tixvie...@gmail.com>> wrote:
Hi,

I don't know if this is the right mailing list to use, but do you know who can 
review the 3 PR in the mapfish print v2 github, and do a new release to upgrade 
the extensions of a next geoserver version.
https://github.com/mapfish/mapfish-print-v2/pulls


Thank you,
Tiago Vieira
___
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
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Problems recreating a layer after a deletion

2024-04-03 Thread Phil Scadden
Thank you! Deleting the featureType allowed me to create again ok.

From: Andrea Aime 
Sent: Tuesday, April 2, 2024 8:47 PM
To: Phil Scadden 
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Problems recreating a layer after a deletion



CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe:
Gut feeling, you might be ignoring the relationship between featuretype and 
layer. While they are separate resources,
you have to delete both of them when performing a remove.


Regards,

Andrea Aime



==
GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead



GeoSolutions Group
phone: +39 0584 962313

fax: +39 0584 1660272

mob:   +39  339 8844549


https://www.geosolutionsgroup.com/

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 Mon, Apr 1, 2024 at 7:57 AM Phil Scadden 
mailto:p.scad...@gns.cri.nz>> wrote:
I created a layer from a datastore with:
curl -u user:passwd -X POST -H "Content-type: text/xml" -d 
"MylayermylayerMy 
Layer 
wks:myStyleEPSG:2193"
 https://myserver/rest/workspaces/wks/datastores/wks-zl/featuretypes

However, the structure in the postgis datastore so I deleted with:
curl -u user:passwd -X POST -H "Content-type: text/xml"  
https://myserver/rest/layers/wks:Mylayer

Doesn’t show up. However, when I tried recreate with exactly the same POST, I 
get:

Resource named 'Mylayer' already exists in store: 'wks-zl'

Clearly, I did delete wrong, but how do I republish via REST?
________
Ngā mihi, Nā Phil Scadden (he/him)
Te Raraunga me te Tātaritanga Mokowā Aronuku (Geospatial Data and Analysis)
GNS Science Te Pῡ Ao
13A Alma St, Renwick, 7204
New Zealand Ph +64 27 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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
ht

[Geoserver-users] Problems recreating a layer after a deletion

2024-03-31 Thread Phil Scadden
I created a layer from a datastore with:
curl -u user:passwd -X POST -H "Content-type: text/xml" -d 
"MylayermylayerMy 
Layer 
wks:myStyleEPSG:2193"
 https://myserver/rest/workspaces/wks/datastores/wks-zl/featuretypes

However, the structure in the postgis datastore so I deleted with:
curl -u user:passwd -X POST -H "Content-type: text/xml"  
https://myserver/rest/layers/wks:Mylayer

Doesn’t show up. However, when I tried recreate with exactly the same POST, I 
get:

Resource named 'Mylayer' already exists in store: 'wks-zl'

Clearly, I did delete wrong, but how do I republish via REST?
____
Ngā mihi, Nā Phil Scadden (he/him)
Te Raraunga me te Tātaritanga Mokowā Aronuku (Geospatial Data and Analysis)
GNS Science Te Pῡ Ao
13A Alma St, Renwick, 7204
New Zealand Ph +64 27 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Jittering to anonymize data

2023-04-19 Thread Phil Scadden
I have survey point data (soil geochemistry) that is representative for an area 
but on display, I need to jitter the point location so the actual location 
cannot be discovered. For users point of view, you can click on points and view 
data, but every time you refresh (or preferably every time zoom) the point 
location will change within a certain parameters.

An example https://iupui-earth-science.shinyapps.io/MME_Global/


Any idea of how I might achieve this with geoserver? Anyone done similar??

All I can think of is to draw from a very custom WFS source that is doing the 
jitter.


Ngā mihi, Nā Phil Scadden
Te Raraunga me te Tātaritanga Mokowā Aronuku (Geospatial Data and Analysis)
GNS Science Te Pῡ Ao
764 Cumberland St, Private Bag 1930,
Dunedin, New Zealand Ph +64 3 4799663, 027 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] (large) NetCDF in Geoserver

2022-07-17 Thread Phil Scadden
No geoserver per se, but I would draw your attention to the  edal-java system. 
https://reading-escience-centre.gitbooks.io/edal-user-guide/content/exploring_datasets.html

The EDAL library provides the WMS service to the THREDDS 5+ netCDF servers with 
extended capabilities. (ncWMS). It definitely requires CF-compliant netCDF 
which I am not convinced your is, but it is more tolerant and manages things 
like 5D netCDF which I need. As far as I can tell the geoserver plugin does not 
use the EDAL libraries so it might be worth you having a look. It will NOT grid 
to raster on the fly if that is what are trying to do.

I would have to say that your dataset does not like conventional netCDF target 
– more a standard point+attributes like we would use for our fossil records. 
What are you expecting to see on a visualized map?

From: Frederic Leclercq 
Sent: Saturday, 16 July 2022 12:13 AM
To: 'GeoServer Users' 
Subject: [Geoserver-users] (large) NetCDF in Geoserver



Note: External sender:

Hi all,

I'm trying to serve a NetCDF file (CF-compliant), however the shape is not as I 
would expect. Well - the rationale is that the dataset isn't a true gridded 
dataset and to prevent multiple unused cells it uses 'points' as a dimension.

The shape looks like this:

dimensions:
points = 292332 ;
string45 = 45 ;
taxon = 10830 ;
variables:
int Date(points) ;
float lat(points) ;
float lon(points) ;
float crs ;
char AphiaID(taxon, string45) ;
char Taxon_Name(taxon, string45) ;
byte Pres_abs(taxon, points) ;

I can't import this in Geoserver:

"Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Unable 
to create envelope for this dataset
at 
org.geotools.imageio.netcdf.NetCDFImageReader.setInput(NetCDFImageReader.java:307)
at java.desktop/javax.imageio.ImageReader.setInput(ImageReader.java:380)
at 
org.geotools.coverage.io.netcdf.NetCDFAccess.(NetCDFAccess.java:119)
... 152 more"

Is it related to the taxon dimension which is basically non-numerical or should 
points be reshaped in a time/lat/lon structure? (which will make this file very 
very large, as the points have not that many lats/lons/dates in common)

On the other hand - points x taxon = 3165955560 values in the Pres_abs variable 
- which is larger than 2^31-1 (and that is the maximum value for an array in a 
java application) Before I dive into converting the points dimension to 
lat/lon/time I would like to know if someone managed to serve a quite large 
NetCDF into Geoserver.

Happy to read your ideas/help on this.

Thanks,
Fred.

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Problems trying to upload worldimage zip via REST - some progress

2022-05-09 Thread Phil Scadden
It was the zip file though. I renamed it on server and unzipped. From there I 
could fiddle with the source on data-source and then create a layer so – sort 
of fixed. However, I need a method that doesn’t involve me having direct access 
to the server (ie on the production server, we can only access via the 
geoserver web interface or the API). It looks like zip files are only for 
imagemosaic. No idea how you are supposed to upload images with world files. 
Converting to geoTiff seems to be only option.

From: Humphries, Graham 
Sent: Tuesday, 10 May 2022 10:35 AM
To: Phil Scadden ; geoserver-users@lists.sourceforge.net
Subject: RE: [Geoserver-users] Problems trying to upload worldimage zip via 
REST - some progress



Note: External sender:
A zip file is not necessarily compressed, so it is possible for them to be the 
same size

From: Phil Scadden mailto:p.scad...@gns.cri.nz>>
Sent: Tuesday, 10 May 2022 7:05 AM
To: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] Problems trying to upload worldimage zip via 
REST - some progress

I finally managed to get the file to upload and it has created a datasource 
with a .worldimage file, but this file is exactly that same length as the 
uploaded zip file. Ie doesn’t seem to have unzipped or done anything with it.

Can no one tell me how a tif with a twf world file is supposed to be uploaded?


Ngā mihi, Nā Phil Scadden
Te Raraunga me te Tātaritanga Mokowā Aronuku (Geospatial Data and Analysis)
GNS Science Te Pῡ Ao
764 Cumberland St, Private Bag 1930,
Dunedin, New Zealand Ph +64 3 4799663, 027 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

From: Phil Scadden mailto:p.scad...@gns.cri.nz>>
Sent: Monday, 9 May 2022 1:56 PM
To: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: [Geoserver-users] Problems trying to upload worldimage zip via REST

Error message is: Could not aquire reader for coverage. (full stack dump below).
I have a zip file contain tif, twf and prj file. I tried upload with:
curl -v -u : -XPUT -d file.zip 
http:///rest/workspaces/gns/coveragestores/EIL02PGA/file.worldimage<http://%3cmyserver%3e/rest/workspaces/gns/coveragestores/EIL02PGA/file.worldimage>
 -H "Content-type: Application/zip"

I am obviously misunderstanding the documentation somewhere.

The stack dump is:

2022-05-09 13:49:25,370 ERROR [geoserver.rest] - Could not aquire reader for 
coverage.
org.geoserver.rest.RestException 500 INTERNAL_SERVER_ERROR: Could not aquire 
reader for coverage.
at 
org.geoserver.rest.catalog.CoverageStoreFileController.coverageStorePut(CoverageStoreFileController.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
at 
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800)
at 
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998)
at 
org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:912)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:651)
at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.t

Re: [Geoserver-users] Problems trying to upload worldimage zip via REST - some progress

2022-05-09 Thread Phil Scadden
I finally managed to get the file to upload and it has created a datasource 
with a .worldimage file, but this file is exactly that same length as the 
uploaded zip file. Ie doesn’t seem to have unzipped or done anything with it.

Can no one tell me how a tif with a twf world file is supposed to be uploaded?


Ngā mihi, Nā Phil Scadden
Te Raraunga me te Tātaritanga Mokowā Aronuku (Geospatial Data and Analysis)
GNS Science Te Pῡ Ao
764 Cumberland St, Private Bag 1930,
Dunedin, New Zealand Ph +64 3 4799663, 027 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

From: Phil Scadden 
Sent: Monday, 9 May 2022 1:56 PM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Problems trying to upload worldimage zip via REST

Error message is: Could not aquire reader for coverage. (full stack dump below).
I have a zip file contain tif, twf and prj file. I tried upload with:
curl -v -u : -XPUT -d file.zip 
http:///rest/workspaces/gns/coveragestores/EIL02PGA/file.worldimage<http://%3cmyserver%3e/rest/workspaces/gns/coveragestores/EIL02PGA/file.worldimage>
 -H "Content-type: Application/zip"

I am obviously misunderstanding the documentation somewhere.

The stack dump is:

2022-05-09 13:49:25,370 ERROR [geoserver.rest] - Could not aquire reader for 
coverage.
org.geoserver.rest.RestException 500 INTERNAL_SERVER_ERROR: Could not aquire 
reader for coverage.
at 
org.geoserver.rest.catalog.CoverageStoreFileController.coverageStorePut(CoverageStoreFileController.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
at 
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800)
at 
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998)
at 
org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:912)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:651)
at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:26)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:69)
at 
org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:73)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:66)
at 
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:41)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt

[Geoserver-users] Problems trying to upload worldimage zip via REST

2022-05-08 Thread Phil Scadden
Error message is: Could not aquire reader for coverage. (full stack dump below).
I have a zip file contain tif, twf and prj file. I tried upload with:
curl -v -u : -XPUT -d file.zip 
http:///rest/workspaces/gns/coveragestores/EIL02PGA/file.worldimage
 -H "Content-type: Application/zip"

I am obviously misunderstanding the documentation somewhere.

The stack dump is:

2022-05-09 13:49:25,370 ERROR [geoserver.rest] - Could not aquire reader for 
coverage.
org.geoserver.rest.RestException 500 INTERNAL_SERVER_ERROR: Could not aquire 
reader for coverage.
at 
org.geoserver.rest.catalog.CoverageStoreFileController.coverageStorePut(CoverageStoreFileController.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
at 
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800)
at 
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998)
at 
org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:912)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:651)
at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:26)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:69)
at 
org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:73)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:66)
at 
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:41)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:37)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:70)
at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
at 

[Geoserver-users] getting raster statistics (min/max) on a select area of a raster layer??

2022-05-01 Thread Phil Scadden
I couldn’t see anyway to achieve this with Geoserver (looking for a simpler 
version of 
https://developers.arcgis.com/rest/services-reference/enterprise/compute-statistics-and-histograms.htm
 from Arcgis server). It seemed to me that a “statistics” output format for WCS 
would be the right way to do it. Anyone know of extension or WPS efforts that 
might achieve this? (This a necessary prelude to legends/style that change with 
zoom and pan).
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Legend templating in GeoServer [SEC=UNOFFICIAL]

2022-02-08 Thread Phil Scadden
A while back, there was a project to add JSON format to getlegendgraphic but I 
don't think it went anywhere. If this was revived, then you could look at using 
client-side templating for the legend. We have some interest in this area - 
looking a dynamic legends (especially for geology) where legend content 
depended on content of map. However, we need this to work with ArcGIS server 
too, so probably implementing that one layer further up.

From: Michael Sexton 
Sent: Tuesday, 8 February 2022 4:49 PM
To: 'geoserver-users@lists.sourceforge.net' 

Subject: [Geoserver-users] Legend templating in GeoServer [SEC=UNOFFICIAL]



Note: External sender:
Hi GeoServer community

I was wondering whether anyone knew of any legend templating features in 
GeoServer, either in the core libraries or community plugins. I'm wondering if 
there was much like GetFeatureInfo templating, where you could design how you 
want your legends to look (margins, fonts, layout) in the server config. Or if 
one was wanting to write a plugin themselves, how they might get started.

Thanks

Michael Sexton


Data Analyst  |  MEGIS
Minerals Energy Groundwater  |  GEOSCIENCE AUSTRALIA

Phone:  +61 2 6249 9262Fax:  +61 2 6249 
Email:  michael.sex...@ga.gov.auWeb:  
www.ga.gov.au
Cnr Jerrabomberra Avenue and Hindmarsh Drive Symonston ACT 2609
GPO Box 378 Canberra ACT 2601 Australia
Applying geoscience to Australia's most important challenges


Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is 
intended only for the person or entity to which it is addressed. If you are not 
the intended recipient, then you have received this e-mail by mistake and any 
use, dissemination, forwarding, printing or copying of this e-mail and its file 
attachments is prohibited. The security of emails transmitted cannot be 
guaranteed; by forwarding or replying to this email, you acknowledge and accept 
these risks.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Layer-Preview-OpenLayers-does-not-work-with-a-SSL-Reverse-Proxy

2020-12-13 Thread Phil Scadden
Woot! We had all but given up on that.

From: Andrea Aime 
Sent: Friday, 11 December 2020 21:39
To: Kris Johnson 
Cc: GeoServer Mailing List List 
Subject: Re: [Geoserver-users] 
Layer-Preview-OpenLayers-does-not-work-with-a-SSL-Reverse-Proxy



Note: External sender:
Hi Kris,
I believe it was fixed a few months after tha mail:
https://osgeo-org.atlassian.net/browse/GEOS-8504

This demo server uses a Tomcat sitting behind a SSL enabling reverse proxy, the 
preview seems to be working fine:
https://tb16.geo-solutions.it/geoserver/web/
e.g.:
https://tb16.geo-solutions.it/geoserver/oszoom/wms?service=WMS=1.1.0=GetMap=oszoom%3Azoomstack-outdoor=-118397.00155160861%2C-15982.135610342928%2C751441.7791101651%2C1272149.3463547546=518=768=EPSG%3A27700==application/openlayers

Cheers
Andrea

On Thu, Dec 10, 2020 at 11:36 PM Kris Johnson via Geoserver-users 
mailto:geoserver-users@lists.sourceforge.net>>
 wrote:
Hello,

I have the same issue as described here: 
http://osgeo-org.1560.x6.nabble.com/Layer-Preview-OpenLayers-does-not-work-with-a-SSL-Reverse-Proxy-tt5397920.html#a5398155

I don't see a fix in this thread. Does anyone know of one?

--
Kris Johnson
GIS Instructor
Department of Geography, Urban and Environmental Sustainability Studies
University of Minnesota - Duluth
324 Cina Hall
Duluth, MN 55812
218-726-6226 (office) | 612-618-2482 (cell)
Zoom meeting link: https://umn.zoom.us/j/7057588425
---

GIS Researcher

Natural Resources Research Institute (NRRI)

5013 Miller Trunk Hwy, Duluth, MN 55811

- -

NRRI Mission: Deliver integrated research solutions that value our resources, 
environment and economy for a sustainable and resilient future.
Find out more: NRRI website / 
Facebook / 
Twitter / 
Instagram / 
YouTube / 
LinkedIn


NOTE: NRRI’s facilities are operating with limited access due to the COVID-19 
pandemic. Many personnel are working remotely. We will maintain communications 
via email, phone and video conference as needed. Thank you!
___
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.

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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#/

Re: [Geoserver-users] GetLegendGraphic - Multiple Rules are not properly rendered.

2020-12-13 Thread Phil Scadden
There are just times when best approach to legend is to make simple versions 
covering what you need, screenshot, then take them into a good image editor and 
make them pretty. Add the composite pretty output to the style with the Add 
Legend button.

From: Davide Battista 
Sent: Saturday, 12 December 2020 04:15
To: andrea.a...@geo-solutions.it
Cc: GeoServer Mailing List List 
Subject: Re: [Geoserver-users] GetLegendGraphic - Multiple Rules are not 
properly rendered.



Note: External sender:
Thanks Andrea for the helpful advice!


Regards


Davide


On Fri, Dec 11, 2020 at 3:07 PM Andrea Aime 
mailto:andrea.a...@geo-solutions.it>> wrote:
Please keep the list in CC at all times. This is part of the list guidelines, 
which I recommend reading if you haven't
done so yet: http://geoserver.org/comm/userlist-guidelines.html
It's also linked from the footer of all mails posted to this list.

On Fri, Dec 11, 2020 at 2:49 PM Davide Battista 
mailto:davide.batti...@gmail.com>> wrote:
So you should fix the documentation at least.

LOL no, if you care about getting the doc fixed, you must do it. Each page in 
the documentation has
an edit link that will create a PR for you. I warmly suggest looking at this 
presentation before
any further comment on the matter:

https://media.ccc.de/v/bucharest-322-the-secret-life-of-open-source-developers


Anyway, I dig into the code and I found something that ooks weird to me, but 
for sure I'm wrong:

In the LegendUtils file 
(https://github.com/geoserver/geoserver/blob/2.11.4/src/wms/src/main/java/org/geoserver/wms/legendgraphic/LegendUtils.java)

That's an outdated version of the source code, using deprecated API (getRules) 
that was turned into "rules()" a few years later. Let's look at the current 
source code:
 
https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/java/org/geoserver/wms/legendgraphic/LegendUtils.java#L562

Because looking at the code, there is no reason for not rendering both the 
rules.

I already pointed you at the class that builds the full legend in case there is 
a raster symbolizer in the style.
The legend utils code you were looking at is used only for vector data legends:
https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/java/org/geoserver/wms/legendgraphic/BufferedImageLegendGraphicBuilder.java#L189

while this branch is chosen for raster legends:
https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/java/org/geoserver/wms/legendgraphic/BufferedImageLegendGraphicBuilder.java#L175

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

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] netCDF plugin with ncWMS - is it using the ncWMS library for WMS?

2020-11-12 Thread Phil Scadden
What I am trying to do: I want to serve netCDF data via WMS with the ncWMS 
extensions to WMS. I also need this happen via the Reading EDAL libraries (used 
in THREDDS 5 beta, but not in THREDDS 4).

I have some gnarly 5D netCDFs. Production THREDDS fails to open them though 
THREDDS 5 beta (based on EDAL) does ok. Best results come from develop branch 
of the EDAL libraries and I can squeeze some extra performance by a tinker to 
the EDAL CDMUtils. Currently I can work ok with them using a standalone EDAL 
ncWMS server and I can use all the extra ncWMS extensions to the WMS api.

The major thing wrong with this setup is a lack of tile cache. Looking at 
getting geowebcache standalone working with the setup which isnt without 
hiccups. The big downside here is adding two servers (geowebcache and ncWMS) to 
the setup. What if I could do it all through geoserver via the netCDF plugin?

Because of geotool wrappers it is very unclear to me whether the EDAL libraries 
are being used in the current version for netCDF access and WMS. I see that 
recent releases have been extending the WMS to ncWMS but I wondered whether 
this was via the EDAL library or one step further back in geoserver WMS code.

In short, I wondering whether checking out the plugin and changing its 
dependencies is going to make it work for my horrible netCDF files? At very 
least it looks like modifying geotools and the geoserver plugin.

Ngā mihi, Nā Phil Scadden
Te Aroturuki Matepā Aronuku me te Pūtaiao Raraunga
GNS Science Ltd 764 Cumberland St, Private Bag 1930,
Dunedin, New Zealand Ph +64 3 4799663, 027 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] About the Geoserver data in leaflet

2020-09-10 Thread Phil Scadden
I don’t think there is a “one-size-fits-all” solution to legends. The WMS 
getlegendgraphic call does all the work of getting you the image of the style 
to display, but you have to do the work with html and js of making dynamic 
legend containers. My effort are, for example: 
https://data.gns.cri.nz/tez/index.html?map=TEZ-Geoscience, but the same code 
drives many websites and maps so code rather too complex to be much help. It 
comes down to things like:
1/ is the legend container always displayed? or is displayed on demand.
2/ is legend graphic always displayed or only when layer is turned on? (in 
which case need to link the img visibility styling to mechanism for turning 
layers on/off).
3/ is legend always meaningful for all layers?
4/ how to handle really massive legends (ie NZ geology legend on that map is 
visible only as a pop-out graphic when show legend chosen from layer context 
menu – and that is the simple version. A full page one is coming up.)

If you look around web, there are many other solutions. Leaflet has a legend 
plugin which is all config driven but not useful in my opinion for WMS legend. 
You need to make some design decisions and then start coding. The geoserver 
component is simply the GetLegendGraphic call. Client-side questions would be 
better directed to more appropriate sources.

From: Endi Soares 
Sent: Friday, 11 September 2020 00:23
To: Vera Green 
Cc: GeoServer Mailing List List 
Subject: Re: [Geoserver-users] About the Geoserver data in leaflet

Hi
I already have the layers on the WEBGIS page, the new challenge is to present 
the styles, present them in legend

I'm a little lost with that

Best Regards

Em qui., 10 de set. de 2020 às 03:14, Vera Green 
mailto:vera.green...@gmail.com>> escreveu:
In my experience figuring out this plugin is the way to go.
You can get the legend through getFeatureInfo.

https://github.com/heigeo/leaflet.wms



On Wed., Sep. 9, 2020, 5:11 p.m. Endi Soares, 
mailto:endy.soare...@gmail.com>> wrote:
Hi,

I want to consume the Geoserver data in the leaflet, someone has an example 
index.html where I can see the procedures.
If possible with presentation of the legend.

Best regards
--
Endi SoaresGeógrafo
m:(+238) 5809479
a:Praia, Cabo Verdee:
esoares.bvc.2...@gmail.com e: 
endy.soare...@gmail.com

[Image removed by sender.]
___
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


--
Endi SoaresGeógrafo
m:(+238) 5809479
a:Praia, Cabo Verdee:
esoares.bvc.2...@gmail.com e: 
endy.soare...@gmail.com

[Image removed by sender.]
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] About the Geoserver data in leaflet

2020-09-09 Thread Phil Scadden
Geoserver is just another WMS provider from the point of view of leaflet. I 
would consider using one of WMS enhancement plugins, esp
Leaflet.wms and see examples eg
http://heigeo.github.io/leaflet.wms/examples/

Legend presentation is extremely application-dependent. However, it is just a 
case of deciding where an image is going to go and setting the img src 
attribute with javascript to a wms GetLegendGraphic call. For scale-dependent 
legends, set a handler to L.map.zoomlevelschange and modify the
parameter in the img src appropriately.



From: Endi Soares 
Sent: Thursday, 10 September 2020 11:07
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] About the Geoserver data in leaflet

Hi,

I want to consume the Geoserver data in the leaflet, someone has an example 
index.html where I can see the procedures.
If possible with presentation of the legend.

Best regards
--
Endi SoaresGeógrafo
m:(+238) 5809479
a:Praia, Cabo Verdee:
esoares.bvc.2...@gmail.com e: 
endy.soare...@gmail.com

[Image removed by sender.]
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Leaflet to GeoServer Authentication

2020-06-11 Thread Phil Scadden
I have only ever used public geoserver instances, but I have had to use leaflet 
to access a protected ArcGIS servers. The process there is:
1/ At start of session, backend authenticates against AGS and receives a token 
(session-limited credentials).
2/ the token is passed by Leaflet with every call to the AGS server. (just 
adding it to layer params when setting up the layer).

Do you control the geoserver server?

The other thing I have had to deal with a hidden geoserver – the geoserver is 
setup as “public”, (no authentication required), but only accessible via an 
authenticating proxy. After examining a few options, I wrote the proxy myself 
as it fitted within larger service supporting the mapping application.

From: Vera Green 
Sent: Friday, 12 June 2020 03:40
To: GeoServer Mailing List List 
Cc: John Poole ; Rob Jones 
Subject: [Geoserver-users] Leaflet to GeoServer Authentication

The issue I am solving currently is authenticating from Leaflet to GeoServer. 
There is this 
post
 and I'm pretty sure that is what I need to do but I don't completely 
understand it. It doesn't really have much detail.
I am not completely sure what the difference is between these two things from 
this 
documentation:

  *   Configuring HTTP Header Proxy Authentication
  *   Configuring Apache HTTPD Session Integration
My architecture is that leaflet is hosted in apache httpd and we are using 
apache session variables to authenticate users into the site. GeoServer is 
hosted on a different virtual machine. This user session variable is saved as a 
cookie and can be retrieved from the system.

We are passing the session variables to PostgreSQL through PHP to establish a 
POD connection such as:

# ---
# CREATE POD
# ---
$host = 'geoserver.myHost.com';
$port= '5432';
$db   = 'myDB';

parse_str($_SERVER['HTTP_SESSION'], $SESSION);
$user = $SESSION['LDAP_secured-user'];
$pass = $SESSION['LDAP_secured-pw'];

$dsn = "pgsql:host=$host;dbname=$db;port=$port";
$options = [
PDO::ATTR_ERRMODE=> PDO::ERRMODE_EXCEPTION,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
PDO::ATTR_EMULATE_PREPARES   => false,
];
try {
 $pdo = new PDO($dsn, $user, $pass, $options);
} catch (\PDOException $e) {
 throw new \PDOException($e->getMessage(), (int)$e->getCode());
}
For the WMS we are using the leaflet.wms.js plugin.
So my goal is to somehow authenticate the user to GeoServer using the apache 
session variable from the web server. As far as I understand this can happen in 
two different ways:

  1.  The user credentials can be passed with the URL
  2.  The user can be authenticated to GeoServer on the back end. This is the 
PREFERED method as:

 *   It is more secure as user credentials are not being passed in the URL
 *   User can be authenticated once per session instead of with each request
 *   Since the specific user is authenticated. GeoServer data security 
rules apply.  IF it is actually not possible to authenticate the specific user 
but the authentication hapens server to server then we could manage this 
through a secondary permissions table which specifies the user role.
Thanks much,
Vera
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] very odd error while trying to change the style.

2020-04-17 Thread Phil Scadden
Thanks Andrea. Something odd in the prj files. I have redone the projection and 
tried again. Everything working normally again.

From: Andrea Aime 
Sent: Friday, 17 April 2020 19:30
To: Phil Scadden 
Cc: Jody Garnett ; GeoServer Mailing List List 

Subject: Re: [Geoserver-users] very odd error while trying to change the style.

Hi Phil, the WKT as specified is indeed not valid... the WKT that GeoServer is 
trying to decode is the full string, but the part at the
beginning, in bold, does not belong there:

PROJCS["ESRI PE String = 
PROJCS["NZGD_2000_Transverse_Mercator",GEOGCS["GCS_NZGD_2000",DATUM["D_NZGD_2000",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",160.0],PARAMETER["False_Northing",1000.0],PARAMETER["Central_Meridian",173.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]",
  GEOGCS["NZGD2000",
DATUM["New Zealand Geodetic Datum 2000",
  SPHEROID["GRS 1980", 6378137.0, 298.257222101, AUTHORITY["EPSG","7019"]],
  TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
  AUTHORITY["EPSG","6167"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4167"]],
  PROJECTION["Transverse_Mercator"],
  PARAMETER["central_meridian", 173.0],
  PARAMETER["latitude_of_origin", 0.0],
  PARAMETER["scale_factor", 0.9996],
  PARAMETER["false_easting", 160.0],
  PARAMETER["false_northing", 1000.0],
  UNIT["m", 1.0],
  AXIS["Easting", EAST],
  AXIS["Northing", NORTH]]
org.opengis.referencing.FactoryException: Error in "PROJCS": Can't parse 
"NZGD_2000_Transverse_Mercator",GEOGCS["GCS_NZGD_2000",DATUM["D_NZGD_2000",SPHEROID["GRS_1980
 (...) 1000.0],
  UNIT["m", 1.0],
  AXIS["Easting", EAST],
  AXIS["Northing", NORTH]]

Remove it, and the WKT actually parses correctly

Cheers
Andrea


On Fri, Apr 17, 2020 at 3:41 AM Phil Scadden 
mailto:p.scad...@gns.cri.nz>> wrote:
Rebooting doesn’t fix the problem. Moving to verbose logging shows this warning 
when I log in.
2020-04-17 11:09:17,095 WARN [geoserver.security] - Failed login, user admin 
from 161.65.53.68
But I log in ok. (and I did not log in as user admin).

No error being logged like the one I get when attempting to save. I get the 
error even if trying to save a changed status for “Advertised”.

Think I may have found it. The logs now show a lot errors like below, 
associated with layers with EPSG:2193 – a very common projection. It is these 
layers that I suddenly cant edit (despite being able to do so a couple of days 
ago). I can edit layers which have 4326 or 3031. These are geotiffs originating 
in ArcGis so I will have another go a getting a better projection for them.

2020-04-17 10:44:35,554 WARN [org.geoserver] - Error decode wkt: PROJCS["ESRI 
PE String = 
PROJCS["NZGD_2000_Transverse_Mercator",GEOGCS["GCS_NZGD_2000",DATUM["D_NZGD_2000",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",160.0],PARAMETER["False_Northing",1000.0],PARAMETER["Central_Meridian",173.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]",
  GEOGCS["NZGD2000",
DATUM["New Zealand Geodetic Datum 2000",
  SPHEROID["GRS 1980", 6378137.0, 298.257222101, AUTHORITY["EPSG","7019"]],
  TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
  AUTHORITY["EPSG","6167"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4167"]],
  PROJECTION["Transverse_Mercator"],
  PARAMETER["central_meridian", 173.0],
  PARAMETER["latitude_of_origin", 0.0],
  PARAMETER["scale_factor", 0.9996],
  PARAMETER["false_easting", 160.0],
  PARAMETER["false_northing", 1000.0],
  UNIT["m", 1.0],
  AXIS["Easting", EAST],
  AXIS["Northing", NORTH]]
or

Re: [Geoserver-users] very odd error while trying to change the style.

2020-04-16 Thread Phil Scadden
Rebooting doesn’t fix the problem. Moving to verbose logging shows this warning 
when I log in.
2020-04-17 11:09:17,095 WARN [geoserver.security] - Failed login, user admin 
from 161.65.53.68
But I log in ok. (and I did not log in as user admin).

No error being logged like the one I get when attempting to save. I get the 
error even if trying to save a changed status for “Advertised”.

Think I may have found it. The logs now show a lot errors like below, 
associated with layers with EPSG:2193 – a very common projection. It is these 
layers that I suddenly cant edit (despite being able to do so a couple of days 
ago). I can edit layers which have 4326 or 3031. These are geotiffs originating 
in ArcGis so I will have another go a getting a better projection for them.

2020-04-17 10:44:35,554 WARN [org.geoserver] - Error decode wkt: PROJCS["ESRI 
PE String = 
PROJCS["NZGD_2000_Transverse_Mercator",GEOGCS["GCS_NZGD_2000",DATUM["D_NZGD_2000",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",160.0],PARAMETER["False_Northing",1000.0],PARAMETER["Central_Meridian",173.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]",
  GEOGCS["NZGD2000",
DATUM["New Zealand Geodetic Datum 2000",
  SPHEROID["GRS 1980", 6378137.0, 298.257222101, AUTHORITY["EPSG","7019"]],
  TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
  AUTHORITY["EPSG","6167"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4167"]],
  PROJECTION["Transverse_Mercator"],
  PARAMETER["central_meridian", 173.0],
  PARAMETER["latitude_of_origin", 0.0],
  PARAMETER["scale_factor", 0.9996],
  PARAMETER["false_easting", 160.0],
  PARAMETER["false_northing", 1000.0],
  UNIT["m", 1.0],
  AXIS["Easting", EAST],
  AXIS["Northing", NORTH]]
org.opengis.referencing.FactoryException: Error in "PROJCS": Can't parse 
"NZGD_2000_Transverse_Mercator",GEOGCS["GCS_NZGD_2000",DATUM["D_NZGD_2000",SPHEROID["GRS_1980
 (...) 1000.0],
  UNIT["m", 1.0],
  AXIS["Easting", EAST],
  AXIS["Northing", NORTH]]" because "NZGD" is unrecognized.



From: Jody Garnett 
Sent: Thursday, 16 April 2020 16:55
To: Phil Scadden 
Cc: GeoServer Mailing List List 
Subject: Re: [Geoserver-users] very odd error while trying to change the style.

That is odd, and not much to go on! Do you want to try turning up the logging 
using of one of the other logging profiles to see if you can get some more 
details?

The error message appears to be due to an API change, is there any chance you 
are mixing and matching components from different GeoServer builds (say using a 
community module?). Or are you using a different version of Java that has not 
been tested enough with GeoServer?

Please try and reproduce the issue with the recent release candidate also.

On Wed, Apr 15, 2020 at 6:51 PM Phil Scadden 
mailto:p.scad...@gns.cri.nz>> wrote:
When I try to change the style of a raster layer to a valid SLD style that is 
used by many other layers, I have getting an error when I save:
Java.lang.reflect.UndeclaredThrowableException  and it doesn’t save. Doesn’t 
seem related to layer. Nor to a particular style.
Nothing is added to the log file.

Actually, I am struggling to save any change. Tried logging out and in. Disk 
space is fine.

Ngā mihi, Nā Phil Scadden
Te Aroturuki Matepā Aronuku me te Pūtaiao Raraunga
GNS Science Ltd 764 Cumberland 
St<https://www.google.com/maps/search/764+Cumberland+St?entry=gmail=g>, 
Private Bag 1930,
Dunedin, New Zealand Ph +64 3 4799663, 027 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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 guideli

Re: [Geoserver-users] very odd error while trying to change the style.

2020-04-16 Thread Phil Scadden
Thanks Jody. We will try changing logging and restart. This happened on a 
running instance that hasn’t been rebooted in months so java version etc. not 
likely an issue. Checked components and all are 2.15.0 versions matching the 
server. I have passed your comments to our admin – I don’t have admin access to 
the server.


From: Jody Garnett 
Sent: Thursday, 16 April 2020 16:55
To: Phil Scadden 
Cc: GeoServer Mailing List List 
Subject: Re: [Geoserver-users] very odd error while trying to change the style.

That is odd, and not much to go on! Do you want to try turning up the logging 
using of one of the other logging profiles to see if you can get some more 
details?

The error message appears to be due to an API change, is there any chance you 
are mixing and matching components from different GeoServer builds (say using a 
community module?). Or are you using a different version of Java that has not 
been tested enough with GeoServer?

Please try and reproduce the issue with the recent release candidate also.

On Wed, Apr 15, 2020 at 6:51 PM Phil Scadden 
mailto:p.scad...@gns.cri.nz>> wrote:
When I try to change the style of a raster layer to a valid SLD style that is 
used by many other layers, I have getting an error when I save:
Java.lang.reflect.UndeclaredThrowableException  and it doesn’t save. Doesn’t 
seem related to layer. Nor to a particular style.
Nothing is added to the log file.

Actually, I am struggling to save any change. Tried logging out and in. Disk 
space is fine.

Ngā mihi, Nā Phil Scadden
Te Aroturuki Matepā Aronuku me te Pūtaiao Raraunga
GNS Science Ltd 764 Cumberland 
St<https://www.google.com/maps/search/764+Cumberland+St?entry=gmail=g>, 
Private Bag 1930,
Dunedin, New Zealand Ph +64 3 4799663, 027 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
--
Jody Garnett
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] very odd error while trying to change the style.

2020-04-15 Thread Phil Scadden
When I try to change the style of a raster layer to a valid SLD style that is 
used by many other layers, I have getting an error when I save:
Java.lang.reflect.UndeclaredThrowableException  and it doesn’t save. Doesn’t 
seem related to layer. Nor to a particular style.
Nothing is added to the log file.

Actually, I am struggling to save any change. Tried logging out and in. Disk 
space is fine.

Ngā mihi, Nā Phil Scadden
Te Aroturuki Matepā Aronuku me te Pūtaiao Raraunga
GNS Science Ltd 764 Cumberland St, Private Bag 1930,
Dunedin, New Zealand Ph +64 3 4799663, 027 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Chart extension

2020-04-02 Thread Phil Scadden
I would just say that I recently installed and used the chart extension for pie 
charts and found it worked well whatever the age of the code. I got the 
extenson from
http://sourceforge.net/projects/geoserver/files/GeoServer/2.15.0/extensions/geoserver-2.15.0-charts-plugin.zip
 but obviously you would need to get for your version of geoserver.

From: Peter Smythe 
Sent: Friday, 3 April 2020 03:39
To: GeoServer Mailing List List 
Subject: [Geoserver-users] Chart extension

Hi all

I am looking for a GeoServer symbolizer to produce scaled pie charts.

When I search for Geoserver chart, the first result I get is 
https://geoserver.geo-solutions.it/edu/en/pretty_maps/charting.html  It refers 
to Eastwood Charts, which appears to be a project last touched 12 years ago.  
Is this the code used by the official extension: Chart 
Symbolizer
 or is it now included inside GeoServer? Is this extension actively maintained?

Is this the preferred charting solution?  I see it referenced in a number of SO 
answers.

The other thing that confuses me is that while this extension appears in 
http://geoserver.org/release/stable/ , it is not listed at 
https://docs.geoserver.org/stable/en/user/extensions/index.html but that list 
says that it is not exhaustive.

Andrea/GeoSolutions, would it be acceptable to add a link to the extensions 
page above linking to your website, or would it be better to copy that 
charting.html page into the GeoServer documentation? If so, I could do it with 
your permission.

Thank you

Peter
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] openlayers layer preview trying to load css and js on http, but server is on https

2020-03-12 Thread Phil Scadden
Yes, we have proxy base URL set. It works fine for say creating the openlayers 
preview URL (making it the proxied version). But the preview page itself is 
using http instead of https to  import the js.
If I get the preview up, I can hack the URL to the unproxied version (which is 
http) and then it works fine. Not really a solution though.


From: Jim Hughes 
Sent: Friday, 13 March 2020 04:40
To: Vitor Fonseca ; Phil Scadden 
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] openlayers layer preview trying to load css and 
js on http, but server is on https


Phil,

If GeoServer is proxied, then the Global Setting 'Proxy Base URL' may need to 
set.[1]

In my experience, that's one of the first settings I check when I hear that 
things aren't quite working.:)  For example, having that URL unset with a proxy 
is the fastest way to trash proper OGC clients.

Cheers,

Jim

1. 
https://docs.geoserver.org/stable/en/user/configuration/globalsettings.html#proxy-base-url


On 3/12/20 5:59 AM, Vitor Fonseca wrote:

that ftl is on lib dir
gs-wms-2..jar

Phil Scadden mailto:p.scad...@gns.cri.nz>> escreveu no 
dia quarta, 11/03/2020 à(s) 22:55:
Thanks Jim. What I suspect, is that someone has hacked the ftl on the geoserver 
instance because of the way that the geoserver instance is proxied. I was 
wondering where the flt was on the tomcat layout as I could immediately spot 
it. Ie does it live in geoserver_data or under the webapps dir.

From: Jim Hughes mailto:jhug...@ccri.com>>
Sent: Thursday, 12 March 2020 10:30
To: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] openlayers layer preview trying to load css and 
js on http, but server is on https


Hi Phil,

The OpenLayers ftl template is here[1], and it doesn't specify http.  It 
appears that there's an attempt between the ftl and [2] to use whatever 
protocol you used when requesting the preview page.

If you visited the page with https and it is redirecting you to http for the 
ol.css and ol.js, then there may be a bug.

Cheers,

Jim

1. 
https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/resources/org/geoserver/wms/map/OpenLayers2MapTemplate.ftl

2. 
https://github.com/geoserver/geoserver/blob/b76bba7178d3505cd45e318e659c3b32faee4b5e/src/wms/src/main/java/org/geoserver/wms/map/AbstractOpenLayersMapOutputFormat.java#L147-L148


On 3/11/20 5:11 PM, Phil Scadden wrote:
Somewhat annoying. Is the openlayers template used for layer preview accessible 
outside code so that we can change the headers loading the css and js from http 
to https?

From: Phil Scadden <mailto:p.scad...@gns.cri.nz>
Sent: Monday, 24 February 2020 10:07
To: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] DYnamic styles on geoserver

Instead of say “square” for the Mark symbol, you can replace with an ECQL 
expression that evaluates to a name of a mark. The obvious one would be say 
store the mark to use in an attribute called mysymbol.
The sld would then be

${mysymbol}


What version of geoserver are you using?

From: Elham soudy mailto:e.so...@penta-b.com>>
Sent: Monday, 24 February 2020 02:49
To: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: [Geoserver-users] DYnamic styles on geoserver

hi all ,
I need help about creating a dynamic style on geoserver , after searching i get 
the geoserver user manual which i can not apply it on my local one ,
which made me ask for a help , this url which i read
https://docs.geoserver.org/stable/en/user/styling/sld/extensions/pointsymbols.html

so plz any help if u can
yours,
elham

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.



___

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

Re: [Geoserver-users] openlayers layer preview trying to load css and js on http, but server is on https

2020-03-11 Thread Phil Scadden
Thanks Jim. What I suspect, is that someone has hacked the ftl on the geoserver 
instance because of the way that the geoserver instance is proxied. I was 
wondering where the flt was on the tomcat layout as I could immediately spot 
it. Ie does it live in geoserver_data or under the webapps dir.

From: Jim Hughes 
Sent: Thursday, 12 March 2020 10:30
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] openlayers layer preview trying to load css and 
js on http, but server is on https


Hi Phil,

The OpenLayers ftl template is here[1], and it doesn't specify http.  It 
appears that there's an attempt between the ftl and [2] to use whatever 
protocol you used when requesting the preview page.

If you visited the page with https and it is redirecting you to http for the 
ol.css and ol.js, then there may be a bug.

Cheers,

Jim

1. 
https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/resources/org/geoserver/wms/map/OpenLayers2MapTemplate.ftl

2. 
https://github.com/geoserver/geoserver/blob/b76bba7178d3505cd45e318e659c3b32faee4b5e/src/wms/src/main/java/org/geoserver/wms/map/AbstractOpenLayersMapOutputFormat.java#L147-L148


On 3/11/20 5:11 PM, Phil Scadden wrote:
Somewhat annoying. Is the openlayers template used for layer preview accessible 
outside code so that we can change the headers loading the css and js from http 
to https?

From: Phil Scadden <mailto:p.scad...@gns.cri.nz>
Sent: Monday, 24 February 2020 10:07
To: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] DYnamic styles on geoserver

Instead of say “square” for the Mark symbol, you can replace with an ECQL 
expression that evaluates to a name of a mark. The obvious one would be say 
store the mark to use in an attribute called mysymbol.
The sld would then be

${mysymbol}


What version of geoserver are you using?

From: Elham soudy mailto:e.so...@penta-b.com>>
Sent: Monday, 24 February 2020 02:49
To: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: [Geoserver-users] DYnamic styles on geoserver

hi all ,
I need help about creating a dynamic style on geoserver , after searching i get 
the geoserver user manual which i can not apply it on my local one ,
which made me ask for a help , this url which i read
https://docs.geoserver.org/stable/en/user/styling/sld/extensions/pointsymbols.html

so plz any help if u can
yours,
elham

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.




___

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<mailto:Geoserver-users@lists.sourceforge.net>

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



Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] openlayers layer preview trying to load css and js on http, but server is on https

2020-03-11 Thread Phil Scadden
Somewhat annoying. Is the openlayers template used for layer preview accessible 
outside code so that we can change the headers loading the css and js from http 
to https?

From: Phil Scadden 
Sent: Monday, 24 February 2020 10:07
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] DYnamic styles on geoserver

Instead of say “square” for the Mark symbol, you can replace with an ECQL 
expression that evaluates to a name of a mark. The obvious one would be say 
store the mark to use in an attribute called mysymbol.
The sld would then be

${mysymbol}


What version of geoserver are you using?

From: Elham soudy mailto:e.so...@penta-b.com>>
Sent: Monday, 24 February 2020 02:49
To: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: [Geoserver-users] DYnamic styles on geoserver

hi all ,
I need help about creating a dynamic style on geoserver , after searching i get 
the geoserver user manual which i can not apply it on my local one ,
which made me ask for a help , this url which i read
https://docs.geoserver.org/stable/en/user/styling/sld/extensions/pointsymbols.html

so plz any help if u can
yours,
elham

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] DYnamic styles on geoserver

2020-02-23 Thread Phil Scadden
Instead of say “square” for the Mark symbol, you can replace with an ECQL 
expression that evaluates to a name of a mark. The obvious one would be say 
store the mark to use in an attribute called mysymbol.
The sld would then be

${mysymbol}


What version of geoserver are you using?

From: Elham soudy 
Sent: Monday, 24 February 2020 02:49
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] DYnamic styles on geoserver

hi all ,
I need help about creating a dynamic style on geoserver , after searching i get 
the geoserver user manual which i can not apply it on my local one ,
which made me ask for a help , this url which i read
https://docs.geoserver.org/stable/en/user/styling/sld/extensions/pointsymbols.html

so plz any help if u can
yours,
elham

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] CQL Spatial functions use native SRS not declared with Postgis layers

2020-02-20 Thread Phil Scadden
I got this very useful reply (below) from Andrea Aime recently on this issue:
However, I would also say if the layer is projected it should be declared as 
such in the layer definition. Geoserver automatically projects to requested srs 
on request.


Hi Phil,
ECQL has been supporting expression of filters in whatever CRS since late 2017, 
you
can specify the geometry in EWKT, for example:

INTERSECTS(the_geom, SRID=4326;POINT (1 2))

See also: https://docs.geotools.org/latest/userguide/library/cql/ecql.html

I've updated the GeoServer reference docs to include a mention of that too, 
still in the build pipe,
 should show up in a few hours here, in the geometry literal syntax entry:
https://docs.geoserver.org/latest/en/user/filter/ecql_reference.html#literal

Cheers
Andrea


From: Cliff Patterson 
Sent: Friday, 21 February 2020 03:22
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] CQL Spatial functions use native SRS not declared 
with Postgis layers

I have a PG/PostGIS database containing layers in EPSG:26917 (UTM) and 
EPSG:4326. All layers are loaded into Geoserver and the declared SRS is 4326. 
For the layers in EPSG:26917 I reproject native to declared so all layers are 
in 4326 (Geoserver version: 2.15.1). I have a web application that loads the 
layers and I plan to use CQL filters to perform a range of functions, such as 
bbox selections. However, it seems that spatial CQL functions use the native 
SRS not the declared SRS. This presents a problem because before I can run any 
spatial filters, I have to first check the native SRS, then either use the 
imputed coordinates/measurements or transform them to the native SRS.

Example:

If the layer is natively in a projected coordinate system (e.g. EPSG:26917), 
then the CQL filter must use the projected coordinates, even if the declared 
SRS is EPSG:4326. So the following needs to be used, where the coordinates are 
UTM and the buffer distance is in meters.
CQL_FILTER: "intersects(geom,BUFFER(POINT(335676.336 4684972.893),5000))"

For a layer that is in EPSG:4326 natively in PG/PostGIS, the following needs to 
be used.
CQL_FILTER:"intersects(geom,BUFFER(POINT(-83.03253 42.31526),0.0020))"

Questions:
1) Is there any way in a CQL filter to use UTM coordinates and meters on layers 
that are in EPSG:4326 in the database? Perhaps a transform function, like in 
PostGIS?
2) Is there any ways to always query the layer in EPSG:4326?
3) Is this by design, or a limitation of Geoserver?

Bonus question!
4) Is there a way to use lat/long coordinates and meters as buffer distance?

Thanks!
Cliff
--

Cliff Patterson Ph.D.

PSD | Senior GIS Consultant
P: 519-690-2565 ext. 2616
www.psdrcs.com
London | 148 Fullarton St. 9th Floor

[Image removed by sender.]

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Layer Groups

2020-02-18 Thread Phil Scadden
I would be very surprized if it had anything to do with the OS that was hosting 
geoserver. I would suspect issue is something to do with  config the instance. 
Are your servers running the same version of Geoserver, with same set of 
addins? I would also take a look at the cache settings on the layers and the 
groups. (Start by turning caching off completely for both layers and layer 
group. In production, I have caching off for layers, caching on for layer 
group, but turning everything off will eliminate that as source of problem).

And yes, all our geoserver instances are running on Centos servers, and I 
commonly use layer groups to merge tiff layers from each side of the 
antemeridian.

From: Bryan Kilgore 
Sent: Wednesday, 19 February 2020 06:22
To: Olyster 
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Layer Groups

Sorry for the back to back emails.  I just fired up anUbuntu 18.04 test server 
and loaded the layers on it and it seems to be working just fine.  So something 
is wrong with something running in Centos7.  With this server being in 
production right now I'm not sure how easy it would be for me to switch OS and 
move over.  I am running VMs so I can make it happen it just wouldn't be easy 
and I know I'm not the only one who runs Centos for applications like this.

Bryan

On Tue, Feb 18, 2020 at 12:16 PM Bryan Kilgore 
mailto:br...@bamwx.com>> wrote:
So if I just did one layer in the group it works but as soon as I add any of 
the other 3 layers it doesn't.  All created from the same raw data and put into 
individual geotifs per the parameters.



On Tue, Feb 18, 2020 at 12:09 PM Olyster 
mailto:gagnon_oliv...@outlook.com>> wrote:
Hi,

try with only one layer in the group layer to see if the problem is there
then add one layer at a time to find out which one is causing the problem.

Good luck




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




--
Thanks and have a blessed day!

Bryan Kilgore
Co-Owner
317.519.2334
BAMWX LLC
https://bamwx.com - Main Website
https://bamwx.net - Remote WX Stations
For QuickSupport:  https://bamwx.com/qs
[Image removed by sender.]

CONFIDENTIALITY. This electronic mail and any files transmitted with it may 
contain information proprietary to BAM WX LLC, or one of its subsidiaries or 
affiliates, and is intended solely for the use of the individual to whom or 
entity to which this message is addressed and must be maintained in confidence 
and may not be disclosed to third parties without the written consent of the 
sender. If you are not the intended recipient or the person responsible for 
delivering the electronic mail to the intended recipient, be advised that you 
have received this electronic mail in error and that any use, dissemination, 
forwarding, printing, or copying of this electronic mail is strictly 
prohibited. If you have received this electronic mail in error, please 
immediately notify the sender by return mail.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Getting started with GeoServer - Are there any frameworks to easily create an interactive mapping application?

2019-11-20 Thread Phil Scadden
Or if you prefer leafletjs (I do), then look at the examples there. 
https://leafletjs.com/examples.html
Things from geoserver come in as leaflet tile layers.

From: Jody Garnett 
Sent: Wednesday, 20 November 2019 13:05
To: fernando.m...@geo-solutions.it
Cc: GeoServer Users 
Subject: Re: [Geoserver-users] Getting started with GeoServer - Are there any 
frameworks to easily create an interactive mapping application?

Adding a few clarifications/links into the mix:

Java is free and open source.  Oracle locked its enterprise distribution but 
you can use OpenJDK for free as always .
Please download and install Windows 64 bits Hotspot version from:
https://adoptopenjdk.net/

To add to this answer OpenJDK is now the "lead" distribution of Java where 
development happens (before being picked up by Oracle, RedHat, AdoptJDK and 
others). We recommend the use of OpenJDK 8, there is some more geoserver 
information here: Java 
Considerations

aside: docs.geoesrver.org certificate expired so you 
will get a warning.


>Is there any application frameworks out there, and somewhat easy to follow 
>instructions to create a general interactive mapping application.  Some of the 
>tools that my current application has (not that I am expecting everything)

You may also be interested in some frameworks built on top of open layers of 
which there are several: web development 
list

--
Jody
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] [Geotools-devel] DGGS and WFS

2019-11-19 Thread Phil Scadden
When I want to find say all samples within a selected polygon, then I do that 
via WFS. So no change required for WFS interface – it all looks the same. 
Deeper down though, if the database table has DGGS field, I want the spatial 
part of the query transformed into something that uses that field instead of 
the alternative “normal” spatial coordinates. Why? Because I while I think DGGS 
presents significant advantage for querying, I suspect it might be slow for 
rendering. Could be wrong, but that is why thinking about hydrid table. Also, 
the query needs to be done via DGGS library, not merely transforming DGGS into 
coordinates and using JTS methods. Just seeing it as coordinate transform 
wouldn’t invoke a new way to query would it?

From: Jody Garnett 
Sent: Wednesday, 20 November 2019 09:38
To: Phil Scadden 
Cc: geoserver-users ; 
geotools-de...@lists.sourceforge.net
Subject: Re: [Geotools-devel] DGGS and WFS

Is this not just a coordinate transformation challenge? That is defining a new 
reference system.

I do not think I understand why a new WFS plugin would be required as they are 
orthogonal concerns.
--
Jody Garnett


On Tue, 19 Nov 2019 at 12:28, Phil Scadden 
mailto:p.scad...@gns.cri.nz>> wrote:
Was at FOSS4G Oceania conference and went to very interesting talk on DGGS 
spatial coordinates. I am guessing it will be a long time before this becomes 
mainstream but I was wondering how difficult it would be for WFS spatial 
queries to use a DGGS field in tables which also contained “normal” geography 
field. Doing spatial queries against global databases (ie cant use a projected 
coordinates system) around the poles and antemeridian is tough. DGGS fixes the 
problem. Normal rendering code etc would be unaffected. How easy would it be to 
do a replacement WFS plugin?
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
GeoTools-Devel mailing list
geotools-de...@lists.sourceforge.net<mailto:geotools-de...@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geotools-devel
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] expired https cert

2019-11-19 Thread Phil Scadden
Looks like cert for https://docs.geoserver.org/ has expired by way.


Ngā mihi, Nā Phil Scadden
Te Aroturuki Matepā Aronuku me te Pūtaiao Raraunga
GNS Science Ltd 764 Cumberland St, Private Bag 1930,
Dunedin, New Zealand Ph +64 3 4799663, 027 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] DGGS and WFS

2019-11-19 Thread Phil Scadden
Was at FOSS4G Oceania conference and went to very interesting talk on DGGS 
spatial coordinates. I am guessing it will be a long time before this becomes 
mainstream but I was wondering how difficult it would be for WFS spatial 
queries to use a DGGS field in tables which also contained "normal" geography 
field. Doing spatial queries against global databases (ie cant use a projected 
coordinates system) around the poles and antemeridian is tough. DGGS fixes the 
problem. Normal rendering code etc would be unaffected. How easy would it be to 
do a replacement WFS plugin?
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] ECQL and polar regions. Convert CQL to OGC filter?? Nope. Still got to split it.

2019-11-03 Thread Phil Scadden
Okay, I have been experimenting with this and definitely not getting result I 
had hoped for. I had hoped query in projected coordinate might side step pole 
and 180 problem.

Firstly, the SRID works – I can specify a polygon in a particular projection, 
and it queries against that fine – so long as the polygon does not cross the 
180.
Apparently,  server side, it is converting the polygon into native SRS and then 
doing the query. When I think about, I can see that spatial index on the 
underlying database is never going to allow a spatial query in anything other 
than native.

Sigh. Back to splitting the polygon into multipolygon.  Is there a foolproof 
way to do this topologically when the polygon a/ crosses 180 line (that bit is 
easy) and b/ includes a pole?


From: Andrea Aime 
Sent: Tuesday, 22 October 2019 19:09
To: Phil Scadden 
Cc: geoserver-users 
Subject: Re: [Geoserver-users] ECQL and polar regions. Convert CQL to OGC 
filter??

Hi Phil,
ECQL has been supporting expression of filters in whatever CRS since late 2017, 
you
can specify the geometry in EWKT, for example:

INTERSECTS(the_geom, SRID=4326;POINT (1 2))

See also: https://docs.geotools.org/latest/userguide/library/cql/ecql.html

I've updated the GeoServer reference docs to include a mention of that too, 
still in the build pipe,
 should show up in a few hours here, in the geometry literal syntax entry:
https://docs.geoserver.org/latest/en/user/filter/ecql_reference.html#literal

Cheers
Andrea


On Tue, Oct 22, 2019 at 2:34 AM Phil Scadden 
mailto:p.scad...@gns.cri.nz>> wrote:
I am having some issues with queries that combine both attribute expressions 
(currently in ECQL) and spatial queries when in polar regions, and using layers 
in EPSG:4326.
The problem with ECQL spatial operators is that the expressions must be in 
terms of native CRS. Away from the poles, I manage this by splitting any 
polygon that crosses the 180 in two polygons and adding an AND clause to the 
query. Splitting a polygon that crosses the 180 AND includes a pole is 
challenging to say to the least. If someone has an algorithms to do this, then 
I am all ears.

Conceptually it would be easier to request the polygon in the projected 
coordinates but cant do that with ECQL. It seems I would have to convert the 
CQL expression into an OGC filter.  Does anyone have existing code for this? 
Does that actually exist somewhere in the geoserver source code even?

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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<mailto: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.

Notice: This email and any attachments are confidential and may not be used, 
published or r

Re: [Geoserver-users] How can a spatial query return a feature with null geometry?? A particular polygon seems to result in a dud query return, but no error.

2019-10-28 Thread Phil Scadden
Arggh! Spotted it -  crept into it, excluding geometry.


From: Phil Scadden 
Sent: Tuesday, 29 October 2019 15:37
To: geoserver-users 
Subject: [Geoserver-users] How can a spatial query return a feature with null 
geometry?? A particular polygon seems to result in a dud query return, but no 
error.

Doing a WFS query with 
_filter=INTERSECTS(shape,POLYGON+((-42.181268265425096+180,+-42.24646551944196+179.1648221254352,+-42.3764550843559+179.3186295572426,+-42.508320536297404+180,+-42.181268265425096+180)))+OR+INTERSECTS(shape,POLYGON+((-42.508320536297404+-180,+-43.08659061624255+-177.0119835437991,+-42.95807403174561+-171.43100254248122,+-41.46088142451996+-170.77183295946847,+-42.181268265425096+-180,+-42.508320536297404+-180)))

And get response:
{"type":"FeatureCollection","features":[{"type":"Feature","id":"fred_site_view.85265","geometry":null,"properties":{"fr_number":"SW41171/f0001"}}],"totalFeatures":6,"numberMatched":6,"numberReturned":1,"timeStamp":"2019-10-29T02:19:28.339Z","crs":null}

Geometry null??? How it match the filter of there is no geometry? How come 
number matched is 6 (looked about right on the map) but number returned is one? 
How can crs be null?
Nothing at all in the geoserver log. The request is completely reproducible.

Other  extremely similar queries eg
_filter=INTERSECTS(shape,POLYGON+((-41.725973830527934+180,+-41.67460654588495+178.94509705669265,+-43.16678066092337+179.20876966231165,+-43.18984223874159+180,+-41.725973830527934+180)))+OR+INTERSECTS(shape,POLYGON+((-43.18984223874159+-180,+-43.27885366180694+-176.94606592466153,+-43.96281820667889+-173.67218215836957,+-43.61385062483762+-170.0687148317926,+-41.130714714805706+-170.42027583373962,+-42.00200187021109+-174.33135713672766,+-41.725973830527934+-180,+-43.18984223874159+-180)))
returns okay.

{"type":"FeatureCollection","features":[{"type":"Feature","id":"fred_site_view.85265","geometry":{"type":"Point","coordinates":[-171.49889006,-41.78615999]},"geometry_name":"shape","properties":{"fr_number":"SW41171/f0001","feature_type":"Drillhole","locality":"ODP
 Leg 181, SW Pacific Gateways 1998. Hole 1123 A. 3290.1 m water depth. Location 
410 km NE of the Chatham Rise, on the North Chatham sediment drift which is 
located between 169 W and 175 W at depths of 2200-4500 
m."}},{"type":"Feature","id":"fred_site_view.85266","geometry":{"type":"Point","coordinates":[-171.49877992,-41.78588993]},"geometry_name":"shape","properties":{"fr_number":"SW41171/f0002","feature_type":"Drillhole","locality":"ODP
 Leg 181, SW Pacific Gateways 1998. Hole 1123 B. 3289.8 m water depth. Location 
410 km NE of the Chatham Rise, on the North Chatham sediment drift which is 
located between 169 W and 175 W at depths of 2200-4500 
m."}},{"type":"Feature","id":"fred_site_view.85267","geometry":{"type":"Point","coordinates":[-171.49877992,-41.78562003]},"geometry_name":"shape","properties":{"fr_number":"SW41171/f0003","feature_type":"Drillhole","locality":"ODP
 Leg 181, SW Pacific Gateways 1998. Hole 1123 C. 3290.1 m water depth. Locate 
410 km NE of the Chatham Rise, on the North Chatham sediment drift which is 
located between 169 W and 175 W at depths of 2200-4500 
m."}},{"type":"Feature","id":"fred_site_view.85268","geometry":{"type":"Point","coordinates":[-178.16648332,-42.54993611]},"geometry_name":"shape","properties":{"fr_number":"SW42178/f0001","feature_type":"Drillhole","locality":"ODP
 Leg 181, SW Pacific Gateways 1998. Hole 1125 A. 1364.6 m water depth. Located 
approximately 610 km east of the South Island, on the north slope of the 
Chatham 
Rise."}},{"type":"Feature","id":"fred_site_view.85269","geometry":{"type":"Point","coordinates":[-178.16645834,-42.54964995]},"geometry_name":"shape","properties":{"fr_number":"SW42178/f0002","feature_type":"Drillhole","locality":"ODP
 Leg 181, SW Pacific Gateways 1998. Hole 1125 B. 1365.6 m water depth. Located 
approximately 610 km east of the South Islan

[Geoserver-users] How can a spatial query return a feature with null geometry?? A particular polygon seems to result in a dud query return, but no error.

2019-10-28 Thread Phil Scadden
Doing a WFS query with 
_filter=INTERSECTS(shape,POLYGON+((-42.181268265425096+180,+-42.24646551944196+179.1648221254352,+-42.3764550843559+179.3186295572426,+-42.508320536297404+180,+-42.181268265425096+180)))+OR+INTERSECTS(shape,POLYGON+((-42.508320536297404+-180,+-43.08659061624255+-177.0119835437991,+-42.95807403174561+-171.43100254248122,+-41.46088142451996+-170.77183295946847,+-42.181268265425096+-180,+-42.508320536297404+-180)))

And get response:
{"type":"FeatureCollection","features":[{"type":"Feature","id":"fred_site_view.85265","geometry":null,"properties":{"fr_number":"SW41171/f0001"}}],"totalFeatures":6,"numberMatched":6,"numberReturned":1,"timeStamp":"2019-10-29T02:19:28.339Z","crs":null}

Geometry null??? How it match the filter of there is no geometry? How come 
number matched is 6 (looked about right on the map) but number returned is one? 
How can crs be null?
Nothing at all in the geoserver log. The request is completely reproducible.

Other  extremely similar queries eg
_filter=INTERSECTS(shape,POLYGON+((-41.725973830527934+180,+-41.67460654588495+178.94509705669265,+-43.16678066092337+179.20876966231165,+-43.18984223874159+180,+-41.725973830527934+180)))+OR+INTERSECTS(shape,POLYGON+((-43.18984223874159+-180,+-43.27885366180694+-176.94606592466153,+-43.96281820667889+-173.67218215836957,+-43.61385062483762+-170.0687148317926,+-41.130714714805706+-170.42027583373962,+-42.00200187021109+-174.33135713672766,+-41.725973830527934+-180,+-43.18984223874159+-180)))
returns okay.

{"type":"FeatureCollection","features":[{"type":"Feature","id":"fred_site_view.85265","geometry":{"type":"Point","coordinates":[-171.49889006,-41.78615999]},"geometry_name":"shape","properties":{"fr_number":"SW41171/f0001","feature_type":"Drillhole","locality":"ODP
 Leg 181, SW Pacific Gateways 1998. Hole 1123 A. 3290.1 m water depth. Location 
410 km NE of the Chatham Rise, on the North Chatham sediment drift which is 
located between 169 W and 175 W at depths of 2200-4500 
m."}},{"type":"Feature","id":"fred_site_view.85266","geometry":{"type":"Point","coordinates":[-171.49877992,-41.78588993]},"geometry_name":"shape","properties":{"fr_number":"SW41171/f0002","feature_type":"Drillhole","locality":"ODP
 Leg 181, SW Pacific Gateways 1998. Hole 1123 B. 3289.8 m water depth. Location 
410 km NE of the Chatham Rise, on the North Chatham sediment drift which is 
located between 169 W and 175 W at depths of 2200-4500 
m."}},{"type":"Feature","id":"fred_site_view.85267","geometry":{"type":"Point","coordinates":[-171.49877992,-41.78562003]},"geometry_name":"shape","properties":{"fr_number":"SW41171/f0003","feature_type":"Drillhole","locality":"ODP
 Leg 181, SW Pacific Gateways 1998. Hole 1123 C. 3290.1 m water depth. Locate 
410 km NE of the Chatham Rise, on the North Chatham sediment drift which is 
located between 169 W and 175 W at depths of 2200-4500 
m."}},{"type":"Feature","id":"fred_site_view.85268","geometry":{"type":"Point","coordinates":[-178.16648332,-42.54993611]},"geometry_name":"shape","properties":{"fr_number":"SW42178/f0001","feature_type":"Drillhole","locality":"ODP
 Leg 181, SW Pacific Gateways 1998. Hole 1125 A. 1364.6 m water depth. Located 
approximately 610 km east of the South Island, on the north slope of the 
Chatham 
Rise."}},{"type":"Feature","id":"fred_site_view.85269","geometry":{"type":"Point","coordinates":[-178.16645834,-42.54964995]},"geometry_name":"shape","properties":{"fr_number":"SW42178/f0002","feature_type":"Drillhole","locality":"ODP
 Leg 181, SW Pacific Gateways 1998. Hole 1125 B. 1365.6 m water depth. Located 
approximately 610 km east of the South Island, on the north slope of the 
Chatham 
Rise."}},{"type":"Feature","id":"fred_site_view.88327","geometry":{"type":"Point","coordinates":[-176.51804594,-42.88913949]},"geometry_name":"shape","properties":{"fr_number":"CH/f0653","feature_type":"Outcrop","locality":"Large
 Float Blocks, exposed mostly at low tide,  50 m west of Tahatika Creek, 
Maunganui Beach, northwest Chatham Island, Chatham Islands 
"}},{"type":"Feature","id":"fred_site_view.91818","geometry":{"type":"Point","coordinates":[179.86622621,-42.65654549]},"geometry_name":"shape","properties":{"fr_number":"SE42179/f0001","feature_type":"Outcrop","locality":"Plug
 of chalky material from a depression on the surface of TAN 9401 (Tangaroa 
Survey 9406, Station 110). 'Chatham Rise', water depth 1106 
m."}}],"totalFeatures":7,"numberMatched":7,"numberReturned":7,"timeStamp":"2019-10-29T02:15:01.628Z","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::4326"}}}

Note that it includes the same point but this time it has geometry okay.

There seems to be something particular to the query that causes the issue. Both 
split the polygon on the 180 line.

Actually I can simplify the query to

Re: [Geoserver-users] ECQL and polar regions. Convert CQL to OGC filter??

2019-10-22 Thread Phil Scadden
Fantastic! I see our production build of 2.15 is with Geotools 21 so that 
should be supported. I will give it a blast.

From: Andrea Aime 
Sent: Tuesday, 22 October 2019 19:09
To: Phil Scadden 
Cc: geoserver-users 
Subject: Re: [Geoserver-users] ECQL and polar regions. Convert CQL to OGC 
filter??

Hi Phil,
ECQL has been supporting expression of filters in whatever CRS since late 2017, 
you
can specify the geometry in EWKT, for example:

INTERSECTS(the_geom, SRID=4326;POINT (1 2))

See also: https://docs.geotools.org/latest/userguide/library/cql/ecql.html

I've updated the GeoServer reference docs to include a mention of that too, 
still in the build pipe,
 should show up in a few hours here, in the geometry literal syntax entry:
https://docs.geoserver.org/latest/en/user/filter/ecql_reference.html#literal

Cheers
Andrea


On Tue, Oct 22, 2019 at 2:34 AM Phil Scadden 
mailto:p.scad...@gns.cri.nz>> wrote:
I am having some issues with queries that combine both attribute expressions 
(currently in ECQL) and spatial queries when in polar regions, and using layers 
in EPSG:4326.
The problem with ECQL spatial operators is that the expressions must be in 
terms of native CRS. Away from the poles, I manage this by splitting any 
polygon that crosses the 180 in two polygons and adding an AND clause to the 
query. Splitting a polygon that crosses the 180 AND includes a pole is 
challenging to say to the least. If someone has an algorithms to do this, then 
I am all ears.

Conceptually it would be easier to request the polygon in the projected 
coordinates but cant do that with ECQL. It seems I would have to convert the 
CQL expression into an OGC filter.  Does anyone have existing code for this? 
Does that actually exist somewhere in the geoserver source code even?

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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<mailto: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.

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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 improveme

[Geoserver-users] ECQL and polar regions. Convert CQL to OGC filter??

2019-10-21 Thread Phil Scadden
I am having some issues with queries that combine both attribute expressions 
(currently in ECQL) and spatial queries when in polar regions, and using layers 
in EPSG:4326.
The problem with ECQL spatial operators is that the expressions must be in 
terms of native CRS. Away from the poles, I manage this by splitting any 
polygon that crosses the 180 in two polygons and adding an AND clause to the 
query. Splitting a polygon that crosses the 180 AND includes a pole is 
challenging to say to the least. If someone has an algorithms to do this, then 
I am all ears.

Conceptually it would be easier to request the polygon in the projected 
coordinates but cant do that with ECQL. It seems I would have to convert the 
CQL expression into an OGC filter.  Does anyone have existing code for this? 
Does that actually exist somewhere in the geoserver source code even?

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Tomcat and geoserver

2019-07-22 Thread Phil Scadden
The only productive way to continue this conversation is to post the errors.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] OSM SLD Styles for GeoServer

2019-07-11 Thread Phil Scadden
A while since I did this, but from memory I worked through 
https://github.com/fegyi001/osmgwc to get OSM up and I think it looked pretty 
good with 18 css styles provided.  I cant remember much about the point layer 
however.

From: Fernando Quadro 
Sent: Friday, 12 July 2019 00:52
To: geoserver-users 
Subject: [Geoserver-users] OSM SLD Styles for GeoServer

Hi everyone.

Does anyone know or have styles in SLD format for OSM layers?

I'm using this link as a reference: 
https://github.com/FlorentDotMe/archives/tree/master/2013.03.23-OSM-Styles-for-GeoServer

But it does not have an SLD for the planet_osm_point layer. So I found this 
reference: 
https://github.com/melbsurfer/osm-geoserver-styles/blob/master/sld/planet_osm_point.sld

However, the latter is a bit simple. Does anyone have or could I refer an SLD 
reference to the OSM layers?

Best Regards,

Fernando Quadro
http://www.fernandoquadro.com.br
https://www.linkedin.com/in/fernandoquadro/
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] dynamic 3d web service

2019-05-27 Thread Phil Scadden
3D with cesium is client-end functionality. Geoserver is server-end so you 
aren't going to see 3D clients in the geoserver list. I am busy looking at 3D 
application using geoserver data but plan is to use WCS to provide data to a 
custom server-side routine which will optimise and package it to a custom webgl 
client. Quite what the webgl client will be is undecided. I have used cesium 
and plotly in past, but looking at some wasm approaches as well. My previous 
efforts in 3D (backend create gITF models and pass up to cesium, or pass 
coordinate collection to plotly) indicates there is a real bottleneck just 
delivering the amount of data needed through a web stream.

Geoserver's role in any of this data provider. My vision is view a map of 
something interesting (eg swath bathymetry),  using WMS from geoserver; draw a 
rectangle around area of interest on that map; and get that data visualized in 
3D using the WCS service. The client viewer is something you build.

However, if you just want provide map layers on top of cesium globe, then note 
that cesium can use Geoserver WMS as a imagery provider out of the box. Nothing 
extra needed at geoserver end for this.

-Original Message-
From: shyoon 
Sent: Monday, 27 May 2019 20:45
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] dynamic 3d web service

hi.

I want to try 3d services through "cesium js" and "geoserver" && "PostGIS".


I looked up the 3d related extension, community version, but I could not find 
it.

I want to ask about the current progress and future development.

and How can I implement 3d now?



--
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
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.


___
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] Extracting a cross-section from a DEM

2019-05-22 Thread Phil Scadden
I have application where user draws arbitrary line over a map, and is presented 
with cross-section of terrain from DTM under that line. At the moment, this is 
supported by a custom DTM format to make this retrieval fast and memory 
efficient (since can be dealing with very large high-resolution data). I would 
like to extend the functionality to handle other raster dtm formats and doing 
this via geoserver seems possible. It can be done via repeated getfeatureinfo 
calls along the line but this is pretty inefficient. Is this something a WPS 
service could do?  Has anyone already done it?



Ngā mihi, Nā Phil Scadden
GNS Science Ltd 764 Cumberland St, Private Bag 1930,
Dunedin, New Zealand Ph +64 3 4799663, 027 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Image mosaic granule replaced but geoserver showing the old data. UPDATE - even after reindex it still shows old data.

2019-05-02 Thread Phil Scadden
This continues to baffle me. I tried a reindex with:
curl -v -u username:password -XPOST -H "Content-type: text/plain" -d 
"file://mnt/imagery/swathw" 
“http:///rest/workspaces/gns/coveragestores/swath_west/external.imagemosaic<http://%3cmyserver%3e/rest/workspaces/gns/coveragestores/swath_west/external.imagemosaic>”

it comes back ok:
upload completely sent off: 25 out of 25 bytes
< HTTP/1.1 202 Accepted
< Date: Thu, 02 May 2019 21:58:57 GMT
< Server: Noelios-Restlet-Engine/1.0..8
< Access-Control-Allow-Origin: *
< Transfer-Encoding: chunked

However, if I view the tif in /mnt/imagery/swathw I see the new data. If I look 
at the corresponding layer in layer preview, I see the old tile (which has a 
giant unmistakable artefact in it, fixed in the new one). Somewhere the old 
data is persisting but where?
I have also tried deleting the layer and republishing but not change.


From: Phil Scadden 
Sent: Thursday, 2 May 2019 17:17
To: GeoServer Mailing List List 
Subject: [Geoserver-users] Image mosaic granule replaced but geoserver showing 
the old data.

Okay, lacking much info on how to replace a granule in an imagemosiac, I tried 
simply replacing the tile with a new one in the imagery directory. Geoserver 
didn’t like that (renderer complained about granule not found), but 
disabling/enabling the data store restored operation. Sort of. It is still 
displaying the old data. I have double checked that the Tif in in the imagery 
directory is the new one. There is no .ovr file. Tile caching is turned off but 
any case, the layer preview with single tile is still displaying the old tif. 
This is baffling. The old tif is gone – where on earth is getting the data 
from??

(and what is the approved way to replace a granule in an image mosaic?).


________
Ngā mihi, Nā Phil Scadden
GNS Science Ltd 764 Cumberland St, Private Bag 1930,
Dunedin, New Zealand Ph +64 3 4799663, 027 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Image mosaic granule replaced but geoserver showing the old data.

2019-05-01 Thread Phil Scadden
Okay, lacking much info on how to replace a granule in an imagemosiac, I tried 
simply replacing the tile with a new one in the imagery directory. Geoserver 
didn’t like that (renderer complained about granule not found), but 
disabling/enabling the data store restored operation. Sort of. It is still 
displaying the old data. I have double checked that the Tif in in the imagery 
directory is the new one. There is no .ovr file. Tile caching is turned off but 
any case, the layer preview with single tile is still displaying the old tif. 
This is baffling. The old tif is gone – where on earth is getting the data 
from??

(and what is the approved way to replace a granule in an image mosaic?).



Ngā mihi, Nā Phil Scadden
GNS Science Ltd 764 Cumberland St, Private Bag 1930,
Dunedin, New Zealand Ph +64 3 4799663, 027 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] What is the SLD being used by SLDStyleFactory? It is trying to use Arial

2019-04-30 Thread Phil Scadden
The complaints about the missing font come from:
java.lang.IllegalArgumentException: The specified mark ttf://Arial#0x2F was not 
found!
at 
org.geotools.renderer.style.SLDStyleFactory.createMarkStyle(SLDStyleFactory.java:647)
at 
org.geotools.renderer.style.SLDStyleFactory.createPointStyle(SLDStyleFactory.java:608)
at 
org.geotools.renderer.style.SLDStyleFactory.getGraphicStroke(SLDStyleFactory.java:920)
at 
org.geotools.renderer.style.SLDStyleFactory.createLineStyle(SLDStyleFactory.java:448)
at 
org.geotools.renderer.style.SLDStyleFactory.createStyleInternal(SLDStyleFactory.java:330)
at 
org.geotools.renderer.style.SLDStyleFactory.createStyle(SLDStyleFactory.java:286)

it is linux server, so no, Arial is not installed. None of the SLDs in the 
styles directory use Arial.
It looks like it trying to create a generate a default style rather than using 
a defined one.??? How would I switch out Arial for a Linux font?

From: Phil Scadden mailto:p.scad...@gns.cri.nz>>
Sent: Wednesday, 1 May 2019 12:33
To: GeoServer Mailing List List 
mailto:geoserver-users@lists.sourceforge.net>>
Subject: [Geoserver-users] Odd error doing a getCapabilities call; Geoserver 
2.15

http://myserver/myinstance/wms?service=WMS=GetCapabilities=1.1.1

is returning
http://webmaps-dev.gns.cri.nz:80/petroleum/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd;>

  javax.xml.transform.TransformerException: Translator error
Translator error
java.lang.NullPointerException



Digging into log, Starts at:

2019-05-01 12:20:31,659 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: 
javax.xml.transform.TransformerException: Translator error
   at 
org.geoserver.wms.capabilities.GetCapabilitiesResponse.write(GetCapabilitiesResponse.java:106)
   at 
org.geoserver.config.CapabilitiesCacheHeadersCallback$RevalidateTagResponse.write(CapabilitiesCacheHeadersCallback.java:144)
   at org.geoserver.ows.Dispatcher.response(Dispatcher.java:1029)
   at 
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:268)
   at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177)


and further down I see the null exception at:

org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.getOrderedLayers(GetCapabilitiesTransformer.java:758)
   at 
org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.handleLayers(GetCapabilitiesTransformer.java:675)
   at 
org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.handleCapability(GetCapabilitiesTransformer.java:472)
   at 
org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.encode(GetCapabilitiesTransformer.java:310)
   at 
org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:995)
   at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
   at 
org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:283)
   at 
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:118)
   ... 96 more
Caused by: java.lang.NullPointerException
   at 
org.hibernate.impl.SessionFactoryImpl.getClassMetadata(SessionFactoryImpl.java:807)
   at 
com.googlecode.genericdao.search.hibernate.HibernateMetadataUtil.get(HibernateMetadataUtil.java:92)


Further up log, there are quite a few:
2019-05-01 12:15:25,679 WARN [wms.capabilities] - Error getting LegendURL 
dimensions from sample

Due to a missing font, but this hasn't been an issue in the past.

Can anyone point in direction of where to look for an issue?





Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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-improvemen

Re: [Geoserver-users] Odd error doing a getCapabilities call; Geoserver 2.15

2019-04-30 Thread Phil Scadden
Hmm. Another oddity - If I execute the getcaps in the browser, I get an xml 
file. If I execute it via an HttpURLConnection in code:
Viz
HttpURLConnection connection = (HttpURLConnection) 
url.openConnection();

This I get the error log in geoserver below.


From: Phil Scadden 
Sent: Wednesday, 1 May 2019 12:33
To: GeoServer Mailing List List 
Subject: [Geoserver-users] Odd error doing a getCapabilities call; Geoserver 
2.15

http://myserver/myinstance/wms?service=WMS=GetCapabilities=1.1.1

is returning
http://webmaps-dev.gns.cri.nz:80/petroleum/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd;>

  javax.xml.transform.TransformerException: Translator error
Translator error
java.lang.NullPointerException



Digging into log, Starts at:

2019-05-01 12:20:31,659 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: 
javax.xml.transform.TransformerException: Translator error
   at 
org.geoserver.wms.capabilities.GetCapabilitiesResponse.write(GetCapabilitiesResponse.java:106)
   at 
org.geoserver.config.CapabilitiesCacheHeadersCallback$RevalidateTagResponse.write(CapabilitiesCacheHeadersCallback.java:144)
   at org.geoserver.ows.Dispatcher.response(Dispatcher.java:1029)
   at 
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:268)
   at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177)


and further down I see the null exception at:

org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.getOrderedLayers(GetCapabilitiesTransformer.java:758)
   at 
org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.handleLayers(GetCapabilitiesTransformer.java:675)
   at 
org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.handleCapability(GetCapabilitiesTransformer.java:472)
   at 
org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.encode(GetCapabilitiesTransformer.java:310)
   at 
org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:995)
   at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
   at 
org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:283)
   at 
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:118)
   ... 96 more
Caused by: java.lang.NullPointerException
   at 
org.hibernate.impl.SessionFactoryImpl.getClassMetadata(SessionFactoryImpl.java:807)
   at 
com.googlecode.genericdao.search.hibernate.HibernateMetadataUtil.get(HibernateMetadataUtil.java:92)


Further up log, there are quite a few:
2019-05-01 12:15:25,679 WARN [wms.capabilities] - Error getting LegendURL 
dimensions from sample

Due to a missing font, but this hasn't been an issue in the past.

Can anyone point in direction of where to look for an issue?





Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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 error doing a getCapabilities call; Geoserver 2.15

2019-04-30 Thread Phil Scadden
http://myserver/myinstance/wms?service=WMS=GetCapabilities=1.1.1

is returning
http://webmaps-dev.gns.cri.nz:80/petroleum/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd;>

  javax.xml.transform.TransformerException: Translator error
Translator error
java.lang.NullPointerException



Digging into log, Starts at:

2019-05-01 12:20:31,659 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: 
javax.xml.transform.TransformerException: Translator error
   at 
org.geoserver.wms.capabilities.GetCapabilitiesResponse.write(GetCapabilitiesResponse.java:106)
   at 
org.geoserver.config.CapabilitiesCacheHeadersCallback$RevalidateTagResponse.write(CapabilitiesCacheHeadersCallback.java:144)
   at org.geoserver.ows.Dispatcher.response(Dispatcher.java:1029)
   at 
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:268)
   at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177)


and further down I see the null exception at:

org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.getOrderedLayers(GetCapabilitiesTransformer.java:758)
   at 
org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.handleLayers(GetCapabilitiesTransformer.java:675)
   at 
org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.handleCapability(GetCapabilitiesTransformer.java:472)
   at 
org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.encode(GetCapabilitiesTransformer.java:310)
   at 
org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:995)
   at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
   at 
org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:283)
   at 
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:118)
   ... 96 more
Caused by: java.lang.NullPointerException
   at 
org.hibernate.impl.SessionFactoryImpl.getClassMetadata(SessionFactoryImpl.java:807)
   at 
com.googlecode.genericdao.search.hibernate.HibernateMetadataUtil.get(HibernateMetadataUtil.java:92)


Further up log, there are quite a few:
2019-05-01 12:15:25,679 WARN [wms.capabilities] - Error getting LegendURL 
dimensions from sample

Due to a missing font, but this hasn't been an issue in the past.

Can anyone point in direction of where to look for an issue?





Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Problems with the axes using wfs

2019-04-07 Thread Phil Scadden
That is just the getcaps call (returns the capabilities of the wfs server). 
What would be good to see is the WFS call that fetches the data.

From: Pablo Schweitzer 
Sent: Saturday, 6 April 2019 04:32
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Problems with the axes using wfs

Hi
Te wfs is 
https://geoservicios.indec.gov.ar/geoserver/ows?service=wfs=2.0.0=GetCapabilities

Thanks

Pablo


El jue., 4 abr. 2019 a las 17:18, Phil Scadden 
(mailto:p.scad...@gns.cri.nz>>) escribió:
Got an example WFS call that you are making? And most importantly the version 
bit.

From: Pablo Schweitzer mailto:pablos...@gmail.com>>
Sent: Friday, 5 April 2019 05:07
To: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: [Geoserver-users] Problems with the axes using wfs

Hello
I'm incorporating a layer in my geoserver from this service 
https://geoservicios.indec.gov.ar/geoserver/ows?  but I have problems with the 
axes. How is it solved?

[image.png]
Thanks!

Pablo



Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Puzzling difference in image mozaic between 2.11.0 and 2.15. Transparent colour not being honoured.

2019-03-11 Thread Phil Scadden
Sorry – fixed it. Tried setting Output transparent colour to FF. This 
wasn’t set in 2.11.0

From: Phil Scadden 
Sent: Tuesday, 12 March 2019 14:21
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Puzzling difference in image mozaic between 2.11.0 
and 2.15. Transparent colour not being honoured.


Because of ongoing issues with bizarre error logs and zoom-related rendering
Eg https://osgeo-org.atlassian.net/browse/GEOS-9059 (though I get same error 
messages when it doesn’t span dateline), I tried updating geoserver to 2.15

The good news is that the problems with rendering and error logs have 
disappeared. The bad news is that 2.15 is not honouring input transparent 
colour FF whereas 2.11.0 was.
2.11.0


2.15


As far as I can see, the store and layer definitions are identical between 
servers (as is the data – geotiffs), and also the image processing settings on 
both servers (tile cycling off). I wonder if this is related to 
https://osgeo-org.atlassian.net/browse/GEOS-9143?

[cid:image001.png@01D4D8DF.945F57D0]
Happy to create a jira for this, but thought I would check on user group first.

Ngā mihi, Nā Phil Scadden
GNS Science Ltd 764 Cumberland St, Private Bag 1930,
Dunedin, New Zealand Ph +64 3 4799663, 027 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Puzzling difference in image mozaic between 2.11.0 and 2.15. Transparent colour not being honoured.

2019-03-11 Thread Phil Scadden

Because of ongoing issues with bizarre error logs and zoom-related rendering
Eg https://osgeo-org.atlassian.net/browse/GEOS-9059 (though I get same error 
messages when it doesn’t span dateline), I tried updating geoserver to 2.15

The good news is that the problems with rendering and error logs have 
disappeared. The bad news is that 2.15 is not honouring input transparent 
colour FF whereas 2.11.0 was.
2.11.0


2.15


As far as I can see, the store and layer definitions are identical between 
servers (as is the data – geotiffs), and also the image processing settings on 
both servers (tile cycling off). I wonder if this is related to 
https://osgeo-org.atlassian.net/browse/GEOS-9143?

[cid:image003.png@01D4D8DE.6A6C9FB0]
Happy to create a jira for this, but thought I would check on user group first.

Ngā mihi, Nā Phil Scadden
GNS Science Ltd 764 Cumberland St, Private Bag 1930,
Dunedin, New Zealand Ph +64 3 4799663, 027 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Gridset question

2019-02-07 Thread Phil Scadden
This rings some distant bells, though not with that particular EPSG (I'm in 
antipodes). I have vague memory of needing to set a tile origin somewhere. 
First step would be to isolate whether your issue is with geoserver or the 
browser client. (my memories of this are with openlayers but I switched to 
leaflet some time ago).
Can you look at the getmap request that browser is issuing and see whether the 
image being sent matches the bbox being requested. If so, then geoserver is off 
the hook and the problem is with the tileset management in the browser client. 
If it doesn't match, then problem is with geoserver. You say "cached content" - 
are you explicitly connected to a GWC cache or tileset, or is this from 
integrated GWC where you have seeded tiles? If you turn caching off, does the 
problem persist?

From: Paul Wittle via Geoserver-users 
Sent: Friday, 8 February 2019 01:54
To: 'geoserver-users@lists.sourceforge.net' 

Subject: [Geoserver-users] Gridset question

Hi,

Does anyone know why my base mapping is moving when I preview the cached 
content in British National Grid (EPSG:27700)?

Please see the attached screenshot.

It doesn't do this in web Mercator projection. If you try to zoom in using this 
gridset the you end up in a completely different point (because the map centre 
is shifting) whilst if you scroll in on other projections the map centre 
remains constant.

It seems to have a minimal shift if I use the WMTS in QGIS but if I use it in 
MapInfo Confirm then the shift is more pronounced.

Best Regards,

Paul Wittle
GIS Developer
Insight, Intelligence & Performance

County Hall
Dorchester
Dorset. DT1 1XJ
Tel: 01305 228473
E mail: p.wit...@dorsetcc.gov.uk

"This e-mail is intended for the named addressee(s) only and may contain 
information about individuals or other sensitive information and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this email in error, kindly disregard the 
content of the message and notify the sender immediately. Please be aware that 
all email may be subject to recording and/or monitoring in accordance with 
relevant legislation."
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Imagemozaic showing tiles intermittently and filling log with odd messages. Not a 180 degree issue

2019-01-16 Thread Phil Scadden
This is essentially the error found in 
https://osgeo-org.atlassian.net/browse/GEOS-9059. I get this with two image 
mozaics, split on the dateline and rendered as a group. Geoserver 2.11.0 so 
suggested (weird) workaround in issues not applicable.

Messages of form


2019-01-17 14:38:52,387 WARN [lite.gridcoverage2d] - Could not reduce the grid 
geometry inside the valid area bounds: 
ReferencedEnvelope[-1.7976931348623157E308 : 1.7976931348623157E308, -85.0 : 
85.0]
Grid geometry isGridGeometry2D[GridEnvelope2D[0..1064, 0..1063], 
PARAM_MT["Affine",
  PARAMETER["num_row", 3],
  PARAMETER["num_col", 3],
  PARAMETER["elt_0_0", 611.4962261962879],
  PARAMETER["elt_0_2", 18147679.25294037],
  PARAMETER["elt_1_1", -611.4962261962879],
  PARAMETER["elt_1_2", -5624236.54044037]]]

Investigating further, I tried layer preview on the imagemozaic on western 
hemisphere only. Still get lots of errors in log file.
2019-01-17 14:50:35,137 WARN [lite.gridcoverage2d] - Could not reduce the grid 
geometry inside the valid area bounds: 
ReferencedEnvelope[-1.7976931348623157E308 : 1.7976931348623157E308, -85.0 : 
85.0]
Grid geometry isGridGeometry2D[GridEnvelope2D[0..1064, 0..1063], 
PARAM_MT["Affine",
  PARAMETER["num_row", 3],
  PARAMETER["num_col", 3],
  PARAMETER["elt_0_0", 38.21851413726978],
  PARAMETER["elt_0_2", 19214950.369480647],
  PARAMETER["elt_1_1", -38.21851413726621],
  PARAMETER["elt_1_2", -4734719.733152524]]]


Some hints would be appreciated. Has imagemozaic creating failed? Granule(s) 
wrong? Configuration of the layer



Ngā mihi, Nā Phil Scadden
GNS Science Ltd 764 Cumberland St, Private Bag 1930,
Dunedin, New Zealand Ph +64 3 4799663, 027 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Image coordinates (40400 with south oriented axis)

2019-01-09 Thread Phil Scadden
We briefly entertained the idea of doing a south-orientated custom projection 
(people here working in Ross dependency think South pole should be towards top 
of map). This was abandoned very quickly because we need to combine images from 
multiple sources, including public AGS servers which of course would not 
support it. However, one idea that floated was for client to request images via 
a proxy (often doing that anyway) which rotated the image through 180, and 
hacking the client to order and place the images in right place. Not a trivial 
undertaking and still on our “to do sometime, maybe” list.

From: Hans Gregers Hedegaard Petersen 
Sent: Thursday, 10 January 2019 01:29
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Image coordinates (40400 with south oriented axis)

Hi all,

I need to serve images in a CRS that corresponds to the images coordinates - I 
saw an old thread on -devel, and tried epsg:40400 (should have been epsg:0 
Andrea :-D). It does precisely what I want, except I need the image coordinates 
to have a south oriented Y-axis. I have tried to hack it using a custom 
CRS-definition in (simply changing the direction to SOUTH), but to no avail.

Can anyone give me a good pointer to how (and if) I can add a custom version, 
having true image-style coordinates - ie. (0,0) in upper left, X east oriented 
and Y south oriented?

Thanks,

Greg
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Imagemosaic spanning the dateline

2018-12-12 Thread Phil Scadden
That looks very much what I see and the same warnings (also generating requests 
with Leaflet) ! This isn’t the first time I have hit this with rasters but 
first time using image mosaic. In past I have worked around by building two 
separate source, one for east, one for west. Then created a layer group from 
both of them and serve that.  I have major new rebuild of the rasters due jan, 
and if no progress, I will adopt that approach. It is pretty bizarre however.

From: Lubomír Bucek 
Sent: Thursday, 13 December 2018 14:09
To: Phil Scadden 
Subject: Re: [Geoserver-users] Imagemosaic spanning the dateline

Good evening,
I have also stumbled into probably the same issue trying to build a layer 
spanning across the dateline seamlessly. If this is not related, please correct 
me. I do not possess any Java skills to spot the bug in code neither fix it and 
therefore tried to document what I have tried on GeoServer side - to no success 
so far.
https://osgeo-org.atlassian.net/browse/GEOS-9059
It could be used as a steppingstone for someone later.

Best,
Lubomír Bucek
-- Původní e-mail --
Od: Phil Scadden mailto:p.scad...@gns.cri.nz>>
Komu: GeoServer Mailing List List 
mailto:geoserver-users@lists.sourceforge.net>>
Datum: 13. 12. 2018 0:00:41
Předmět: Re: [Geoserver-users] Imagemosaic spanning the dateline


Any insight at all into the warning message would help. (Like what was code 
trying to do when it generated it).





From: Phil Scadden mailto:p.scad...@gns.cri.nz>>
Sent: Tuesday, 11 December 2018 10:06
To: GeoServer Mailing List List 
mailto:geoserver-users@lists.sourceforge.net>>
Subject: Re: [Geoserver-users] Imagemosaic spanning the dateline



After a bit of battle getting disk provisioning, I have now successfully built 
an imagemozaic in EPSG:3857 which does cover both sides of the dateline. If I 
use “tiled” in getmap requests, it returns imagery for one side the dateline – 
if dateline is not in frame, you can get imagery for either side, but moment 
you have datetime in frame, then you get one side or other. I am about to 
analyse the getmap requests buts when I look in the logs, I see it is full of 
WARN message like this:



2018-12-11 09:52:09,214 WARN [lite.gridcoverage2d] - Could not reduce the grid 
geometry inside the valid area bounds: 
ReferencedEnvelope[-1.7976931348623157E308 : 1.7976931348623157E308, -85.0 : 
85.0]

Grid geometry isGridGeometry2D[GridEnvelope2D[0..1063, 0..1063], 
PARAM_MT["Affine",

  PARAMETER["num_row", 3],

  PARAMETER["num_col", 3],

  PARAMETER["elt_0_0", 9.554628534313876],

  PARAMETER["elt_0_2", 19841652.786989305],

  PARAMETER["elt_1_1", -9.554628534317445],

  PARAMETER["elt_1_2", -4118861.8190303175]]]



The messages vary in terms of the elt_ parameters and the GridEnvelope2D 
content, but ALWAYS have ReferencedEnvelope[-1.7976931348623157E308 : 
1.7976931348623157E308, -85.0 : 85.0]



The lat/long bounding box on the layer is -179.99 -60.23 179. 
-19.3111



Can anyone tell me what the WARN message is about? (or should I give up now and 
create 2 imagemozaics, one for each side of the dateline).





From: Phil Scadden mailto:p.scad...@gns.cri.nz>>
Sent: Monday, 29 October 2018 16:21
Cc: GeoServer Mailing List List 
mailto:geoserver-users@lists.sourceforge.net>>
Subject: Re: [Geoserver-users] Imagemosaic spanning the dateline



That is encouraging. Trying it if I can figure the REST. While there is no 
accounting for some random consumer might request, any sensible query isn’t 
going to ask for the raster in anything but 3857 and it would make no sense 
outside SW Pacific.



From: Andrea Aime 
mailto:andrea.a...@geo-solutions.it>>
Sent: Sunday, 28 October 2018 05:59
To: Phil Scadden mailto:p.scad...@gns.cri.nz>>
Cc: GeoServer Mailing List List 
mailto:geoserver-users@lists.sourceforge.net>>
Subject: Re: [Geoserver-users] Imagemosaic spanning the dateline



Hi Phil,

we have done that in the past, even with granules spanning the dateline, using 
a heterogeneous CRS

setup (each image in its own UTM zone, the ones crossing the dateline in UTM 1 
or 60).

That said, it's always tricky, so I won't promise it will work in your case.



Having the source CRS in 3857, that will surely be source of troubles if 
someone asks the map in output

in 4326, last time I stumbled in that case if the client asked for the entire 
globe to be displayed in 4326

the envelope reprojection would fail



Cheers

Andrea





On Fri, Oct 26, 2018 at 2:35 AM Phil Scadden 
mailto:p.scad...@gns.cri.nz>> wrote:

Before I waste a lot of time on something impossible, I thought I would ask 
whether it is okay to have an image mosaic that crosses the dateline. None of 
the granules cross the 180 (more accurately, the data is split into tiles that 
don’t cross the 180), but the mosaic itself will span a big hunk of 

Re: [Geoserver-users] Imagemosaic spanning the dateline

2018-12-12 Thread Phil Scadden
Any insight at all into the warning message would help. (Like what was code 
trying to do when it generated it).


From: Phil Scadden 
Sent: Tuesday, 11 December 2018 10:06
To: GeoServer Mailing List List 
Subject: Re: [Geoserver-users] Imagemosaic spanning the dateline

After a bit of battle getting disk provisioning, I have now successfully built 
an imagemozaic in EPSG:3857 which does cover both sides of the dateline. If I 
use “tiled” in getmap requests, it returns imagery for one side the dateline – 
if dateline is not in frame, you can get imagery for either side, but moment 
you have datetime in frame, then you get one side or other. I am about to 
analyse the getmap requests buts when I look in the logs, I see it is full of 
WARN message like this:

2018-12-11 09:52:09,214 WARN [lite.gridcoverage2d] - Could not reduce the grid 
geometry inside the valid area bounds: 
ReferencedEnvelope[-1.7976931348623157E308 : 1.7976931348623157E308, -85.0 : 
85.0]
Grid geometry isGridGeometry2D[GridEnvelope2D[0..1063, 0..1063], 
PARAM_MT["Affine",
  PARAMETER["num_row", 3],
  PARAMETER["num_col", 3],
  PARAMETER["elt_0_0", 9.554628534313876],
  PARAMETER["elt_0_2", 19841652.786989305],
  PARAMETER["elt_1_1", -9.554628534317445],
  PARAMETER["elt_1_2", -4118861.8190303175]]]

The messages vary in terms of the elt_ parameters and the GridEnvelope2D 
content, but ALWAYS have ReferencedEnvelope[-1.7976931348623157E308 : 
1.7976931348623157E308, -85.0 : 85.0]

The lat/long bounding box on the layer is -179.99 -60.23 179. 
-19.3111

Can anyone tell me what the WARN message is about? (or should I give up now and 
create 2 imagemozaics, one for each side of the dateline).


From: Phil Scadden mailto:p.scad...@gns.cri.nz>>
Sent: Monday, 29 October 2018 16:21
Cc: GeoServer Mailing List List 
mailto:geoserver-users@lists.sourceforge.net>>
Subject: Re: [Geoserver-users] Imagemosaic spanning the dateline

That is encouraging. Trying it if I can figure the REST. While there is no 
accounting for some random consumer might request, any sensible query isn’t 
going to ask for the raster in anything but 3857 and it would make no sense 
outside SW Pacific.

From: Andrea Aime 
mailto:andrea.a...@geo-solutions.it>>
Sent: Sunday, 28 October 2018 05:59
To: Phil Scadden mailto:p.scad...@gns.cri.nz>>
Cc: GeoServer Mailing List List 
mailto:geoserver-users@lists.sourceforge.net>>
Subject: Re: [Geoserver-users] Imagemosaic spanning the dateline

Hi Phil,
we have done that in the past, even with granules spanning the dateline, using 
a heterogeneous CRS
setup (each image in its own UTM zone, the ones crossing the dateline in UTM 1 
or 60).
That said, it's always tricky, so I won't promise it will work in your case.

Having the source CRS in 3857, that will surely be source of troubles if 
someone asks the map in output
in 4326, last time I stumbled in that case if the client asked for the entire 
globe to be displayed in 4326
the envelope reprojection would fail

Cheers
Andrea


On Fri, Oct 26, 2018 at 2:35 AM Phil Scadden 
mailto:p.scad...@gns.cri.nz>> wrote:
Before I waste a lot of time on something impossible, I thought I would ask 
whether it is okay to have an image mosaic that crosses the dateline. None of 
the granules cross the 180 (more accurately, the data is split into tiles that 
don’t cross the 180), but the mosaic itself will span a big hunk of the SW 
Pacific. CRS is 3857 for each tile. The reason I ask is the LL, UR coordinates 
for an envelope2d would violate the common assumption that LL x is < LR x that 
flat-earthers are so used to.

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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<mailto: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)

Re: [Geoserver-users] Imagemosaic spanning the dateline

2018-12-10 Thread Phil Scadden
So with dateline east of the map centre line:
https://data.gns.cri.nz/webmaps/petroleum/wms?service=WMS=GetMap=gns%3Aswath==image%2Fpng=true=1.1.1=true=false=256=256=EPSG%3A3857=17532819.79994059,-5009377.085697311,18785164.07136492,-3757032.8142729844
returns nothing.

https://data.gns.cri.nz/webmaps/petroleum/wms?service=WMS=GetMap=gns%3Aswath==image%2Fpng=true=1.1.1=true=false=256=256=EPSG%3A3857=-20037508.342789244,-5009377.085697311,-18785164.07136492,-3757032.8142729844
returns a tile.

Zoom into the western side and suddenly:
https://data.gns.cri.nz/webmaps/petroleum/wms?service=WMS=GetMap=gns%3Aswath==image%2Fpng=true=1.1.1=true=false=256=256=EPSG%3A3857=18941707.105292957,-3600489.7803449426,19098250.139220998,-3443946.7464169012
does return a tile.

Beyond me why location of mapframe and zoom make a difference. Even when map 
frame is exclusively to west, only see tiles when I start to zoom in. the 
request URLs look correct to me and format unaffected by frame.

No granule in the mosaic crosses the dateline.




From: Phil Scadden 
Sent: Tuesday, 11 December 2018 10:06
To: GeoServer Mailing List List 
Subject: Re: [Geoserver-users] Imagemosaic spanning the dateline

After a bit of battle getting disk provisioning, I have now successfully built 
an imagemozaic in EPSG:3857 which does cover both sides of the dateline. If I 
use “tiled” in getmap requests, it returns imagery for one side the dateline – 
if dateline is not in frame, you can get imagery for either side, but moment 
you have datetime in frame, then you get one side or other. I am about to 
analyse the getmap requests buts when I look in the logs, I see it is full of 
WARN message like this:

2018-12-11 09:52:09,214 WARN [lite.gridcoverage2d] - Could not reduce the grid 
geometry inside the valid area bounds: 
ReferencedEnvelope[-1.7976931348623157E308 : 1.7976931348623157E308, -85.0 : 
85.0]
Grid geometry isGridGeometry2D[GridEnvelope2D[0..1063, 0..1063], 
PARAM_MT["Affine",
  PARAMETER["num_row", 3],
  PARAMETER["num_col", 3],
  PARAMETER["elt_0_0", 9.554628534313876],
  PARAMETER["elt_0_2", 19841652.786989305],
  PARAMETER["elt_1_1", -9.554628534317445],
  PARAMETER["elt_1_2", -4118861.8190303175]]]

The messages vary in terms of the elt_ parameters and the GridEnvelope2D 
content, but ALWAYS have ReferencedEnvelope[-1.7976931348623157E308 : 
1.7976931348623157E308, -85.0 : 85.0]

The lat/long bounding box on the layer is -179.99 -60.23 179. 
-19.3111

Can anyone tell me what the WARN message is about? (or should I give up now and 
create 2 imagemozaics, one for each side of the dateline).


From: Phil Scadden mailto:p.scad...@gns.cri.nz>>
Sent: Monday, 29 October 2018 16:21
Cc: GeoServer Mailing List List 
mailto:geoserver-users@lists.sourceforge.net>>
Subject: Re: [Geoserver-users] Imagemosaic spanning the dateline

That is encouraging. Trying it if I can figure the REST. While there is no 
accounting for some random consumer might request, any sensible query isn’t 
going to ask for the raster in anything but 3857 and it would make no sense 
outside SW Pacific.

From: Andrea Aime 
mailto:andrea.a...@geo-solutions.it>>
Sent: Sunday, 28 October 2018 05:59
To: Phil Scadden mailto:p.scad...@gns.cri.nz>>
Cc: GeoServer Mailing List List 
mailto:geoserver-users@lists.sourceforge.net>>
Subject: Re: [Geoserver-users] Imagemosaic spanning the dateline

Hi Phil,
we have done that in the past, even with granules spanning the dateline, using 
a heterogeneous CRS
setup (each image in its own UTM zone, the ones crossing the dateline in UTM 1 
or 60).
That said, it's always tricky, so I won't promise it will work in your case.

Having the source CRS in 3857, that will surely be source of troubles if 
someone asks the map in output
in 4326, last time I stumbled in that case if the client asked for the entire 
globe to be displayed in 4326
the envelope reprojection would fail

Cheers
Andrea


On Fri, Oct 26, 2018 at 2:35 AM Phil Scadden 
mailto:p.scad...@gns.cri.nz>> wrote:
Before I waste a lot of time on something impossible, I thought I would ask 
whether it is okay to have an image mosaic that crosses the dateline. None of 
the granules cross the 180 (more accurately, the data is split into tiles that 
don’t cross the 180), but the mosaic itself will span a big hunk of the SW 
Pacific. CRS is 3857 for each tile. The reason I ask is the LL, UR coordinates 
for an envelope2d would violate the common assumption that LL x is < LR x that 
flat-earthers are so used to.

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
_

Re: [Geoserver-users] Imagemosaic spanning the dateline

2018-12-10 Thread Phil Scadden
After a bit of battle getting disk provisioning, I have now successfully built 
an imagemozaic in EPSG:3857 which does cover both sides of the dateline. If I 
use “tiled” in getmap requests, it returns imagery for one side the dateline – 
if dateline is not in frame, you can get imagery for either side, but moment 
you have datetime in frame, then you get one side or other. I am about to 
analyse the getmap requests buts when I look in the logs, I see it is full of 
WARN message like this:

2018-12-11 09:52:09,214 WARN [lite.gridcoverage2d] - Could not reduce the grid 
geometry inside the valid area bounds: 
ReferencedEnvelope[-1.7976931348623157E308 : 1.7976931348623157E308, -85.0 : 
85.0]
Grid geometry isGridGeometry2D[GridEnvelope2D[0..1063, 0..1063], 
PARAM_MT["Affine",
  PARAMETER["num_row", 3],
  PARAMETER["num_col", 3],
  PARAMETER["elt_0_0", 9.554628534313876],
  PARAMETER["elt_0_2", 19841652.786989305],
  PARAMETER["elt_1_1", -9.554628534317445],
  PARAMETER["elt_1_2", -4118861.8190303175]]]

The messages vary in terms of the elt_ parameters and the GridEnvelope2D 
content, but ALWAYS have ReferencedEnvelope[-1.7976931348623157E308 : 
1.7976931348623157E308, -85.0 : 85.0]

The lat/long bounding box on the layer is -179.99 -60.23 179. 
-19.3111

Can anyone tell me what the WARN message is about? (or should I give up now and 
create 2 imagemozaics, one for each side of the dateline).


From: Phil Scadden 
Sent: Monday, 29 October 2018 16:21
Cc: GeoServer Mailing List List 
Subject: Re: [Geoserver-users] Imagemosaic spanning the dateline

That is encouraging. Trying it if I can figure the REST. While there is no 
accounting for some random consumer might request, any sensible query isn’t 
going to ask for the raster in anything but 3857 and it would make no sense 
outside SW Pacific.

From: Andrea Aime 
mailto:andrea.a...@geo-solutions.it>>
Sent: Sunday, 28 October 2018 05:59
To: Phil Scadden mailto:p.scad...@gns.cri.nz>>
Cc: GeoServer Mailing List List 
mailto:geoserver-users@lists.sourceforge.net>>
Subject: Re: [Geoserver-users] Imagemosaic spanning the dateline

Hi Phil,
we have done that in the past, even with granules spanning the dateline, using 
a heterogeneous CRS
setup (each image in its own UTM zone, the ones crossing the dateline in UTM 1 
or 60).
That said, it's always tricky, so I won't promise it will work in your case.

Having the source CRS in 3857, that will surely be source of troubles if 
someone asks the map in output
in 4326, last time I stumbled in that case if the client asked for the entire 
globe to be displayed in 4326
the envelope reprojection would fail

Cheers
Andrea


On Fri, Oct 26, 2018 at 2:35 AM Phil Scadden 
mailto:p.scad...@gns.cri.nz>> wrote:
Before I waste a lot of time on something impossible, I thought I would ask 
whether it is okay to have an image mosaic that crosses the dateline. None of 
the granules cross the 180 (more accurately, the data is split into tiles that 
don’t cross the 180), but the mosaic itself will span a big hunk of the SW 
Pacific. CRS is 3857 for each tile. The reason I ask is the LL, UR coordinates 
for an envelope2d would violate the common assumption that LL x is < LR x that 
flat-earthers are so used to.

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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<mailto: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 circo

Re: [Geoserver-users] getting height data from store

2018-11-12 Thread Phil Scadden
Try using the WMS GetFeatureInfo.  This will return the value of raster layer 
at your point. I use this to implement a hover service, showing the value of a 
raster under the mouse.

-Original Message-
From: gold1 
Sent: Sunday, 11 November 2018 05:30
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] getting height data from store

I'm using Leaflet map + Geo server to display a map. I have a tiff file and a
dt2 file.

I created a geotiff store and layer that i'm showing in leaflet, And i created 
a DTED store and layer in geo server

I want now to display the altitude of each point from the DEM Layer, like
so:

Latitude: 32.123 ,longitude: 12.112, Altitude: 12312 m

How do i get the altitude data from the store i created?

I tried using wcs protocol but i only get images.

thanks.



--
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
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.


___
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] SLD styling in production environment

2018-11-11 Thread Phil Scadden
I would also plug the sterling work of GeoCat-Bridge 
https://www.geocat.net/home/bridge/ in converting ArcGIS styles to SLD. ( I am 
customer of them). Pretty common to have municipal using ArcGIS.

From: Ville Koivisto 
Sent: Saturday, 10 November 2018 02:55
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] SLD styling in production environment

Hi,

Thanks for the detailed answer. It’s a good hint to check geoserver logs, I 
didn’t realize that.

I still think QGIS/Geoserver SLD matching would is important since clients 
(municipalities in my case) are often capable of creating a style in QGIS, but 
not writing CSS or SLD from a template. If we’re speaking about planners or 
engineers and so on, not about GIS personnel.

Best regards,

Ville Koivisto
+35840 701 4283
GIS Expert
Suomen kuntotekniikka Oy
[KUNTO TEKNIIKKA logo transparent FF9900]

From: Phil Scadden mailto:p.scad...@gns.cri.nz>>
Sent: Thursday, November 8, 2018 10:15 PM
To: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] SLD styling in production environment

There are various ways styling go wrong but your choice of SLD editor or 
styling language don’t have a lot to do with it. If a SLD validates and draws a 
legend, (you need to check preview as well as there are valid SLD expressions 
that geoserver cant draw ) but fails on layer preview it is nearly always 
(maybe every time) a mismatch between property (or possibly layer) names used 
in the SLD and what is actually in the layer that the SLD is being applied to. 
Validate by itself isn’t enough. Unless you have a style editor that is tightly 
integrated to layer it being applied to, this is always going to be problem. 
All of the options work in a production environment but all of them require 
testing on actual layer. If you don’t have a copy of the production environment 
on a test server, then you can safely test by creating/editing the style with a 
new name, add it as an allowed style to the layer and in layer preview, press 
the … and change the style
[cid:image001.png@01D4780C.628AA0E0]
If it fails, the geoserver log is usually pretty good at identifying the 
offending property in the SLD.


From: Ville Koivisto 
mailto:ville.koivi...@kuntotekniikka.fi>>
Sent: Friday, 9 November 2018 04:10
To: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] SLD styling in production environment

Hi to all,

Thanks you very much for all the input. Five replies and four different 
suggestions though.  I guess people are divided into different camps with this 
one 

The problem that I find with the Geoserver’s own SLD editor is that for me it 
often validates SLD successfully, but when I implement it in a layer, it still 
doesn’t work (I’m offered a wms file, which implies broken styling afaik). 
Debugging is tedious since SLD files can be so long.

I guess SLDeditor isn’t cabaple of importing SLD file from QGIS and then 
exporting it to a functioning SLD 1.0.0 file to be used in Geoserver? That 
would be really nice. In the very best scenario SLD export in QGIS would be 
fixed so that I could instruct our not-so-technical clients to produce their 
own styles with relative ease. I understand that this is still not happening in 
the near future.

I guess I’ll have to start learning CSS.

Best regards,

Ville Koivisto
+35840 701 4283
GIS Expert
Suomen kuntotekniikka Oy


Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] SLD styling in production environment

2018-11-08 Thread Phil Scadden
There are various ways styling go wrong but your choice of SLD editor or 
styling language don’t have a lot to do with it. If a SLD validates and draws a 
legend, (you need to check preview as well as there are valid SLD expressions 
that geoserver cant draw ) but fails on layer preview it is nearly always 
(maybe every time) a mismatch between property (or possibly layer) names used 
in the SLD and what is actually in the layer that the SLD is being applied to. 
Validate by itself isn’t enough. Unless you have a style editor that is tightly 
integrated to layer it being applied to, this is always going to be problem. 
All of the options work in a production environment but all of them require 
testing on actual layer. If you don’t have a copy of the production environment 
on a test server, then you can safely test by creating/editing the style with a 
new name, add it as an allowed style to the layer and in layer preview, press 
the … and change the style
[cid:image001.png@01D4780C.628AA0E0]
If it fails, the geoserver log is usually pretty good at identifying the 
offending property in the SLD.


From: Ville Koivisto 
Sent: Friday, 9 November 2018 04:10
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] SLD styling in production environment

Hi to all,

Thanks you very much for all the input. Five replies and four different 
suggestions though.  I guess people are divided into different camps with this 
one 

The problem that I find with the Geoserver’s own SLD editor is that for me it 
often validates SLD successfully, but when I implement it in a layer, it still 
doesn’t work (I’m offered a wms file, which implies broken styling afaik). 
Debugging is tedious since SLD files can be so long.

I guess SLDeditor isn’t cabaple of importing SLD file from QGIS and then 
exporting it to a functioning SLD 1.0.0 file to be used in Geoserver? That 
would be really nice. In the very best scenario SLD export in QGIS would be 
fixed so that I could instruct our not-so-technical clients to produce their 
own styles with relative ease. I understand that this is still not happening in 
the near future.

I guess I’ll have to start learning CSS.

Best regards,

Ville Koivisto
+35840 701 4283
GIS Expert
Suomen kuntotekniikka Oy


Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] What is wrong with the REST line - tells me it cant determine content type

2018-10-28 Thread Phil Scadden
I was using that as a model but banging against the content header all the 
time. The endpoint was created in the web GUI (add image mosaic data store) as 
it produced errors if the end point didn’t already exist. My original attempt 
was copy/paste from that example but with gns instead of topp. Had create the 
directory I wanted though so did that in web GUI because I have no access 
outside gui/REST to the machine.

From: Andrea Aime 
Sent: Sunday, 28 October 2018 05:56
To: Phil Scadden 
Cc: GeoServer Mailing List List 
Subject: Re: [Geoserver-users] What is wrong with the REST line - tells me it 
cant determine content type

Hi Phil,
I'm not quire sure (not a rest config expert), but the endpoint in question 
might not be accepting zip files.
The example in the documentation works in a different way, see if this works 
for you:
https://docs.geoserver.org/latest/en/user/rest/imagemosaic.html#uploading-a-new-image-mosaic

Cheers
Andrea


On Fri, Oct 26, 2018 at 5:47 AM Phil Scadden 
mailto:p.scad...@gns.cri.nz>> wrote:
curl -v -u admin:xxx -XPUT -H "Content-type:application/zip" --data-binary 
swath.zip http://myserver/geoserver/rest/workspaces/gns/swath/swath.imagemosaic

gives error.
“Could not determine format. Try setting the Content-type header”

Geoserver 2.11.0
The header looks correct to me. A typo somewhere?
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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<mailto: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.

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Imagemosaic spanning the dateline

2018-10-28 Thread Phil Scadden
That is encouraging. Trying it if I can figure the REST. While there is no 
accounting for some random consumer might request, any sensible query isn’t 
going to ask for the raster in anything but 3857 and it would make no sense 
outside SW Pacific.

From: Andrea Aime 
Sent: Sunday, 28 October 2018 05:59
To: Phil Scadden 
Cc: GeoServer Mailing List List 
Subject: Re: [Geoserver-users] Imagemosaic spanning the dateline

Hi Phil,
we have done that in the past, even with granules spanning the dateline, using 
a heterogeneous CRS
setup (each image in its own UTM zone, the ones crossing the dateline in UTM 1 
or 60).
That said, it's always tricky, so I won't promise it will work in your case.

Having the source CRS in 3857, that will surely be source of troubles if 
someone asks the map in output
in 4326, last time I stumbled in that case if the client asked for the entire 
globe to be displayed in 4326
the envelope reprojection would fail

Cheers
Andrea


On Fri, Oct 26, 2018 at 2:35 AM Phil Scadden 
mailto:p.scad...@gns.cri.nz>> wrote:
Before I waste a lot of time on something impossible, I thought I would ask 
whether it is okay to have an image mosaic that crosses the dateline. None of 
the granules cross the 180 (more accurately, the data is split into tiles that 
don’t cross the 180), but the mosaic itself will span a big hunk of the SW 
Pacific. CRS is 3857 for each tile. The reason I ask is the LL, UR coordinates 
for an envelope2d would violate the common assumption that LL x is < LR x that 
flat-earthers are so used to.

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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<mailto: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.

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] What is wrong with the REST line - tells me it cant determine content type

2018-10-26 Thread Phil Scadden
That was my original line but same error message

From: br...@frogmouth.net 
Sent: Friday, October 26, 2018 5:13:34 PM
To: Phil Scadden; geoserver-users@lists.sourceforge.net
Subject: RE: [Geoserver-users] What is wrong with the REST line - tells me it 
cant determine content type

Did you maybe mean “@swath.zip”?

Brad


From: Phil Scadden 
Sent: Friday, 26 October 2018 2:39 PM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] What is wrong with the REST line - tells me it cant 
determine content type

curl -v -u admin:xxx -XPUT -H "Content-type:application/zip" --data-binary 
swath.zip http://myserver/geoserver/rest/workspaces/gns/swath/swath.imagemosaic

gives error.
“Could not determine format. Try setting the Content-type header”

Geoserver 2.11.0
The header looks correct to me. A typo somewhere?
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] What is wrong with the REST line - tells me it cant determine content type

2018-10-25 Thread Phil Scadden
curl -v -u admin:xxx -XPUT -H "Content-type:application/zip" --data-binary 
swath.zip http://myserver/geoserver/rest/workspaces/gns/swath/swath.imagemosaic

gives error.
"Could not determine format. Try setting the Content-type header"

Geoserver 2.11.0
The header looks correct to me. A typo somewhere?
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] Imagemosaic spanning the dateline

2018-10-25 Thread Phil Scadden
Before I waste a lot of time on something impossible, I thought I would ask 
whether it is okay to have an image mosaic that crosses the dateline. None of 
the granules cross the 180 (more accurately, the data is split into tiles that 
don't cross the 180), but the mosaic itself will span a big hunk of the SW 
Pacific. CRS is 3857 for each tile. The reason I ask is the LL, UR coordinates 
for an envelope2d would violate the common assumption that LL x is < LR x that 
flat-earthers are so used to.

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] SLD where colour depends on one attribute, but symbol depends on another?

2018-10-02 Thread Phil Scadden
I suspect this isn’t possible, but I would dearly like to show symbols where 
symbol type (square or circle) depended on a location type, while the colour 
depends on the age. I have seen colour and size done in an SLD but what about 
shape?

From: Jody Garnett [mailto:jody.garn...@gmail.com]
Sent: Wednesday, 3 October 2018 09:44
To: gagnon_oliv...@outlook.com
Cc: GeoServer Users 
Subject: Re: [Geoserver-users] [Geoserver-devel] Recalculate Feature Bounding 
Box REST API

Please visit the user list to ask, the developers list is used for those 
working directly on the codebase.

For more information see http://geoserver.org/comm/

Since you are running in debug mode you have a checkout of the codebase. Have a 
look at the test-cases to see what works (perhaps we have a documentation fix 
to make).
--
Jody Garnett


On Mon, 1 Oct 2018 at 08:05, Olyster 
mailto:gagnon_oliv...@outlook.com>> wrote:
Hi,

I'm trying to launch the bbox recalculation through REST using PUT and I
always get 400 Bad request.

All the parameters are correct. I use ?recalculate=nativebbox,latlonbbox as
stated in the manual but I can't figure why it's not working.

I'm running Geoserver in debug and I can see that GET requests on the same
path are working.

Thanks



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-Dev-f3819232.html


___
Geoserver-devel mailing list
geoserver-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] DateLine Problems

2018-08-20 Thread Phil Scadden
What version of Geoserver? What projection is being used for display?

The dateline is the bane of my life in mapping. Behaviour can depend on 
projection used etc. If you are using lat/long, try sticking to 0-360 space 
instead -180:180 space. Use Tiled=true.

-Original Message-
From: Игорь [mailto:ujif...@yandex.ru]
Sent: Tuesday, 21 August 2018 05:05
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] DateLine Problems

Hello.
I have a problem with a poligons crossing date line that looks like a bug. 
Because of some special featueres I can't split such a polygons on two parts, 
and move another one at the negative longitude. Thats why I'm trying to use 
continuous map wrapping for that.
Steps to reproduce a problem:
1. Create a layer from Postgresql with such sql code:
SELECT 1 as id, ST_makePolygon(st_geomfromtext('LINESTRING(150 65, 175 65, 175 
55, 150 55, 150 65)')) UNION SELECT 2 as id, 
ST_makePolygon(st_geomfromtext('LINESTRING(-175 65, -155 65, -155 55, -175 55, 
-175 65)')) UNION SELECT 3 as id, 
ST_makePolygon(st_geomfromtext('LINESTRING(150 60, 210 60, 210 50, 150 50, 150 
60)'))

2. Turn on advanced projection handling and enable continuous map wrapping 3. 
Open created layer for watching

At first you will see continiously repeating three rectangles. If you go zoom 
at near 180 degrees all three polygons will be visible on any zoom level But If 
you will go to -179 degrees and zoom in there, big rectangle which crosses date 
line will just disappear at some zoom ( Scale = 1 : 4M for me). You have to 
zoom in at >-180 area, so disappears only part which situated in >180 area. 
Moreover if you click at 182 degrees, you will see to items found under mouse 
tip(id 2, 3). if you click at 179 degrees you will get ids 1, 3. But when click 
at -179 get only id 2, although rectangle 3 has not disappeared yet.
It seems that at the beginning it usees both areas for rendering (I mean >-179 
and >181 degrees), but then it starts to use only >-179 area.
Moreover if you go at -1300 and more, all rectangles disappear at the first 
scale like 1 : 558M.
If you need I can provide screenshots, or some more information.


--
Sincerely yours, Igor Pronin


--
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
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.

--
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] Import StreetMap layer

2018-07-25 Thread Phil Scadden
I have done this for same reason. And, yes, I used a postgis database to feed 
it. https://wiki.openstreetmap.org/wiki/Osm2pgsql is the most useful resource I 
uncovered in that process.

From: Tripple Tee [mailto:tripplete...@gmail.com]
Sent: Wednesday, 25 July 2018 13:47
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Import StreetMap layer

Hi,

We have network that is off the Internet so what we like to implement is to 
export street map from OpenStreetMap or any opensource into a format that can 
be ingested into GeoServer. I notice there is a OpenStreetMap on GeoServer home 
page, don’t know what is the purpose or the relation between OSM and GeoServer.

Not sure how the sample Tiger New York shape was made but it is what we like to 
have
[cid:image001.jpg@01D424D0.19F151B0]

I been to https://extract.bbbike.org/ and export the ShapeFile (Esri) but it 
only line and polygon without street name like this
[cid:image002.jpg@01D424D0.19F151B0]

Any guidance to get me started appreciated. Do I need PostGIS to store place 
name ?

Thanks

Sent from Mail for Windows 10

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
--
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] Unicode symbols as "welllknownnames" in SLDs?

2018-07-15 Thread Phil Scadden
Anyway to use Unicode symbols as wellknownnames in sld instead of ttf? Eg use 
U+2605 for a point symbol? Licencing and incompatibility of fonts across OS is 
a pain.

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
--
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] Baffling different behaviour with respect to axis-order between EPSG:3031 and EPSG:2193 (and geometry in CQL Filter)

2018-06-28 Thread Phil Scadden
Thanks very much for that. I am quite happy with a fixed axis order in returns 
but my problem was trying to find out what axis order to use when assembling a 
polygon cql filter in the client where the client cannot control what EPSG are 
in use. I didn't realize the axis order could be part of the definition. I see 
from that registry that one of the other EPSG code that tend to use is also 
east, north. I see that I am going to have to write code to query and assemble 
based on whatever the native projection is in Geoserver. Very good to know!

From: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi]
Sent: Thursday, 28 June 2018 18:29
To: Phil Scadden ; GeoServer Mailing List List 

Subject: Re: Baffling different behaviour with respect to axis-order between 
EPSG:3031 and EPSG:2193 (and geometry in CQL Filter)

Hi,

The axis order of EPSG:3031 seems to be officially easting-northing
http://epsg-registry.org/export.htm?wkt=urn:ogc:def:crs:EPSG::3031
while EPSG:2193 is using northing-easting order
http://epsg-registry.org/export.htm?wkt=urn:ogc:def:crs:EPSG::2193

In valid GeoJSON the coordinates are always in easting-northing or 
longitude-latitude order. Use GML3 if you want to study the axis order in the 
response. And WFS 1.0.0 is not axis-aware but it behaves like GeoJSON.

-Jukka Rahkonen-


Lähettäjä: Phil Scadden [mailto:p.scad...@gns.cri.nz]
Lähetetty: 28. kesäkuuta 2018 7:53
Vastaanottaja: GeoServer Mailing List List 
mailto:geoserver-users@lists.sourceforge.net>>
Aihe: [Geoserver-users] Baffling different behaviour with respect to axis-order 
between EPSG:3031 and EPSG:2193 (and geometry in CQL Filter)

Short statement. 1.1.0 queries against 3031 need long/lat. Same kind against 
2193 need lat/long (as per documentation).

Anything special about polar projections?

Long statement:
This is a working query against an EPSG:2193 layer:
url: http://maps.gns.cri.nz/geoserverlatest/gns/wfs
cql_filter: INTERSECTS(the_geom, POLYGON((5746568.950286176 1694143.7308257942, 
5750237.927643864 1694143.730825794, 5750237.927643863 1690474.7534681011, 
5746568.950286174 1690474.7534681007, 5746568.950286176 1694143.7308257942)))
maxFeatures: 1000
outputFormat: application/json
propertyName: 
facies,lithology_,lithology1,Comments,Primary_so,Secondary_,Source_qua,the_geom
request: GetFeature
service: wfs
srsName: EPSG:2193
typeNames: NWP_Lithofacies_4_Ma__lWo_
version: 1.1.0

Not obvious unless you know the coordinate system, but the axis order for the 
polygon is lat/long which seems correct for WFS version of 1.1.0.
Geometries returned are in long/lat order.

However, this is a working query against ESPG:3031
url: http://maps.gns.cri.nz/geoserverlatest/wfs
cql_filter: INTERSECTS(the_geom, POLYGON((438268.2059849124 
-1301158.8151743845, 438268.2059849127 -1298360.2509553954, 435469.6417659225 
-1298360.2509553959, 435469.6417659226 -1301158.8151743864, 438268.2059849124 
-1301158.8151743845)))
maxFeatures: 1000
outputFormat: application/json
propertyName: 
ABSMAX_MA,MAPSYMBOL,PLOTSYMBOL,NAME,DESCR,SIMPLENAME,MBREQUIV,FMNEQUIV,SBGRPEQUIV,GRPEQUIV,SPGRPEQUIV,TERREQUIV,STRATRANK,TYPENAME,TYPE_URI,GEOLHIST,REPAGE_URI,YNGAGE_URI,OLDAGE_URI,STRATAGE,ABSMIN_MA,LITHOLOGY,REPLITH_UR,REGLITH,REGLITH_UR,ROCKGROUP,ROCKCLASS,OBSMETHOD,CONFIDENCE,POSACC_M,SOURCE,SOURCECODE,METADATA,RESSCALE,CAPTSCALE,CAPTDATE,MODDATE,PLOTRANK,FEATUREID,SPEC_URI,SYMBOL,the_geom
request: GetFeature
service: wfs
srsName: EPSG:3031
typeNames: gns:ATA_geological00_units_West
version: 1.1.0

The polygon coordinates are in long/lat , not lat/long! Furthermore, if you 
change version 1.0.0 it still works whereas the 2193 query above does not.
Returned geometries are in long/lat as above.

Both layers are on the same 2.11.0 geoserver.

Can anyone shed any light on what is going on? It certainly make client-side 
code challenging.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
--
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/foss4

[Geoserver-users] Baffling different behaviour with respect to axis-order between EPSG:3031 and EPSG:2193 (and geometry in CQL Filter)

2018-06-27 Thread Phil Scadden
Short statement. 1.1.0 queries against 3031 need long/lat. Same kind against 
2193 need lat/long (as per documentation).

Anything special about polar projections?

Long statement:
This is a working query against an EPSG:2193 layer:
url: http://maps.gns.cri.nz/geoserverlatest/gns/wfs
cql_filter: INTERSECTS(the_geom, POLYGON((5746568.950286176 1694143.7308257942, 
5750237.927643864 1694143.730825794, 5750237.927643863 1690474.7534681011, 
5746568.950286174 1690474.7534681007, 5746568.950286176 1694143.7308257942)))
maxFeatures: 1000
outputFormat: application/json
propertyName: 
facies,lithology_,lithology1,Comments,Primary_so,Secondary_,Source_qua,the_geom
request: GetFeature
service: wfs
srsName: EPSG:2193
typeNames: NWP_Lithofacies_4_Ma__lWo_
version: 1.1.0

Not obvious unless you know the coordinate system, but the axis order for the 
polygon is lat/long which seems correct for WFS version of 1.1.0.
Geometries returned are in long/lat order.

However, this is a working query against ESPG:3031
url: http://maps.gns.cri.nz/geoserverlatest/wfs
cql_filter: INTERSECTS(the_geom, POLYGON((438268.2059849124 
-1301158.8151743845, 438268.2059849127 -1298360.2509553954, 435469.6417659225 
-1298360.2509553959, 435469.6417659226 -1301158.8151743864, 438268.2059849124 
-1301158.8151743845)))
maxFeatures: 1000
outputFormat: application/json
propertyName: 
ABSMAX_MA,MAPSYMBOL,PLOTSYMBOL,NAME,DESCR,SIMPLENAME,MBREQUIV,FMNEQUIV,SBGRPEQUIV,GRPEQUIV,SPGRPEQUIV,TERREQUIV,STRATRANK,TYPENAME,TYPE_URI,GEOLHIST,REPAGE_URI,YNGAGE_URI,OLDAGE_URI,STRATAGE,ABSMIN_MA,LITHOLOGY,REPLITH_UR,REGLITH,REGLITH_UR,ROCKGROUP,ROCKCLASS,OBSMETHOD,CONFIDENCE,POSACC_M,SOURCE,SOURCECODE,METADATA,RESSCALE,CAPTSCALE,CAPTDATE,MODDATE,PLOTRANK,FEATUREID,SPEC_URI,SYMBOL,the_geom
request: GetFeature
service: wfs
srsName: EPSG:3031
typeNames: gns:ATA_geological00_units_West
version: 1.1.0

The polygon coordinates are in long/lat , not lat/long! Furthermore, if you 
change version 1.0.0 it still works whereas the 2193 query above does not.
Returned geometries are in long/lat as above.

Both layers are on the same 2.11.0 geoserver.

Can anyone shed any light on what is going on? It certainly make client-side 
code challenging.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
--
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] NoSuchAuthorityCodeException

2018-02-08 Thread Phil Scadden
Also getting this in the log file when I attempt to create the layer with 
geopackage:
2018-02-09 11:29:41,550 ERROR [geoserver.rest] - Service for workspace gns does 
not exist
2018-02-09 11:29:41,550 ERROR [geoserver.rest] -
org.geoserver.rest.RestletException
at 
org.geoserver.service.rest.ServiceSettingsResource.handleObjectGet(ServiceSettingsResource.java:75)
at 
org.geoserver.rest.ReflectiveResource.handleGet(ReflectiveResource.java:89)
at org.restlet.Finder.handle(Finder.java:292)

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
--
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] NoSuchAuthorityCodeException

2018-02-08 Thread Phil Scadden
I have a layer in Postgis that is not drawing (including a blank preview). All 
that shows up in the logs is:

2018-02-09 08:58:37,633 WARN [wms.map] - Failed to determine CRS axis order, 
assuming is EN
org.opengis.referencing.NoSuchAuthorityCodeException: No code 
"CRS:GC,DEF,CRS,EPSG,2193" from authority "Web Map Service CRS" found for 
object of type "CoordinateReferenceSystem"

Axis order is EN, but I wonder where in the system do I "fix" the authority 
code definition?
The layer is EPSG:2193 and bounds appear correctly calculated when first loaded 
though a "Compute from data" turns them into 0,0,-1,-1

Geoserver 2.11.0

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
--
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] Running GeoServer on Apache TOMEE 7.0.3

2018-01-15 Thread Phil Scadden
Excellent thanks. I tried and couldn’t get it working. Will give it another go.

From: Andrea Aime [mailto:andrea.a...@geo-solutions.it]
Sent: Tuesday, 16 January 2018 3:55 a.m.
To: Cavender, Mark E. - US ; GeoServer Mailing List List 

Subject: Re: [Geoserver-users] Running GeoServer on Apache TOMEE 7.0.3

Aaah that's awesome, thank you!
I'm cc'ing the mailing list so that this gets archived and can be searched for 
other interested people to find.

Anyone reading has time and interest to to turn this into a tutorial page like 
the JBoss one?
http://docs.geoserver.org/latest/en/user/tutorials/jboss/jboss_tutorial.html

Cheers
Andrea


On Mon, Jan 15, 2018 at 3:21 PM, Cavender, Mark E. - US 
> wrote:
I figured out how to install geoserver on Apache TOMEE for anyone interested.

Installing 
GeoServer on 
Apache TOMEE 7.0.2
Geoserver is an open source project that allows geographic data/tiles to be 
served to a graphics device such as a browser.  It is installed/placed as a war 
file in Apache TOMEE.  Perform the steps below and start Apache Tomee.  At this 
point, the installation will be complete.
Step-by-step guide


  1.  Download the latest war file from geoserver.org
  2.  Place the war file in the webapps directory of Apache Tomee
  3.  Edit the $TOMEE_DIR/conf/context.xml file and add
 
before 

  1.  Edit the $TOMEE_DIR/conf/system.properties and add the following line 
anywhere in the file.
  openejb.classloader.forced-load=org.apache.commons.lang
  This will allow the classloader to allow the Spring Application 
Framework to execute properly.



From: andrea.a...@gmail.com 
[mailto:andrea.a...@gmail.com] On Behalf Of 
Andrea Aime
Sent: Thursday, January 11, 2018 9:07 AM
To: Cavender, Mark E. - US >
Cc: 
Geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Running GeoServer on Apache TOMEE 7.0.3

Hi,
it seems nobody has experiences to share about TomEE, in case you are still 
interested it's also possible
to fund core contributors to work on it, figure out what can be done, make 
eventual changes, and document
whatever step needs to be taken. See:

http://geoserver.org/support/

Cheers
Andrea


On Fri, Jan 5, 2018 at 5:24 PM, Cavender, Mark E. - US 
> wrote:
Hi,

I am having trouble deploying a Geoserver war to Apache TOMEE 7.0.3 (it is 
based on Tomcat 8.5.4).  Has anyone tried it?  When I try it, I get the 
following error message.  I don’t think that we use Spring security.  Is there 
some configuration that needs to be done.  Thanks in advance for help.

Mark Cavender


05-Jan-2018 10:01:18.663 INFO [localhost-startStop-1] 
org.apache.tomee.catalina.TomcatWebAppBuilder.init - 
localhost -> /geoserver-2.12.1-war
05-Jan-2018 10:01:18.770 INFO [localhost-startStop-1] 
org.apache.openejb.util.JarExtractor.extract Extracting jar: 
C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver.war
05-Jan-2018 10:01:36.877 INFO [localhost-startStop-1] 
org.apache.openejb.util.JarExtractor.extract Extracted path: 
C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver
05-Jan-2018 10:01:49.572 INFO [localhost-startStop-1] 
org.apache.openejb.util.OptionsLog.info
 Using 'openejb.deployments.classpath.filter.systemapps=false'
05-Jan-2018 10:01:49.650 INFO [localhost-startStop-1] 
org.apache.openejb.util.OptionsLog.info
 Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'
05-Jan-2018 10:01:49.722 INFO [localhost-startStop-1] 
org.apache.openejb.util.OptionsLog.info
 Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'
05-Jan-2018 10:01:51.935 INFO [localhost-startStop-1] 
org.apache.openejb.util.OptionsLog.info
 Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'
05-Jan-2018 10:01:51.963 INFO [localhost-startStop-1] 
org.apache.openejb.util.OptionsLog.info
 Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'
05-Jan-2018 10:01:51.980 INFO [localhost-startStop-1] 
org.apache.openejb.util.OptionsLog.info
 Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'
05-Jan-2018 10:01:51.981 INFO [localhost-startStop-1] 

Re: [Geoserver-users] Spatial CQL_FILTER not working with WFS GetFeature (POST) but attribute CQL_FILTER works fine.

2017-06-22 Thread Phil Scadden
Thank Rahkonen. Despite its name, the feature is a simple POSTGIS table (it is 
a replica of a Oracle view). No application schema. However, I will try the 
lat/long ordering that Andrea mentioned as soon as I can get some time. The 
CQL_FILTER was constructed from a working OGS Filter. I was vaguely aware of 
lat/long ordering issues but assumed they were same in OGC and CQL. Too long 
away from this stuff.

From: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi]
Sent: Thursday, 22 June 2017 7:23 p.m.
To: Phil Scadden <p.scad...@gns.cri.nz>
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Spatial CQL_FILTER not working with WFS 
GetFeature (POST) but attribute CQL_FILTER works fine.

Hi Phil,

Could you try similar query with the topp:states demo layer? It would be easy 
for others to play with the same data and it could reveal if there is something 
special in your own featuretype gns:pg_borehole_view. Is that some application 
schema stuff?

-Jukka Rahkonen-

Lähettäjä: Andrea Aime [mailto:andrea.a...@geo-solutions.it]
Lähetetty: 22. kesäkuuta 2017 10:13
Vastaanottaja: Phil Scadden <p.scad...@gns.cri.nz<mailto:p.scad...@gns.cri.nz>>
Kopio: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Aihe: Re: [Geoserver-users] Spatial CQL_FILTER not working with WFS GetFeature 
(POST) but attribute CQL_FILTER works fine.

HI Phil,
please do not open tickets only because you don't get an answer right away, 
check the
user list posting guidelines:

http://geoserver.org/comm/userlist-guidelines.html

and the ticket tracker instructions:

https://osgeo-org.atlassian.net/projects/GEOS/summary

About your request, while I'm not 100% sure, I believe the issue is that WFS 
1.1 is expecting coordinates in lat/lon order,
and you're giving them in lon/lat order.

Cheers
Andrea


On Tue, Jun 20, 2017 at 4:07 AM, Phil Scadden 
<p.scad...@gns.cri.nz<mailto:p.scad...@gns.cri.nz>> wrote:

request=GetFeature=wfs=1.1.0=application/json=gns:pg_borehole_view=EPSG:4326_filter=INTERSECTS(shape,
 POLYGON((171.05712890625 -41.459195379507065, 174.00146484375 
-43.468867614829236, 172.79296875 -44.8714427501659, 169.541015625 
-42.827638636242284, 171.05712890625 -41.459195379507065)))
With header:
Content-Type: application/x-www-form-urlencoded

is returning an empty feature collection. A WMS Getmap with the same CQL_Filter 
returns the expected results.

At first I thought there might be issue with getfeature and POST but
request=GetFeature=wfs=1.1.0=application/json=gns:pg_borehole_view=EPSG:4326_filter=bh_id
 IN (5,6)
works as expected.

I am puzzled. Geoserver is 2.11 and tried it both window and Linux versions. Do 
I need more encoding?
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.

--
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
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
==
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, copyi

[Geoserver-users] Spatial CQL_FILTER not working with WFS GetFeature (POST) but attribute CQL_FILTER works fine.

2017-06-19 Thread Phil Scadden

request=GetFeature=wfs=1.1.0=application/json=gns:pg_borehole_view=EPSG:4326_filter=INTERSECTS(shape,
 POLYGON((171.05712890625 -41.459195379507065, 174.00146484375 
-43.468867614829236, 172.79296875 -44.8714427501659, 169.541015625 
-42.827638636242284, 171.05712890625 -41.459195379507065)))
With header:
Content-Type: application/x-www-form-urlencoded

is returning an empty feature collection. A WMS Getmap with the same CQL_Filter 
returns the expected results.

At first I thought there might be issue with getfeature and POST but
request=GetFeature=wfs=1.1.0=application/json=gns:pg_borehole_view=EPSG:4326_filter=bh_id
 IN (5,6)
works as expected.

I am puzzled. Geoserver is 2.11 and tried it both window and Linux versions. Do 
I need more encoding?
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] 2.11 Why does this SLD tag not validate?

2017-06-18 Thread Phil Scadden

  25
  
nameArial1100010#00
year
  


Adding the priority tag resulted in validation of:
line 63: cvc-complex-type.2.4.a: Invalid content was found starting with 
element 'PropertyName'. One of '{"http://www.opengis.net/ogc":expression}' is 
expected.

(line 63 is the priority).


Also, this labelling is producing unexpected results. With or without the 
priority tag, 2 points very very close together get no label at all. I would 
expect one of them to label.  Another point has label at one zoom, but when 
zooming in further, it disappears. (I am using Tiled).
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] New to GeoServer

2016-10-10 Thread Phil Scadden

For getting a good raster going, I would start here:
http://demo.geo-solutions.it/share/foss4g2013/gs_steroids_sgiannec_foss4g2013_01.03.pdf


Notice: This email and any attachments are confidential
and may not be used, published or redistributed
without the prior written consent of the
Institute of Geological and Nuclear Sciences Limited (GNS Science).
If received in error please destroy and immediately notify GNS Science.
Do not copy or disclose the contents.

--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Odd behaviour with WFS GetFeature in Geoserver 2.7.1.1 - property names (and geometry) returned that are not requested.

2016-01-17 Thread Phil Scadden


On Fri, Jan 15, 2016 at 1:48 AM, Phil Scadden <p.scad...@gns.cri.nz 
<mailto:p.scad...@gns.cri.nz>> wrote:


thanks for that. However, I get geometry  even if outputformat is
GML or
CSV. This didnt happen in earlier geoserver versions.


I'd be very surprised if that was the case, the engine deciding 
whether to include
a property or not in the output does not know which output format is 
being used,

it never did as far as I know.
Misunderstanding. I am not asserting that properties returned depend on  
outFormat. Ben seemed to be suggesting this might be why I am getting 
geometry. What I am asserting is that earlier version didnt return 
geometry if it wasnt on the property list.

Could it be that the table constraints changed around the same time you
upgraded GeoServer instead?
No. SHAPE is nullable in the underlying SDE store. The maintenance 
process for the table regularly sets shape to null to force 
recalculation of the geometry from attributes in the same table. I 
assert that I am not getting the geometry because shape is set to not null.
Or have you maybe switched from SDE to direct Oracle spatial usage 
(different

store, different behavior).

I wish... No, still stuck with SDE.

Thinking out loud, we could have a flag at the store level to make all 
properties
nullable even if they are not... and then disallow editing on those 
same tables
(since it cannot be done anymore in a predictable fashion, DFT says 
you can
skip an attribute, but then you cannot) or just document that at 
that point WFS-T

is not going to work reliably
The constraint of requiring not null properties to be returned 
regardless of whether in property list, is only useful within the 
context of WFS-T. That should be the flagging criteria. If not in a 
WFS-T context, then only send properties requested. I suspect that 
editing is rare but querying is common. I think OGC should consider a 
nogeometry switch like arcGIS server.




Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Odd behaviour with WFS GetFeature in Geoserver 2.7.1.1 - property names (and geometry) returned that are not requested.

2016-01-14 Thread Phil Scadden

> I far as I know, JDBC feature sources make a property mandatory by 
> default if the underlying database column has a NOT NULL constraint. 
> You may be able to change this with GeoServer schema mapping:
> http://docs.geoserver.org/stable/en/user/services/wfs/schemamapping.html
That is very interesting. Thanks for that.
>
> The GeoJSON spec requires a geometry property but permits it to be 
> null; I do not know whether GeoServer JSON outputFormat encodes a 
> geometry if the geometry property is not mandatory and not requested.
thanks for that. However, I get geometry  even if outputformat is GML or 
CSV. This didnt happen in earlier geoserver versions.


Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Odd behaviour with WFS GetFeature in Geoserver 2.7.1.1 - property names (and geometry) returned that are not requested.

2016-01-14 Thread Phil Scadden
If I make this POST query to our server:
http://maps.gns.cri.nz/geoserverlatest (public)

http://www.opengis.net/wfs; service="WFS" 
version="1.1.0" count="1" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://www.opengis.net/wfs 
http://schemas.opengis.net/wfs/1.1.0/wfs/xsd; 
outputFormat="application/json">BH_NAMEhttp://www.opengis.net/ogc;>SHAPEhttp://www.opengis.net/gml; 
srsName="EPSG:4326">170.0244140625 
-44.8714427501659 170.0244140625 -44.68427737181224 169.7607421875 
-44.68427737181224 169.7607421875 -44.8714427501659 170.0244140625 
-44.8714427501659

Then I get three properties returned, BH_NAME, BH_ID, and BH_TYPE_ID 
(there are a large no. of other properties that could be returned and 
are if you remove the BH_NAME from 
the query).
I expect only BH_NAME.

Worse, (far worse), it returns the geometry despite not having SHAPE in 
the property lsit. For the above feature type, this doesnt matter but if 
I make WFS queries on a complex polygon classes to fetch attributes only 
from a spatial search, then I get swamped by multi-megabytes of geometry 
in the response.

-- 
Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, 
Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WFS capability service change

2015-12-15 Thread Phil Scadden
The alternative way is proxy pattern. Put your geoserver where there is 
no external access to it, and another server managing access to it as a 
proxy. That way you can edit everything coming into the proxy before 
passing it to the real geoserver. I think that Geofence works this way. 
Might be another way to do it. The proxy can do a lot of interesting 
tricks for you. Add calculated fields, "join" with unconventional 
datastores (eg we do it with an image repository) etc.

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


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


Re: [Geoserver-users] Please suggest me

2015-07-07 Thread Phil Scadden


 Am I following correct architecture or I need to change any of the 
 technologies
Pretty similar to my stack. I dont see an issue with it.


Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Please suggest me

2015-07-06 Thread Phil Scadden
I would say you need to allocate lots more memory to Tomcat - default 
settings are useless. Tomcat performance guides are good place to start. 
Google for tomcat performance.

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Change the output of OpenLayer in Geoserver

2015-06-30 Thread Phil Scadden
What you can do with the preview is right-click and so a show source - 
this will show the openlayers code that Geoserver has generated. This is 
a perfectly viable template to start creating your own web application 
from. Typically web apps are built in a development environment (eg 
Eclipse, netbeans, etc) which generated a deployable war. Replace the 
default index.html that the environments typically generate with the 
code from the geoserver template and you can start working. However, you 
will likely want to point to a local server version of OL.

However, OL has moved to version 3 which is quite a different beast from 
version that is in at least my instance of geoserver. For starting a new 
project you would probably be better off starting with OL3 and one of 
their examples. The geoserver preview template can still give you some 
good pointers however.

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Change the output of OpenLayer in Geoserver

2015-06-29 Thread Phil Scadden
On 30/06/2015 6:17 a.m., Carla Nardinocchi wrote:
 Hi, I'm moving my first steps on geoserver.
 I would like to change the output of my project in geoserver (what I 
 see from OpenLayer in LayerPreview)
 For examples: add a title and other information. How can I do? Which 
 files (html or css or js) I have to modify? Where I find it?

Layer preview is for administration geoserver really. What you need to 
do is create a web application and deploy it on your server. You will 
probably need guidance from your server administrator on what is 
involved in an application deployment.
For the application itself, I would start by looking at the openlayers 
examples from the openlayers site and commence work by modifying those 
to fit your needs. geoserver is about delivering a representation of 
your data to a web application - ie it is server-side. What you are 
talking about is client-side presentation of the data. That is job for 
js frameworks like Openlayers or Leaflet with plain old HTML.


Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Artifacts in reprojected rasters - has this been fixed?

2015-06-25 Thread Phil Scadden
On 2.6.1, if a raster is reprojected, then empty space (where there is 
no corresponding locatoin in the unprojected raster) around the edges of 
the projected tile are showing up coloured instead of transparent. I 
know is a known bug with Geotools. Has it been fixed in any later version?
-- 
Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, 
Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer without PostGIS, is it a good idea?

2015-06-24 Thread Phil Scadden
We do have a small POSTGis instance, used largely for project level 
databases as opposed to corporate level, but most of what we serve 
through geoserver is coming from the corporate Oracle database.


Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Reduce Geometry size in GetFeatureInfo responses?

2015-06-10 Thread Phil Scadden
I would say take a leaf from ESRI REST services and add 
ReturnGeometry=true/false to getFeatureInfo would be a good extension to 
the WMS format. If you dont really need to execute against multiple 
layers, then consider using WFS getFeature instead where you can specify 
propertynames. ( My maps have the concept of active layer for use in 
all searching, hover controls etc.)

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


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


Re: [Geoserver-users] Reduce Geometry size in GetFeatureInfo responses?

2015-06-10 Thread Phil Scadden

 I would say take a leaf from ESRI REST services and add
 ReturnGeometry=true/false to getFeatureInfo would be a good extension to
 the WMS format. If you dont really need to execute against multiple
 layers, then consider using WFS getFeature instead where you can specify
 propertynames. ( My maps have the concept of active layer for use in
 all searching, hover controls etc.)
Actually, I see that propertynames (exclude the shape from list) is a 
geoserver vendor option for single layer getFeatureInfo. If using OL, 
you would need to make sure that is in the options parameter for the 
control, rather than using the propertyNames parameter of the 
getFeatureInfo control (which filters the fields AFTER the call). 
returnGeometry=true/false would be a better extension however because it 
would with multiple layers.

-- 
Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, 
Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


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


Re: [Geoserver-users] Geoserver Webmaping with Netbeans

2015-05-11 Thread Phil Scadden


 The notes in any case are for those that want to develop GeoServer 
 itself, not for those working on top of it (that said, if anybody on 
 the list

I do my web app development in Netbeans, but usually have geoserver 
installed for production on a different server, and just use it to serve 
data to my application. OL does allow you to create a web mapping 
application with almost no server-side code. The geoserver instance 
doesnt even need to be under your control - my maps serve layers 
published by other entities. Check out OL examples.

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] date line

2014-12-11 Thread Phil Scadden
What Geoserver version are you using? dateline handling has been 
gradually improved. It is seems possible however that Postgis coercion 
wrecked the topology. Any particular problem with just storing them as 
geometry? We do this a lot.

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer don't caching my map

2014-11-27 Thread Phil Scadden
If you are using openlayers as your client, then you need to add 
tiled:true to the options in your layer.WMS constructor eg
layer - new OpenLayers.Layer.WMS(name,url, { layers: 
layerName,tiled:true,transparent:true},{ etc } );


Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] date line

2014-11-23 Thread Phil Scadden

 I have a postGIS table of multipolygons, type geography, many of which
 cross the international date line. Some of these display fine. but many
 take the long way around--do not cross the IDL. Is there a way to
 correct this behavior?
Can you give a list of points from polygon that is problematic versus 
one that isnt? Is longitude expressed in 0-360 or -180:180?


Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How can I remove a layer without going through the management interface?

2014-08-26 Thread Phil Scadden
On 27/08/2014 7:43 a.m., Garey Mills wrote:
 When I try to remove a layer through the management interface, I am 
 getting a server error and the layer is not removed. After an upgrade, 
 these layers are causing other problems, so how can I remove them 
 without going through the management interface?
You could try the REST interface. I hesitate to suggest editing the XML, 
(and then reload config from management interface) but that would be 
another possibility if REST fails too.

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How can I remove a layer without going through the management interface?

2014-08-26 Thread Phil Scadden

 Phil - Thanks for your response. If I was to edit the XML, which files 
 would I edit? I can't find the layer names that I want to delete 
 anywhere besides in workspaces/workplace/store

I have never done this. I also believe it depends on which version of 
geoserver you use.

I would try doing it by REST first.

  However, what I believe would be enough, would be delete any entry
in data_dir/workspaces/workspace/namespace.xml and to delete the 
directory with the layer name as well. (2.5.1 layout). Definitely want 
to backup the data_dir first!

And try REST first

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How to get layer list of layers that are unpublished?

2014-08-19 Thread Phil Scadden
 I could list all the layers (publish and unpublished) in a datastore 
through geoserver interface but wms/wfs/wcs and even rest does not

If they are unpublished, then no wms/wfs/wcs service exist for them. 
An unpublished OGC service doesnt make sense. There is not even 
concept of datastore of standard, only namespace. Using Datastore is 
merely how Geoserver has chosen to implement it.

However, the Geoserver REST interface can do it:
curl -v -u admin:geoserver -XGET -H Accept: text/xml http://
localhost:8080/geoserver/rest/workspaces/myworkspace/datastores/mydatastore/featuretypes?list
=available
Note the values you can choose for the parameter in
http://docs.geoserver.org/latest/en/user/rest/api/featuretypes.html

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Connecting with OpenLayers

2014-08-06 Thread Phil Scadden
 Which is never going to work.
 Problem is...where is this configured? Where would I go to tell
 GeoServer how to find the OpenLayers assets?
The OL that comes with Geoserver is really just there to support Layer 
preview. It isnt used for anything else. For your own applications, you 
would point to your own version of OL on your application server (which 
would typically be a completely different server to the one geoserver is 
running on). In my opinion, you want your own version of OL, where you 
use the OL custom build tools to bring in only what you need and where 
you can patch as required.

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Connecting with OpenLayers

2014-08-06 Thread Phil Scadden
well a few experiments here suggest the OL preview is using the 
httprequest to generate the url in the preview.

eg.
if I log into my geoserver as maps/geoserver, then the OL link in the 
preview is


http://maps:80/geoserver/openlayers/OpenLayers.js  
view-source:http://maps.gns.cri.nz/geoserver/openlayers/OpenLayers.js

and if I log into geoserver as maps.mydomain.com/geoserver, then the source 
link is
http://maps.mydomain.com:80/geoserver/openlayers/OpenLayers.js  
view-source:http://maps.gns.cri.nz/geoserver/openlayers/OpenLayers.js

Is that a hint?



Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.

--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Connecting with OpenLayers

2014-07-30 Thread Phil Scadden
The geoserver install brings in its own version of OL. 
data_dir/www/openlayers I think.
You can always open the preview, show source and track down where it is 
loading stuff. The browser console should any errors.

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Problems installing arcSDE extension in geoserver 2.5.1 - icu4j issue??

2014-07-28 Thread Phil Scadden
Got it. Switching to the 64bit jre7 did the trick.

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


  1   2   3   >