Re: [Geoserver-users] App Schema layer dimensions

2024-03-13 Thread Nuno Oliveira
Hi Andrea,
thank you for the feedback, I replied in-line:

On Wed, Mar 13, 2024 at 6:32 PM Andrea Aime <
andrea.a...@geosolutionsgroup.com> wrote:

> Hi Nuno,
> that code you reference returns a collection, which is then used to
> collect the values in another method, using heavily feature visitors to get
> min/max/unique values in an efficient way:
>
> https://github.com/geoserver/geoserver/blob/891f439892aeb3ffea5de6e91e4330f798c7/src/wms/src/main/java/org/geoserver/wms/WMS.java#L1396
>
> Wondering if the app-schema store is able to support those visits, some
> specific points about it:
>
>- MappingFeatureCollectin does not seem to be able to delegate the
>visit downstreams, so it will run it in memory (inefficient)
>
> Yes, the App-Schema PostgreSQL store (and ideally others) would need to be
extended to support it.

>
>- The visitors are built with local attribute names, without namespace
>context. Would a lookup in that condition work, against a complex feature?
>
> Humm, good point, I'm not sure, this could be indeed why it fails.


> Cheers
> Andrea
>
> ==
> 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 Wed, Mar 13, 2024 at 7:19 PM Nuno Oliveira <
> nuno.olive...@geosolutionsgroup.com> wrote:
>
>> Hi Kamilla,
>> I haven't encountered a scenario where I've worked with App-Schema
>> complex data alongside time dimensions, so I can't provide firsthand
>> experience on that topic.
>> That being said, upon reflection, I can't immediately think of a reason
>> why it wouldn't work. I've checked the code where the dimension values are
>> collected, and at first glance, it seems that it should function properly
>> with complex features:
>>
>>-
>>
>> https://github.com/geoserver/geoserver/blob/891f439892aeb3ffea5de6e91e4330f798c7/src/wms/src/main/java/org/geoserver/wms/WMS.java#L1677-L1691
>>
>> Hence, based on my initial assessment, I believe this functionality
>> should work. However, I haven't used dimensions with complex features
>> before, so it's possible that there could be an undetected bug within that
>> integration.
>> This situation would require a debugging session to fully understand
>> what's happening.
>>
>> Kind regards,
>> Nuno Oliveira
>>
>> On Tue, Mar 12, 2024 at 8:22 PM Kamilla Kisova <
>> kamilla.kis...@microstep-mis.com> wrote:
>>
>>> Hi team,
>>>
>>> I've been trying to adjust an App Schema layer we have. We are trying to
>>> bring this layer alive with current data, since so far it has been
>>> sitting on the server with only two whole timestamps' worth of test data
>>> available.
>>>
>>> So far we have relied on the WMS GetCapabilities to get appropriate
>>> dimension information, but this time we noticed that the App Schema
>>> layer's capabilities only states ">> default="current" units="ISO8601"/>", no matter the interval and default
>>> value we set. This layer is based on a Postgres database, and I can see
>>> in the configuration files that the time dimension is set appropriately,
>>> very similarly to SQL views.
>>>
>>> Where could I find more information abo

Re: [Geoserver-users] App Schema layer dimensions

2024-03-13 Thread Nuno Oliveira
Hi Kamilla,
I haven't encountered a scenario where I've worked with App-Schema complex
data alongside time dimensions, so I can't provide firsthand experience on
that topic.
That being said, upon reflection, I can't immediately think of a reason why
it wouldn't work. I've checked the code where the dimension values are
collected, and at first glance, it seems that it should function properly
with complex features:

   -
   
https://github.com/geoserver/geoserver/blob/891f439892aeb3ffea5de6e91e4330f798c7/src/wms/src/main/java/org/geoserver/wms/WMS.java#L1677-L1691

Hence, based on my initial assessment, I believe this functionality should
work. However, I haven't used dimensions with complex features before, so
it's possible that there could be an undetected bug within that integration.
This situation would require a debugging session to fully understand what's
happening.

Kind regards,
Nuno Oliveira

On Tue, Mar 12, 2024 at 8:22 PM Kamilla Kisova <
kamilla.kis...@microstep-mis.com> wrote:

> Hi team,
>
> I've been trying to adjust an App Schema layer we have. We are trying to
> bring this layer alive with current data, since so far it has been
> sitting on the server with only two whole timestamps' worth of test data
> available.
>
> So far we have relied on the WMS GetCapabilities to get appropriate
> dimension information, but this time we noticed that the App Schema
> layer's capabilities only states " default="current" units="ISO8601"/>", no matter the interval and default
> value we set. This layer is based on a Postgres database, and I can see
> in the configuration files that the time dimension is set appropriately,
> very similarly to SQL views.
>
> Where could I find more information about App Schema stores/layers and
> dimensions? I've tried looking around on the Geoserver documentation for
> App Schema, but haven't found anything on the dimensions.
>
> Best regards,
> Kamilla Kisova
>
>
> ___
> 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,

Nuno Oliveira

==
GeoServer Professional Services from the experts!

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

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Technical Lead / Project Manager


GeoSolutions Group
phone: +39 0584 962313
fax:  +39 0584 1660272

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.
___
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] Application Schema - Question about namespace versions

2023-11-13 Thread Nuno Oliveira
Dear Oscar,
that issue has been overcome with the concept of isolated workspaces:

   -
   
https://docs.geoserver.org/2.19.x/en/user/data/webadmin/workspaces.html#isolated-workspaces

*An isolated workspace will be able to reuse a namespace already used by
another workspace, but its resources (layers, styles, etc …) *
*can only be retrieved when using that workspace's virtual services and
will only show up in those virtual services capabilities documents.*


Best regards,
Nuno Oliveira

On Mon, Nov 13, 2023 at 12:29 PM Oscar Diago Alonso via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Good morning.
>
>
>
> A couple of years ago, I had to use GeoServer + Application Schema to
> create a WFS for the Buildings INSPIRE dataset. It was decided to use the
> XSD of the draft schema (it provides more data):
>
>
>
>
> https://inspire.ec.europa.eu/draft-schemas/bu-ext2d/2.0/BuildingExtended2D.xsd
>
>
>
> Now I need to do the same, but with Cadastral Parcels. But in this case,
> the schema I have to use is the 4.0:
>
>
>
> https://inspire.ec.europa.eu/schemas/cp/4.0/CadastralParcels.xsd
>
>
>
> Both of those schemas need the namespace “base”. The issue is that
> bu-ext2d uses the version 3.2 and cp uses the version 3.3. As far as I
> know, in GeoServer is not possible to create two namespaces with the same
> name.
>
>
>
> Is there a way to make Application Schema pic a different base version
> depending on the INSPIRE theme?
>
>
>
> If I create the namespace with these parameters, Buildings work fine, but
> Cadastral Parcels fail:
>
>
>
> 
>
> base_namespace
>
> base
>
> urn:x-inspire:specification:gmlas:BaseTypes:3.2
>
> 
>
>
>
> On the other hand, if I create it with these parameters, Cadastral Parcels
> works fine, but Buildings fail:
>
>
>
> 
>
> base_namespace
>
> base
>
> http://inspire.ec.europa.eu/schemas/base/3.3
>
> 
>
>
>
> I guess the direct solution would be changing the Buildings XSD from the
> draft schema to the 4.0 schema, but I wanted to ask in case there was a way
> to avoid it.
>
>
>
> Thanks for any help provided!
>
>
>
> Best regards.
>
>
>
> * Óscar Diago Alonso Ingeniero GIS*
> (+34) 945 13 13 72 | Plza. del Renacimiento, 9, 2.ª planta, Oficina 2 -
> 01004 Vitoria-Gasteiz
> <https://www.linkedin.com/company/geograma/>
> Si no ves la imagen puedes acceder desde aquí
> <https://www.linkedin.com/company/geograma/>
>
> Esta comunicación contiene información de acceso restringido y de uso
> exclusivo del destinatario. Si usted no es el destinatario tenga en cuenta
> que cualquier distribución, copia o uso de esta comunicación o la
> información que contiene está estrictamente prohibida. Si usted ha recibido
> esta comunicación por error por favor notifíquelo en la dirección
> d...@geograma.com. Tratamos su dirección de correo electrónico y otros
> datos personales para mantener el contacto y comunicación con Ud. y, en su
> caso, remitirle información sobre nuestros productos y servicios. Si no
> desea recibir tal información envíe un e-mail en tal sentido a
> d...@geograma.com. Puede acceder, rectificar y suprimir los datos, así
> como otros derechos, como se detalla en la información adicional y completa
> a su disposición en nuestra política de privacidad en la URL
> www.geograma.com/politica-privacidad/.
>
> <https://www.geograma.com/>
> <http://geograma.com/wp-content/eventos/linkedin.php>
> ___
> 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,

Nuno Oliveira

==
GeoServer Professional Services from the experts!

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

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Technical Lead / Project Manager


GeoSolutions Group
phone: +39 0584 962313
fax:  +39 0584 1660272

https://www.geosolutionsgroup.com/
http://twitter.com/geosolutions_it
---


Con riferimento alla normativa sul trattamento dei dati personali (Re

Re: [Geoserver-users] GeoSciml v4.1 Laboratory and Analysis package

2022-11-29 Thread Nuno Oliveira
Hi Josep,
building complex features with App-Schema
<https://docs.geoserver.org/latest/en/user/data/app-schema/index.html>
requires:

   - A target GML schema, in your case probably this ONE
   <http://docs.opengeospatial.org/is/16-008/16-008.html#357>.
   - The data in one of the supported data stores, ideally PostgreSQL.
   - A mapping file
   <https://docs.geoserver.org/latest/en/user/data/app-schema/mapping-file.html>
   between the data and the target GML schema.

This should get you started, hope it helps.

Kind regards,
Nuno Oliveira

On Tue, Nov 22, 2022 at 11:34 AM Josep Sitjar Suñer 
wrote:

> Dear mailing list members,
>
> I'm implementing a WFS on GeoServer using the GeoSciML 4.1 app-schema
> <http://schemas.opengis.net/gsml/4.1/>.
>
> After creating and configuring the workspace, *GeoSciML Basic *runs with
> no problems. But I need to add information about the geological specimens,
> related to the* Laboratory and Analysis - GeologicSpecimen
> <http://docs.opengeospatial.org/is/16-008/16-008.html#357>* package.
>
> The problem is that I can't find documentation or examples about how to
> configure and integrate this package to GeoSciML basic. All the
> documentation I can find on Geoserver and http://geosciml.org/ is related
> to the basic package.
> Does anyone could help me?
>
> Thanks in advance.
>
> Josep
> ___
> 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,

Nuno Oliveira

==
GeoServer Professional Services from the experts!

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

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Technical Lead / Project Manager


GeoSolutions Group
phone: +39 0584 962313
fax:  +39 0584 1660272

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.
___
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] Smart Data Loader and Feature Templating plugins fail to work with Array Type (PostgreSQL)

2022-09-12 Thread Nuno Oliveira
Hi Henning,
that's a good point, if my memory serves me well, if an array reaches
features-templating it will work as described (this is used for some
advanced integrations with features-templating), but I don't think that
App-Schema and Smart Data Loader can produce array attributes.

So summarizing:

   - Features-templating support arrays,
   - but you cannot produce array attributes with App-Schema or Smart Data
   Loader,
   - hence you can't use arrays unless you create them programmatically.

@Marco Volpini  did I miss something?

Kind regards,
Nuno Oliveira




On Fri, Sep 9, 2022 at 12:27 PM Henning Lorenz 
wrote:

> Dear Nuno,
>
> Thanks for the quick reply. However, for the Feature Templating plugin, it
> contradicts the documentation where Array Type support for json output is
> explicitly mentioned:
> https://docs.geoserver.org/stable/en/user/community/features-templating/directives.html#array-based-properties-json-based-templates-only
>
> Is the documentation wrong and needs to be updated?
>
> Best wishes,
>
> Henning
>
>
> On 2022-09-09 11:42, Nuno Oliveira wrote:
>
> Dear Henning,
> those modules do not support array column types, this would be a nice
> feature to have.
>
> A pull request contributing it would be very welcomed, you may also want
> to check the GeoServer Support <https://geoserver.org/support/> in case
> you want to fund it.
>
> Kind regards,
> Nuno Oliveira
>
> On Fri, Sep 9, 2022 at 10:13 AM Henning Lorenz 
> wrote:
>
>> geoserver 2.21, app schema/smart data loader/ogc api/feature templating
>> plugins (Tomcat 9 on Ubuntu 22.04; openjdk 11.0.16)
>>
>> Hello,
>>
>> I appreciate any help on the following two (related?) problems (further
>> explained below):
>>
>>1. The "Smart Data Loader" plugin fails in case Array Type is present
>>in one of the tables (error unknown data type)
>>2. The "Feature Templating" plugin does not handle data from columns
>>with Array Type correctly ("[Ljava.lang.String;@..."
>><[Ljava.lang.String;@...>)
>>
>> Of particular importance to me is to solve problem 2, as this directly
>> affects geoserver output.
>>
>> Many thanks in advance,
>>
>> Henning
>>
>> -
>>
>> Problem 1:
>>
>>- I create two tables, one without and one without a column of Array
>>Type (called here "noarray_table" and "array_table"; only for explanation
>>instead of my more complex setup):
>>
>> CREATE TABLE test.noarray_table (
>> id SERIAL PRIMARY KEY,
>> geometry geometry(point, 4326),
>> attribute1 varchar,
>> attribute2 varchar
>> );
>>
>> CREATE TABLE test.array_table (
>> id SERIAL PRIMARY KEY,
>> geometry geometry(point, 4326),
>> attribute1 varchar,
>> attribute2 varchar[]
>> );
>>
>>
>>- After adding some data, I create a PostGIS data store for database
>>that contains the tables.
>>- When this is done, I add a new data store and select "Smart Data
>>Loader".
>>   - When I select the noarray_table as root entity, I get the
>>   expected preview and can add the data store.
>>   - However, when I select the array_table, I get an error message
>>   over the entire page. As far as I can tell, the critical line is 
>> "Caused
>>   by: java.lang.RuntimeException: Attribute type '_varchar' is unknown.".
>>   _varchar is the same as varchar[] as far as I can tell.
>>
>> Is this a bug or does Smart Data Loader not support Array Types ("missing
>> feature")?
>>
>>
>> Problem 2:
>>
>> The Feature Templating plugin explicitly supports Array Types
>> (see
>> https://docs.geoserver.org/stable/en/user/community/features-templating/directives.html#array-based-properties-json-based-templates-only
>> )
>>
>>- With the Smart Data Loader, I create an app schema mapping and
>>schema of tables without Array Type
>>- I configure feature templating and I get valid output.
>>- However, one of the columns should actually be of array type. Thus,
>>I replace this varchar-column by a varchar[]-column, including type 
>> casting
>>of the content.
>>   - According to the documentation, I expect that the Array Type of
>>   the column is recognised by the plugin and the data are expanded
>>   accordingly.
>>   - However, I see "[Ljava.lang.String;@..."
>>   <[Ljava.lang.String;@...> inst

Re: [Geoserver-users] Smart Data Loader and Feature Templating plugins fail to work with Array Type (PostgreSQL)

2022-09-09 Thread Nuno Oliveira
Dear Henning,
those modules do not support array column types, this would be a nice
feature to have.

A pull request contributing it would be very welcomed, you may also want to
check the GeoServer Support <https://geoserver.org/support/> in case you
want to fund it.

Kind regards,
Nuno Oliveira

On Fri, Sep 9, 2022 at 10:13 AM Henning Lorenz 
wrote:

> geoserver 2.21, app schema/smart data loader/ogc api/feature templating
> plugins (Tomcat 9 on Ubuntu 22.04; openjdk 11.0.16)
>
> Hello,
>
> I appreciate any help on the following two (related?) problems (further
> explained below):
>
>1. The "Smart Data Loader" plugin fails in case Array Type is present
>in one of the tables (error unknown data type)
>2. The "Feature Templating" plugin does not handle data from columns
>with Array Type correctly ("[Ljava.lang.String;@..."
><[Ljava.lang.String;@...>)
>
> Of particular importance to me is to solve problem 2, as this directly
> affects geoserver output.
>
> Many thanks in advance,
>
> Henning
>
> -
>
> Problem 1:
>
>- I create two tables, one without and one without a column of Array
>Type (called here "noarray_table" and "array_table"; only for explanation
>instead of my more complex setup):
>
> CREATE TABLE test.noarray_table (
> id SERIAL PRIMARY KEY,
> geometry geometry(point, 4326),
> attribute1 varchar,
> attribute2 varchar
> );
>
> CREATE TABLE test.array_table (
> id SERIAL PRIMARY KEY,
> geometry geometry(point, 4326),
> attribute1 varchar,
> attribute2 varchar[]
> );
>
>
>- After adding some data, I create a PostGIS data store for database
>that contains the tables.
>- When this is done, I add a new data store and select "Smart Data
>Loader".
>   - When I select the noarray_table as root entity, I get the
>   expected preview and can add the data store.
>   - However, when I select the array_table, I get an error message
>   over the entire page. As far as I can tell, the critical line is "Caused
>   by: java.lang.RuntimeException: Attribute type '_varchar' is unknown.".
>   _varchar is the same as varchar[] as far as I can tell.
>
> Is this a bug or does Smart Data Loader not support Array Types ("missing
> feature")?
>
>
> Problem 2:
>
> The Feature Templating plugin explicitly supports Array Types
> (see
> https://docs.geoserver.org/stable/en/user/community/features-templating/directives.html#array-based-properties-json-based-templates-only
> )
>
>- With the Smart Data Loader, I create an app schema mapping and
>schema of tables without Array Type
>- I configure feature templating and I get valid output.
>- However, one of the columns should actually be of array type. Thus,
>I replace this varchar-column by a varchar[]-column, including type casting
>of the content.
>   - According to the documentation, I expect that the Array Type of
>   the column is recognised by the plugin and the data are expanded
>   accordingly.
>   - However, I see "[Ljava.lang.String;@..." <[Ljava.lang.String;@...>
>   instead of data. According to what I could find out, this indicates the
>   presence of array data where no array data are expected.
>
> This leaves two options:
>
> A) It is not sufficient to just change the Data Type in the database,
> something in the configuration has to be changed as well (App Schema
> mapping file, schema - although Array Type is not supported for XML
> according to the documentation, which would suggest that this is not the
> case).
>
> B) The Feature Templating plugin doesn't work as expected, i.e. it's a bug.
>
>
>
>
>
>
>
>
>
>
> När du har kontakt med oss på Uppsala universitet med e-post så innebär
> det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör
> det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/
>
> E-mailing Uppsala University means that we will process your personal
> data. For more information on how this is performed, please read here:
> http://www.uu.se/en/about-uu/data-protection-policy
> ___
> 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, a

Re: [Geoserver-users] New OGC API Feartures dosn't support GML and HTML templates

2022-08-11 Thread Nuno Oliveira
Hi Paweł,
that looks like a classpath issue, would you open up a ticket for this?

Thank you,
Nuno Oliveira

On Thu, Aug 11, 2022 at 9:09 AM Paweł Soczewski via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hi All,
>
> I want to move the production implementation of OGC API-Feature service
> based on an early version of Geoserver 2.19.x. up to newer version.
> Unfortunately both 2.20.x and 2.21.x don't support custom  GML and HTML
> user templates. After choosing HTML and GML encoding the server the
> server responds with an error:
>
> {"type":"NoApplicableCode","title":"java.lang.NoSuchMethodError:
>
> org.codehaus.stax2.ri.SingletonIterator.create(Ljava/lang/Object;)Lorg/codehaus/stax2/ri/SingletonIterator;\norg.codehaus.stax2.ri.SingletonIterator.create(Ljava/lang/Object;)Lorg/codehaus/stax2/ri/SingletonIterator;"}
>
> However custom templates for GeoJSON and JSON-LD work fine. I use the
> same configuration as works fine in early 2.19.x.
>
> When I don't use my custom GML and HTML temaplates and Geoserver uses
> predefined formating, the service works fine as well.
>
> I also tested the last version of 2.19.x with latest dedicated for it
> moduls OGC API and Feature Templating and it dosen't work too but the
> reason is diffrent. After instaling .jar libraries the Geoserver
> application dosen't started. When delete libraries OGC API and Feature
> Templating libraries it works fine.
>
> Any idea how to fix it?
>
>
> Regards,
>
> pawel
>
>
>
>
> Paweł Soczewski
> Główny Specjalista ds. Infrastruktury Przestrzennej
> +48502415540
>
> GISPartner Sp. z o.o.
> ul. Jana Długosza 60
> 51-162 Wrocław
>
> NIP 898-20-27-647
> KRS 173717
> Sąd Rejonowy dla Wrocławia-Fabrycznej
> VI Wydział Gospodarczy Krajowego Rejestru Sądowego
> KAPITAŁ ZAKŁADOWY 1.000.000 zł
>
> [https://www.gispartner.pl/GP-1.png]
> [https://www.gispartner.pl/GP-2a.png][https://www.gispartner.pl/GP-2b.png
> ]<https://www.gispartner.pl>[https://www.gispartner.pl/GP-2c.png]<
> https://www.linkedin.com/company/gispartner/>[
> https://www.gispartner.pl/GP-2d.png]<
> https://www.facebook.com/gispartnerPL/>[
> https://www.gispartner.pl/GP-2e.png]<https://twitter.com/GISPartner>
>
> ___
> 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,

Nuno Oliveira

==
GeoServer Professional Services from the experts!

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

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Technical Lead / Project Manager


GeoSolutions Group
phone: +39 0584 962313
fax:  +39 0584 1660272

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.
___
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] Smart Data Loader with PostGIS (JNDI) datastore [SEC=UNOFFICIAL]

2022-06-09 Thread Nuno Oliveira
Hi Michael,
it is supposed to work with JNDI, I don't have a quick setup to test a JNDI
connection, I would say go aahed and open a JIRA ticket.

Kind regards,
Nuno Oliveira

On Thu, Jun 9, 2022 at 7:22 AM Michael Sexton 
wrote:

> Hi,
>
> Another Smart Data Loader (SDL) question. Does it work with the underlying
> datastore of PostGIS (JNDI)? I get the following error when configuring the
> SDL and attempting to use the datastore I’ve set up:
>
>
>
> Caused by: java.lang.RuntimeException: Error retrieving metadata from DB.
>
> at
> org.geoserver.smartdataloader.data.store.panel.SmartDataLoaderStoreEditPanel.getDataStoreMetadata(SmartDataLoaderStoreEditPanel.java:466)
>
> at
> org.geoserver.smartdataloader.data.store.panel.SmartDataLoaderStoreEditPanel.getAvailableRootEntities(SmartDataLoaderStoreEditPanel.java:442)
>
> at
> org.geoserver.smartdataloader.data.store.panel.SmartDataLoaderStoreEditPanel.access$1500(SmartDataLoaderStoreEditPanel.java:49)
>
> at
> org.geoserver.smartdataloader.data.store.panel.SmartDataLoaderStoreEditPanel$3.onUpdate(SmartDataLoaderStoreEditPanel.java:228)
>
> at
> org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehavior.onEvent(AjaxFormComponentUpdatingBehavior.java:156)
>
> at
> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:155)
>
> at
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:601)
>
> ... 116 more
>
>
>
>
> *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.
> ___
> 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,

Nuno Oliveira

==
GeoServer Professional Services from the experts!

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

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Technical Lead / Project Manager


GeoSolutions Group
phone: +39 0584 962313
fax:  +39 0584 1660272

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.
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead o

Re: [Geoserver-users] Smart Data Loader - int8 and int2 not supported [SEC=UNOFFICIAL]

2022-06-09 Thread Nuno Oliveira
Hi Michael,
I confirm that this is a bug, I have opened a JIRA ticket for it:
https://osgeo-org.atlassian.net/browse/GEOS-10538

Kind regards,
Nuno Oliveira

On Thu, Jun 9, 2022 at 7:39 AM Michael Sexton 
wrote:

> Hi GeoServer Users
>
>
>
> Starting to try out the Smart Data Loader, but getting the following
> errors:
>
>
>
> Caused by: java.lang.RuntimeException: Attribute type 'int8' is unknown.
>
>
>
> Same is true with smallint (int2). Are Postgres types such as smallint and
> bigint unsupported or am I doing something wrong?
>
>
>
> I can fix this by converting the Postgres column type to integer but this
> may not always be available to me (or other users)
>
>
>
> 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.
> ___
> 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,

Nuno Oliveira

==
GeoServer Professional Services from the experts!

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

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Technical Lead / Project Manager


GeoSolutions Group
phone: +39 0584 962313
fax:  +39 0584 1660272

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.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] WFS GET request parameter namespaces

2022-01-17 Thread Nuno Oliveira
Hi Luka,
I confirm that's a bug in a GeoServer, I have opened a JIRA ticket for it:
https://osgeo-org.atlassian.net/browse/GEOS-10357

Kind regards,
Nuno Oliveira

On Wed, Jan 12, 2022 at 2:01 PM Luka Stemberga 
wrote:

> Hi all!
>
> To provide some more information on this issue, here are my findings since
> my last email.
> Parameter namespaces produce some unexpected behavior.
> (1)
> https://myserver.com/geoserver/am1/ows?service=WFS=2.0.0=GetFeature=25=am1:AM.RiverBasinDistrict
> - This is a normal way of accessing features in workspace am1, named
> AM.RiverBasinDistrict - yields response as expected
>
> (2)
> https://myserver.com/geoserver/am1/ows?service=WFS=2.0.0=GetFeature=25=somethingRandom:AM.RiverBasinDistrict
>
> - This request yields expected response although workspace/namespace
> prefix in typeNames is non existent (should be am1)
>
> (3)
> https://myserver.com/geoserver/am1/ows?service=WFS=2.0.0=GetFeature=25=am1:AM.RiverBasinDistrict=xmlns(am1,http://inspire.ec.europa.eu/schemas/am/4.0)
> - This request adds namespaces parameter and yields expected response
>
> (4)
> https://myserver.com/geoserver/am1/ows?service=WFS=2.0.0=GetFeature=25=am1:AM.RiverBasinDistrict=xmlns(somethingRandom,http://inspire.ec.europa.eu/schemas/am/4.0)
> - Same as (3) but in namespaces parameter ns is changed to
> 'somethingRandom', still yields same response as (3). If the ns uri is
> changed to a non-existent path it still yields the same response.
>
> (5)
> https://myserver.com/geoserver/am1/ows?service=WFS=2.0.0=GetFeature=25=somethingRandom:AM.RiverBasinDistrict=xmlns(somethingRandom,http://inspire.ec.europa.eu/schemas/am/4.0)
>- Return an error message stating:
> 
> Unknown namespace []
> - Why is locator namespace instead of namespaces?
>
> If i try a request with namespaces parameter set completely wrong e.g.:
>
> https://myserver.com/geoserver/am1/ows?service=WFS=2.0.0=GetFeature=25=somethingRandom:AM.RiverBasinDistrict=xmlns(,)
> This yields an error saying:
> 
> Illegal namespace declaration, should be of the form
> prefix,namespace uri: ,
>- Notice that locator now says namespaces and expects format
> xmlns(,)
>
> Not that important but this request seems to be handled wrong also:
>
> https://myserver.com/geoserver/am1/ows?service=WFS=2.0.0=GetFeature=25=somethingRandom:AM.RiverBasinDistrict=xmlns,xmlns(somethingRandom,http://inspire.ec.europa.eu/schemas/am/4.0)
>- This yields error saying:
>   >
> Illegal namespace declaration, should be of the form
> xmlns(prefix=ns uri): xmlns
>- Locator is namespaces, but expected format is xmlns( =  uri>). This formatting was used pre WFS 2.0.0. What is also confusing is
> that the pre WFS 2.0.0 namespaces parameter was indeed named namespace
> (similar to change from typeName to typeNames).
>
> This seems like a bug to me, but I would like to hear someone else's
> opinion on the issue.
>
> Thank you all in advance!
>
> Sincerely,
> Luka
>
>
>
> sri, 15. pro 2021. u 14:08 Luka Stemberga 
> napisao je:
>
>> Hi All
>>
>> I'm trying to validate my INSPIRE download service (WFS) configured on
>> GeoServer. One of the first test that validator reports as failed is:
>>
>> WFS 2.0 Conformance Test Suite -->
>> org.opengis.cite.iso19142.SuitePreconditions --> dataAreAvailable, which
>> returns an error saying:
>>
>> - OGC TEAM Engine reported a failed test: Prerequisite not satisfied:
>> No valid data available from WFS.
>>
>> I was a bit intrigued by this error so I tried to catch requests sent
>> from INSPIRE validator to GeoServer through the monitor plugin to determine
>> what raises this error. That is when an error caught my eye.
>>
>> One of the first GET requests from validator is:
>>
>>
>> https://myserver.com/geoserver/am1/wfs?service=WFS=2.0.0=GetFeature=25=ns83:AM.RiverBasinDistrict=xmlns(xml,http://www.w3.org/XML/1998/namespace),xmlns(ns83,http://inspire.ec.europa.eu/schemas/am/4.0),xmlns(wfs,http://www.opengis.net/wfs/2.0)
>>
>> Which fails with response:
>>
>> http://www.w3.org/2001/XMLSchema;
>> xmlns:ows="http://www.opengis.net/ows/1.1; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance; version="2.0.0"
>> xsi:schemaLocation="http://www.opengis.net/ows/1.1
>> https://myserver.com/geoserver/schemas/ows/1.1.0/owsAll.xsd;>
>> 
>> Unknown namespace []
>> 
>> 
>>
>> On the other hand if I change namespace*s *parameter into namespace
>> (notice the missing s) in GET request, the request yields an expected
>> response. Searching the web I found that prior to WFS 2.0.0 ver

Re: [Geoserver-users] Is it possible if I want to define restriction for user access to a workspace based on services via GeoFence?

2022-01-06 Thread Nuno Oliveira
Hi Navid,
if you want the ADMIN to access everything without limitations, and the
user Pedro to only perform WMS requests against the TIGER workspace layers,
then you need to remove this rule:
 2.*.*. *.  **
 *

By default, I think no layer preview is displayed if the logged user cannot
see everything, I guess this could be improved.

Kind regards,
Nuno Oliveira

On Thu, Dec 23, 2021 at 3:25 PM Navid Taheri  wrote:

> Hi,
> I'm going know is it possible if want to let a user can see tiger
> workspace via WMS service and other services will be ban for him/her? If it
> is possible if user want to login he/she will be expect see tiger workspace
> in layer preview in web-ui login page or not layer preview is only show
> when Service is * not only a service?
> Priorities roleUser   Service  Request  workspace layer
> 0   test   Pedro   WMS.   * tiger
>  *
> 1.  ADMIN admin. *.   *  *
>  *
> 2.*.*. *.  *
>   *   *
>
> Acees for Role, Test and ADMIN is allowed for * is DENY
> AddresRange for all of them is *
>
> ___
> 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,

Nuno Oliveira

==
GeoServer Professional Services from the experts!

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

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Technical Lead / Project Manager


GeoSolutions Group
phone: +39 0584 962313
fax:  +39 0584 1660272

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.
___
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] High CPU & memory on Windows

2021-12-19 Thread Nuno Oliveira
Dear all,
just wanted to add that we will be adding the option to disable the OSHI
statics gathering by the end of the week (they will be disabled by
default), this will allow us to:

   - Unblock the situation, once the issue is clearly identified we may
   think about a fix for the environments where the high CU usage is
   identified.
   - Disable and enable OSHI at runtime.


Kind regards,
Nuno Oliveira

On Sun, Dec 19, 2021 at 8:46 PM Russell Grew <
russell.g...@douglaspartners.com.au> wrote:

> Hi Niklas,
>
>
>
> Jody talks about this here
>
>
>
> https://sourceforge.net/p/geoserver/mailman/message/37328870/
>
>
>
> Now that I think about it I did have a windows situation when GeoServer
> consumed resources, become unresponsive and never came back, possibly
> following a silly SQL query. Installing the Control Flow Module fixed this,
> at least so that the service would reliably stay running after dropping
> long queries.
>
>
>
> Running fine here on Windows Server 2019, AdoptOpenJDK: 11.0.6 (OpenJDK
> 64-Bit Server VM) and Tomcat 8.5. With 2 CPUs and 12 GB RAM.
>
>
>
> When I do things in the Web UI the CPU spikes briefly but goes back down.
> I also have your noted steady 2.5 GB RAM usage by Tomcat. I assumed this
> was fine.
>
>
>
> Server Status screenshot in case it helps (note early morning here and not
> much usage presently):
>
>
>
>
>
> Good luck!
>
>
> --
>
> If you are not the intended recipient of this email, please notify us
> immediately and be aware that any disclosure, copying, distribution or use
> of the contents of this information is prohibited.
>
> *From:* Niklas Elelid 
> *Sent:* Monday, 20 December 2021 5:37 AM
> *To:* geoserver-users 
> *Subject:* [Geoserver-users] High CPU & memory on Windows
>
>
>
> Hi list members!
>
> I started with Geoserver on a Windows 2016 server some time ago. Since I
> had problems with high CPU & memory usage I tried a Linux installation
> which seemed much better. For various reasons I now went back to Windows
> on a more capable server (4 CPU / 8 GB RAM) which I thought would be
> able to run Geoserver better than the first installation.
>
> But unfortunately the same issue on Windows again. On startup the
> service goes up to approx 70%, idles around 1-2 % CPU but still hogs
> about 600MB of RAM. Logging into the web admin brings the CPU up to 50%.
> The main issue is that a layer request makes it spike at around 90% and
> 2.5GB RAM and then it just stays there without me making any more
> requests. Now it's game over until after the service is restarted which
> by the way is not possible. I have to kill the process and start the
> service.
>
> The layer in question is loading an ImageMosaic layer with images on
> disk and the time/elevation data in PostgreSQL. A windbarb SLD is
> applied to the layer.
>
> Any ideas on where to start troubleshooting this?
>
> Thanks in advance!
>
> Niklas
>
>
>
> ___
> 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
>
>
> *Disclaimer*
>
> The information contained in this communication from the sender is
> confidential. It is intended solely for use by the recipient and others
> authorized to receive it. If you are not the recipient, you are hereby
> notified that any disclosure, copying, distribution or taking action in
> relation of the contents of this information is strictly prohibited and may
> be unlawful.
>
> This email has been scanned for viruses and malware, and may have been
> automatically archived by *Mimecast Ltd*, an innovator in Software as a
> Service (SaaS) for business. Providing a *safer* and *more useful* place
> for your human generated data. Specializing in; Security, archiving and
> compliance. To find out more Click Here
> <http://www.mimecast.com/products/>.
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support

Re: [Geoserver-users] Loose bbox per layer, instead of Store (Oracle NG (JNDI))

2021-11-29 Thread Nuno Oliveira
Hi Tiago,
I see your point, at the moment it's not possible to have this option
enabled per layer and switch at runtime per request.

Thinking out loud, this could be implemented by creating a new hint on the
Oracle data store and then binding it in GeoServer to WMS and WFS as a
vendor parameter.

Kind regards,
Nuno Oliveira

On Mon, Nov 29, 2021 at 5:39 PM Tiago Vieira  wrote:

> Hi,
>
> In an "Oracle NG (JNDI)" Store, we've the option to check "Loose bbox", to
> change the query filter from SDO_RELATE to SDO_FILTER. When we're able to
> use it, it increases the database performance.
>
> My question is, if there is some parameter for WMS or WFS requests that
> overrides the Store property.
> Another solution will be having the "loose bbox" property available on
> each layer, instead of the whole store.
>
>
> [image: image.png]
>
> Thanks,
> 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
>


-- 

Regards,

Nuno Oliveira

==
GeoServer Professional Services from the experts!

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

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Technical Lead / Project Manager


GeoSolutions Group
phone: +39 0584 962313
fax:  +39 0584 1660272

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.
___
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] App-schema services with jdbcMultipleValue attribute mappings throw exception for GetFeatureInfo request [SEC=UNOFFICIAL]

2021-11-29 Thread Nuno Oliveira
atureInfo.addToResults(GetFeatureInfo.java:126)
>at org.geoserver.wms.GetFeatureInfo.execute(GetFeatureInfo.java:77)
>... 115 more
> Caused by: java.lang.RuntimeException: Error applying mapping with 
> targetAttribute er:form
>at 
> org.geotools.data.complex.DataAccessMappingFeatureIterator.computeNext(DataAccessMappingFeatureIterator.java:1488)
>at 
> org.geotools.data.complex.AbstractMappingFeatureIterator.next(AbstractMappingFeatureIterator.java:418)
>... 118 more
> Caused by: java.io.IOException
>at 
> org.geotools.appschema.jdbc.JoiningJDBCFeatureSource.getJoiningReaderInternal(JoiningJDBCFeatureSource.java:1373)
>at 
> org.geotools.data.complex.DataAccessMappingFeatureIterator.extractMultipleValues(DataAccessMappingFeatureIterator.java:988)
>at 
> org.geotools.data.complex.DataAccessMappingFeatureIterator.setAttributeValue(DataAccessMappingFeatureIterator.java:649)
>at 
> org.geotools.data.complex.DataAccessMappingFeatureIterator.computeNext(DataAccessMappingFeatureIterator.java:1437)
>... 119 more
> Caused by: java.lang.RuntimeException: Subclasses must implement this method 
> in order to handle geometries
>at 
> org.geotools.data.jdbc.FilterToSQL.visitLiteralGeometry(FilterToSQL.java:1724)
>at org.geotools.data.jdbc.FilterToSQL.visit(FilterToSQL.java:1601)
>at org.geotools.jdbc.PreparedFilterToSQL.visit(PreparedFilterToSQL.java:80)
>at 
> org.geotools.filter.LiteralExpressionImpl.accept(LiteralExpressionImpl.java:242)
>at 
> org.geotools.data.oracle.OracleFilterToSQL.doSDORelate(OracleFilterToSQL.java:514)
>at 
> org.geotools.data.oracle.OracleFilterToSQL.visitBinarySpatialOperator(OracleFilterToSQL.java:415)
>at 
> org.geotools.data.oracle.OracleFilterToSQL.visitBinarySpatialOperator(OracleFilterToSQL.java:390)
>at 
> org.geotools.data.jdbc.FilterToSQL.visitBinarySpatialOperator(FilterToSQL.java:1262)
>at org.geotools.data.jdbc.FilterToSQL.visit(FilterToSQL.java:1206)
>at 
> org.geotools.filter.spatial.IntersectsImpl.accept(IntersectsImpl.java:56)
>at org.geotools.data.jdbc.FilterToSQL.encode(FilterToSQL.java:282)
>at org.geotools.data.jdbc.FilterToSQL.encodeToString(FilterToSQL.java:308)
>at 
> org.geotools.appschema.jdbc.JoiningJDBCFeatureSource.processSortByKey(JoiningJDBCFeatureSource.java:927)
>at 
> org.geotools.appschema.jdbc.JoiningJDBCFeatureSource.buildFiterBasedOnSortBy(JoiningJDBCFeatureSource.java:850)
>at 
> org.geotools.appschema.jdbc.JoiningJDBCFeatureSource.buildFilter(JoiningJDBCFeatureSource.java:782)
>at 
> org.geotools.appschema.jdbc.JoiningJDBCFeatureSource.selectSQL(JoiningJDBCFeatureSource.java:641)
>at 
> org.geotools.appschema.jdbc.JoiningJDBCFeatureSource.selectSQL(JoiningJDBCFeatureSource.java:388)
>at 
> org.geotools.appschema.jdbc.JoiningJDBCFeatureSource.getJoiningReaderInternal(JoiningJDBCFeatureSource.java:1321)
>... 122 more
>
>
>
> The mapping
>
>
>
> <*AttributeMapping*>
> <*targetAttribute*>er:form
>
> <*jdbcMultipleValue*>
> <*sourceColumn*>ENO
> <*targetTable*>OZMIN_ER_MINOCC_FORMS
> <*targetColumn*>ENO
> 
> <*ClientProperty*>
> <*name*>xlink:href
> <*value*>FORM_HREF
> 
> <*ClientProperty*>
> <*name*>xlink:title
> <*value*>FORM_TITLE
> 
> 
>
>
>
> I tested it by removing the mapping, which avoids the exception.
>
>
>
> 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.
>
> Geoscience Australia Disclaimer: This e-mail (and files transmitted with
> it) is intended only for the person or entity to which it is addressed. I

Re: [Geoserver-users] App-schema mappings not returning data [SEC=UNOFFICIAL]

2021-11-04 Thread Nuno Oliveira
Hi Michael,
I did a quick read of your mappings and they seem fine to me, this
information is particularly relevant:

*If I remove the rows that are appearing, the problematic rows appear in
the feature.*

I see two possible causes for this problem:

   - Id's collision, GeoServer will consider features with the same ID to
   be repeated.
   - Some weird bug where LIMIT clause is added to the final query sent to
   DB.

Kind regards,
Nuno Oliveira



On Mon, Nov 1, 2021 at 1:59 AM Michael Sexton 
wrote:

> Hi GeoServer users group,
>
>
>
> Having an issue with not returning in a two-level deep feature chain for
> the application schema EarthResourceML.
>
>
>
> Attached are the three mapping files, three source data files, and the
> resultant GML feature.
>
>
>
> The problematics rows in each table are highlighted below, which are not
> appearing in the resultant feature. If I remove the rows that are
> appearing, the problematic rows appear in the feature. So it’s not a
> problem with the data in the rows themselves, but something about the way
> the feature chain is picking up the features.
>
>
>
> Any help would be greatly appreciated.
>
>
>
> RESOURCE_NO
>
> ENO
>
> RESOURCE_ID
>
> RECORD_DATE
>
> ORE
>
> INCLUDESRESERVES
>
> UOM_CODE
>
> UOM_TITLE
>
> UOM_HREF
>
> CATEGORY_TITLE
>
> CATEGORY_HREF
>
> CLASSIFICATIONMETHOD
>
> SOURCEREF_TITLE
>
> SOURCEREF_HREF
>
>
>
> 12223
>
> 339086
>
> 12223.ifr
>
> 4-Mar-10
>
> 1.1
>
> FALSE
>
> Mt
>
> megatonne
>
> http://pid.geoscience.gov.au/def/voc/ga/uom/Mt
>
> inferred mineral resource
>
>
> http://resource.geosciml.org/classifier/cgi/resource-assessment-category/inferred-mineral-resource
>
>
> http://resource.geosciml.org/classifier/cgi/classification-method-used/jorc-code
>
> Meridian Minerals announces Cadjetbut Splay Mineral Resource trebles to
> 1.1Mt on the Lennard Shelf Project in WA
>
> http://www.opengis.net/def/nil/OGC/0/inapplicable
>
>
>
> 14200
>
> 339086
>
> 14200.ifr
>
> 24-Mar-11
>
> 1.6
>
> FALSE
>
> Mt
>
> megatonne
>
> http://pid.geoscience.gov.au/def/voc/ga/uom/Mt
>
> inferred mineral resource
>
>
> http://resource.geosciml.org/classifier/cgi/resource-assessment-category/inferred-mineral-resource
>
>
> http://resource.geosciml.org/classifier/cgi/classification-method-used/jorc-code
>
> Meridian Increases Total Mineral Resource 130% to 17.7Mt in 16 Months at
> Lennard Shelf Project - 24 Mar 2011
>
> http://www.opengis.net/def/nil/OGC/0/inapplicable
>
>
>
>
>
> GRADE_NO
>
> RESOURCE_NO
>
> RESOURCE_ID
>
> GRADE_ID
>
> COMMODITYAMOUNT
>
> COMMODITYAMOUNT_CODE
>
> COMMODITYAMOUNT_TITLE
>
> COMMODITYAMOUNT_HREF
>
> GRADE
>
> GRADE_CODE
>
> GRADE_TITLE
>
> GRADE_HREF
>
> COMMODITY_TITLE
>
> COMMODITY_HREF
>
> 19849
>
> 12223
>
> 12223.ifr
>
> 19849.ifr
>
> 0.094
>
> Mt
>
> megatonne
>
> http://pid.geoscience.gov.au/def/voc/ga/uom/Mt
>
> 8.5
>
> %
>
> percentage
>
> http://pid.geoscience.gov.au/def/voc/ga/uom/percent
>
> lead
>
> http://resource.geosciml.org/classifier/cgi/commodity-code/lead
>
> 19850
>
> 12223
>
> 12223.ifr
>
> 19850.ifr
>
> 0.026
>
> Mt
>
> megatonne
>
> http://pid.geoscience.gov.au/def/voc/ga/uom/Mt
>
> 2.4
>
> %
>
> percentage
>
> http://pid.geoscience.gov.au/def/voc/ga/uom/percent
>
> zinc
>
> http://resource.geosciml.org/classifier/cgi/commodity-code/zinc
>
> 19851
>
> 12223
>
> 12223.ifr
>
> 19851.ifr
>
> 0.017
>
> Kt
>
> kilotonnes
>
> http://pid.geoscience.gov.au/def/voc/ga/uom/kt
>
> 15.7
>
> g-t
>
> grams per tonne
>
> http://pid.geoscience.gov.au/def/voc/ga/uom/g-t
>
> silver
>
> http://resource.geosciml.org/classifier/cgi/commodity-code/silver
>
> 23544
>
> 14200
>
> 14200.ifr
>
> 23544.ifr
>
> 0.032
>
> Mt
>
> megatonne
>
> http://pid.geoscience.gov.au/def/voc/ga/uom/Mt
>
> 2
>
> %
>
> percentage
>
> http://pid.geoscience.gov.au/def/voc/ga/uom/percent
>
> zinc
>
> http://resource.geosciml.org/classifier/cgi/commodity-code/zinc
>
> 23545
>
> 14200
>
> 14200.ifr
>
> 23545.ifr
>
> 0.133
>
> Mt
>
> megatonne
>
> http://pid.geoscience.gov.au/def/voc/ga/uom/Mt
>
> 8.3
>
> %
>
> percentage
>
> http://pid.geoscience.gov.au/def/voc/ga/uom/percent

Re: [Geoserver-users] Requesting app-schema by featureID on Oracle returns error [SEC=UNOFFICIAL]

2021-11-04 Thread Nuno Oliveira
Hi Michael,
that error seems to imply that the parameters of the prepared
statement sent to the database are not correctly set.
I would need to check the GeoServer logs in DEBUG level to see the SQL
queries sent to Oracle to understand what's happening.

The only unusual aspect of your WFS request (at least for me) is the
multiple dots on the type name.

Kind regards,
Nuno Oliveira



On Mon, Nov 1, 2021 at 1:16 AM Michael Sexton 
wrote:

> Hi GeoServer community
>
>
>
> When I try to make a feature ID request to GeoServer I get the following
> error
>
>
>
>
> http://localhost:8080/er/ows?service=WFS=2.0.0=GetFeature=er%3AMineralOccurrence=gml32=ga.er.mineraloccurrence.339086
>
>
>
>
>
> <*ows:Exception* exceptionCode="NoApplicableCode">
>
> <*ows:ExceptionText*>
>
> *java.lang.RuntimeException: java.io.IOExceptionjava.io.IOExceptionMissing
> IN or OUT parameter at index:: 1*
>
> 
>
> 
>
>
>
> However a full request limited to count=1 returns the feature
>
>
>
>
> http://localhost:8080/er/ows?service=WFS=2.0.0=GetFeature=er%3AMineralOccurrence=gml32=1
>
>
>
> Database is Oracle, GeoServer version is 2.19.2
>
>
>
> Thanks
>
>
>
> *Michael Sexton *
>
>
>
> Lockdown hours
>
> Monday 9am – 5pm
>
> Tuesday-Friday 12:30pm - 6pm
>
>
> 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.
> ___
> 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,

Nuno Oliveira

==
GeoServer Professional Services from the experts!

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

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Technical Lead / Project Manager


GeoSolutions Group
phone: +39 0584 962313
fax:  +39 0584 1660272

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.
___
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] Variable substitution for s3 blobstore [SEC=UNOFFICIAL]

2021-08-30 Thread Nuno Oliveira
Hi Michael,
yes, that looks like the way to go to me, but as you notice parametrization
of GWC stores will need to be fixed \ extended.

On Thu, Aug 19, 2021 at 2:32 PM Michael Sexton 
wrote:

> OK, I’ve found that you can parameterise the keys
>
> Parameterize catalog settings — GeoServer 2.20.x User Manual
> <https://docs.geoserver.org/latest/en/user/datadirectory/configtemplate.html>
>
>
>
> But there is a bug that writes these keys to the GUI and makes it
> difficult to use the GUI
>
>
>
> Allow runtime parametrization of Azure blobstore configuration · Issue
> #777 · GeoWebCache/geowebcache (github.com)
> <https://github.com/GeoWebCache/geowebcache/issues/777>
>
>
>
> Is this the best method to use?
>
>
>
> *From:* Michael Sexton 
> *Sent:* Thursday, 19 August 2021 5:28 PM
> *To:* 'geoserver-users@lists.sourceforge.net' <
> geoserver-users@lists.sourceforge.net>
> *Subject:* [Geoserver-users] Variable substitution for s3 blobstore
> [SEC=UNOFFICIAL]
>
>
>
> Hi GeoServer Users!
>
>
>
> We’re trying to ensure our AWS keys don’t leak into our code repositories,
> while actively doing development on our tile caches, which use an S3
> blobstore. We write the keys at deploy time to the geowebcache.xml file,
> however to develop and test locally we have to insert the keys into the
> file, then must remove them before commit to ensure we don’t leak the keys.
>
>
>
> Is there a better way? I’ve tried using variable substitution such that
> the keys are inserted at runtime, but I am not having any luck. What is the
> best way to do this?
>
>
>
> Thanks for any help
>
>
>
> Kind Regards
>
>
>
>
> *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.
>
> 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.
> ___
> 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,

Nuno Oliveira

==
GeoServer Professional Services from the experts!

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

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Technical Lead / Project Manager


GeoSolutions Group
phone: +39 0584 962313
fax:  +39 0584 1660272

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

Re: [Geoserver-users] configure SAMLv2 authentication filter

2021-08-30 Thread Nuno Oliveira
Hi Alessandro,
you will need to install the GeoServer SAMLv2 plugin
<https://docs.geoserver.org/latest/en/user/community/saml/index.html>, this
is a community module that can be found on the nightly builds, for example,
for the 2.19.x series is available HERE
<https://build.geoserver.org/geoserver/2.19.x/community-latest/>
 (geoserver-2.19-SNAPSHOT-saml-plugin.zip).

On Tue, Aug 24, 2021 at 11:56 AM Alessandro Ferrucci <
alessandroferru...@gmail.com> wrote:

> Hello -
>
> I am trying to configure the SAMLv2 authentication filter in geoserver but
> when I go to the authentication tab, I do not see SAMLv2 in the list of
> links.
>
> I only see the following filters:
>
>- J2EE - Delegates to servlet container for authentication
>- Anonymous - Authenticates anonymously performing no actual
>authentication
>- Remember Me - Authenticates by recognizing authentication from a
>previous request
>- Form - Authenticates by processing username/password from a form
>submission
>- X.509 - Authenticates by extracting the common name (cn) of a X.509
>certificate
>- HTTP Header - Authenticates by checking existence of an HTTP request
>header
>- Basic - Authenticates using HTTP basic authentication
>- Digest - Authenticates using HTTP digest authentication
>- Credentials From Headers - Authenticates by looking up for
>credentials sent in headers
>
> I do not see a reference in the documentation as to how to add SAMLv2 as a
> possible filter.
>
> Any help appreciated,
>
> Cheers,
> Alessandro Ferrucci
> ___
> 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,

Nuno Oliveira

==
GeoServer Professional Services from the experts!

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

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Technical Lead / Project Manager


GeoSolutions Group
phone: +39 0584 962313
fax:  +39 0584 1660272

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.
___
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] App-schema - long WFS GetFeature response times without BBOX

2021-06-12 Thread Nuno Oliveira
Hi Marcin,
that looks like a bug to me, I have open a JIRA ticket for it:
https://osgeo-org.atlassian.net/browse/GEOS-10108

Kind regards,
Nuno Oliveira


On Sat, Jun 12, 2021 at 6:24 AM Marcin Grudzień 
wrote:

> Hi Nuno,
>
> I have already analysed the SQL requests sends by GeoServer to PostGIS 12
> database. The problem lies in the following request
>
> SELECT COUNT(DISTINCT "schema_name"."table_name"."primary_key_attribute")
> FROM "schema_name"."table_name"
> in my particular case the request looks like this
> SELECT COUNT(DISTINCT "bdot"."landcoversurface"."objectid") FROM
> "bdot"."landcoversurface"
>
> The request is sent to the database, although the counting is disabled in
> GeoServer for this specific layer.
>
> Following the App Schema idExpression documentation, I removed the primary
> key from the "objectid" attribute. In order to have gml:id generated as
> ., e.g.
> landcoversurface.fid--46fd41b8_1407138b56f_-7fe0
>
> However, for some reason gml:id was always created utilising this
> "objectid" attribute. Even if I changed the attribute name after restarting
> the GeoServer the attribute with the changed name was used to create
> gml:id. I also tried setting up the parameter "Expose primary keys" to
> "false", but it didn't help.
>
> It is important to add that the "objectid" attribute has an index in the
> database.
>
> Best regards,
> Marcin
>
>
>
>
>
> On Sat, 12 Jun 2021 at 00:51, Nuno Oliveira <
> nuno.olive...@geo-solutions.it> wrote:
>
>> Hi,
>> indeed 10 seconds seems too much ... you may want to switch the log level
>> to GEOTOOLS_DEVEL and analyze the requests that are sent to PostgreSQL.
>>
>> Kind regards,
>> Nuno Oliveira
>>
>> On Tue, Jun 8, 2021 at 12:28 PM Julian Hollingbery 
>> wrote:
>>
>>> Hi,
>>>
>>>
>>>
>>> It is not unknown to have slow counting in PostgreSQL:
>>> https://wiki.postgresql.org/wiki/Slow_Counting and
>>> https://www.cybertec-postgresql.com/en/postgresql-count-made-fast/
>>>
>>> I always try to avoid using the count-parameter, as the implications
>>> don’t seem user-friendly to me.
>>>
>>>
>>>
>>> Regards,
>>>
>>> Julian
>>>
>>>
>>>
>>> *Fra:* Nuno Oliveira 
>>> *Sendt:* 08 June 2021 13:07
>>> *Til:* Marcin Grudzień 
>>> *Cc:* GeoServer Mailing List List >> >
>>> *Emne:* Re: [Geoserver-users] App-schema - long WFS GetFeature response
>>> times without BBOX
>>>
>>>
>>>
>>> Hi Marcin,
>>>
>>> a simple count without any filter usually should not take that much
>>> time, I suspect that there may be something else having an impact on the
>>> performance.
>>>
>>>
>>>
>>> That say, it is possible to deactivate the number matched count on the
>>> layer configuration page unter the publishing tab:
>>>
>>>
>>> https://drive.google.com/file/d/1mx_1fPVJAu9ElgOcVwuXfOq30n6ONmKw/view?usp=sharing
>>>
>>>
>>>
>>> Hope this helps,
>>>
>>> Nuno Oliveira
>>>
>>>
>>>
>>> On Tue, Jun 1, 2021 at 2:44 PM Marcin Grudzień 
>>> wrote:
>>>
>>> Hi,
>>>
>>>
>>>
>>> I have published INSPIRE Land Cover WFS service using Geoserver 2.19.1
>>> with app-schema extension. The service is available at
>>> https://mapy.geoportal.gov.pl/wss/service/wfsLCV/guest?service=WFS=GetCapabilities
>>>
>>>
>>>
>>> The data is stored in the PostGIS database.
>>>
>>>
>>>
>>> The service publishes over 6 000 000 land cover objects.
>>>
>>>
>>>
>>> I noticed that it takes around 20 seconds for the service to return the
>>> response to the most basic GetFeature request
>>> https://mapy.geoportal.gov.pl/wss/service/wfsLCV/guest?service=WFS=GetFeature=2.0.0=lcv:LandCoverUnit=1
>>>
>>>
>>>
>>>
>>> However, if I add the BBOX parameter to the request, significantly
>>> limiting the area of the request, the response times are much better. E.g.
>>> https://mapy.geoportal.gov.pl/wss/service/wfsLCV/guest?service=WFS=GetFeature=2.0.0=lcv:LandCoverUnit=100=50,50,60,60
>>> takes around 2 seconds.
>>>
>>>
>>>
>>> 

Re: [Geoserver-users] App-schema - long WFS GetFeature response times without BBOX

2021-06-11 Thread Nuno Oliveira
Hi,
indeed 10 seconds seems too much ... you may want to switch the log level
to GEOTOOLS_DEVEL and analyze the requests that are sent to PostgreSQL.

Kind regards,
Nuno Oliveira

On Tue, Jun 8, 2021 at 12:28 PM Julian Hollingbery 
wrote:

> Hi,
>
>
>
> It is not unknown to have slow counting in PostgreSQL:
> https://wiki.postgresql.org/wiki/Slow_Counting and
> https://www.cybertec-postgresql.com/en/postgresql-count-made-fast/
>
> I always try to avoid using the count-parameter, as the implications don’t
> seem user-friendly to me.
>
>
>
> Regards,
>
> Julian
>
>
>
> *Fra:* Nuno Oliveira 
> *Sendt:* 08 June 2021 13:07
> *Til:* Marcin Grudzień 
> *Cc:* GeoServer Mailing List List 
> *Emne:* Re: [Geoserver-users] App-schema - long WFS GetFeature response
> times without BBOX
>
>
>
> Hi Marcin,
>
> a simple count without any filter usually should not take that much time,
> I suspect that there may be something else having an impact on the
> performance.
>
>
>
> That say, it is possible to deactivate the number matched count on the
> layer configuration page unter the publishing tab:
>
>
> https://drive.google.com/file/d/1mx_1fPVJAu9ElgOcVwuXfOq30n6ONmKw/view?usp=sharing
>
>
>
> Hope this helps,
>
> Nuno Oliveira
>
>
>
> On Tue, Jun 1, 2021 at 2:44 PM Marcin Grudzień 
> wrote:
>
> Hi,
>
>
>
> I have published INSPIRE Land Cover WFS service using Geoserver 2.19.1
> with app-schema extension. The service is available at
> https://mapy.geoportal.gov.pl/wss/service/wfsLCV/guest?service=WFS=GetCapabilities
>
>
>
> The data is stored in the PostGIS database.
>
>
>
> The service publishes over 6 000 000 land cover objects.
>
>
>
> I noticed that it takes around 20 seconds for the service to return the
> response to the most basic GetFeature request
> https://mapy.geoportal.gov.pl/wss/service/wfsLCV/guest?service=WFS=GetFeature=2.0.0=lcv:LandCoverUnit=1
>
>
>
>
> However, if I add the BBOX parameter to the request, significantly
> limiting the area of the request, the response times are much better. E.g.
> https://mapy.geoportal.gov.pl/wss/service/wfsLCV/guest?service=WFS=GetFeature=2.0.0=lcv:LandCoverUnit=100=50,50,60,60
> takes around 2 seconds.
>
>
>
> I suspect that such GeoServer behaviour is related to the fact that the
> server wants to establish the total number of features that can be
> downloaded by the service (attribute numberMatched) and is doing it for the
> full BBOX defined for the lcv:LandCoverUnit feature type in the service
> GetCapabilities response.
>
>
>
> I would be grateful for any suggestion regarding lowering the response
> times for the non-spatial GetFeature requests.
>
>
>
> Best regards,
>
> Marcin
>
>
>
>
>
>
>
>
>
> ___
> 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,
> Nuno Oliveira
> ==
> GeoServer Professional Services from the experts!
> Visit http://goo.gl/it488V for more information.
> ==
>
> Nuno Miguel Carvalho Oliveira
> @nmcoliveira
> Software Engineer
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:  +39 0584 1660272
>
> 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 informat

Re: [Geoserver-users] App-schema - long WFS GetFeature response times without BBOX

2021-06-08 Thread Nuno Oliveira
Hi Marcin,
a simple count without any filter usually should not take that much time, I
suspect that there may be something else having an impact on the
performance.

That say, it is possible to deactivate the number matched count on the
layer configuration page unter the publishing tab:
https://drive.google.com/file/d/1mx_1fPVJAu9ElgOcVwuXfOq30n6ONmKw/view?usp=sharing

Hope this helps,
Nuno Oliveira

On Tue, Jun 1, 2021 at 2:44 PM Marcin Grudzień  wrote:

> Hi,
>
> I have published INSPIRE Land Cover WFS service using Geoserver 2.19.1
> with app-schema extension. The service is available at
> https://mapy.geoportal.gov.pl/wss/service/wfsLCV/guest?service=WFS=GetCapabilities
>
> The data is stored in the PostGIS database.
>
> The service publishes over 6 000 000 land cover objects.
>
> I noticed that it takes around 20 seconds for the service to return the
> response to the most basic GetFeature request
> https://mapy.geoportal.gov.pl/wss/service/wfsLCV/guest?service=WFS=GetFeature=2.0.0=lcv:LandCoverUnit=1
>
>
> However, if I add the BBOX parameter to the request, significantly
> limiting the area of the request, the response times are much better. E.g.
> https://mapy.geoportal.gov.pl/wss/service/wfsLCV/guest?service=WFS=GetFeature=2.0.0=lcv:LandCoverUnit=100=50,50,60,60
> takes around 2 seconds.
>
> I suspect that such GeoServer behaviour is related to the fact that the
> server wants to establish the total number of features that can be
> downloaded by the service (attribute numberMatched) and is doing it for the
> full BBOX defined for the lcv:LandCoverUnit feature type in the service
> GetCapabilities response.
>
> I would be grateful for any suggestion regarding lowering the response
> times for the non-spatial GetFeature requests.
>
> Best regards,
> Marcin
>
>
>
>
> ___
> 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,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati
personali (Reg. UE 2016/679 - Regolamento generale sulla
protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto,
gli eventuali allegati, etc.) è un dato la cui conoscenza
è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita.
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to
which it is addressed and may contain information that
is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or
use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you
have received this email by mistake, please notify
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Merging GeoServers

2021-04-20 Thread Nuno Oliveira
Hi Vera,
you may also want to have a look at the backup and restore plugin:
https://docs.geoserver.org/latest/en/user/community/backuprestore/index.html

Kind regards,
Nuno Oliveira


On Tue, Apr 20, 2021 at 5:37 AM Alexandre Gacon 
wrote:

> Hi Vera,
>
> Personnaly I would have tried to use the REST API of geoserver to migrate
> the content between the 2 instances.
>
> Regards
> Alexandre
>
> Le lun. 19 avr. 2021 à 23:48, Vera Green  a
> écrit :
>
>> Hello,
>>
>> I have recently had the interesting experience of not migrating an old
>> geoserver to a new instance but *merging *an old GeoServer with another,
>> newer already active Geoserver that had some duplication with the old
>> GeoServer.
>>
>> I was able to transfer all the styles by removing the workspace reference
>>
>> <#m_-5820424419311889927_m_793308323945472790_styles>Styles
>>
>> *For styles OUTSIDE of any workspace* we manually delete all of the
>> styles that we do not want. Then we synch the files
>>
>> cd /mnt/tmp/geoserver/tran/styles/rm tmp*rm *.bakrsync -a -v 
>> --ignore-existing /mnt/tmp/geoserver/tran/styles/* 
>> /mnt/geoserver/data/styles/.systemctl restart tomcat
>>
>> *For workspace specific styles*
>>
>> we need to remove the reference to the workspace from the xml file.
>>
>> cd /mnt/tmp/geoserver/tran/workspaces/workspace_name/stylesrm tmp*rm 
>> *.baksed -i '//,/<\/workspace>/d' *.xml
>>
>> (PS yes I did read the many warnings about NOT using a regex with sed on xml 
>> files. . . . but it worked ;-)
>> cd /mnt/geoserver/data/stylestar -cvpzf styles_bk.tar.gz *rsync -a -v 
>> --ignore-existing /mnt/tmp/geoserver/tran/workspaces/workspace_name/styles/* 
>> .systemctl restart tomcat
>>
>>   LayersUnfortunately I was not able to transfer our 400 layers. I tried
>> the import extension and unfortunately I got an error with this tool (email
>> to follow).
>> The reason I was not able to transfer the layers was because the
>> workspace and store ID's saved in the layer xml files were of course not
>> matching my new instance.  The styles should have been alright.  Because we
>> needed to "just get it done" we manually transferred the layers. However, I
>> am wondering if there are other tools or other methods I should have used?
>> not sure if replacing everything with scripts is an approach I should
>> explore, even though the structure of the data is very transparent (I love
>> geoserver)
>>
>> In hindsight (now that it is no longer 2 am) I should have perhaps done
>> something like this:
>>
>> *To Try Next Time* Prior to backing up the GeoServer rename all of the
>> work spaces and stores to indicate the server name
>>
>> Try merging all of these:
>>
>>- workspaces
>>- stores
>>- styles (see below)
>>- then finally layers
>>
>> Theoretically if we migrate all of these then the layers should work
>> because the workspace, store, and style ID's will exist in the new instance.
>>
>> I did find this command supper useful since there was some duplication
>> between the two GeoServers:
>>   rsync -a -v --ignore-existing src dst
>>
>> Your thoughts appreciated, for next time . . .
>>
>> Vera
>>
>> ___
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines:
>> http://geoserver.org/comm/userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this:
>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and

Re: [Geoserver-users] WFS insert transaction has a bug.

2021-01-07 Thread Nuno Oliveira
Hi,
strange behavior indeed, that is to say, I'm not sure at 100% that the WFS
transaction queries you are sending are correct, an example from the WFS
1.1.0 specification:


http://www.someserver.com/myns; xmlns:gml="http://www.opengis.net/gml;
xmlns:ogc="http://www.opengis.net/ogc; xmlns:wfs="http://www.opengis.net/wfs;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="
http://www.someserver.com/myns http://www.someserver.com/wfs/cwwfs.cgi?
request=describefeaturetypetypename=InWaterA_1M.xsd
http://www.opengis.net/wfs ../wfs/1.1.0/WFS.xsd">
  

  
http://www.opengis.net/gml/srs/epsg.xml#63266405;>
  

  -98.54 24.26 ...
  

  
  150
  ABCDE
  152
  250
  111

  


I would recommend to give it a try (if not already done) using GeoServer
WFS strict mode
<https://docs.geoserver.org/latest/en/user/services/wfs/vendor.html#xml-request-validation>
and see if GeoServer complains about them, if not then feel free to fill a
bug report.

Best regards,
Nuno Oliveira


On Tue, Jan 5, 2021 at 8:22 AM feyzullah yıldız <
ahmet.feyzullah.yil...@gmail.com> wrote:

>
>- Geoserver version: 2.14.1 and 2.18.0.
>- My store is Postgis.
>- Those are my tables, there is no relation on database level
>
> create table example_table(
> id serial primary key,
> name varchar(100),
> geom geometry(Point, 4326)
> );create table name(
> id serial primary key,
> key varchar(100)
> );
>
> I executed this sql query, then I just published example_table. here is my 
> insert transaction.
>
>
>xmlns:wfs="http://www.opengis.net/wfs;
>   xmlns:topp="http://www.openplans.org/topp;
>   xmlns:gml="http://www.opengis.net/gml;
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>   xsi:schemaLocation="http://www.opengis.net/wfs 
> http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd 
> http://www.openplans.org/topp 
> http://localhost:8080/geoserver/wfs/DescribeFeatureType?typename=feyzullah_test:example_table;>
>   
> 
>   isim
>   
> http://www.opengis.net/gml/srs/epsg.xml#4326;>
>   29,41
> 
>   
> 
>   
>
>
>- Then It is inserted successfully.
>- I published the other layer called name
>- Then I executed the same transaction XML again and I got an error.
>The error says: value too long for type character varying(100). but is
>not that long. Here is the what GeoServer generated for insert query
>
> INSERT INTO "public"."example_table" ( "name","geom" )VALUES 
> ('SimpleFeatureImpl:name=[SimpleFeatureImpl.Attribute: key id=fid-55948f24_176ad551553_-7fb5>=null]',
> ST_GeomFromText('POINT (29 41)', 4326)
> )
>
>
>- When I unpublish the layer called name, this error is not firing. We
>have had an app in production for over 2 years, this was not happening
>until we realized this error. This error is not happening in the update
>transaction.
>- So, if we have a table like foo and another layer has a column
>called foo we cannot execute insert transaction successfully.
>
> ___
> 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,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

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

Re: [Geoserver-users] INSPIRE validator throws error about LayerNames...

2020-06-22 Thread Nuno Oliveira
Dear all,
this is a known limitation that will eventually get fixed:
https://osgeo-org.atlassian.net/browse/GEOS-8927

Kind regards,
Nuno Oliveira

On Wed, Jun 10, 2020 at 11:39 AM A Huarte via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> I have got a workaround, I will move all these layers to one unique
> workspace, by example "inspire", and then I will add the prefix "xxx." name
> to all of them.
>
> Best
> Regards
>
>
> En miércoles, 10 de junio de 2020 12:16:56 CEST, A Huarte via
> Geoserver-users  escribió:
>
>
> Hi, We are deploying some layers on a GeoServer 2.17.0 instance in order
> to be conforming to the INSPIRE specification.
>
> The INSPIRE validator (https://inspire.ec.europa.eu/validator) throws
> errors about the layer name nomenclature of all our published layers. It
> throws the following message:
>
> The following layers do not have a correct name according with the
> harmonised layer names given in the INSPIRE collection:
> 'AM:AirQualityManagementZone, EF:Air_EnvironmentalMonitoringFacilities,
> ...'.
>
> It seems as the validator is expecting names such as 
> "AM.AirQualityManagementZone",
> with the "." separator, not with the ":" separator.
>
>
>
>
>
>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati
personali (Reg. UE 2016/679 - Regolamento generale sulla
protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto,
gli eventuali allegati, etc.) è un dato la cui conoscenza
è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita.
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to
which it is addressed and may contain information that
is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or
use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you
have received this email by mistake, please notify
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Issues on creating cascading WMTS datastore

2020-06-20 Thread Nuno Oliveira
Hi,
I was able to reproduce, this is a bug, I created a ticket
https://osgeo-org.atlassian.net/browse/GEOT-6632.

Best regards,
Nuno Oliveira



On Fri, Jun 19, 2020 at 1:23 PM Alexandre Gacon 
wrote:

> Hi,
>
> I am doing some tests on the different cascading datastores and I have a
> problem with cascading WMTS datastore.
>
> When I try to connect to the following capability URL
>
> https://sig-preprod.atmo-auvergnerhonealpes.fr/geoserver/gwc/service/wmts?REQUEST=GetCapabilities
>
> Geoserver gives the following error:
> org.apache.wicket.WicketRuntimeException: Exception 'Argument "message"
> should not be null.' occurred during validation
> org.geoserver.web.data.store.WMTSStoreNewPage$WMTSCapabilitiesURLValidator
> on component 39:form:capabilitiesURL:border:border_body:paramValue
>
> I am testing on Geoserver 2.17.0 (docker image from kartoza).
>
> Could you point me to the reason of the error?
>
> --
> Alexandre Gacon
> ___
> 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,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati
personali (Reg. UE 2016/679 - Regolamento generale sulla
protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto,
gli eventuali allegati, etc.) è un dato la cui conoscenza
è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita.
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to
which it is addressed and may contain information that
is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or
use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you
have received this email by mistake, please notify
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] SRS is incorrect when creating app-schema layer from a PostGIS database

2020-06-14 Thread Nuno Oliveira
Hi,
explicitly setting the default geometry should do the trick:
https://docs.geoserver.org/stable/en/user/data/app-schema/mapping-file.html#mappings

Something likes this:



mappedfeature1
datastore
mappedfeature
gsml:MappedFeature
true


*gsml:MappedFeature/gsml:shape/gml:Polygon*Hope
it helps, otherwise feel free to open a JIRA ticket, make sure you
describe your mapping and target GML, as well the table definition.

Best regards,
Nuno Oliveira


On Mon, May 25, 2020 at 9:39 AM Lindström Karl 
wrote:

> I have PostGIS database with a table that was exported from a shapefile
> using shp2pgsql. I have verified that the SRID is correct by querying the
> geometry_columns table.
>
> If I use this database table as a data source in Geoserver and create a
> layer from it everything works as expected and the correct SRS is set on
> the layer.
>
> However, when I try to create an app-schema mapping using this table (I'm
> creating the mapping in Hale and exporting it using the direct upload
> method) the correct CRS is not picked up by Geoserver. Instead the Native
> SRS is emtpy and the Declared SRS is EPSG:404000. I also don't get any
> position elements if I preview the GML. I'm assuming this is because the
> SRS is incorrect, but I get the same problem even if I declare the correct
> SRS and use the "Force declared" option.
>
> I think the problem is related to app-schema because if I import the data
> in Hale the correct SRS gets used and if I do a transformation in Hale the
> resulting GML contains position elements for each feature.
>
> Does anyone know what the problem could be?
>
> I'm running Geoserver 2.17.0 on RHEL 8 using Java 1.8.0_252.
>
> Regards,
> Karl Lindström
>
> ___
> 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,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati
personali (Reg. UE 2016/679 - Regolamento generale sulla
protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto,
gli eventuali allegati, etc.) è un dato la cui conoscenza
è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita.
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to
which it is addressed and may contain information that
is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or
use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you
have received this email by mistake, please notify
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Error creating the INSPIRE hy-p:Watercourse FeatureType with the app-schema plugin.

2020-05-19 Thread Nuno Oliveira
Hi,
had a quick look and your default geometry mapping looks correct to me.

I think the issue here may be indeed that the geometry attribute is defined
on the abstract type (SurfacWaterType).

If you don't get any other feedback I would suggests that you go ahead and
open a JIRA bug ticket.

Best regards,
Nuno Oliveira

On Tue, May 19, 2020 at 4:28 PM A Huarte via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hi, I am using GeoServer 2.17 & App-Schema plugin to publish INSPIRE
> complex stores.
>
> My new layer has to implement the "hy-p:Watercourse" FeatureType of the
> http://inspire.ec.europa.eu/schemas/hy-p/4.0/HydroPhysicalWaters.xsd
> scheme,
>
> but trying to create the store I get an error about the geometry setting:
>
> [image: Imagen en el mensaje]
>
> This is a fragment of my app-schema settings file:
>
> [image: Imagen en el mensaje]
>
>
> The geometry node is not directly declared in the Watercourse element node
> in the XSD schema, but in another overrided FeatureType (The
> hy-p:SurfaceWater type).
>
> [image: Imagen en el mensaje]
>
> This is the declaration of the SurfaceWater type:
>
> [image: Imagen en el mensaje]
>
> How should I write the "defaultGeometry" entry of my app-schema settings
> file?
> Thanks in advance
>
>
> Best regards
> Alvaro
>
> ___
> 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,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati
personali (Reg. UE 2016/679 - Regolamento generale sulla
protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto,
gli eventuali allegati, etc.) è un dato la cui conoscenza
è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita.
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to
which it is addressed and may contain information that
is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or
use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you
have received this email by mistake, please notify
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Fwd: Isolated workspace possible issue with VectorTyle + GWC

2020-05-04 Thread Nuno Oliveira
Hi Carlo, Jody,
Isolated workspaces were introduced to allow multiple workspaces (end-
points) to be associated whit the same name-space, as Jody mentioned,
this is particular relevant and useful for WFS.
If an workspace its declared as isolated, then its content can only be
acceded in the context of that workspace.
GWC services, like WMTS and TMS, try to look up the cached layers by
their ID, but if the workspace they belong too its isolated, that
lookup will only succeed if done in the context of the isolated
workspace virtual end-point.
Example of global access and an workspace virtual en-point access (in
that order):
 * 
http://localhost:8080/geoserver/gwc/service/wmts?layer=topp:states==EPSG:4326=WMTS=GetTile=1.0.0=image/png=EPSG:4326:5=15=8
 * 
http://localhost:8080/geoserver/topp/gwc/service/wmts?layer=states==EPSG:4326=WMTS=GetTile=1.0.0=image/png=EPSG:4326:5=15=8
This where the access of the layer its checked [1] by the isolated
workspaces code. 
I identified the following issue; Looks like both WMTS and TDMS when
building their capabilities document get all the layers by their ID's
and assume that they should be available, if not then its because the
GWC configuration got out of sync.
Their code needs to be updated and recognize the situation where
certain layers are not available because they belong to an isolated
workspace and the GetCapabilities request being answer was issued
globally or in a different workspace end-point.
Hope this helps,
Nuno Oliveira
[1] https://github.com/geoserver/geoserver/blob/732e7b4bfacdf7fe7180c3d
7ba2868ea3650c24c/src/main/src/main/java/org/geoserver/catalog/impl/Iso
latedCatalogFacade.java#L188-L190
On Thu, 2020-04-30 at 16:34 -0700, Jody Garnett wrote:
> I am sharing some initial thoughts, just to share my understanding:
> 
> - GWC does not have a built-in concept of namespace, if you look you
> can see it generates something like prefix_layer_name which works
> well in many cases :)
> - XML namespaces (and prefix) is used to make sure we are specific
> when talking about what a data means, allowing us to locate the
> schema used for validation
> - isolated namespaces are intended to be used when the schema is
> defined externally, and when there is no "global service" so the
> content is only available via a workspace specific WFS endpoint
> 
> So I think this setup, has been focused on publishing XML content
> without conflict, and has not deeply considered WCS/WMS (which is
> possible) or WMTS (which may not even offer a virtual service for
> unambiguous access). Right now we "run" an emended GWC for publishing
> tileset, think to support your use case we would need to run one per
> virtual workspace. So possible but not included in the present
> design.
> 
> I did not work directly on this integration so I would need to dive
> into the code to confirm the above speculation.
> --
> Jody Garnett
> 
> 
> On Wed, 29 Apr 2020 at 23:31, carlo cancellieri 
> il.com> wrote:
> > Jody,
> > 
> > > Do you have a stack trace or anything else to go on Carlo? I have
> > > not used isolated workspaces yet
> > > 
> > Yep, fwding the message may have hidden the end of the mail, please
> > see below.
> > 
> > > myself, does it work if the workspace is not isolated?
> > > 
> > Yes, disabling isolation ‘solved’
> > 
> > Carlo
> > 
> > > --
> > > Jody Garnett
> > > 
> > > 
> > > On Wed, 29 Apr 2020 at 13:13, carlo cancellieri 
> > > @gmail.com> wrote:
> > > > 
> > > > Dear List,
> > > >  I'm trying to use extensively isolated workspace and I've
> > > > found a possible issue which I'm going to share with you before
> > > > we open a ticket:
> > > > Steps:
> > > > Use geoserver 2.17.0
> > > > create an isolated workspace
> > > > add a jndi store
> > > > load a layer (I'm using gadm level0)
> > > > install VectorTyle extension
> > > > enable the vector tyle 'format' over that layer
> > > > 
> > > > now I'm having problem to use embedded GWC, fe I'm not able to
> > > > see the:
> > > > https://xx/x/gwc/service/tms/1.0.0
> > > >   
> > > > trying to retrieve that or other requests I got errors like:
> > > > DEBUG [util.ResponseUtils] - Could not locate a layer or layer
> > > > group with id LayerInfoImpl-3bba14cf:1711882e14e:-11bb within
> > > > GeoServer configuration, the GWC configuration seems to be out
> > > > of synch
> > > > 2020-04-29 16:37:14,813 ERROR
> > > > 

Re: [Geoserver-users] Geoserver Problem with AppSchema GML Output

2020-03-24 Thread Nuno Oliveira
Great, thank you for the feedback!
On Mon, 2020-03-23 at 21:11 +0100, Christine Andrae wrote:
> hi Nuno.
> your schema DID HELP, the output is correct now!
> I don't remember why I deactivated the import of gml Schema months
> ago. Anyway its working now.
> Thanks a lot, I really had come to an end with searching for the
> error.
> Happy greetings and do stay healthy!
> Christine
> Am 23.03.2020 um 19:45 schrieb Nuno Oliveira:
> > Hi,
> > if GeoServer is capable of producing the correct GeoJSON output and
> > use WMS it means that it's the XML encoding that's failing,
> > probably because some GML type binding is not being recognized.
> > 
> > I did a few changes on your schema, could you give a try using:
> > 
> > 
> > 
> > eoserver.org/xe" version = "2.03"
> > xmlns:xs="http://www.w3.org/2001/XMLSchema" 
> > xmlns:xe="http://geoserver.org/xe;
> > xmlns:gml="http://www.opengis.net/gml/3.2;>;;
> > http://www.opengis.net/gml/3.2;
> > schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd; />
> > 
> > type="xe:XE_OrtVonInteresseType"
> > substitutionGroup="gml:AbstractFeature" />
> > 
> > 
> > 
> > 
> > 
> > 
> > type="xs:string"/>
> > 
> > type="xs:string"/>
> > 
> > type="gml:GeometryPropertyType" minOccurs="1"
> > maxOccurs="1"/> 
> > 
> > type="xs:string"/>
> > 
> > 
> > 
> > 
> > 
> > type="xe:XE_AussichtspunktType"
> > substitutionGroup="xe:XE_OrtVonInteresse"/>
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > If the schema changes above don't make it work, can you give it a
> > try whit this mapping for the geometry (instead of the one you are
> > using)? 
> > 
> > 
> > xe:lageanfasspunkt
> > 
> > lageanfasspunkt
> > 
> > 
> > 
> > If none of the above work, then I'm afraid this will need to be
> > debugged.
> > 
> > Hope it helps,
> > Nuno Oliveira
> > 
> > On Sun, 2020-03-22 at 18:53 +0100, Christine Andrae wrote:
> > > Hello,
> > > 
> > > I have problems trying to serve a complex feature schema via
> > > Application 
> > > Schema Extension with geoserver.
> > > 
> > > All feature attributes are built correctly with exception of the 
> > > geometry column. This results in an empty tag in the GML 3.x-
> > > Output.
> > > 
> > > However, geoserver is able to produce a correct wms output or to
> > > serve 
> > > the geometric data as GeoJSON.
> > > 
> > > After spending days trying all sorts of changes I finally made a 
> > > stackoverflow-request.
> > > 
> > > https://gis.stackexchange.com/questions/354759/geoserver-applicat
> > > ion-schema-gml-output-without-geometry
> > > 
> > > Is anybody able to help?
> > > 
> > > Thank you
> > > 
> > > Christine
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > ___
> > > 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.or
> > > g/comm/userlist-guidelines.html
> > > 
> > > If you want to request a feature or an improvement, also see
> > > this: https://github.com/geoserver/geoserver/wiki/Successfully-re
> > > questing-and-integrating-new-features-and-improvements-in-
> > > GeoServer
> > > 
> > > 
> > > Geoserver-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> >  -- 
> > Regards,
> > Nuno Oliveira
> > ==
> > GeoServer Professional Services from the
> > experts! 
> > Visit http://goo.gl/it488V for more information.
> > ==
> > 
> > Nuno Miguel Carvalho Oliveira
> 

Re: [Geoserver-users] Geoserver Problem with AppSchema GML Output

2020-03-23 Thread Nuno Oliveira
Hi,
if GeoServer is capable of producing the correct GeoJSON output and use
WMS it means that it's the XML encoding that's failing, probably
because some GML type binding is not being recognized.
I did a few changes on your schema, could you give a try using:

http://ge
oserver.org/xe" version = "2.03"
xmlns:xs=" http://www.w3.org/2001/XMLSchema" 
xmlns:xe=" http://geoserver.org/xe"
xmlns:gml=" http://www.opengis.net/gml/3.2;>;
http://www.opengis.net/gml/3.2"
schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd; />








 













If the schema changes above don't make it work, can you give it a try
whit this mapping for the geometry (instead of the one you are using)? 

xe:lageanfasspunkt

lageanfasspunkt


If none of the above work, then I'm afraid this will need to be
debugged.
Hope it helps,
Nuno Oliveira
On Sun, 2020-03-22 at 18:53 +0100, Christine Andrae wrote:
> Hello,
> 
> I have problems trying to serve a complex feature schema via
> Application 
> Schema Extension with geoserver.
> 
> All feature attributes are built correctly with exception of the 
> geometry column. This results in an empty tag in the GML 3.x-Output.
> 
> However, geoserver is able to produce a correct wms output or to
> serve 
> the geometric data as GeoJSON.
> 
> After spending days trying all sorts of changes I finally made a 
> stackoverflow-request.
> 
> https://gis.stackexchange.com/questions/354759/geoserver-application-
> schema-gml-output-without-geometry
> 
> Is anybody able to help?
> 
> Thank you
> 
> Christine
> 
> 
> 
> 
> 
> 
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] GeoServer layers created on mongoDB collection with two geometry fields

2020-03-23 Thread Nuno Oliveira
Hi,
GeoServer will be aware of the two geometries but will only pick one as
the default geometry [1].
Supporting your use case would require extending GeoServer integration
with MongoDB to allow you to pick the default geometry  (when multiple
are available) when configuring the layer.
Such a contribution would be welcome.
Best regards,
Nuno Oliveira
[1] https://github.com/geotools/geotools/blob/8b5d6279474c9dc8962d279a8
84e508ab670ee3c/modules/plugin/mongodb/src/main/java/org/geotools/data/
mongodb/MongoInferredMapper.java#L138-L145
On Mon, 2020-03-23 at 19:15 +0300, Artem Groznykh wrote:
> Hi there.
> 
> Does anybody know is there a possibility in GeoServer to use MongoDB
> Collection with several 2dsphere indexes. When collection's records
> have two geometries in two different fields (geom1 and geom2).
> Indexes are made on them. And I need to create two different
> geoserver layers (one on geom1 and another on geom 2).
> 
> Or where to find (ask) this information?
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Custom dimensions and GWC

2020-03-19 Thread Nuno Oliveira
Great, thx for the feedback!
On Wed, 2020-03-18 at 15:14 +0100, carlo cancellieri wrote:
> Dear list,
>   solved, following this guide https://www.geowebcache.org/docs/curre
> nt/configuration/layers/parameterfilters.html
> 
> Adding the follow snippets now GWC is able to recognize my custom
> dimensions:
>  
>  dim_crop 
>  ACOF 
>   
> 
>   
>  ^|([A-Za-z]{1})$ 
> 
> 
>  dim_technology 
>  A 
>   
> 
>   
>  ^|([A-Za-z]{1})$ 
>    
> 
> 
> Thanks,
> Carlo
> 
> 
> Il giorno mar 17 mar 2020 alle ore 20:07 carlo cancellieri 
> elli...@gmail.com> ha scritto:
> > Dear All,
> >  I'm configuring on a Geoserver 2.16.x an ImageMosaic with 2 custom
> > dimensions (DIM_XXX, DIM_YYY) using geotiffs.
> > 
> > Everything is working quite well but when a tile is requested
> > geoserver is returning always the same tile, even if I change the
> > DIM_XXX parameter value in the getMap request,
> > 
> > I'm not able to see how to properly configure GWC on that layer, it
> > looks like the custom dimensions cannot be used to match a tile
> > request.
> > 
> > In short: Is it possible to use custom dimensions (NOT time and
> > elevation) with GWC? How?
> > 
> > Thank you all,
> > Carlo
> > 
> > -- 
> > Mr. Carlo Cancellieri
> > skype: ccancellieri
> > Twitter: @cancellieric
> > LinkedIn: http://it.linkedin.com/in/ccancellieri/
> > 
> 
> -- 
> Mr. Carlo Cancellieri
> skype: ccancellieri
> Twitter: @cancellieric
> LinkedIn: http://it.linkedin.com/in/ccancellieri/
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Delete files with REST API

2020-03-09 Thread Nuno Oliveira
Hi,
when using the data stores REST end-points you can't [1], but you can
use the resources REST end-points [2] for that.
Best regards,
Nuno Oliveira
[1] https://docs.geoserver.org/latest/en/api/#/latest/en/api/1.0.0/data
stores.yaml
[2] https://docs.geoserver.org/latest/en/api/#/latest/en/api/1.0.0/reso
urce.yaml
On Mon, 2020-03-09 at 09:57 -0300, Fernando Quadro wrote:
> Hi everyone,
> 
> I am working on a project using the GeoServer REST API.
> 
> However, when deleting a datastore it is also necessary to delete the
> shapefiles that are in the data folder of DATA_DIR.
> 
> Is it possible to do this via REST? If so, how?
> 
> Best regards,
> 
> Fernando Quadro
> http://www.fernandoquadro.com.br
> https://www.linkedin.com/in/fernandoquadro/
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Adding/Subtracting time dimention

2020-02-20 Thread Nuno Oliveira
Hi,
if I'm not mistaken existing cql\filtering math functions [1] will
convert the date to a number automatically.
That say, is not clear to me what you intend to do but you may want to
have a look at the following functionalities:
 * 
https://docs.geoserver.org/stable/en/user/styling/sld/extensions/rendering-transform.html
 * 
https://docs.geoserver.org/latest/en/user/styling/sld/tipstricks/transformation-func.html
I doubt they will support your case out of the box, but they can be an
inspiration for a solution.
Best regards,
Nuno Oliveira
[1] https://docs.geoserver.org/latest/en/user/filter/function_reference
.html#math-functions
On Tue, 2020-02-11 at 06:31 -0700, Lucas Cantos wrote:
> Hello,
> 
> I'm searching for a way to make time based arithmetic, specifically
> addition
> and subtraction, from different time dimensions.
> I have a single raster data (NetCDF) with hourly precipitation over 5
> days
> and would like to make something like a rolling sum over different
> periods
> (3h, 12h, 24h and 5d).
> A SDL solution would be preferable, but if anything works, i'd be
> glad.
> 
> I'm sorry if this is already done, but i could not find it so far. 
> 
> Thank you,
> 
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f378639
> 0.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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Time dimension min/max calculations

2020-02-13 Thread Nuno Oliveira
Hi,
for the web UI changes you will need to look around this classes:
src/web/core/src/main/java/org/geoserver/web/data/resource/Dimension
Editor.java
src/web/core/src/main/java/org/geoserver/web/data/resource/Dimension
EditorBase.java
src/web/core/src/main/java/org/geoserver/web/data/resource/ResourceC
onfigurationPage.java
src/web/core/src/main/java/org/geoserver/web/data/resource/ResourceD
imensionsTabPanelInfo.html
src/web/core/src/main/java/org/geoserver/web/data/resource/ResourceD
imensionsTabPanelInfo.java
for dealing whit the values obtained from the UI you will need to look
around this classes:
src/main/src/main/java/org/geoserver/catalog/ResourceInfo.java
src/main/src/main/java/org/geoserver/catalog/util/FeatureTypeDimensi
onsAccessor.java
src/wms/src/main/java/org/geoserver/wms/GetMap.java
src/wms/src/main/java/org/geoserver/wms/WMS.java
src/wms/src/main/java/org/geoserver/wms/capabilities/DimensionHelper
.java
src/wms/src/main/java/org/geoserver/wms/dimension/impl/DimensionDefa
ultValueSelectionStrategyFactoryImpl.java
src/wms/src/main/java/org/geoserver/wms/featureinfo/VectorRenderingL
ayerIdentifier.java

Hope it helps,
Nuno Oliveira
On Mon, 2020-02-10 at 11:33 -0500, Jason Newmoyer wrote:
> I definitely like the idea of the static presentation mode. I can
> create a ticket for this. If you could give a quick pointer to right
> modules I'll need to touch, I can try to fit it in over the next week
> or so. 
> 
> Yes the data is in PostGIS, and the time column is indexed. But I
> think what's happening is that the queries happen in serial (it
> appears this way by observing the postgres log). And we have about a
> dozen layers that have the setting. So 12 layers generates 24 round
> trips to the db for this calculation, in addition to other things it
> has to do generally to produce the capabilities doc. So even though
> each query is sub-second, it adds up. 
> 
> For reference, with the time dimensions turned off, our capabilities
> doc takes about 1s to produce. With them all turned on, about 20-
> 25s. 
> 
> Jason Newmoyer
> Newmoyer Geospatial Solutions
> 843.606.0424
> ja...@newmoyergeospatial.com
> 
>  
> 
> 
> On Tue, Feb 4, 2020 at 6:47 AM Andrea Aime 
> .it> wrote:
> > Hi Jason,
> > do you have the data in the database? And are the dimensions
> > indexed?
> > If so, getting just the min and the max should be two fast queries,
> > direct read from the index.
> > 
> > Cheers
> > Andrea
> > 
> > On Tue, Jan 28, 2020 at 2:40 AM Jason Newmoyer 
> > atial.com> wrote:
> > > I've got some WMS layers, where the underlying tables can be
> > > quite large - 10M+ records. I want to enable the Time Dimension
> > > capability on this layer, but what I'm finding is that GeoServer
> > > will attempt to calculate min/max values when producing the
> > > Capabilities doc.
> > >  
> > > This is true, even when using Continuous Values, Use the
> > > reference value, and setting a static default value. I had hoped
> > > that those settings would make it skip the min/max calculations. 
> > > 
> > > Is there any way to get it to do that? 
> > > 
> > > Thanks in advance.
> > > 
> > > Jason Newmoyer
> > > Newmoyer Geospatial Solutions
> > > 843.606.0424
> > > ja...@newmoyergeospatial.com
> > > 
> > >  
> > > ___
> > > 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.or
> > > g/comm/userlist-guidelines.html
> > > 
> > > If you want to request a feature or an improvement, also see
> > > this: https://github.com/geoserver/geoserver/wiki/Successfully-re
> > > questing-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

Re: [Geoserver-users] GeoServer stop working after some times

2020-02-06 Thread Nuno Oliveira
Hi,
that log doens't provide any information about why GeoServer was
shutdown, it just says that GeoServer start up and then was shut down.
This usually means that something went wrong at the tomcat level (or
whatever container you are using) and GeoServer was shut down.
If you are using Tomcat you should look for a directory in your Tomcat
installation folders that contains something like this:
├── logs
│   ├── catalina.log
│   ├── catalina.out
│   ├── host-manager.log
...
The Catalina files should contain the information you need to
understand what's goign on.
Hope it helps,
Nuno Oliveira
On Thu, 2020-02-06 at 03:30 -0700, kamalasriniv...@gmail.com wrote:
> Hai i am getting the same problem in geo server. it is shutting
> frequently
> with the above same log. can u please help me out. 
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f378639
> 0.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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

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-mai
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] WMS GetCapabilities Java translator error

2020-02-04 Thread Nuno Oliveira
Hi,
please see my answers bellow:
> I always thought all the information needed for the GetCapabilities
> response is already stored in the Workspace as XML files and processing
> a number of XML files to create the GetCapabilites response is what
> GoeServer does to create the response.
This is *almost* the expected behavior, GeoServer will try to cache
meta-data as much as possible, but after each restart the first time a
layer is used GeoServer may ping the data source to obtain  or validate
the meta-data.
Without more details is hard to know what's exactly happening in this
case.
Kind regards,
Nuno Oliveira
On Mon, 2020-02-03 at 17:58 -0500, Nedim Oren wrote:
> just to understand the process...> Is GeoServer going trough all of the 
> individual data sources, making connection to each one of them one by one to 
> verify/gather information for GetCapabilities response?   I always thought 
> all the information needed for the GetCapabilities response is already stored 
> in the Workspace as XML files and processing a number of XML files to create 
> the GetCapabilites response is what GoeServer does to create the response.> 

> On Mon, Feb 3, 2020 at 11:22 AM Nuno Oliveira 
>  wrote:> > Hi,
> > just had a quick look at the log, the capabilities generation fails because 
> > GeoServer fails to obtain the feature type for layer trecho_drenagem_1:
> > > > 2020-01-07 09:23:45,892 ERROR [geoserver.wms] - An error occurred 
> > > > trying to determine if the layer is geometryless
> > java.io.IOException: Schema 'trecho_drenagem_1' does not exist.
> > > > What's not clear to me is why GeoServer ends up on that state, querying 
> > > > a layer that apparently doesn't exists. 
> > > > Hope it helps,
> > Nuno Oliveira
> > > > On Mon, 2020-01-13 at 09:35 -0300, Coordenador GEOBASES wrote:
> > > Hey there ! 
> > > I have a GeoServer running along to GeoNode and when I call WMS service 
> > > with GetMap and GetFeature requests it works, but when I make a request 
> > > for GetCapabilities it returns a java translator error.  
> > > Would somebody help me please?> > >   > > > > > > The issue log in attach.
> > > > > > Thanks
> > > > > > > > > > > > > > > Giuliano Grigolin
> > > Coordenador Técnico
> > > 27-3636.8081
> > > coordena...@geobases.es.gov.br
> > > Av. Marechal Mascarenhas de Moraes, 2.524
> > > Jesus de Nazareth, Vitória - ES
> > > CEP: 29052-015
> > > 
> > > 


> > > Antes de imprimir pense em seu compromisso com o meio ambiente.
> > > As
> > >  informações existentes nesta mensagem e em seus arquivos anexados são 
> > > para uso restrito, sendo seu sigilo protegido por lei. Caso você não 
> > > seja o destinatário, saiba que leitura, divulgação ou cópia são 
> > > proibidas. Neste caso, favor notificar o remetente e apagar as 
> > > informações. O uso impróprio destas informações será tratado conforme as
> > >  normas da empresa e a legislação em vigor. 
> > > ___
> > > 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,
> > Nuno Oliveira
> > ==
> > GeoServer Professional Services from the
> > experts! 
> > Visit http://goo.gl/it488V for more information.
> >  for more information.
> > ==
> > 
> > Nuno Miguel Carvalho Oliveira
> > @nmcoliveira
> > Software Engineer
> > 
> > GeoSolutions S.A.S.
> > Via di Montramito 3/A
> > 55054  Massarosa (LU)
> > Italy
> > phone: +39 0584 962313
> > fax:      +39 0584 1660272
> > 
> > 
http://www.geo-solutions.it> > 
http://twitter.com/geosolutions_it
> > 
> > 
> > 

Re: [Geoserver-users] WMS GetCapabilities Java translator error

2020-02-03 Thread Nuno Oliveira
Hi,
just had a quick look at the log, the capabilities generation fails
because GeoServer fails to obtain the feature type for layer trecho_dre
nagem_1:
2020-01-07 09:23:45,892 ERROR [geoserver.wms] - An error occurred
trying to determine if the layer is geometryless
java.io.IOException: Schema 'trecho_drenagem_1' does not exist.
What's not clear to me is why GeoServer ends up on that state, querying
a layer that apparently doesn't exists. 
Hope it helps,
Nuno Oliveira
On Mon, 2020-01-13 at 09:35 -0300, Coordenador GEOBASES wrote:
> Hey there ! 
> I have a GeoServer running along to GeoNode and when I call WMS
> service with GetMap and GetFeature requests it works, but when I make
> a request for GetCapabilities it returns a java translator error.  
> Would somebody help me please?  
> 
> The issue log in attach.
> 
> Thanks
> 
> 
> 
> 
> 
> Giuliano Grigolin
> Coordenador Técnico
> 27-3636.8081
> coordena...@geobases.es.gov.br
> Av. Marechal Mascarenhas de Moraes, 2.524
> Jesus de Nazareth, Vitória - ES
> CEP: 29052-015
> 
> 
> 
> Antes de imprimir pense em seu compromisso com o meio ambiente.
> As informações existentes nesta mensagem e em seus arquivos anexados
> são para uso restrito, sendo seu sigilo protegido por lei. Caso você
> não seja o destinatário, saiba que leitura, divulgação ou cópia são
> proibidas. Neste caso, favor notificar o remetente e apagar as
> informações. O uso impróprio destas informações será tratado conforme
> as normas da empresa e a legislação em vigor.
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Time dimension min/max calculations

2020-02-03 Thread Nuno Oliveira
Hi,
GeoServer needs to know the min and max values to build the final
interval (independently of the selected presentation method), even for
the continuous mode it needs to know them (although I may be missing
something): 

 2019-08-31T23:00:00.000Z/2019-08-31T23:50:00.000Z/PT1S
       
... the referenced value has only an effect on the default value, so
the answer to your question is: no, there is no currently to skip the
min and max computation.
That say, thinking out loud, I see the following options:
 * Allow the admin to enter the min and max manually.
 * Allow the admin to enter the full interval manually, so a new static 
presentation mode.
 * Both of the above :-)​
A contribution for this is welcome. 
Kind regards,
Nuno Oliveira
On Mon, 2020-01-27 at 20:31 -0500, Jason Newmoyer wrote:
> I've got some WMS layers, where the underlying tables can be quite
> large - 10M+ records. I want to enable the Time Dimension capability
> on this layer, but what I'm finding is that GeoServer will attempt to
> calculate min/max values when producing the Capabilities doc.
>  
> This is true, even when using Continuous Values, Use the reference
> value, and setting a static default value. I had hoped that those
> settings would make it skip the min/max calculations. 
> 
> Is there any way to get it to do that? 
> 
> Thanks in advance.
> 
> Jason Newmoyer
> Newmoyer Geospatial Solutions
> 843.606.0424
> ja...@newmoyergeospatial.com
> 
>  
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] ERROR: zero-length delimited identifier at or near """"

2020-02-03 Thread Nuno Oliveira
Dear Klaus,
in this case it would be important to know which action (creating
layer, WMS request, etc ...) resulted in the shared exception.
Looking at the SQL query:
> WHERE "insp_transportnetwork"."" && ST_GeomFromText('POLYGON
((13.48338070627539 47.23134025656, 
> 13.48338070627539 47.38967827988002, 13.635281852129754
47.38967827988002, 13.635281852129754 47.23134025656, 
> 13.48338070627539 47.23134025656))', null)
... indeed its very strange and looks like a bug to me, that say its
not clear were the polygon comes from, from a filter?
Kind regards,
Nuno Oliveira
On Tue, 2020-01-21 at 12:46 +, Gäbler Klaus wrote:
> Dear list users,
> we are currently testing GS 2.16.1, based on CentOS 7.7, Tomcat
> 8.5.50, OpenJDK 1.8.0 and PostgreSQL 11.
> When running an AppSchema based on a view in PostgreSQL we
> encountered the error below.
> Neither the underlying view in the DB nor the resulting app schema
> feature has a geometry column involved.
>  
> The offending SQL part from GS of the request is
> WHERE  "insp_transportnetwork"."" && St_geomfromtext(
>  
> The same AppSchema is working nicely in GS 2.15.0.
> Any ideas how to avoid this error?
> Thanks in advance!
> Klaus
>  
>  
> 2020-01-21 11:21:31,869 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
> 2020-01-21 11:21:31,870 DEBUG [org.geotools.data.jdbc] - exporting
> PropertyName
> 2020-01-21 11:21:31,871 DEBUG [org.geotools.data.jdbc] - exporting
> LiteralExpression
> 2020-01-21 11:21:31,871 DEBUG [org.geotools.data.util] -
> CRSConverterFactory can be applied from Strings to CRS  only.
> 2020-01-21 11:21:31,872 DEBUG [org.geotools.data.util] -
> InterpolationConverterFactory can be applied from Strings to
> Interpolation only.
> 2020-01-21 11:21:31,873 DEBUG [org.geotools.jdbc] - SELECT
> "tna"."insp_transportnetwork"."statename","tna"."insp_transportnetwor
> k"."geodatenstelle","tna"."insp_transportnetwork"."ds_md_fileidentifi
> er","tna"."insp_transportnetwork"."annex_theme","tna"."insp_transport
> network"."featuretype","tna"."insp_transportnetwork"."localid","tna".
> "insp_transportnetwork"."namespace_base","tna"."insp_transportnetwork
> "."gml_identifier_codespace","tna"."insp_transportnetwork"."gml_id","
> tna"."insp_transportnetwork"."gml_identifier","tna"."insp_transportne
> twork"."inspireid_namespace","tna"."insp_transportnetwork"."beginlife
> spanversion","tna"."insp_transportnetwork"."geographicname","tna"."in
> sp_transportnetwork"."element_href","tna"."insp_transportnetwork"."ty
> peoftransport" FROM "tna"."insp_transportnetwork" INNER JOIN (SELECT
> DISTINCT "tna"."insp_transportnetwork"."gml_id" FROM
> "tna"."insp_transportnetwork" WHERE "insp_transportnetwork"."" &&
> ST_GeomFromText('POLYGON ((13.48338070627539 47.23134025656,
> 13.48338070627539 47.38967827988002, 13.635281852129754
> 47.38967827988002, 13.635281852129754 47.23134025656,
> 13.48338070627539 47.23134025656))', null) ORDER BY
> "tna"."insp_transportnetwork"."gml_id" ASC LIMIT 3)
> "insp_transportnetwor_1" ON ("insp_transportnetwork"."gml_id" =
> "insp_transportnetwor_1"."gml_id" )  ORDER BY
> "tna"."insp_transportnetwork"."gml_id" ASC
> 2020-01-21 11:21:31,876 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
> 2020-01-21 11:21:31,877 INFO [org.vfny.geoserver.servlets] -
> OutputStream was successfully aborted.
> 2020-01-21 11:21:31,878 ERROR [org.geoserver.ows] -
> java.lang.RuntimeException: java.io.IOException
> at
> org.geotools.data.store.ContentFeatureCollection.features(ContentFeat
> ureCollection.java:165)
> at
> org.geotools.data.store.ContentFeatureCollection.features(ContentFeat
> ureCollection.java:52)
> at
> org.geotools.data.complex.DataAccessMappingFeatureIterator.initialise
> SourceFeatures(DataAccessMappingFeatureIterator.java:492)
> at
> org.geotools.data.complex.AbstractMappingFeatureIterator.(Abstr
> actMappingFeatureIterator.java:266)
> at
> org.geotools.data.complex.DataAccessMappingFeatureIterator.(Dat
> aAccessMappingFeature

Re: [Geoserver-users] nullPointerException for 2.16 GeoJSON outputs where a Borehole has a LogElement feature chained.

2020-01-21 Thread Nuno Oliveira
Great, thx for the feedback!
On Tue, 2020-01-14 at 01:50 +, Michael, Ursula (DEM) wrote:
> Hi Nuno,
>  
> Thanks for looking into this, really appreciate it. I’ve created a
> ticket – https://osgeo-org.atlassian.net/browse/GEOS-9452
> Seeing you response I just had a bit of an ah ha moment. I was a bit
> confused as to why the geom was null as the borehole feature had a
> geometry so did a bit more investigating. It was the logElement 1D
> shape geometry. If I add the mapping for the 1D shape the service
> works, which is awesome. The downholeDrillingDetails interval
> property also has a 1D interval geometry, but the encoder is not
> tripping up on the absence of this one – possibly because the shape
> element in the schema doc as a nillable=”true” tag? This got the
> service working again, and is hopefully helpful for others who come
> across the same thing.
>  
> Thanks again!
> Ursula
>  
> From: Nuno Oliveira  
> Sent: Monday, 13 January 2020 8:04 PM
> To: Michael, Ursula (DEM) ; Geoserver-users
> @lists.sourceforge.net
> Subject: Re: [Geoserver-users] nullPointerException for 2.16 GeoJSON
> outputs where a Borehole has a LogElement feature chained.
>  
> Hi,
> this looks like a bug to me, looks like the GeoJSON encoder is
> failing to encode the geometry because it is NULL:
> https://github.com/geoserver/geoserver/blob/ac6348915d556a49c1fcf2449
> 4bab68b0b250f0f/src/wfs/src/main/java/org/geoserver/wfs/json/ComplexG
> eoJsonWriter.java#L174-L176
>  
> Could you open a JIRA ticket for this?
>  
> Anyway,the complex GeoJSON encoder debug logging needs to be
> improved, currently is quite difficult to understand where and why it
> failed.
>  
> Kind regards,
> Nuno Olivera
>  
> On Fri, 2020-01-10 at 08:28 +, Michael, Ursula (DEM) wrote:
> Hi Geoserver Users,
>  
> I’m upgrading to 2.16, and noticed our complex GeoSciML 4.1 borehole
> service is now throwing a nullPointerExeption for any boreholes that
> have a BoreholeInterval property for GeoJSON outputs only.
> I’ve looked through the logs, reviewed the mapping files and the
> database, and I can’t see what the issue might be. I was hoping
> another mailing list user might already know what the issue is or
> could help determine if it’s a bug.
>  
> The exception only occurs if the GeoJSON output includes a Borehole
> with a feature chained gsmlbh:logElement/gsmlbh:BoreholeInterval
> property. GML is outputting with no issues, Boreholes encoded as
> GeoJSON without logElements are also ok, and it only seems to be an
> issue in v2.16.
>  
> Below is an extract from the log
>  
> Thank you in advance!
>  
> Kind Regards,
> Ursula
>  
> 2020-01-10 18:02:00,157 TRACE [complex.filter] - ENTRY
> FeatureImpl:Borehole
> id=gsml.borehole.58>=[ComplexAttributeImpl:identifier
> tyType>=[AttributeImpl:simpleContent=https://nams-nvcl.pirsa.
> sa.gov.au/resource/feature/gssa/borehole/58],
> ComplexAttributeImpl:name=[],
> ComplexAttributeImpl:shape=[GeometryAttributeImpl:LineStri
> ng
>   DATUM["Geocentric Datum of Australia 1994",
>     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","6283"]],
>   PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
>   UNIT["degree", 0.017453292519943295],
>   AXIS["Geodetic latitude", NORTH],
>   AXIS["Geodetic longitude", EAST],
>   AUTHORITY["EPSG","4283"]]>=null],
> ComplexAttributeImpl:positionalAccuracy
> yType>=[ComplexAttributeImpl:DQ_AbsoluteExternalPositionalAccuracy
> _AbsoluteExternalPositionalAccuracy_Type>=[ComplexAttributeImpl:nameO
> fMeasure=[AttributeImpl:CharacterString
> =horizontal accuracy],
> ComplexAttributeImpl:result=[ComplexAttribute
> Impl:DQ_QuantitativeResult=[ComplexAttrib
> uteImpl:valueUnit=[],
> ComplexAttributeImpl:value=[ComplexAttributeImpl
> :Record=[]],
> ComplexAttributeImpl:positionalAccuracy
> yType>=[ComplexAttributeImpl:DQ_AbsoluteExternalPositionalAccuracy
> _AbsoluteExternalPositionalAccuracy_Type>=[ComplexAttributeImpl:nameO
> fMeasure=[AttributeImpl:CharacterString
> =vertical accuracy],
> ComplexAttributeImpl:result=[ComplexAttribute
> Impl:DQ_QuantitativeResult=[ComplexAttrib
> uteImpl:valueUnit=[],
> ComplexAttributeImpl:value=[ComplexAttributeImpl
> :Record=[]],
> ComplexAttributeImpl:referenceLocation=[F
> eatureImpl:OriginPosition=[GeometryAttributeImpl:
> location
> crs=GEOGCS["GDA94",
>   DATUM["Geocentric Datum of Australia 1994",
&

Re: [Geoserver-users] Admin can configure an empty title for WMS service

2020-01-21 Thread Nuno Oliveira
Hi Jukka,
that would make sense.
Best regards,
Nuno Oliveira
On Tue, 2020-01-14 at 07:03 +, Rahkonen Jukka (MML) wrote:
> Hi,
>  
> It seems to be possible to set an empty title in the WMS
> configuration page. GetCapabilities will show then
> 
> WMS
> 
>  
> According to WMS 1.3.0 standard Title is mandatory
> 7.2.4.3 General service metadata
> The first part of the service metadata is a  element
> providing general metadata for the server as a whole.
> It shall include a Name, Title, and Online Resource URL.
>  
> Unlike Title, OnlineResource appears in GetCapabilities even if admin
> does not give it. Shouldn’t Geoserver do the same with title and use
> for example “WMS” as default title?
> -Jukka Rahkonen-
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Unknown Namespace while trying to access WFS

2020-01-13 Thread Nuno Oliveira
It depends on the client you are using, for example with CURL something
like this should work (-u admin:geoserver):
curl -v -u admin:geoserver -XGET -H "Accept: text/xml"
  http://localhost:8080/geoserver/rest/about/version.xml
On Mon, 2020-01-13 at 16:51 +0700, Muhammad Iqnaul Haq wrote:
> Hi Nuno,
> 
> Thank you for your reply, yes it turns out the issue was caused by
> authentication for the workspace. Any suggestions on put basic https
> auth in the header request?
> 
> On Mon, Jan 13, 2020, 4:23 PM Nuno Oliveira 
> ons.it> wrote:
> > Hi,
> > yes could be authentication related, it could also be that you are
> > targeting a virtual service, without more details is hard to say.
> > 
> > On Sun, 2020-01-12 at 21:35 +0700, Muhammad Iqnaul Haq wrote:
> > > Dear all,
> > >  
> > > I have issue when try to access layers from Remote Geoserver WFS
> > > using geoext and openlayers. It gave me  an error message :
> > > ows:Exception exceptionCode="InvalidParameterValue"
> > > locator="namespace">
> > >     Unknown namespace
> > > [MapTab_helge]
> > >  
> > > I can assure that I the workspace name and layers is correct. The
> > > geoserver(2.14) was setup by different person, then I try to
> > > access layers in my local geoserver using the same script and
> > > it’s working normal. Is there any configuration or authentication
> > > method which I should take a look?
> > >  
> > > --
> > > Thank You
> > > Regards
> > > 
> > > Muhammad Iqnaul
> > > GIS, WebGIS, and Remote Sensing Specialist based in Indonesia
> > > 
> > > Sent from Mail for Windows 10
> > >  
> > > ___
> > > 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.or
> > > g/comm/userlist-guidelines.html
> > > 
> > > If you want to request a feature or an improvement, also see
> > > this: https://github.com/geoserver/geoserver/wiki/Successfully-re
> > > questing-and-integrating-new-features-and-improvements-in-
> > > GeoServer
> > > 
> > > 
> > > Geoserver-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> > -- 
> > Regards,
> > Nuno Oliveira
> > ==
> > GeoServer Professional Services from the
> > experts! 
> > Visit http://goo.gl/it488V for more information.
> > ==
> > 
> > Nuno Miguel Carvalho Oliveira
> > @nmcoliveira
> > Software Engineer
> > 
> > GeoSolutions S.A.S.
> > Via di Montramito 3/A
> > 55054  Massarosa (LU)
> > Italy
> > phone: +39 0584 962313
> > fax:      +39 0584 1660272
> > 
> > http://www.geo-solutions.it
> > http://twitter.com/geosolutions_it
> > 
> > ---
> > 
> > Con riferimento alla normativa sul trattamento dei dati 
> > personali (Reg. UE 2016/679 - Regolamento generale sulla 
> > protezione dei dati “GDPR”), si precisa che ogni 
> > circostanza inerente alla presente email (il suo contenuto, 
> > gli eventuali allegati, etc.) è un dato la cui conoscenza 
> > è riservata al/i solo/i destinatario/i indicati dallo 
> > scrivente. Se il messaggio Le è giunto per errore, è 
> > tenuta/o a cancellarlo, ogni altra operazione è illecita. 
> > Le sarei comunque grato se potesse darmene notizia.
> > 
> > This email is intended only for the person or entity to 
> > which it is addressed and may contain information that 
> > is privileged, confidential or otherwise protected from 
> > disclosure. We remind that - as provided by European 
> > Regulation 2016/679 “GDPR” - copying, dissemination or 
> > use of this e-mail or the information herein by anyone 
> > other than the intended recipient is prohibited. If you 
> > have received this email by mistake, please notify 
> > us immediately by telephone or e-mail.
> > 
-- 
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

Re: [Geoserver-users] nullPointerException for 2.16 GeoJSON outputs where a Borehole has a LogElement feature chained.

2020-01-13 Thread Nuno Oliveira
lter.
> java:46)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:193)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:166)
>     at
> org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:4
> 2)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:193)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:166)
>     at
> org.springframework.web.filter.CharacterEncodingFilter.doFilterIntern
> al(CharacterEncodingFilter.java:200)
>     at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerR
> equestFilter.java:107)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:193)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:166)
>     at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:200)
>     at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:96)
>     at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
> torBase.java:490)
>     at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:139)
>     at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> ava:92)
>     at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAcce
> ssLogValve.java:678)
>     at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> ve.java:74)
>     at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
> a:343)
>     at
> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java
> :408)
>     at
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLig
> ht.java:66)
>     at
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(Abstract
> Protocol.java:836)
>     at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpo
> int.java:1747)
>     at
> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBas
> e.java:49)
>     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
> java:1142)
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:617)
>     at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskTh
> read.java:61)
>     at java.lang.Thread.run(Thread.java:745)
>  
>  
>  
>  
>  ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Unknown Namespace while trying to access WFS

2020-01-13 Thread Nuno Oliveira
Hi,
yes could be authentication related, it could also be that you are
targeting a virtual service, without more details is hard to say.
On Sun, 2020-01-12 at 21:35 +0700, Muhammad Iqnaul Haq wrote:
> Dear all,
>  
> I have issue when try to access layers from Remote Geoserver WFS
> using geoext and openlayers. It gave me  an error message :
> ows:Exception exceptionCode="InvalidParameterValue"
> locator="namespace">
>     Unknown namespace
> [MapTab_helge]
>  
> I can assure that I the workspace name and layers is correct. The
> geoserver(2.14) was setup by different person, then I try to access
> layers in my local geoserver using the same script and it’s working
> normal. Is there any configuration or authentication method which I
> should take a look?
>  
> --
> Thank You
> Regards
> 
> Muhammad Iqnaul
> GIS, WebGIS, and Remote Sensing Specialist based in Indonesia
> 
> Sent from Mail for Windows 10
>  
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] App-Schema GeoJSON output ignores multiple properties of the same type

2020-01-08 Thread Nuno Oliveira
Hi,
ouch, looks like that use case is currently ignored by the complex
GeoJSON encoder, for reference:
https://github.com/geoserver/geoserver/blob/master/src/wfs/src/main/jav
a/org/geoserver/wfs/json/ComplexGeoJsonWriter.java#L388-L430
That say, since in JSON we cannot have multiple properties with the
same name I guess we could encode all the names and codes as an array
of objects, other suggestions are welcome :)
A pull request with this enhancement is welcome, otherwise you may want
to check the commercial support page.
Kind regards,
Nuno Oliveira
On Wed, 2020-01-08 at 05:51 +, Michael, Ursula (DEM) wrote:
> Hi,
>  
> Apologies if this one has already been identified.
> Where multiple properties of the same type have been encoded using
> the app-schema syntax below, only the last property is included in
> the GeoJSON output regardless of the number of times an attribute is
> mapped. GML outputs return all properties as expected.
>  
> https://docs.geoserver.org/latest/en/user/data/app-schema/feature-cha
> ining.html#configure-nesting-on-the-nested-feature-type
>  
> GeologicUnit has 3 gml:name properties in the mapping file, so each
> has a code space to clarify them:
> 
>   gml:name[1]
>   
>     ABBREVIATION
>   
>   
>     codeSpace
>     'urn:cgi:classifierScheme:GSV:GeologicalUnitCode'
>   
> 
> 
>   gml:name[2]
>   
>     NAME
>   
>   
>     codeSpace
>     'urn:cgi:classifierScheme:GSV:GeologicalUnitName'
>   
> 
> 
>   gml:name[3]
>   
>     id
>   
>   
>     codeSpace
>    
> 'urn:cgi:classifierScheme:GSV:MappedFeatureReference'
>   
> 
>  
>  
> I am currently using Geoserver 2.16.1, however this also occurred in
> versions 2.14 and 2.15.
> Is this a known limitation, or plans to handle this syntax for
> GeoJSON outputs in the future?
> I’d love to get this working correctly, if anyone has some advice or
> can shed some light on why it’s not working for json outputs only it
> would be greatly appreciated.
>  
> Kind Regards,
> Ursula
>  
>  ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Duplicate element values in app-schema

2019-12-05 Thread Nuno Oliveira
Hi,
if you link on the root element the service name translations by the
foreign key from the table you shared (I guess the ids e4217f80-90b2-
45db-b5fe-c0b604449871, ...) this should work.
You may want to select GEOTOOLS_DEVELOPPER log level and see the
queries that are being send to the database by GEOSERVER.
The values not showing up can be caused by several things:
 * an issue with the database model
 * the database you are using, I guess is PostgreSQL
 * the App-Schema mappings
 * the GML target schema
 * ... an actual bug in App-Schema?
Hope it helps,
Nuno Oliveira
On Wed, 2019-12-04 at 00:50 -0700, lge.geo wrote:
> Hi, many thanks for answer. I have checked links you included, but i
> am afraid It does not help with my problem. I am able to join the
> nested table, but the duplicated values are not show. For example, in
> the output is just one element: service name 2 while I am expecting:
> service name 2 service name 2 service name 2 I suppose that it is
> caused by the same element value (service name 2), even if element
> attributes are different (cz, en, de). Thanks for any idea how to
> solve it. Lange 
> Sent from the GeoServer - User mailing list archive at Nabble.com.
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Duplicate element values in app-schema

2019-12-02 Thread Nuno Oliveira
Hi,
you have to ways of doing this, the first one is using the non
normalized view you have, for that you will need to add the element true to your feature type mapping  [1]
[2].

The other approach is to use normalized tables [3].
Hope it helps,
Nuno Oliveira

[1] https://docs.geoserver.org/latest/en/user/data/app-schema/mapping-f
ile.html#typemappings-and-featuretypemapping
[2] https://docs.geoserver.org/latest/en/user/data/app-schema/mapping-f
ile.html#denormalised-sources
[3] https://docs.geoserver.org/latest/en/user/data/app-schema/mapping-f
ile.html#attributes-with-cardinality-1-n
On Mon, 2019-12-02 at 02:42 -0700, lge.geo wrote:
> Hi all, i have have problem with missing "duplicated" elements in the
> wfs
> output.
> 
> I am using postgres db, where I have table "ServiceName" ("ServiceId"
> uuid,
> "LanguageCode" text, "Name" text);
> 
> with data:
> e4217f80-90b2-45db-b5fe-c0b604449871  cz  service name 1
> e4217f80-90b2-45db-b5fe-c0b604449871  en  service name 1
> e4217f80-90b2-45db-b5fe-c0b604449871  de  service name 1
> in de
> 3c5296ef-60a4-46bc-afcb-c8248ca522ea  cz  service name 2
> 3c5296ef-60a4-46bc-afcb-c8248ca522ea  en  service name 2
> 3c5296ef-60a4-46bc-afcb-c8248ca522ea  de  service name 2
> de657585-ac43-4a8e-b7e2-409e108f148b  cz  service name 3
> in cz
> de657585-ac43-4a8e-b7e2-409e108f148b  en  service name 3
> in en
> de657585-ac43-4a8e-b7e2-409e108f148b  de  service name 3
> in de
> 
> As you can see, for the service with id 3c5296ef-60a4-46bc-afcb-
> c8248ca522ea
> the "name" value is the same for all the languages (value "service
> name 2").
> 
> I have created layer "serviceNames" via app-schema. So, i have:
> 
> definition of languageNameType (xsd):
> 
> 
>   
> 
> minOccurs="1"
> maxOccurs="unbounded"/>
>   
> 
> 
> 
>   
> 
>     
>   
>   
> 
> 
> definition of serviceName element:
> 
> 
> 
> 
> in definition of data store i have:
> 
> 
> 
>   lge:serviceName
>   ServiceId
> 
> 
> 
> 
>   lge:name
> 
>   Name
> 
> 
>   languageCode
>   LanguageCode
> 
> true
> 
> 
> 
> 
>   FEATURE_LINK
> 
>     ServiceId
>   
> 
> 
> When i call wfs request for layer serviceName, in the output is:
> 
> 
>   service name 2
> 
> 
> but i need to see names for all languages (even if name is the same),
> so i
> need:
> 
> 
> service name 2
> service name 2
> service name 2
> 
> 
> 
> Is there any way how to achieve this?
> 
> Many thanks for any advice.
> Lange
> 
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f378639
> 0.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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

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 E

Re: [Geoserver-users] LegendURL for layergroups

2019-11-29 Thread Nuno Oliveira
Hi,
I can't really comment on GeoServer 2.13.1 because that's quite an old
version.
On recent versions of GeoServer:
 * is possible to send a GetLegendGraphic request against a (normal) layer 
group and it will work
 * but the legend URL is not wrote on the capabilities document [1], although 
this is something that could be fixed
Hope it helps,
Nuno Oliveira
[1] https://github.com/geoserver/geoserver/blob/60776167a8d0e53ac68201f
491e82c056c2993e1/src/wms/src/main/java/org/geoserver/wms/capabilities/
GetCapabilitiesTransformer.java#L1211-L1323
On Fri, 2019-11-22 at 14:13 +0100, Fanny Lecuy wrote:
> Hi everyone,
> 
> Do you know if it is possible to somehow add a LegendURL in the
> GetCapabilities of layergroups? 
> I am using GS 2.13.1. 
> 
> Thank you,
> Fanny
> 
> 
> 
> 
> Fanny Lecuy
> Ingénieur diffusion données géospatiales
> 
> Portail géographique : https://data.shom.fr
> Espace de diffusion : https://diffusion.shom.fr
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Error on jms plugin creating slds styles within slave workspaces

2019-11-29 Thread Nuno Oliveira
Hi,
indeed looks like a (Windows specific) bug to me, could you open a JIRA
ticket?
Thank you,
Nuno Oliveira
On Fri, 2019-11-29 at 08:34 +0100, Rubén Illana wrote:
> Hi all,
> 
> we are testing jms plugin (geoserver-2.16-SNAPSHOT-jms-cluster-
> plugin) on a Geoserver 2.16.0 (installed on Windows 10) and we are
> facing issues when we are trying to create styles inside existing
> workspaces. 
> 
> There's no problem with master node but there's no sld replica on
> slaves (if sld definition is on the root style folder works fine). It
> seems a path transformation problem but we are not sure.
> 
> 
> Thanks in advance.
> 
> 
> 29 nov 08:18:48 ERROR [cluster.server] - Contains invalid
> \workspaces\cite\styles\Polygon_sample.sld path:
> 29 nov 08:18:48 ERROR [geoserver.web] - Error occurred saving the
> style
> org.geoserver.catalog.CatalogException:
> java.lang.IllegalArgumentException: Contains invalid
> \workspaces\cite\styles\Polygon_sample.sld path:
>     at
> org.geoserver.cluster.server.JMSCatalogListener.handleAddEvent(JMSCat
> alogListener.java:128)
>     at
> org.geoserver.catalog.impl.CatalogImpl.event(CatalogImpl.java:1709)
>     at
> org.geoserver.catalog.impl.CatalogImpl.fireAdded(CatalogImpl.java:167
> 0)
>     at
> org.geoserver.catalog.impl.CatalogImpl.added(CatalogImpl.java:1659)
>     at
> org.geoserver.catalog.impl.CatalogImpl.add(CatalogImpl.java:1492)
>     at
> org.geoserver.security.SecureCatalogImpl.add(SecureCatalogImpl.java:1
> 254)
>     at
> org.geoserver.catalog.impl.AbstractFilteredCatalog.add(AbstractFilter
> edCatalog.java:554)
>     at
> org.geoserver.catalog.impl.AbstractCatalogDecorator.add(AbstractCatal
> ogDecorator.java:473)
>     at
> org.geoserver.wms.web.data.StyleNewPage.onStyleFormSubmit(StyleNewPag
> e.java:78)
>     at
> org.geoserver.wms.web.data.AbstractStylePage$1.onSubmit(AbstractStyle
> Page.java:363)
>     at
> org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1315
> )
>     at
> org.apache.wicket.markup.html.form.Form.process(Form.java:976)
>     at
> org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:797
> )
>     at
> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSu
> bmitBehavior.java:171)
>     at
> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.ja
> va:155)
>     at
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(Abstract
> DefaultAjaxBehavior.java:601)
>     at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown
> Source)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:498)
>     at
> org.apache.wicket.RequestListenerInterface.internalInvoke(RequestList
> enerInterface.java:258)
>     at
> org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInte
> rface.java:241)
>     at
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandle
> r.invokeListener(ListenerInterfaceRequestHandler.java:248)
>     at
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandle
> r.respond(ListenerInterfaceRequestHandler.java:234)
>     at
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(
> RequestCycle.java:895)
>     at
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerS
> tack.java:64)
>     at
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.jav
> a:265)
>     at
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCy
> cle.java:222)
>     at
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(
> RequestCycle.java:293)
>     at
> org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(Wick
> etFilter.java:261)
>     at
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFil
> ter.java:203)
>     at
> org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.ja
> va:159)
>     at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
>     at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
>     at
> org.springframework.web.servlet.mvc.ServletWrappingController.handleR
> equestInternal(ServletWrappingController.java:165)
>     at
> org.springframework.web.servlet.mvc.AbstractController.handleRequest(
> AbstractController.java:177)
>     at
> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.ha
> ndle(SimpleControllerHandlerAdapter.java:52)
>     at
> org.sprin

Re: [Geoserver-users] Feature chaining / app-schema

2019-10-14 Thread Nuno Oliveira
Hi,
The structured produced by App-Schema is dictated by the target GML
schema, the pattern you see:
> 
>  I understand that it is a valid xsd file, but it is possible to include
> some
> better description of elements?
Describe feature type for complex features will reference whatever XSD
schema you declared on the App-Schema mappings file.
That say, those declared schema should use a valid URL, for example:
> http://www.w3.org/2001/XMLSchema;
> xmlns:lge="http://test/lge;
> xmlns:ptv="http://palvelutietovaranto.suomi.fi/ptv;
> elementFormDefault="qualified" targetNamespace="http://test/lge;>
> 
> schemaLocation="file:/D:/geoServer/2.15.2/data_dir/workspaces/lge/xsd/s
> chema.xsd"/>
> 
... unless the invoker has the schema in file:/D:/geoServer/2.15.2/data
_dir/workspaces/lge/xsd/schema.xsd that's not a valid XSD schema :)
Regarding:

> GetFeature has problem with geometry type, the element is empty:
You probably need to define the default geometry explicitly [2], check
the defaultGeometry option.
Hope it helps,
Nuno Oliveira
[1] http://portal.opengeospatial.org/files/?artifact_id=20509
[2] https://docs.geoserver.org/stable/en/user/data/app-schema/mapping-f
ile.html#typemappings-and-featuretypemapping
On Sun, 2019-10-06 at 13:12 -0700, lge.geo wrote:
> Hi, I'm trying to create a "app-schema" layer, but have some unclear issues. 
> 
> As a data source I'm using Postgre, where I have defined three tables:
> "Service" ("Id" uuid, "Code" text);
> "ServiceAddress" ("Id" uuid, "ServiceId" uuid, "streetAddress" text,
> "Location" geometry(POINT, 4326));
> "ServiceDescription" ("Id" uuid, "ServiceId" uuid, "languageCode" text,
> "Description" text);
> 
> I have a data source "serviceDescription", mapping is defined:
> 
> 
> datastore
> ServiceDescription
> lge:serviceDescription
> true
> 
> 
> lge:serviceDescription
> Id
> 
> 
> lge:description
> 
> Description
> 
> 
> languageCode
> LanguageCode
> 
> true
> 
> 
> FEATURE_LINK
> 
> ServiceId
> 
> 
> 
> 
> 
> Then i have data source "service", where is defined chaining to
> "serviceDescription":
> 
> 
> datastore
> viewService
> lge:service
> true
> 
> 
> lge:service
> ServiceId
> 
> 
> lge:code
> 
> Code
> 
> true
> 
> 
> lge:address
> 
> StreetAddress
> 
> true
> 
> 
>
> lge:descriptions/lge:description
>  
> ServiceId
> lge:serviceDescription
> FEATURE_LINK
> 
> true
> 
> 
> lge:location4326
> 
> Location4326
> 
>  true
> 
> 
> 
> 
> Test call of GetFeature works fine, result is like:
> 
> 
> service2
> s2 - street address
> 
> 
>  gml:id="479d6a3d-1e9f-4eaf-bb44-ea08bb770998">
> service 2 - description
> in cz
> 
> 
> 
>  gml:id="dd914bb0-007e-4fea-a337-ff23d078d793">
> service 2 - description
> in de
> 
> 
> 
>  gml:id="e6294093-b140-4d42-a800-6eda02b7db8a">
> service 2 - description
> in en
> 
> 
> 
> 
>  srsName="http://www.opengis.net/gml/srs/epsg.xml#4326;>
> ">
> 50.0413 14.4275
> 
> 
> 
> ...
> 
> BUT .. Is it possible to simplify the result somehow, eg. to reduce element
> , so nesting of description would be "easier":
> 
> 
> 
> service 2 - description in
> cz
> 
> 
> 
> service 2 - description in
> de
>  
> ...
> 
> Or even better (since glm:ids are not important for me, but i do understand
> that it will not work without a linking field):
> 
> 
> service 2 - description in
> cz
&g

Re: [Geoserver-users] Problem with XML Filters?

2019-10-14 Thread Nuno Oliveira
Hi,
I don't remember last time I used WFS 1.0.0, with a first quick look I
noticed that there is an extra comma in the bbox coordinates:

  geometry
  http://www.opengis.net/gml; srsName="urn:x-
ogc:def:crs:EPSG:102113">
-13632748.557201,4455827.325574---HERE--->,-135119
78.052511,4513995.904099
  

... should be (unless is some WFS 1.0.0 specific thing):

  geometry
  http://www.opengis.net/gml; srsName="urn:x-
ogc:def:crs:EPSG:102113">
-13632748.557201,4455827.325574
-13511978.052511,4513995.904099
  

That say, to be sure of what's going on, I suggest that you select GEOT
OOLS_DEVELOPER_LOGGING [1] log profile and check the query that's
actually produced by GeoServer.
Hope it helps,
Nuno Oliveira
[1] https://docs.geoserver.org/latest/en/user/configuration/globalsetti
ngs.html#logging-profile
On Wed, 2019-10-09 at 19:25 -0700, Deirdre H wrote:
> Hi, folks ...
> 
> I have an situation where I need a WMS query and a WFS query to match
> each other, with both the right bbox and filter (the WFS query needs
> to return the same set of features as is displayed on the tile). The
> WMS query works just fine with the bbox and filter. 
> 
> As I learned, a WFS request cannot have both a bbox and filter, the
> bbox must be integrated into the filter. So I came up with two
> different filters.
> 
> WMS request parameters (from developer console):
> 
> LAYERS: xxx
> STYLES: xxx
> FORMAT: image/png
> SERVICE: WMS
> REQUEST: GetMap
> VERSION: 1.1.1
> TRANSPARENT: TRUE
> FILTER:        
>  properties.status    
>  Terminated          
>          
> properties.actual.startTime        
>             -MM-
> dd'T'HH:mm:ssXXX            2019-10-01T09:00:00-
> 07:00                   
>          
> properties.actual.endTime        
>             -MM-
> dd'T'HH:mm:ssXXX            2019-10-01T08:00:00-
> 07:00                 
> 
> BBOX: -13632748.557201,4455827.3255735,-
> 13511978.052511,4513995.9040985
> SRS: EPSG:102113
> WIDTH: 1580
> HEIGHT: 761
> 
> WFS request parameters:
> 
> service: WFS
> version: 1.0.0
> request: GetFeature
> typeName: xxx
> FILTER:           
>  properties.status    
>  Terminated   
>  geometry
> xmlns:gml="http://www.opengis.net/gml; srsName="urn:x-
> ogc:def:crs:EPSG:102113">-
> 13632748.557201,4455827.325574,-
> 13511978.052511,4513995.904099
>                  
> properties.actual.startTime        
>             -MM-
> dd'T'HH:mm:ssXXX            2019-10-01T09:00:00-
> 07:00                   
>          
> properties.actual.endTime        
>             -MM-
> dd'T'HH:mm:ssXXX            2019-10-01T08:00:00-
> 07:00                 
> 
> outputFormat: application/json
> 
> I have moved that BBOX declaration around in the wfs filter and
> exactly the same thing continues to happen. It seems to completely
> ignore the status filter and date range filter and dump the thousands
> of records from the database out to the browser. 
> 
> If I remove the BBOX from the WFS filter, the WFS request matches the
> WMS request except for the boundary box limitations (the status and
> date range are handled correctly).
> 
> What am I doing wrong here? 
> Thanks. 
> 
> 
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

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 me

Re: [Geoserver-users] Geowebcache rest/truncate guarantee of succcess

2019-09-24 Thread Nuno Oliveira
I see, thank you for this interesting feedback Jukka.
On Tue, 2019-09-24 at 14:36 +, Rahkonen Jukka (MML) wrote:
> Hi,
> 
> I know that truncate was not reliable at all with a GeoWebCache
> version from a few years ago. By then we stopped using truncate but
> re-seeded all the areas with new data.  We tried to reproduce the
> issue but unfortunately it was not so easy. Sometimes truncate
> worked, sometimes not with the same test data. Anyway it was all too
> unreliable to truncate, let's say, 5 square kilometers with
> highest pixel size of 0.5 m. Truncating with smaller batches was not
> a good solution either because process could still fail without
> letting anything into the logs. Reseed with smallish batches worked
> for us because  we needed a totally preseeded cache anyway.
> 
> -Jukka Rahkonen-
> 
> -Alkuperäinen viesti-
> Lähettäjä: Arnaud L.  
> Lähetetty: tiistai 24. syyskuuta 2019 17.05
> Vastaanottaja: Nuno Oliveira ; geoser
> ver-us...@lists.sourceforge.net
> Aihe: Re: [Geoserver-users] Geowebcache rest/truncate guarantee of
> succcess
> 
> Le 24/09/2019 à 15:19, Nuno Oliveira a écrit :
> > 
> > If you manage to reproduce the issue, ideally whit GeoServer
> > release 
> > data, then feel free to open a JIRA ticket.
> I surelly will. But it happened only once (or I did not realize it
> the other times), and it happened on an unmanaged server so I'm not
> sure I will easily replicate this.
> 
> Regards
> --
> Arnaud
> 
> 
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Geowebcache rest/truncate guarantee of succcess

2019-09-24 Thread Nuno Oliveira
If you manage to reproduce the issue, ideally whit GeoServer release
data, then feel free to open a JIRA ticket.
On Tue, 2019-09-24 at 13:04 +0200, Arnaud L. wrote:
> Le 24/09/2019 à 12:50, Nuno Oliveira a écrit :
> > 
> > That say, when you get back a 200 and the cache on disk was not
> > deleted, 
> > it usually means that one of the provided truncate parameters
> > didn't 
> > match the cache (e.g. style, image format, etc ...).
> 
> I already got a truncate request that did not delete the cache on
> disk, 
> even though the parameters were the same as usual (the request is 
> scripted, and it worked before and after the failure).
> 
> I could not swear that I had gotten a 200 back but I'm 100% sure
> that 
> the parameters were correct.
> 
> 
> Regards
> --
> Arnaud
> 
> 
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] GeoServer and Oracle

2019-09-24 Thread Nuno Oliveira
Hi,
I only have experience with Oracle 12.x or lower.
That say the best way, except having GeoServer run for a few months
using Oracle new versions, is to run GeoTools  on line tests [1]
against one of those Oracle versions
Best regards,
Nuno Oliveira
[1] http://docs.geotools.org/latest/developer/conventions/test/online.h
tml
On Fri, 2019-09-20 at 12:36 +0200, Charlotte Toma (WhereGroup) wrote:
> Hello,
> 
> i would like to know which versions of oracle database are compatible
> with geoserver.
> 
> I know, that you can connect oracle 11 and 12 with Geoserver in
> version
> 2.15.2. Now we want to switch to 18c / 19c and i would like to know
> if
> it works.
> 
> Any informations regarding working versions can help - i can't find
> any
> relevant infos in the web [1].
> 
> [1] https://docs.geoserver.org/latest/en/user/data/database/oracle.ht
> ml
> 
> Greetings from Bonn
> 
> Charly
> 
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Geowebcache rest/truncate guarantee of succcess

2019-09-24 Thread Nuno Oliveira
Hi,
Getting a 200 for a truncate request means that the provided layer name
was correct and that no errors happen during the truncate.
Although, GWC doesn't know in advanced which styles, image formats, or
other combinations are expected \ valid, hence it cannot check them.
That say, when you get back a 200 and the cache on disk was not
deleted, it usually means that one of the provided truncate parameters
didn't match the cache (e.g. style, image format, etc ...).
After a GWC truncate request has been executed you can still get back
the result using [1]:
http://localhost:8080/geoserver/gwc/rest/seed.json
Apart form the request above, you can also check the logs for any
error.
Hope it helps,
Nuno Oliveira
[1] https://docs.geoserver.org/stable/en/user/geowebcache/rest/seed.htm
l#truncating
On Sun, 2019-09-22 at 19:11 -0700, Carlos Lacerda wrote:
> Hi folks, 
> 
> There is a way to guarantee that a truncate rest request was
> processed ?
> 
> I have some cases that I send a truncate request, receive a 200
> response,
> but cache was not erased from disk, and also I dont see any errors in
> geoserver log, there is a way to control/check this ? I know that
> exist a
> rest service that check status of tasks like seed, but it's quick to
> truncate/erase, when I call this service the task was already
> terminated and
> I can't check what realy happened. 
> There some workaround for this ?
> 
> Thank so much
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f378639
> 0.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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] How to add a prefix to Literal tag in SLD?

2019-08-28 Thread Nuno Oliveira
Hi,
In SQL server the N prefix is need because you are using an Unicode
string:
https://docs.microsoft.com/en-us/sql/t-sql/data-types/nchar-and-nvarcha
r-transact-sql?view=sql-server-2017
I never used SQL server with Unicode text, I did a quick look in
GeoTools tickets and looks like that issue was fixed long time ago:
https://osgeo-org.atlassian.net/browse/GEOT-3609
If you use the style you shared, what's the actual exception you get?
The logs would help understand what is goign on.
Best regards,
Nuno Oliveira
On Sat, 2019-08-24 at 00:03 -0700, alich65 wrote:
> I have a Sql Server Store in Geoserver. I want to create Attribute-
> based sld.
> I used Persian characters in Literal tag. Like this:
> 
> 
> 
>   
>   
> Rank is ''
>   
>   http://www.opengis.net/ogc;>;
> 
>   Rank
>   
> 
>   
>   
> 
>   #ed56ef
> 
> 
>   #01
>   1
>   
> linejoin">bevel
> 
>   
> 
> 
>   خیلی زیاد
>   
> خیلی زیاد
>   
>   http://www.opengis.net/ogc;>;
> 
>   Rank
>   خیلی زیاد
> 
>   
>   
> 
>   #70a7dd
> 
> 
>   #01
>   1
>   
> linejoin">bevel
> 
>   
> 
> 
>   زیاد
>   
> زیاد
>   
>   http://www.opengis.net/ogc;>;
> 
>   Rank
>   زیاد
> 
>   
>   
> 
>   #76cc75
> 
> 
>   #01
>   1
>   
> linejoin">bevel
> 
>   
> 
> 
>   متوسط
>   
> متوسط
>   
>   http://www.opengis.net/ogc;>;
> 
>   Rank
>   متوسط
> 
>   
>   
> 
>   #da8a3f
> 
> 
>   #01
>   1
>   
> linejoin">bevel
> 
>   
> 
>   
> 
> 
> But Sql Server query not working without prefix "N". Like
> this(Attached
> images): 
> 
> <http://osgeo-org.1560.x6.nabble.com/file/t381194/11.png> 
> 
> <http://osgeo-org.1560.x6.nabble.com/file/t381194/22.png> 
> 
> Now I want to add "N" to Literal tag as prefix. how to do that? 
> thanks in advance for your reply
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f378639
> 0.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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

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 tele

Re: [Geoserver-users] NetCDF time change info

2019-08-23 Thread Nuno Oliveira
Hi,
you mean when using WMS with a time dimension? In that case, yes you
can:
https://docs.geoserver.org/stable/en/user/services/wms/time.html
Best regards,
On Thu, 2019-08-22 at 11:47 -0700, Elham soudy wrote:
> hi all, 
> 
> need urgent help if possible, I had published a NetCDF data in
> GeoServer with a time change and I can get data at different times
> but the question is, 
> 
> Can I get data with a range " from-to" date? and How?
> 
> 
> 
> 
> 
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Errors on requests to Geoserver GWC REST API

2019-08-20 Thread Nuno Oliveira
Hi,
the documentation for that operation seems a bit off, I open an issue
for this:
https://github.com/GeoWebCache/geowebcache/issues/785
As far I can tell this is the correct way of truncating a layer via GWC
REST API:
curl -v -u admin:geoserver --request POST \
  --url http://localhost:8080/geoserver/gwc/rest/masstruncate \
  --header 'content-type: text/xml' \
  --data
'BASE:LAND'
Anyway, to avoid the error you are getting you need to explicitly use
text\xml for the content type.
Hope it helps,
Nuno Oliveira
On Thu, 2019-08-08 at 19:48 +0300, Artem Groznykh wrote:
> Hi.
> 
> I tried to truncate cache for a layer and to create seeding tasks for
> a layer (GeoServer 2.15.2 on Windows 7). And I have errors
> 
> 
> 1. Truncate (via /masstruncate)
> 
> Request:
> 
> POST - http://localhost:8080/geoserver/gwc/rest/masstruncate?requestT
> ype=truncateLayer=workspace_name:layergroup_name
> 
> Response:
> 
> org.geowebcache.rest.exception.RestException 400 BAD_REQUEST: Format
> extension unknown or not specified: application/json
> 
> What does it mean?
> In documentation there are no other params
> 
> 
> 2. Seed
> 
> Request:
> 
> GET - http://localhost:8080/geoserver/gwc/rest/seed/workspace_name:la
> yergroup_name.json
> 
> Headers: 
> {"Content-Type": "application/json"}
> Body: 
> {
>   "name": "workspace_name:layergroup_name",
>   "bounds": {
>     "coords": {"minX":-111319.49079327358,"minY":-
> 111325.14286638453,"maxX":11339882.520180937,"maxY":8245444.279401028
> 5}
>   },
>   "gridSetId": "EPSG:900913",  
>   "zoomStart": 5,
>   "zoomStop": 9,
>   "type": "seed",
>   "tileFormat": "image/png8",
>   "threadCount": 4,
>   "parameters": {
>     "entry": {}
>   }
> }
> 
> Response:
> 
> Chunk [{"name":
> "workspace_name:layergroup_name","bounds":{"coords":{"minX":-
> 111319.49079327358,"minY":-
> 111325.14286638453,"maxX":11339882.520180937,"maxY":8245444.279401028
> 5}},"gridSetId":"EPSG:900913","zoomStart":5,"zoomStop":9,"type":"trun
> cate","threadCount":2,"format":"image/png8","parameters":{"entry":{}}
> }] is not a valid entry
> 
> So, what is the valid entry? 
> I tried to remove "bounds" and "parameters", change "gridSetId" to
> 900913, even to post XML body - nothing changed
> 
> 
> Any suggestions? 
> 
> Thanks in advance
> 
>   Без вирусов. www.avast.ru
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

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 

Re: [Geoserver-users] [Geoserver-devel] Issue with CQL intersect performance

2019-08-06 Thread Nuno Oliveira
+1
On Mon, 2019-08-05 at 23:25 -0700, Jody Garnett wrote:
> Please make use of the user list for questions on the use of
> GeoServer.
> 
> The developer list is focused on those working directly on the
> codebase (you are welcome to help out if you like). For more
> information please see the geoserver website page. 
> --
> Jody Garnett
> 
> 
> On Mon, 5 Aug 2019 at 18:57, guilhermecanton 
> com.br> wrote:
> > I have a layer of mining processes in geoserver
> > I need to implement a functionality where the user can filter
> > mining
> > processes from a shape file.
> > This shape file contains 15 polygons and each polygon contains
> > approximately
> > 30k coordinates.
> > I'm using a post request and sending the 30k coordinates in a CQL,
> > like the
> > one below.
> > cql = "INTERSECTS(the_geom, POLYGON((-40.9266886103044
> > -16.262666496441046,
> > -40.90549282420962 -16.263061436643454, -40.905472448859044
> > -16.263441492330248, -40.90229656699312 -16.267723288825366,
> > -40.90024952920471 -16.278586398087867... + 30k coordinates)
> > But the return is very slow. Because I have 15 polygons that
> > perform this
> > CQL, with their respective coordinates.
> > Is there any better way to do this?
> > Sorry about my english lol
> > Thanks in advance
> > 
> > 
> > 
> > --
> > Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-Dev-f38192
> > 32.html
> > 
> > 
> > ___
> > Geoserver-devel mailing list
> > geoserver-de...@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geoserver-devel
> > 
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] [Geoserver-devel] Issue with CQL intersect performance

2019-08-06 Thread Nuno Oliveira
Just notice this was in the DEV ML, this is a question for the GS user
ML. 
On Tue, 2019-08-06 at 11:09 +0100, Nuno Oliveira wrote:
> Hi,
> you may want to have a look at:
> https://docs.geoserver.org/stable/en/user/extensions/querylayer/index
> .html
> 
> A few comments:
> is the first layer in a database? 
> sending a CQL filter with 15 polygons with more than 30K coordinates
> each will be slow to POST and for GeoServer to parse ... you need to
> avoid this POST
> in terms of execution, some simplification of the polygons should be
> made
> 
> Hope it helps,
> Nuno Oliveira
> 
> On Mon, 2019-08-05 at 15:58 -0700, guilhermecanton wrote:
> > I have a layer of mining processes in geoserver
> > I need to implement a functionality where the user can filter
> > mining
> > processes from a shape file.
> > This shape file contains 15 polygons and each polygon contains
> > approximately
> > 30k coordinates.
> > I'm using a post request and sending the 30k coordinates in a CQL,
> > like the
> > one below.
> > cql = "INTERSECTS(the_geom, POLYGON((-40.9266886103044
> > -16.262666496441046,
> > -40.90549282420962 -16.263061436643454, -40.905472448859044
> > -16.263441492330248, -40.90229656699312 -16.267723288825366,
> > -40.90024952920471 -16.278586398087867... + 30k coordinates)
> > But the return is very slow. Because I have 15 polygons that
> > perform this
> > CQL, with their respective coordinates.
> > Is there any better way to do this?
> > Sorry about my english lol
> > Thanks in advance
> > 
> > 
> > 
> > --
> > Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-Dev-f38192
> > 32.html
> > 
> > 
> > ___
> > Geoserver-devel mailing list
> > geoserver-de...@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geoserver-devel
> -- 
> Regards,
> Nuno Oliveira
> ==
> GeoServer Professional Services from the
> experts! 
> Visit http://goo.gl/it488V for more information.
> ==
> 
> Nuno Miguel Carvalho Oliveira
> @nmcoliveira
> Software Engineer
> 
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:      +39 0584 1660272
> 
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> 
> ---
> 
> Con riferimento alla normativa sul trattamento dei dati 
> personali (Reg. UE 2016/679 - Regolamento generale sulla 
> protezione dei dati “GDPR”), si precisa che ogni 
> circostanza inerente alla presente email (il suo contenuto, 
> gli eventuali allegati, etc.) è un dato la cui conoscenza 
> è riservata al/i solo/i destinatario/i indicati dallo 
> scrivente. Se il messaggio Le è giunto per errore, è 
> tenuta/o a cancellarlo, ogni altra operazione è illecita. 
> Le sarei comunque grato se potesse darmene notizia.
> 
> This email is intended only for the person or entity to 
> which it is addressed and may contain information that 
> is privileged, confidential or otherwise protected from 
> disclosure. We remind that - as provided by European 
> Regulation 2016/679 “GDPR” - copying, dissemination or 
> use of this e-mail or the information herein by anyone 
> other than the intended recipient is prohibited. If you 
> have received this email by mistake, please notify 
> us immediately by telephone or e-mail.
-- 
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

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 b

Re: [Geoserver-users] Unable to connect to local host

2019-07-30 Thread Nuno Oliveira
Hi,
I used OSGeolive12 long time ago and don't remember much ... the first
thing would be to check if the services are running in the VM, for
example by checking the logs.
Anyway, this a question that should be asked osgeol...@lists.osgeo.org 
:)
Best regards,
On Thu, 2019-07-25 at 11:43 +0200, Cristina Cervera Núñez wrote:
> Hello everyone,
> 
> I am entering now in the world of FOOS4GIS and having some issues
> with the basic stuff. 
> 
> I installed OSGeolive12 through VirtualBox in my MacOS Mojave.
> basically to use Geonetwork, Geoserver and OpenLayers. 
> 
> When I try to start Geonetwork it appears the page “unable to
> connect- Firefox can’t establish a connection to the sever at
> localhost:8880” it happen the same with Geoserver. I thought it was
> something related to the o firewall or the proxy so I disabled
> everything but still doesn’t work ( although I could have done this
> wrong) It might be something related to the localhost and the port, I
> know it might be something simple but I’ve been trying for days and
> the problem scape my little knowledge on the topic.
> 
> Could anyone give me some insight or guidance on this? (tutorials,
> guiding documents, whatever ) 
> 
> Thank you very much in advance!
> 
> Cris
> 
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Unable to connect to local host

2019-07-30 Thread Nuno Oliveira
Hi,
I used OSGeolive12 long time ago and don't remember much ... the first
thing would be to check if the services are running in the VM, for
example by checking the logs.
Anyway, this a question that would be best asked on osgeol...@lists.osg
eo.org :)
Best regards,
On Thu, 2019-07-25 at 11:43 +0200, Cristina Cervera Núñez wrote:
> Hello everyone,
> 
> I am entering now in the world of FOOS4GIS and having some issues
> with the basic stuff. 
> 
> I installed OSGeolive12 through VirtualBox in my MacOS Mojave.
> basically to use Geonetwork, Geoserver and OpenLayers. 
> 
> When I try to start Geonetwork it appears the page “unable to
> connect- Firefox can’t establish a connection to the sever at
> localhost:8880” it happen the same with Geoserver. I thought it was
> something related to the o firewall or the proxy so I disabled
> everything but still doesn’t work ( although I could have done this
> wrong) It might be something related to the localhost and the port, I
> know it might be something simple but I’ve been trying for days and
> the problem scape my little knowledge on the topic.
> 
> Could anyone give me some insight or guidance on this? (tutorials,
> guiding documents, whatever ) 
> 
> Thank you very much in advance!
> 
> Cris
> 
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] How to refresh attributes of a layer that is made from a mongoDB collection via REST API?

2019-07-30 Thread Nuno Oliveira
Hi,
> One solution that helps - PUT request to /rest/reset
> (docs).
That reset is in GeoServer global point of view, int he case of MongoDB
you need to rebuild the schema.
   1. > Also I found a ticket in GeoServer tracker that is about subject. But
  > it's status is "open" (so nothing from ticket's description works).
 
This is for PostGIS, and indeed not implemented.
Anyway, the functionality you need has been recently implemented, the
REST end-points only works in the context of App-Schema:
https://osgeo-org.atlassian.net/browse/GEOS-9241
https://docs.geoserver.org/latest/en/api/#/latest/en/api/1.0.0/datastor
es.yaml
The changes will be available in GS: 2.15.3 and 2.16.RC
You have two options:
- delete the JSON schema [1], and hope that the rebuild will have your
elements:
  - the new functionalities allow you to insert the number of MongoDB
elements that shoudl be used
- manually edit the JSON schema
Note, REST end-points could be created for MongoDB stores.
Hope it helps,
[1] https://docs.geotools.org/latest/userguide/library/data/mongodb.htm
l
On Thu, 2019-07-25 at 17:52 +0300, Artem Groznykh wrote:
> Hi.> > I made a layer using mongoDB datastore on some collection. 
> Then structure of the collection was changed. So I edited mapping for that 
> collection.
> > How can I refresh attributes of that layer via REST API?
> > I found two answers:
   1. > One solution that helps - PUT request to /rest/reset (docs).
   2. > Also I found a ticket in GeoServer tracker that is about subject. But 
it's status is "open" (so nothing from ticket's description works).
> Is there a way to refresh attributes via REST API just for a layer. Or first 
> solution is the only and correct for my purpose.
> > I use:
> - Windows 7
> - GeoServer 2.15.2
> - MongoDB 3.6
> - MongoDB driver for GS 2.15.2

>  > 
>   > 
>   > > 
>   > Без вирусов. www.avast.ru > 
>   > 
> 


> ___
> 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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] WFS layer without Workspace

2019-07-30 Thread Nuno Oliveira
Hi,
as far as I know currently there is no way of getting ride of the
workspace name, all feature type names are qualified.
According to OGC WFS standard [1], the feature type name can be
qualified or not (xsd:QName):

  
 

That say, in the case of GeoServer it makes sense to me that feature type names 
are qualified for the global endpoint (possible names collision):
http://localhost:8080/geoserver/ows?service=wfs=2.0.0=GetCapabilities
... but indeed they could be unqualified for workspaces virtual services 
end-points:
http://localhost:8080/geoserver/mvs/ows?service=wfs=2.0.0=GetCapabilities
I guess, a functionality allowing unqualified feature types for the
global end-point could also be implemented, it would need to be
activated on demand and will only work as long there is no two feature
types with the same name. 
Hope it helps,
[1] http://docs.opengeospatial.org/is/09-025r2/09-025r2.html#135
On Thu, 2019-07-25 at 13:13 +, Klemm, Stephan - LISt wrote:
> Hello everyone,
>  
> i need an solution for the name and attributes from a layer without
> the Name of the Workspace.
>  
> Currently each layer and every attribute of the layer has the syntax:
> workspace: layername or workspace: attribute, specifically mvs:
>  
> Here the example response from
>  
> GetCapabilities
> 
>  
> DescribeFeatureType
> 
>  
> GetFeature
> 
>  
> Is there a way to remove the workspace in the output of each
> Document?
>  
> Kind regards, Stephan
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Problems using base proxy url and headers

2019-07-25 Thread Nuno Oliveira
Great! Thank you for the feedback.
On Thu, 2019-07-25 at 07:10 +, Jonas Nygaard Pedersen wrote:
> Hi Nuno,
>  
> Somehow the problem has fixed itself, and I’m not quite sure why, but
> I’ll investigate further when time permits.
> Maybe there’s something in our docker setup that I don’t understand…
>  
> Anyways, thanks for looking into it.
>  
> // Jonas
>  
> From: Nuno Oliveira  
> Sent: 23. juli 2019 15:30
> To: Jonas Nygaard Pedersen ; geoserver-us...@lists.sou
> rceforge.net
> Subject: Re: [Geoserver-users] Problems using base proxy url and
> headers
>  
> Hi Jonas,
> just did a test with master using WMS 1.3.0, a few comments:
>  
> Using a template like yours http://${X-Forwarded-Host}/random/path
> works fine, test request:
> curl -v --header "http://X-Forwarded-Host: some-host"
> "http://localhost:8060/geoserver/ows?service=wms=1.3.0
> t=GetCapabilities"
>  
> Make sure you check the Use headers for Proxy URL check-box. 
>  
> That say, looks like using multiple variable int he template doens't
> work.
>  
> Hope it helps,
> Nuno Oliveira
>  
>  
> On Tue, 2019-07-23 at 10:01 +, Jonas Nygaard Pedersen wrote:
> Hi List
>  
> I'm trying to change the proxy base url using proxy headers but none
> of the supported headers seem to work (https://docs.geoserver.org/lat
> est/en/user/configuration/globalsettings.html#proxy-base-url).
> If for example I change it to http://${X-Forwarded-Host}/random/path
> it doesn't seem to change the values for the ows:Get and ows:Post
> xlink:href and the value is still just http://servername.org:8092/wfs
> .
> No matter which of the supported headers I try, none of them actually
> changes the output.
> If I hardcode a Base proxy URL like  http://someotherserver.org/rando
> m/path it will change the value of the ows:Get and ows:Post
> xlink:href to http://someotherserver.org/random/path/wfs
>  
> Does anyone have a clue as to what I'm doing wrong?
>  
> My global.xml look like this:
>  
> 
> 8"?> 
>    
>   
> SettingsInfoImpl-68f6c583:154ca420c47:-
> 8000   
> 
>   
>   Copenhagen   
>  
>   Denmark   
>   
>   Work
>   
>   s...@sdfe.dk  
>   
>   Styrelsen for Dataforsyning og
> Effektivisering
>   all 
> 
>   __  
>   
>    
>    
> UTF-
> 8  
>  
> 8 
>   
> http://geoserver.org;   
>    
> http://${X-Forwarded-
> Host}/random/path  
> false 
>   
> false 
>   
> false
> > 
>   
>    
> 
>   
> false   
>   
> false  
>  
> 5   
>   
> 7 
>   
> 0.5 
>   
> 0.75  
>   
> false   
>   
> true  
>   
> true
>   
> false 
>   
> false 
>   
>    
>        
>  
>   
> 10
>   
> 5

Re: [Geoserver-users] GeoServer 2.15.1 - WMS GetMap request taking extreme long time

2019-07-24 Thread Nuno Oliveira
 > 96,771,132, arrayLength: {3}
> > > [org.geoserver.jai] (default task-2) Recycling tile miss on
> > > type:1,
> > > banks:
> > > 96,771,132, arrayLength: {3}
> > > [org.geoserver.jai] (default task-2) Recycling tile miss on
> > > type:1,
> > > banks:
> > > 96,771,132, arrayLength: {3}
> > > [org.geoserver.jai] (default task-2) Recycling tile miss on
> > > type:1,
> > > banks:
> > > 96,771,132, arrayLength: {3}
> 
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f378639
> 0.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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://github.com/geoserver/geoserver/wiki/Successfully-requesting-
> and-integrating-new-features-and-improvements-in-GeoServer
> 
> 
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> ___
> Geoserver-users mailing list
> 
> Please make sure you read the following two resources before posting
> to this list:
> - Earning your support instead of buying it, but Ian Turton: http://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] INSPIRE Could not acquire data access 'ProtectedSite'

2019-07-23 Thread Nuno Oliveira
Hi all,
one possible approach to handle this would be to make use of App-Schema
cache.
All schema that App-Schema needs are cache inside App-Schema cache
directory, which is created automatically. 
So you could copy paste the App-Schema cache from the first server to
second one and set the location using schema.cache.dir environment
property.
Hope it helps,
Nuno Oliveira
On Thu, 2019-07-18 at 03:53 -0700, ljacedo wrote:
> Hi Tõnis,
> 
> I have done what you recomend, and I have to add MySrvr to Namespace
> and
> datastore. after re-starting Tomcat Geoserver and Refreshing
> Geoserver.
> 
> Base on log, it seems geoserver is connecting to database, and I want
> to
> point out that the table PROTECTEDSITE_PS has no data.
> 
> Geoserver Log:
> 2019-07-18 10:15:49,876 DEBUG [geotools.jdbc] - Getting information
> about
> primary keys of PROTECTEDSITE_PS
> 2019-07-18 10:15:50,388 DEBUG [geotools.jdbc] - Getting information
> about
> unique indexes of PROTECTEDSITE_PS
> 2019-07-18 10:15:50,435 WARN [geotools.jdbc] - No primary key or
> unique
> index found for PROTECTEDSITE_PS.
> 2019-07-18 10:15:50,435 DEBUG [geotools.jdbc] - CLOSE CONNECTION
> 2019-07-18 10:15:50,444 DEBUG [geotools.jdbc] - CREATE CONNECTION
> 2019-07-18 10:15:50,455 DEBUG [geotools.jdbc] - Check user can access
> user
> metadata views: SELECT * FROM MDSYS.USER_SDO_INDEX_METADATA WHERE
> ROWNUM < 2
> 2019-07-18 10:15:50,517 DEBUG [geotools.jdbc] - Check user can access
> user
> metadata views: SELECT * FROM MDSYS.USER_SDO_GEOM_METADATA WHERE
> ROWNUM < 2
> 2019-07-18 10:15:50,517 DEBUG [geotools.jdbc] - SELECT * FROM
> MDSYS.USER_SDO_GEOM_METADATA WHERE ROWNUM < 2
> 2019-07-18 10:15:50,524 DEBUG [geotools.jdbc] - Geometry type check;
> SELECT
> META.SDO_LAYER_GTYPE
> FROM ALL_INDEXES INFO
> INNER JOIN MDSYS.USER_SDO_INDEX_METADATA META
> ON INFO.INDEX_NAME = META.SDO_INDEX_NAME
> WHERE INFO.TABLE_NAME = 'PROTECTEDSITE_PS'
> AND REPLACE(meta.sdo_column_name, '"') = 'SHAPE'
>  
> 2019-07-18 10:15:50,526 DEBUG [geotools.jdbc] - Geometry type check;
> SELECT
> META.SDO_LAYER_GTYPE
> FROM ALL_INDEXES INFO
> INNER JOIN MDSYS.ALL_SDO_INDEX_METADATA META
> ON INFO.INDEX_NAME = META.SDO_INDEX_NAME
> WHERE INFO.TABLE_NAME = 'PROTECTEDSITE_PS'
> AND REPLACE(meta.sdo_column_name, '"') = 'SHAPE'
>  
> 2019-07-18 10:15:50,534 DEBUG [geotools.jdbc] - SRID check; SELECT
> SRID FROM
> MDSYS.USER_SDO_GEOM_METADATA WHERE TABLE_NAME='PROTECTEDSITE_PS' AND
> COLUMN_NAME='SHAPE' 
> 2019-07-18 10:15:50,550 DEBUG [geotools.jdbc] - CLOSE CONNECTION
> 2019-07-18 10:15:50,551 DEBUG [complex.config] - found feature source
> for
> PROTECTEDSITE_PS
> 2019-07-18 10:15:50,553 WARN [data.complex] - No top level element
> found in
> schemas: {http://MySrvr/geoserver/www/schemas/ps/4.0/}ProtectedSite
> 2019-07-18 10:15:50,556 WARN [complex.config] - Error creating app-
> schema
> data store for 'ProtectedSite_STORE', caused by: No top level element
> found
> in schemas: {http://MySrvr/geoserver/www/schemas/ps/4.0/}ProtectedSit
> e
> 2019-07-18 10:15:50,567 WARN [org.geoserver] - Error connecting to
> 'ProtectedSite'. Disabling.
> 
> Namespace.xml
> 
>   NamespaceInfoImpl--138ca4e9:1679897f1ee:-7ffd
>   ps
>   http://MySrvr/geoserver/www/schemas/ps/4.0/;
> 
> 
> Datastore.xml
> 
>   DataStoreInfoImpl-2c4aa0ee:16020fa6fe6:-7fff
>   ProtectedSite
>   INSPIRE ProtectedSite
>   Application Schema DataAccess
>   true
>   
> WorkspaceInfoImpl--138ca4e9:1679897f1ee:-7ffe
>   
>   
> app-schema
>  key="url">file:/serveis/dades/pre/gis/workspaces/ps/ProtectedSite/Pro
> tectedSite_appschema.xml
>  key="namespace">http://MySrvr/geoserver/www/schemas/ps/4.0/;
>   
>   <__default>false
> 
> 
> ProtectedSite_appschema.xml
> 
> http://www.opengis.net/ogc;
> xmlns:appschema="http://www.geotools.org/app-schema;>;
>   
>   
>   ps
>   http://MySrvr/geoserver/www/schemas/ps/4.0
> /;
>   
>   
>   gml
>   http://www.opengis.net/gml/3.2;
>   
>   
>   base
>   http://inspire.ec.europa.eu/schemas/base/3
> .3;
>   
>   
>   base2
>   http://inspire.ec.europa.eu/schemas/base2/
> 2.0;
>   
>   
>   gmd
>   http://www.isotc211.org/2005/gmd;
>   
>   
>   xsi
&

Re: [Geoserver-users] Problems using base proxy url and headers

2019-07-23 Thread Nuno Oliveira
Hi Jonas,
just did a test with master using WMS 1.3.0, a few comments:
Using a template like yours http://${X-Forwarded-Host}/random/path
works fine, test request:
curl -v --header "http://X-Forwarded-Host: some-host" "http://localhost
:8060/geoserver/ows?service=wms=1.3.0=GetCapabilities"
Make sure you check the Use headers for Proxy URL check-box. 

That say, looks like using multiple variable int he template doens't
work.
Hope it helps,
Nuno Oliveira
On Tue, 2019-07-23 at 10:01 +, Jonas Nygaard Pedersen wrote:
> Hi List
>  
> I'm trying to change the proxy base url using proxy headers but none
> of the supported headers seem to work (https://docs.geoserver.org/lat
> est/en/user/configuration/globalsettings.html#proxy-base-url).
> If for example I change it to http://${X-Forwarded-Host}/random/path
> it doesn't seem to change the values for the ows:Get and ows:Post
> xlink:href and the value is still just http://servername.org:8092/wfs
> .
> No matter which of the supported headers I try, none of them actually
> changes the output.
> If I hardcode a Base proxy URL like  http://someotherserver.org/rando
> m/path it will change the value of the ows:Get and ows:Post
> xlink:href to http://someotherserver.org/random/path/wfs
>  
> Does anyone have a clue as to what I'm doing wrong?
>  
> My global.xml look like this:
>  
> 
> 8"?> 
>    
>   
> SettingsInfoImpl-68f6c583:154ca420c47:-
> 8000   
> 
>   
>   Copenhagen   
>  
>   Denmark   
>   
>   Work
>   
>   s...@sdfe.dk  
>   
>   Styrelsen for Dataforsyning og
> Effektivisering
>   all 
> 
>   __  
>   
>    
>    
> UTF-
> 8  
>  
> 8 
>   
> http://geoserver.org;   
>    
> http://${X-Forwarded-
> Host}/random/path  
> false 
>   
> false 
>   
> false
> > 
>   
>    
> 
>   
> false   
>   
> false  
>  
> 5   
>   
> 7 
>   
> 0.5 
>   
> 0.75  
>   
> false   
>   
> true  
>   
> true
>   
> false 
>   
> false 
>   
>    
>        
>  
>   
> 10
>   
> 5   
>   
> 3 
>   
> UNBOUNDED 
>   
> 10240 
>   
> 
>   
>   152   
>   
>   0 
>   
>   true  
>   
>   true  
>   
>   1024
>   
> 
>  
> //
> Jonas

Re: [Geoserver-users] YSLD filter does not work on attributes that are multiple on MongoDB DataSource

2019-07-23 Thread Nuno Oliveira
On top of Jody answer I will add that this thread is related with this
one:
http://osgeo-org.1560.x6.nabble.com/CQL-filter-OR-operator-does-not-wor
k-on-attributes-that-are-multiple-on-MongoDB-DataSource-td5408541.html
On Fri, 2019-07-19 at 22:10 -0700, Jody Garnett wrote:
> I think only a few of the filters are set up to work with multiples
> (say in the result of a join), I imagine these could be adapted to
> work on a dataset that has some kind of array type natively...
> It is relatively uncommon to have multiples so not a lot of functions
> are going to be set up to work with this way, so you may need to work
> on the code ...
> 
> Can you try a filter that is known to work with multiples just to see
> if MongoDB is setup to consider this idea? There should be some kind
> of "match action" "any" "all" "one" that would be appropriate ...
> here are the geotools docs: https://docs.geotools.org/latest/userguid
> e/library/opengis/filter.html#matchaction
> 
> Looking at the diagram there it appears that LIKE is a "multi valued
> filter" so the option would be supported if you were doing an XML
> query.
> I am not sure if ECQL supports this idea so you may have a feature
> request ... 
> 
> 
> 
> 
> --
> Jody Garnett
> 
> 
> On Fri, 19 Jul 2019 at 10:42, Artem Groznykh 
> wrote:
> > Hello. 
> > 
> > I use: 
> > 
> > - window 7 
> > - mongoDB 3.6
> > - GeoServer 2.15.2 
> > - mongoDB plugin (for GeoServer 2.15.2) 
> > - YSLD plugin (for GeoServer 2.15.2)
> > 
> > I've created a collection with data from here (just two records),
> > created 2dsphere index
> > 
> > Then I've created a layer and an YSLD style for that layer.
> > 
> > When I use simple attributes (that are not multiple) in the filter
> > all is fine:
> > 
> > feature-styles:
> > - rules:  
> >   - filter: ${"name" ILIKE 'station%'}
> >     symbolizers:
> >     - point:
> >         size: 16        
> >         symbols:
> >         - mark:
> >             shape: circle
> >             fill-color: '#00F'
> > 
> > 
> > 
> > 
> > When I use attributes that are multiple in the filter then it DOES
> > NOT work
> > 
> > feature-styles:
> > - rules:  
> >   - filter: ${ "measurements.name" = 'wind' }
> >     symbolizers:
> >     - point:
> >         size: 16        
> >         symbols:
> >         - mark:
> >             shape: circle
> >             fill-color: '#00F'
> > 
> > 
> > 
> > 
> > Maybe it relates somehow to the bug that I reported (when OR
> > operator does not work in CQL filter of a layer with multiple
> > attributes)
> > 
> > How can I make it work?
> > 
> > Без вирусов. www.avast.ru
> > ___
> > Geoserver-users mailing list
> > 
> > Please make sure you read the following two resources before
> > posting to this list:
> > - Earning your support instead of buying it, but Ian Turton: http:/
> > /www.ianturton.com/talks/foss4g.html#/
> > - The GeoServer user list posting guidelines: http://geoserver.org/
> > comm/userlist-guidelines.html
> > 
> > If you want to request a feature or an improvement, also see this: 
> > https://github.com/geoserver/geoserver/wiki/Successfully-requesting
> > -and-integrating-new-features-and-improvements-in-GeoServer
> > 
> > 
> > Geoserver-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> > 
> ___
> Geoserver-users mailing list
> 
> Please make sure you read the following two resources before posting
> to this list:
> - Earning your support instead of buying it, but Ian Turton: http://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

Re: [Geoserver-users] About wfs update to multiple rows

2019-06-13 Thread Nuno Oliveira
Hi,
As far as I know the provided value needs to be static:
http://docs.opengeospatial.org/is/09-025r2/09-025r2.html#283
http://docs.opengeospatial.org/is/09-025r2/09-025r2.html#354
Now, if you don't need to be WFS compliant the protocol implementation 
could be extended to support an expression, but that's something that 
would need to be discussed with he community ...
I would personally go for a custom WPS process that would have the 
ability to apply a transformation to existing fields, similar
to the existing transformation process, and then create another
process that I could chain that would update the feature type.    
Maybe I missed something  more obvious, let's see if somebody comes 
with a better solution.
By the way the closing tag of   is wrong.
Bets regards,
Nuno Oliveira
On Tue, 2019-06-11 at 03:07 -0700, INFANTE, Jorge Luis wrote:
> Hi
> I need to produce a wfs update to multiple rows, computing the value
> of
> property using existing value (like property = property * 2).
> Is it posible?
> I'm preparing this xml, but, I need complete it:
> 
> 
>   
>    myattribute   
>       < I need put the computed value
> here 
>   
>   
> 
> 
>    id 
>    9  
>   
>   
>    id 
>    19 
>   
> 
>   
> 
> 
> I need to produce a sql like this:
> 
> update mylayer set myattribute = myattibute * 2 where id between 10
> and 20;
> 
> Is it posible?
> 
> Thanks
> 
> jorge infante
> rosario - santa fe - argentina
> 
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f378639
> 0.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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Layer name compliance

2019-06-04 Thread Nuno Oliveira
Hi,
That was a well known limitation,  a few weeks ago a pull request
removing this limitation was merged on master (2.16.x):
 * https://github.com/geoserver/geoserver/pull/3092
Associated issues:
 * https://osgeo-org.atlassian.net/browse/GEOS-8919
 * https://osgeo-org.atlassian.net/browse/GEOS-8918
Hope this helps,
Nuno Oliveira
On Mon, 2019-06-03 at 17:26 +, Marta IP. Medeiros wrote:
> Hi,
> We are using the app-schemas, generated by HALE Studio, to have our
> services compliance with INSPIRE.
> Many fields in GeoServer are automatically filled but we are having a
> problem with the Layer Name.
> I will give you the example of the Cadastral Parcels Theme.
> In the layer name we have the Spatial Object Type name
> CadastralParcel, but to be INSPIRE compliance we have to change that.
> According to the Technical Guidance for the implementation of INSPIRE
> View Services the layer name should be CP.CadastralParcel but after
> that rectification we are no longer able to view the image and we get
> this message when we do a request GetFeatureInfo:
> “Failed to run GetFeatureInfo on layer cp:CP.CadastralParcel http://i
> nspire.ec.europa.eu/schemas/cp/4.0:CP.CadastralParcel not found.
> Available:
> [http://inspire.ec.europa.eu/schemas/cp/4.0:CadastralZoning,
> http://inspire.ec.europa.eu/schemas/cp/4.0:CadastralParcel]”.
> (image_1)
> Is that a way to fix this?
> Best Regards,
> Marta
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Update layer keywords programmatically

2019-06-03 Thread Nuno Oliveira
Hi,
If my memory serves me well, you need to put there the keyword you want
to have, so new ones will be added and missing existing ones will be
deleted.
You should give it a try, this is an easy check.
Regards,
On Mon, 2019-06-03 at 13:44 +, Bar-On, Itay wrote:
> Hi,
>  
> Thanks for sharing this, I will try it out but first let me see if I
> understand it correctly:
>  
> To add new keywords I just add a new  tag with the
> corresponding value e.i. newKeyword, in the upload body, do I need to
> mention the existing keywords? And if I omit them will they be
> deleted (what I actually also need)?
>  
> Regards,
>  
> Itay
>  
> Van: Nuno Oliveira [mailto:nuno.olive...@geo-solutions.it] 
> Verzonden: maandag 3 juni 2019 15:14
> Aan: Bar-On, Itay; geoserver-users@lists.sourceforge.net
> Onderwerp: Re: [Geoserver-users] Update layer keywords
> programmatically
>  
> Hi,
>  
> Yes you can from the featureTypes end point (https://docs.geoserver.o
> rg/latest/en/api/#/latest/en/api/1.0.0/featuretypes.yaml):
> geoserver/rest/workspaces/{workspace}/datastores/{dataStore}/featuret
> ypes/{featureType}.xml
>  
> The POST content should look like this (for updating keywords only):
>  
> 
>   
> features
> facility
> newKeyword
>   
> 
>  
> Best regards,
> Nuno Oliveira
>  
> On Mon, 2019-06-03 at 10:59 +, Bar-On, Itay wrote:
> Hi there,
>  
> I am currently searchning for a way to update ca. 280 layers with new
> keywords. The reason I would like to do this is to be able to harvest
> the getcapabilities documents of the services and set up a services
> catalog.
>  
> After googling it for a while and searching the users group the only
> post  that comes anywhere near is from 2011:
> http://osgeo-org.1560.x6.nabble.com/automating-layer-metadata-update-
> td3790274.html
>  
> Naturally the obvious choice would be to use the REST API to update
> the layer using the /layers/{layerName} endpoint with a POST, but I
> am not sure if this is possible for keywords.
>  
> Does anybody have any experiance with this endpoint ? and can share
> some wisdom on how to update layers keywords via the REST API (if at
> all possible…)
>  
> If the REST API endpoint is not a possibility is there maybe another
> way I can do it programmatically?
>  
> Thanks in advance
>  
>  
> Met vriendelijke groet,
> 
> Itay Bar-On
> Geo Informatie Specialist
> 
> 
> Informatie en Facilitaire Voorzieningen
> Westnieuwland 6, 3131VX Vlaardingen, Nederland
> T   06 10173309
> E  itay.ba...@vlaardingen.nl
> W  www.vlaardingen.nl
>  
> De gemeente Vlaardingen stuurt privacygevoelige e-mail berichten via
> een beveiligde verbinding van KPN Zorg Messenger. Meer informatie
> vindt u op www.vlaardingen.nl/veiligmailen.
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
>  
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
> Nuno Oliveira
> ==
> GeoServer Professional Services from the
> experts! 
> Visit http://goo.gl/it488V for more information.
> ==
>  
> Nuno Miguel Carvalho Oliveira
> @nmcoliveira
> Software Engineer
>  
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:      +39 0584 1660272
>  
> 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 
>

Re: [Geoserver-users] Update layer keywords programmatically

2019-06-03 Thread Nuno Oliveira
Hi,
Yes you can from the featureTypes end point (https://docs.geoserver.org
/latest/en/api/#/latest/en/api/1.0.0/featuretypes.yaml):
geoserver/rest/workspaces/{workspace}/datastores/{dataStore}/featuretyp
es/{featureType}.xml
The POST content should look like this (for updating keywords only):

  
features
facility
newKeyword
  

Best regards,
Nuno Oliveira
On Mon, 2019-06-03 at 10:59 +, Bar-On, Itay wrote:
> Hi there,
>  
> I am currently searchning for a way to update ca. 280 layers with new
> keywords. The reason I would like to do this is to be able to harvest
> the getcapabilities documents of the services and set up a services
> catalog.
>  
> After googling it for a while and searching the users group the only
> post  that comes anywhere near is from 2011:
> http://osgeo-org.1560.x6.nabble.com/automating-layer-metadata-update-
> td3790274.html
>  
> Naturally the obvious choice would be to use the REST API to update
> the layer using the /layers/{layerName} endpoint with a POST, but I
> am not sure if this is possible for keywords.
>  
> Does anybody have any experiance with this endpoint ? and can share
> some wisdom on how to update layers keywords via the REST API (if at
> all possible…)
>  
> If the REST API endpoint is not a possibility is there maybe another
> way I can do it programmatically?
>  
> Thanks in advance
>  
>  
> Met vriendelijke groet,
> 
> Itay Bar-On
> Geo Informatie Specialist
> 
> 
> Informatie en Facilitaire Voorzieningen
> Westnieuwland 6, 3131VX Vlaardingen, Nederland
> T   06 10173309
> E  itay.ba...@vlaardingen.nl
> W  www.vlaardingen.nl
>  
> De gemeente Vlaardingen stuurt privacygevoelige e-mail berichten via
> een beveiligde verbinding van KPN Zorg Messenger. Meer informatie
> vindt u op www.vlaardingen.nl/veiligmailen.
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] srsName OGC HTTP URI storedquery

2019-01-21 Thread Nuno Oliveira
Great, thank you for the feedback !
On Mon, 2019-01-21 at 12:20 +, Verbeeck Bart (AIV) wrote:
> Thanks Nuno
>  
> I solved the issue.
> Different wfs settings (global vs workspaces)
>  
> Bart
>  
> From: Nuno Oliveira  
> Sent: zaterdag 19 januari 2019 0:32
> To: Verbeeck Bart (AIV) ; geoserver-u
> s...@lists.sourceforge.net
> Subject: Re: [Geoserver-users] srsName OGC HTTP URI storedquery
>  
> Hi,
>  
> I have tried to reproduce this but could not, if you wish to give it
> a try you can download the data set 
> and stored query I used from the following link:
> https://drive.google.com/file/d/1uCxzB-8wklx0kd7thLPwT6g9ITPlhvtv/vie
> w?usp=sharing
>  
> Best regards,
> Nuno Oliveira
>  
> On Wed, 2019-01-16 at 15:42 +, Verbeeck Bart (AIV) wrote:
> Dear list
>  
> When I invoke https://inspire.informatievlaanderen.be/overdrachtdiens
> ten/hy-n/wfs?request=GetFeature=hy-
> n:WatercourseLink=http://www.opengis.net/def/crs/EPSG/0/4258;
> service=WFS=1
>  
> I get GML with  srsName="http://www.opengis.net/def/crs/EPSG/0/4258;
>  
> When I call  a storedquery I get the same result https://inspire.info
> rmatievlaanderen.be/overdrachtdiensten/hy-
> p/wfs?request=GetFeature=dut=http://www.opengis.net/def/
> crs/EPSG/0/4258=informatievlaanderen-
> be=WFS=1_ID=urn:x-inspire:storedQuery:hy-
> n:GetSpatialDataSet=2.0.0=2aed0b7b-890f-47ba-
> 84ec-c0b87227a64c
>  
> But with  srsName="urn:ogc:def:crs:EPSG::4258"
>  
> This means the storedquery ignores my wfs setting (OGC HTTP URI)
> 
>  
> Below you find my stored query definition.
>  
> This happens in 2.13.1 and in 2.14.1
>  
> Is this a geoserver issue, or did I do something wrong?
>  
> Thanks!
>  
> Bart
>  
>  
>  
> 
>      xmlns:xs="http://www.w3.org/2001/XMLSchema;
>     xmlns:fes="http://www.opengis.net/fes/2.0;
>     xmlns:wfs="http://www.opengis.net/wfs/2.0;
>     xmlns:gml="http://www.opengis.net/gml/3.2;
>     xmlns:ows="http://www.opengis.net/ows/1.1;
>     xmlns:xlink="http://www.w3.org/1999/xlink;
>     id="urn:x-inspire:storedQuery:hy-n:GetSpatialDataSet">
> 
> 
> 
> 
> 
> language="urn:ogc:def:queryLanguage:OGC-WFS::WFS_QueryExpression"
> returnFeatureTypes="hy-n:WatercourseLink">
> 
> 
> 
> 
>  
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
>  
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
> Nuno Oliveira
> ==
> GeoServer Professional Services from the
> experts! 
> Visit http://goo.gl/it488V for more information.
> ==
>  
> Nuno Miguel Carvalho Oliveira
> @nmcoliveira
> Software Engineer
>  
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:      +39 0584 1660272
>  
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>  
> ---
>  
> Con riferimento alla normativa sul trattamento dei dati 
> personali (Reg. UE 2016/679 - Regolamento generale sulla 
> protezione dei dati “GDPR”), si precisa che ogni 
> circostanza inerente alla presente email (il suo contenuto, 
> gli eventuali allegati, etc.) è un dato la cui conoscenza 
> è riservata al/i solo/i destinatario/i indicati dallo 
> scrivente. Se il messaggio Le è giunto per errore, è 
> tenuta/o a cancellarlo, ogni altra operazione è illecita. 
> Le sarei comunque grato se potesse darmene notizia.
>  
> This email is intended only for the person or entity to 
> which it is addressed and may contain information that 
> is privileged, confidential or otherwise protected from 
> disclosure. We remind that - as provided by European 
> Regulation 2016/679 “GDPR” - copying, dissemination or 
> use of this e-mail or the information herein by anyone 
> other than the intended recipient is prohibited. If you 
> have received this email by mistake, please notify 
> us immediately by telephone or e-mail.
-- 
Regards,
Nuno Oliveira
==
GeoServer Prof

Re: [Geoserver-users] srsName OGC HTTP URI storedquery

2019-01-18 Thread Nuno Oliveira
Hi,
I have tried to reproduce this but could not, if you wish to give it a
try you can download the data set 
and stored query I used from the following link:
https://drive.google.com/file/d/1uCxzB-8wklx0kd7thLPwT6g9ITPlhvtv/view?
usp=sharing
Best regards,
Nuno Oliveira
On Wed, 2019-01-16 at 15:42 +, Verbeeck Bart (AIV) wrote:
> Dear list
>  
> When I invoke https://inspire.informatievlaanderen.be/overdrachtdiens
> ten/hy-n/wfs?request=GetFeature=hy-
> n:WatercourseLink=http://www.opengis.net/def/crs/EPSG/0/4258;
> service=WFS=1
>  
> I get GML with  srsName="http://www.opengis.net/def/crs/EPSG/0/4258;
>  
> When I call  a storedquery I get the same result https://inspire.info
> rmatievlaanderen.be/overdrachtdiensten/hy-
> p/wfs?request=GetFeature=dut=http://www.opengis.net/def/
> crs/EPSG/0/4258=informatievlaanderen-
> be=WFS=1_ID=urn:x-inspire:storedQuery:hy-
> n:GetSpatialDataSet=2.0.0=2aed0b7b-890f-47ba-
> 84ec-c0b87227a64c
>  
> But with  srsName="urn:ogc:def:crs:EPSG::4258"
>  
> This means the storedquery ignores my wfs setting (OGC HTTP URI)
> 
>  
> Below you find my stored query definition.
>  
> This happens in 2.13.1 and in 2.14.1
>  
> Is this a geoserver issue, or did I do something wrong?
>  
> Thanks!
>  
> Bart
>  
>  
>  
> 
>      xmlns:xs="http://www.w3.org/2001/XMLSchema;
>     xmlns:fes="http://www.opengis.net/fes/2.0;
>     xmlns:wfs="http://www.opengis.net/wfs/2.0;
>     xmlns:gml="http://www.opengis.net/gml/3.2;
>     xmlns:ows="http://www.opengis.net/ows/1.1;
>     xmlns:xlink="http://www.w3.org/1999/xlink;
>     id="urn:x-inspire:storedQuery:hy-n:GetSpatialDataSet">
> 
> 
> 
> 
> 
> language="urn:ogc:def:queryLanguage:OGC-WFS::WFS_QueryExpression"
> returnFeatureTypes="hy-n:WatercourseLink">
> 
> 
> 
> 
>  
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Aggregates can't link to remote workspaces since 2.13

2019-01-16 Thread Nuno Oliveira
Hi,
By aggregate you mean layer group ?
On Wed, 2019-01-16 at 15:33 +0100, Florent Gravin wrote:
> Hi community,
> 
> Before 2.13, we could create an aggregate in workspace1 and point on
> layers that belong to workspace2.
> 
> Since 2.13, it not possible anymore.
> Is it an undesirable side effect of Isolate workspace integration ?
> Is it a bug or is it wanted ?
> 
> We found this option pretty usefull.
> 
> Thanks for answer
> 
> Bests
> 
> -- 
> camptocamp
> INNOVATIVE SOLUTIONS
> BY OPEN SOURCE EXPERTS
> 
> Florent Gravin
> Front-end Technical Leader
> +33 4 58 48 20 36
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] App-schema: mapping simple attribute as a feature link [SEC=UNCLASSIFIED]

2018-12-14 Thread Nuno Oliveira
Hi,
Ouch,  your dependencies and configuration looks fine, this looks like
some cast error when generating the SQL query.
This looks like a bug \ error specific to Oracle, you should have a
stack trace in the log files, can you share it with us ?
Best regards,
Nuno Oliveira
On Thu, 2018-12-13 at 23:14 +, Sexton Michael wrote:
> Nuno,
>  
> That looks like exactly what I am after, thank you. However, in
> implementing it I encounter another problem:
>  
> 
>   java.lang.RuntimeException: java.lang.RuntimeException: Error
> applying mapping with targetAttribute
> er:sourceReferencejava.lang.RuntimeException: Error applying mapping
> with targetAttribute er:sourceReferenceError applying mapping with
> targetAttribute
> er:sourceReferenceorg.geotools.data.oracle.OracleDialect cannot be
> cast to org.geotools.jdbc.BasicSQLDialect
> 
> 
> For reference, my Mapping file data store is this
>  
> 
>     datastore
>     
>     
>     dbtype
>     Oracle
>     
>     
>     jndiReferenceName
>     jdbc/earthresource-ora
>     
>     
>     schema
>     EARTHRESOURCE
>     
>     
>     Expose primary keys
>     true
>     
>     
> 
>  
> JNDI config is (with identifying parameters removed)
>  
>    auth="Container"
>   type="javax.sql.DataSource"
>  username="#"
>   password="#"
>   factory="org.apache.commons.dbcp.BasicDataSourceFactory"
>   driverClassName="oracle.jdbc.OracleDriver"
>   url="jdbc:oracle:thin:@#:1234/#"
>   maxActive="15"
>   maxIdle="5"
>   maxWait="1"
>   removeAbandoned="true"
>   removeAbandonedTimeout="60"
>   logAbandoned="true"
>   testOnBorrow="true"
>   defaultAutoCommit="false"
>   validationQuery="SELECT 1 FROM DUAL"
>   testWhileIdle="true"
>   timeBetweenEvictionRunsMillis="1"
>   minEvictableIdleTimeMillis="6"
>   numTestsPerEvictionRun="5"
>   accessToUnderlyingConnectionAllowed="true"/>
>  
> And dependencies in pom.xml are
>  
> 
>     
>     org.geoserver
>     gs-main
>     
>     
>     org.geoserver.web
>     gs-web-app
>     ${gs.version}
>     
>     
>     org.geotools
>     gt-app-schema
>     ${gt.version}
>     
>     
>     org.geotools
>     gt-process
>     
>     
>     org.geoserver
>     gs-xslt
>     ${gs.version}
>     
>     
>     org.geotools.jdbc
>     gt-jdbc-oracle
>     
>     
>     org.geoserver.extension
>    gs-oracle
>     ${gs.version}
>     
>     
>     org.apache.tomcat
>     tomcat-jdbc
>     7.0.28
>     
>     
>     com.oracle
>     ojdbc7
>     
> 
>  
> Is there some other configuration necessary to get this to work?
>  
> Kind regards,
>  
> Michael
>  
>  
> From: Nuno Oliveira [mailto:nuno.olive...@geo-solutions.it] 
> Sent: Thursday, 13 December 2018 8:12 PM
> To: Sexton Michael; geoserver-users@lists.sourceforge.net
> Subject: Re: [Geoserver-users] App-schema: mapping simple attribute
> as a feature link [SEC=UNCLASSIFIED]
>  
> Hi,
>  
> Interesting use case indeed, er:MineralOccurrence is not a simple
> property so it seems that App-Schema does handle it correctly.
>  
> Quick suggestion: give it a quick try with the recently introduced
> syntax for SQL mappings with cardinality 0\2..N:
> https://docs.geoserver.org/stable/en/user/data/app-schema/mapping-fil
> e.html#attributes-with-cardinality-1-n
>  
> Best regards,
>  
> Nuno Oliveira
>  
>  
> On Thu, 2018-12-13 at 02:25 +, Sexton Michael wrote:
> Hi
>  
> I’m following the example mapping file here to map a simple attribute
> field from another table multiple times:
>  
> https://github.com/geoserver/geoserver/blob/master/src/extension/app-
> schema/app-schema-test/src/test/resources/test-
> data/SimpleAttributeFeatureChainTest.xml
>  
> This is the mapping file:
>  
> 
>     
>     datastore
>     MV_ER_MINERALOCCURRENCE
>     er:MineralOccurrence
> 
>     
>     
>    
> er:MineralOccurrence
>     
>     GML_ID
>     
>     
>     
>     gml:identifier
>     
>     IDENTIFIER
>     
>     
>

Re: [Geoserver-users] App-schema: mapping simple attribute as a feature link [SEC=UNCLASSIFIED]

2018-12-13 Thread Nuno Oliveira
Hi,
Interesting use case indeed, er:MineralOccurrence is not a simple
property so it seems that App-Schema does handle it correctly.
Quick suggestion: give it a quick try with the recently introduced
syntax for SQL mappings with cardinality 0\2..N:
https://docs.geoserver.org/stable/en/user/data/app-schema/mapping-file.
html#attributes-with-cardinality-1-n
Best regards,
Nuno Oliveira
On Thu, 2018-12-13 at 02:25 +, Sexton Michael wrote:
> Hi
>  
> I’m following the example mapping file here to map a simple attribute
> field from another table multiple times:
>  
> https://github.com/geoserver/geoserver/blob/master/src/extension/app-
> schema/app-schema-test/src/test/resources/test-
> data/SimpleAttributeFeatureChainTest.xml
>  
> This is the mapping file:
>  
> 
>     
>     datastore
>     MV_ER_MINERALOCCURRENCE
>     er:MineralOccurrence
> 
>     
>     
>    
> er:MineralOccurrence
>     
>     GML_ID
>     
>     
>     
>     gml:identifier
>     
>     IDENTIFIER
>     
>     
>     codeSpace
>     IDENTIFIER_CODESPACE
>     
>     
>     
>     gml:name
>     
>     NAME
>     
>     
> 
>     
>     er:sourceReference
>     
>     ENO
>     SOURCEREFERENCE
>     FEATURE_LINK[2]
>     
>     
> 
> 
> 
>     SOURCEREFERENCE
>     datastore
>     MV_ER_SOURCEREFERENCE
>     er:sourceReference
>     
> 
>     
>     er:sourceReference
>     
>     xlink:href
>     URI
>     
> 
>     
>     xlink:title
>     TITLE
>     
>     
>     
>     FEATURE_LINK[2]
>     
>     ENO
>     
>     
>     
> 
>  
>  
> The sourceReference attribute is defined in http://schemas.earthresou
> rceml.org/2.0/mineralOccurrence.xsd as:
>  
> 
> nillable="true">
>     
>   
>     
> >gmd2:CI_Citation;
>   
>     
>     
>   
>     
>   
>   
> ref="gml:AssociationAttributeGroup"/>
>     
>   
>     
> 
>  
> But I get this error:
>  
> Error occurred getting featuresjava.util.NoSuchElementException: No
> top level element found in schemas: {http://xmlns.earthresourceml.org
> /EarthResource/2.0}sourceReferenceNo top level element found in
> schemas:
> {http://xmlns.earthresourceml.org/EarthResource/2.0}sourceReference
>  
> I’ve seen this error before, when trying to map gml:metadataProperty,
> which I managed to get around using the targetAttributeNode, eg:
>  
> METADATA
> datastore
> MV_CIT_CI_CITATION
> gml:metaDataProperty
> 
> 
>     
>    
> gml:metaDataProperty/gml:GenericMetaData
> ibute>
>    
> mrl:LI_Source_PropertyType
>     
>  
>  
> But in the case of er:soruceReference, there is no node to map to.
> It’s a reference intended to have xlink:href and xlink:title
> attributes. Is there a solution here?
>  
> Thanks
>  
>  
> Michael Sexton
>  
> 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.
> ---
> --
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://github.com/geoserver/geoserver/wik

Re: [Geoserver-users] GeoServer Disk Quota Errors

2018-11-29 Thread Nuno Oliveira GeoSolutions
Hi,

(Unique index or primary key violation: PRIMARY_KEY_D ON
> PUBLIC.TILESET(KEY); SQL statement: CREATE PRIMARY KEY ON
> PUBLIC.TILESET(KEY) [23001-119])
>

This means that disk quota is trying to insert info about the same tile set
twice, why is this happening ? Hard to say without looking at the actual
environment.
That say, you are using a relatively old unsupported GeoServer version
(2.10.0), the current stable release series are 2.14.x.

Suggestions:
- backup and clean your existing H2 database, if the error persists it
means that you are hitting some limitation \ bug in GeoServer
- backup your data directory and give it a try with a more recent version
GeoServer

By the way, in a production environment you should strive to use a more
mature \ production ready database, e.g. PostgreSQL.

Hope it helps,

Nuno Oliveira



On Tue, Nov 27, 2018 at 6:16 PM Robert Douglas  wrote:

> Hello all,
>
>
>
> We experiencing some issues with disk quota.
>
>
>
> First we were seeing this error:
>
> Loading quota store failed, the disk quota subsystem is disabled, please
> re-configure: Could not open JDBC Connection for transaction; nested
> exception is java.lang.OutOfMemoryError: Java heap space
>
>
>
> After increasing Tomcat’s max memory settings to 2048m and restarting
> Tomcat we are seeing this error:
>
> Loading quota store failed, the disk quota subsystem is disabled, please
> re-configure: Could not open JDBC Connection for transaction; nested
> exception is org.apache.commons.dbcp.SQLNestedException: Cannot create
> PoolableConnectionFactory (Unique index or primary key violation:
> PRIMARY_KEY_D ON PUBLIC.TILESET(KEY); SQL statement: CREATE PRIMARY KEY ON
> PUBLIC.TILESET(KEY) [23001-119])
>
>
>
> We are on GeoServer 2.10.0 and are using the In process database (H2)
> option on the Disk Quota page.
>
>
>
> Any help sorting this out would be greatly appreciated!
>
>
>
>
>
> ___
> 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,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati
personali (Reg. UE 2016/679 - Regolamento generale sulla
protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto,
gli eventuali allegati, etc.) è un dato la cui conoscenza
è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita.
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to
which it is addressed and may contain information that
is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or
use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you
have received this email by mistake, please notify
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Parametrize DB connection (PostGIS)

2018-11-29 Thread Nuno Oliveira GeoSolutions
Hi,

App-Schema supports parameterization in mappings files out of the box:
https://docs.geoserver.org/stable/en/user/data/app-schema/property-interpolation.html

You can also have parameterization at a GeoServer more generic level,
although the environment parameterization may not be supported for some
extensions:
https://docs.geoserver.org/latest/en/user/datadirectory/index.html#datadir

Regards,

Nuno Oliveira

On Wed, Nov 28, 2018 at 3:05 PM geseus  wrote:

> Hi, is it possible to parametrize values for PostGIS datastore in
> datastore.xml file (like for eg. app-schemas)?
>
> I'm using PostGIS as a database, and would like to have datastore.xml like:
>
> 
>   test_datastore
>   dbStore
>   ${test.datasource.description}
>   PostGIS
>   true
>   
> test_workspace
>   
>   
> ${test.database.host}
> ${test.database.port}
> ${test.database.name}
> ${test.database.schema}
> ${test.database.user}
> ${test.database.password}
> false
> false
> false
> false
> false
> false
> false
> false
> false
>   
>   <__default>false
> 
>
>
> .. but I do not know where/how I should place *.properties file; or how to
> set up configuration.
>
> Thanks a lot,
> T.
>
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati
personali (Reg. UE 2016/679 - Regolamento generale sulla
protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto,
gli eventuali allegati, etc.) è un dato la cui conoscenza
è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita.
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to
which it is addressed and may contain information that
is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or
use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you
have received this email by mistake, please notify
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Geoserver, App-Schema and Hale Studio

2018-11-13 Thread Nuno Oliveira
Hi,
Quick answer: you can achieve what you want with GeoServer App-Schema:
 * 
https://docs.geoserver.org/latest/en/user/data/app-schema/mapping-file.html#attributes-with-cardinality-1-n
 * 
https://docs.geoserver.org/latest/en/user/data/app-schema/feature-chaining.html#multi-valued-properties-by-reference-xlink-href
... but I don't think you can do it with HALE integration. I will
double check what is going on ... not sure when I will have time to do
it.
Hope it helps,
Nuno Oliveira
On Tue, 2018-11-13 at 15:24 +, Jonas Nygaard Pedersen wrote:
> Hi list,
>  
> I’m trying to do a transformation of two tables from Postgres (see
> below) to a target XML schema (http://inspire.ec.europa.eu/schemas/pl
> u/4.0/PlannedLandUse.xsd).
> Most of my data is in one table (plu_spatialplan) where the columns
> can be directly renamed in an one-to-one relationship.

> 
> But I have a few targets in the XML schema (e.g. SpatialPlan.member.href) 
> which have a 0-to-many relationship. To handle this situation I create a join 
> in hale studio between my main table (plu_spatialplan) and the table
>  plu_zoningelement_member, which has the values that should be mapped to the 
> SpatialPlan.member.href target.
> 
>  
> 
> This all seems to work just fine in Hale Studio. And if I output the 
> transformed data as GML, everything again seems fine.
> 
> But when I export the alignment to Geoserver (as an Application Schema) via 
> the Direct Upload option, I get a new dialogue, which requires me to chain 
> the two tables (they are already joined in Hale Studio context).
> 

> 
> In this dialogue the plu_spatialplan table has the CONTAINER role and the 
> plu_zoningelement_member table has the NESTED role, which seems right, as I 
> want each row in plu_spatialplan data to hold more than one element
>  from plu_zoningelement_member.
> 
>  
> 
> But when choosing the Target Type I do not have the option to choose 
> SpatialPlan.member.href as the Target Type. In fact I can’t choose anything 
> but SpatialPlan.ordinance.OrdinanceValue, which doesn’t seem to have any
>  relation at all to the join I’m performing.
> 
>  
> 
> So I’m stuck and would love to hear from anyone having experience mapping 
> INSPIRE data in Hale Studio, using two or more tables with a join and 
> uploading the alignment to Geoserver/Application-Schema
> 
>  
> 
>  
> 
> CREATE TABLE plu_spatialplan
> 
> (
> 
>   gmlid character varying(4000),
> 
>   inspireid_localid character varying(4000) NOT NULL,
> 
>   inspireid_namespace character(61),
> 
>   extent1 geometry,
> 
>   officialtitle character varying(51),
> 
>   levelofspatialplan character(69),
> 
>   plantypename character(64),
> 
>   beginlifespanversion timestamp(6) with time zone,
> 
>   endlifespanversion character(17),
> 
>   validfrom timestamp(0) without time zone,
> 
>   validto character(17),
> 
>   alternativetitle character varying(37),
> 
>   processstepgeneral character(71),
> 
>   backgroundmap character(17),
> 
>   ordinancedate timestamp(0) without time zone,
> 
>   ordinancereference character(16),
> 
>   CONSTRAINT plu_spatialplan_pkey PRIMARY KEY (inspireid_localid)
> 
> )
> 
>  
> 
> CREATE TABLE plu_zoningelement_member
> 
> (
> 
>   plan_inspireid_localid character(36),
> 
>   member_href character varying(4000),
> 
>   CONSTRAINT plu_zoningelement_member_plan_inspireid_localid_fkey FOREIGN KEY 
> (plan_inspireid_localid)
> 
>   REFERENCES plu_spatialplan (inspireid_localid)
> 

> 
> )
> 
>  
> 
> Regards,
> 
> Jonas
> 
>  
> 
>  
> 
>  
> 




> ___
> 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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solu

Re: [Geoserver-users] Parameterized data_dir

2018-11-07 Thread Nuno Oliveira
Great ! thx for the feedback.
On Tue, 2018-11-06 at 15:11 +0100, Víctor González wrote:
> Hello,
> 
> Just for completeness, my infrastructure was quite complex with
> multiple components, etc. and the problem was that the
> -DALLOW_ENV_PARAMETRIZATION property was not arriving to GeoServer.
> It's working perfectly now!
> 
> Sorry for bothering.
> 
> El lun., 5 nov. 2018 a las 7:33, Víctor González (
> omati.co>) escribió:
> > Hi,
> > 
> > Yes, I did. Although I found that the GeoServerEnvironment class is
> > in the platform project and Alessio suggested that the extension is
> > not necessary:
> > http://osgeo-org.1560.x6.nabble.com/spring-PropertyPlaceholderConfi
> > gurer-for-data-directory-files-tp5313190p5313197.html
> > 
> > I'll try to do it again with a fresh installation; maybe there's
> > something messed up with my current setup.
> > 
> > Cheers.
> > 
> > El vie., 2 nov. 2018 a las 17:58, Nuno Oliveira (
> > -solutions.it>) escribió:
> > > Hi,
> > > 
> > > your configuration look good, did you install the Backup &
> > > Restore module ?
> > > https://docs.geoserver.org/latest/en/user/community/backuprestore
> > > /installation.html
> > > 
> > > Regards,
> > > 
> > > Nuno Oliveira
> > > 
> > > On Fri, 2018-11-02 at 14:17 +0100, Víctor González wrote:
> > > > Hi all,
> > > > 
> > > > I was trying to use the technique explained here: 
> > > > 
> > > > https://docs.geoserver.org/latest/en/user/community/backupresto
> > > > re/configtemplate.html 
> > > > 
> > > > but I cannot make it work. I set the host of a PG datastore to
> > > > ${mypghost}, wrote a /geoserver-
> > > > environment.properties with mypghost=localhost and then
> > > > restarted with -DALLOW_ENV_PARAMETRIZATION=true but it doesn't
> > > > connect (it does when setting "localhost" directly).
> > > > 
> > > > Then I tried to remove the geoserver-environment.properties
> > > > file and set the logging level to verbose but I don't see this
> > > > message in the logs anywhere:
> > > > 
> > > > https://github.com/geoserver/geoserver/blob/master/src/platform
> > > > /src/main/java/org/geoserver/platform/GeoServerEnvironment.java
> > > > #L104
> > > > https://github.com/geoserver/geoserver/blob/master/src/platform
> > > > /src/main/java/org/geoserver/platform/GeoServerEnvironment.java
> > > > #L120
> > > > 
> > > > It seems like the bean is never initialized. Do I need to
> > > > configure something else to enable this feature?
> > > > 
> > > > Thanks in advance.
> > > > 
> > > > -- 
> > > > Víctor González
> > > > http://geomati.co
> > > > ___
> > > > 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: ht
> > > > tp://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,
> > > Nuno Oliveira
> > > ==
> > > GeoServer Professional Services from the
> > > experts! 
> > > Visit http://goo.gl/it488V for more information.
> > > ==
> > > 
> > > Nuno Miguel Carvalho Oliveira
> > > @nmcoliveira
> > > Software Engineer
> > > 
> > > GeoSolutions S.A.S.
> > > Via di Montramito 3/A
> > > 55054  Massarosa (LU)
> > > Italy
> > > phone: +39 0584 962313
> > > fax:      +39 0584 1660272
> > > 
> > > http://www.geo-solutions.it
> > > http://twitter.com/geosolutions_it
> > > 
> > > --

Re: [Geoserver-users] Parameterized data_dir

2018-11-02 Thread Nuno Oliveira
Hi,
your configuration look good, did you install the Backup & Restore
module ?
https://docs.geoserver.org/latest/en/user/community/backuprestore/insta
llation.html
Regards,
Nuno Oliveira
On Fri, 2018-11-02 at 14:17 +0100, Víctor González wrote:
> Hi all,
> 
> I was trying to use the technique explained here: 
> 
> https://docs.geoserver.org/latest/en/user/community/backuprestore/con
> figtemplate.html 
> 
> but I cannot make it work. I set the host of a PG datastore to
> ${mypghost}, wrote a /geoserver-environment.properties with
> mypghost=localhost and then restarted with
> -DALLOW_ENV_PARAMETRIZATION=true but it doesn't connect (it does when
> setting "localhost" directly).
> 
> Then I tried to remove the geoserver-environment.properties file and
> set the logging level to verbose but I don't see this message in the
> logs anywhere:
> 
> https://github.com/geoserver/geoserver/blob/master/src/platform/src/m
> ain/java/org/geoserver/platform/GeoServerEnvironment.java#L104
> https://github.com/geoserver/geoserver/blob/master/src/platform/src/m
> ain/java/org/geoserver/platform/GeoServerEnvironment.java#L120
> 
> It seems like the bean is never initialized. Do I need to configure
> something else to enable this feature?
> 
> Thanks in advance.
> 
> -- 
> Víctor González
> http://geomati.co
> ___
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: ht
> tps://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,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Sub-layer-level security

2018-10-27 Thread Nuno Oliveira GeoSolutions
Hi,

GeoServer default security system will not allow you to do this:

In other words, is it possible to decide which users can access which
> features in a layer?
>

GeoServer GeoFence extension [1] will allow you to set rules based on a
spatial area or feature properties, not sure if that's what you need.
For example [2]:

   - this user can only see features inside Europe (defined whit a polygon)
   - this user can only see features that have property *color *equal to
   *blue*.

Regards,

Nuno Oliveira

[1]
https://docs.geoserver.org/stable/en/user/community/geofence-server/index.html
[2]
https://docs.geoserver.org/stable/en/user/community/geofence-server/gui.html#rule-page

On Sat, Oct 27, 2018 at 4:50 PM Nanaso via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hi Geoserver users,
> I know that you can set the security of each layer individually (decide
> which users can access which layer).
> My question is: is it possible to have a sub-layer security access
> control? In other words, is it possible to decide which users can access
> which features in a layer?
>
> Regards,
> Nanaso
> ___
> 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,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati
personali (Reg. UE 2016/679 - Regolamento generale sulla
protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto,
gli eventuali allegati, etc.) è un dato la cui conoscenza
è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita.
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to
which it is addressed and may contain information that
is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or
use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you
have received this email by mistake, please notify
us immediately by telephone or e-mail.
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] WFS transaction authorization error

2018-10-03 Thread Nuno Oliveira

Hi,

Looks like your GeoServer user doesn't have permissions to execute a WFS 
transaction

update operation. The security rules by default are that:

 * everyone can read the published data, i.e. perform WMS GetMap requests, WFS
   GetFeatureRequests, and so on ...
 * but only administrators can write \ change data, i.e. perform WFS
   transaction requests

The documentation [1] about this is actually wrong (I open an issue [2]), but 
you can follow

the described steps to make your user able to write \ change data.

Regards,

Nuno Oliveira

[1] http://docs.geoserver.org/stable/en/user/security/webadmin/data.html
[2] https://osgeo-org.atlassian.net/browse/GEOS-8960

On 10/01/2018 10:49 AM, ovcarict wrote:

Hi!

I'm new in geoserver community and I bumped into a little problem here. I'm
trying to edit layer in application, but all I'm receiving is following
error. I'm using Geoserver 2.13.0 with connection to Postgress. Any help is
greatly appreciated... :)

28 Sep 14:47:36 ERROR [org.geoserver.wfs] - Transaction failed

org.geoserver.wfs.WFSTransactionException: Update error: Transaction does
not have authorization for **_gradjevina:**_gradjevina.782

 at
org.geoserver.wfs.UpdateElementHandler.execute(UpdateElementHandler.java:311)

 at org.geoserver.wfs.Transaction.execute(Transaction.java:322)

 at org.geoserver.wfs.Transaction.transaction(Transaction.java:109)

 at
org.geoserver.wfs.DefaultWebFeatureService.transaction(DefaultWebFeatureService.java:172)

 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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)

 at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)

 at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)

 at
org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:55)

 at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

 at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)

 at com.sun.proxy.$Proxy85.transaction(Unknown Source)

 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.geoserver.ows.Dispatcher.execute(Dispatcher.java:867)

 at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:270)

 at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174)

 at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50)

 at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)

 at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)

 at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)

 at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)

 at
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)

 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)

 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

 at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

 at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)

 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

 at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)

 at
org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71

Re: [Geoserver-users] DispatcherCallback

2018-09-26 Thread Nuno Oliveira

You just need to pass the feature collection to the clip process and execute it.
Once the clip process starts executing (i.e. accessing the feature collection 
cotent) the data will be requested from the database as needed.


On 09/26/2018 01:56 PM, Olyster wrote:

Andrea, Nuno,

thanks for your answers.

If the query is launch in a lazy way (while sending the results to the
client), how could I send the results to the GeometryClipper beforehand ?

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



--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati
personali (Reg. UE 2016/679 - Regolamento generale sulla
protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto,
gli eventuali allegati, etc.) è un dato la cui conoscenza
è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita.
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to
which it is addressed and may contain information that
is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or
use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you
have received this email by mistake, please notify
us immediately by telephone or e-mail.



___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] complex featrure, GetPropertyValue class cast exception

2018-09-26 Thread Nuno Oliveira

I have open a ticket for this:
https://osgeo-org.atlassian.net/browse/GEOT-6129

On 09/24/2018 06:57 PM, Nuno Oliveira wrote:

Hi,

Instead of:

:

... it should be (the namespace is wfs not fes):

:

GeoServer is "ignoring" that invalid element, that's why the query doesn't 
fail but returns all properties.


That say, GeoServer will throw the same exception as the GetPropertyValue 
operation :(


Regards,

Nuno Oliveira

On 09/24/2018 03:49 PM, Diego Sanmartino wrote:

Hi all,

This wfs getfeature work correctly, but also in this case don't work
:

wfs query:
http://www.opengis.net/wfs/2.0;
   xmlns:fes="http://www.opengis.net/fes/2.0;
   xmlns:myns="http://www.someserver.example.com/myns;
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
   xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd
http://www.someserver.example.com/myns ./GetFeature_09.xsd">
   
*:*
  
   
:
myval
   
  
   


Therefore I have still the original problem:
to obtain a subset of feature from a complex feature.

If I use a wfs GetPropertyValue I obtain a class cast exception.
If I use a wfs GetFeature the query work correctly bat the  
is apprently

ignored by geoserver.

Thanks in advance for all hints.
Diego

Il giorno gio 20 set 2018 alle ore 14:23 Diego Sanmartino 
mailto:diego.sanmart...@gmail.com>> ha scritto:


Thank you for your response, I am going to opening a JIRA ticket for this
problem.

But, I need to recive a subset of features from my complex feature and
after GetPropertyValue failure I try with this wfs GetFeature:

    http://www.opengis.net/wfs/2.0;
   xmlns:fes="http://www.opengis.net/fes/2.0;
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
   xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0.02.0/wfs.xsd
http://www.someserver.example.com/myns ./GetFeature_09.xsd">
    
    <*PropertyName*>:address
        
            
                
:address
Pavleka
                
            
        
    

    But from server I receive this exception:

    
        java.lang.NumberFormatException: For input string: 
        [[ :address = Pavleka ]]
        For input string: [[ :address = Pavleka ]]
        
    

    PS: address is a String, this is a portion of xsd:

    
                        
                            
                                
                            
                        
    

    Do you have any suggestions?

        Thank
    Diego

Il giorno mer 19 set 2018 alle ore 17:24 Nuno Oliveira
mailto:nuno.olive...@geo-solutions.it>>
ha scritto:

Hi,

For reference:
http://docs.opengeospatial.org/is/09-025r2/09-025r2.html#335

In the first query the /valueReference=':'
/parameter has no effect that's why it works :)
So, in this case it works means: it doesn't throw an exception but it
actually doesn't select only that value property.

Regarding the second request, indeed the request is valid but its
    falling, can you open a JIRA ticket for this ?

Thank you,

Nuno Oliveira

On 09/19/2018 01:35 PM, Diego Sanmartino wrote:

HI all,

We are working with geoserver 2.13 and with some complex features.
Apparently the complex features are correctly working.
If we use the wfs getfeature we obtain the corrects responses.
For examble this query work correctly:

http://www.opengis.net/fes/2.0;
        xmlns:gml="http://www.opengis.net/gml/3.2;
        xmlns:wfs="http://www.opengis.net/wfs/2.0;
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
        xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd
http://www.opengis.net/gml/3.2
http://schemas.opengis.net/gml/3.2.1/gml.xsd;>
            
    

Instead this query obtain a class cast exception:

http://www.opengis.net/fes/2.0;
    xmlns:gml="http://www.opengis.net/gml/3.2;
    xmlns:wfs="http://www.opengis.net/wfs/2.0;
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
    xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd
http://www.opengis.net/gml/3.2
http://schemas.opengis.net/gml/3.2.1/gml.xsd;>
        
    

Do you have any hints?
Thanks in advance




___
Geoserver-users mailing list

Please make sure you read the fo

Re: [Geoserver-users] DispatcherCallback

2018-09-26 Thread Nuno Oliveira
Access to the data stores is lazy, which means that the query will be sent to 
the database only when you actually try to access the content of the feature 
collection, for example.
If nobody access the content of the feature collection (or whatever container is 
being used), no query will be send to the database.


On 09/25/2018 06:24 PM, Olyster wrote:

Hi,

I've added log in gs-ows and gt-jdbc and something weird happens :

Added a log in :

gt-jdbc.JDBCDataStore.selectSQLPS right before the spatial query is executed

and another in gs.ows.Dispatcher.handleRequestInternal after the execute()
method is called.

In the log, I get the gs-ows log before the gt-jdbc log.

How can the result be ready before the query is sent to DB server ?

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



--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati
personali (Reg. UE 2016/679 - Regolamento generale sulla
protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto,
gli eventuali allegati, etc.) è un dato la cui conoscenza
è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita.
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to
which it is addressed and may contain information that
is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or
use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you
have received this email by mistake, please notify
us immediately by telephone or e-mail.



___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Geoserver failed when render solr data multi shards

2018-09-25 Thread Nuno Oliveira

Hi,

I never tried to query a Solr index distributed against multiple shards through 
GeoServer, looks like you're in /uncharted waters/, although I can't think about 
any evident reason for this issue.


I don't have enough spare time to deeply investigate this. If you have the 
necessary knowledge you can try to debug what is going on and provide a patch, 
otherwise you may want to have a look at commercial support [1].


Regards,

Nuno Oliveira

[1] http://geoserver.org/support/

On 09/05/2018 07:59 AM, Youzha wrote:

Hi i'm trying to rendering solr data spatial from geoserver layer.
when i try to render it from single shard solr collection, it works normally.
but when i try to render it from multi shards solr collection, i've found an 
error message below on my geoserver. Pls help & advice.


image.png


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


--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati
personali (Reg. UE 2016/679 - Regolamento generale sulla
protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto,
gli eventuali allegati, etc.) è un dato la cui conoscenza
è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita.
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to
which it is addressed and may contain information that
is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or
use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you
have received this email by mistake, please notify
us immediately by telephone or e-mail.

___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] DispatcherCallback

2018-09-24 Thread Nuno Oliveira

Hi,
please see my answers bellow:

On 09/21/2018 02:20 PM, Olyster wrote:

Hi,

I want to modify gs-ows-version.jar.

I have setup a project in eclipse, inserted a few logging entries in
Dispatcher.java, compiled and dropped the new jar in lib folder.

You may want to have a quick look at this guide:
http://docs.geoserver.org/stable/en/developer/quickstart/index.html#import-modules-into-your-ide

For testing \ development \ debugging is handy to start GeoServer from your IDE:
http://docs.geoserver.org/stable/en/developer/quickstart/eclipse.html

For actually running GeoServer (e.g. Tomcat) you may want to build the full WAR 
instead of picking up a single JAR.


After restarting the service, geoserver is fully functionnal but I can't see
any of my log entries in the log (verbose) file.
That say, if you add logs and you are no seeing them it's probably a consequence 
of the log level:

http://docs.geoserver.org/latest/en/user/configuration/logging.html


Anyone knows the flow of this class ?
The flow of this class is actually quite well documented in it, I would suggest 
to have a look at this method:

https://github.com/geoserver/geoserver/blob/master/src/ows/src/main/java/org/geoserver/ows/Dispatcher.java#L219-L281

Cheers,

Nuno Oliveira


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



--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati
personali (Reg. UE 2016/679 - Regolamento generale sulla
protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto,
gli eventuali allegati, etc.) è un dato la cui conoscenza
è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita.
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to
which it is addressed and may contain information that
is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or
use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you
have received this email by mistake, please notify
us immediately by telephone or e-mail.



___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] complex featrure, GetPropertyValue class cast exception

2018-09-24 Thread Nuno Oliveira

Hi,

Instead of:

   :

... it should be (the namespace is wfs not fes):

   :

GeoServer is "ignoring" that invalid element, that's why the query doesn't fail 
but returns all properties.


That say, GeoServer will throw the same exception as the GetPropertyValue 
operation :(


Regards,

Nuno Oliveira

On 09/24/2018 03:49 PM, Diego Sanmartino wrote:

Hi all,

This wfs getfeature work correctly, but also in this case don't work
:

wfs query:
http://www.opengis.net/wfs/2.0;
   xmlns:fes="http://www.opengis.net/fes/2.0;
   xmlns:myns="http://www.someserver.example.com/myns;
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
   xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd
http://www.someserver.example.com/myns ./GetFeature_09.xsd">
   
*:*
  
   
:
myval
   
  
   


Therefore I have still the original problem:
to obtain a subset of feature from a complex feature.

If I use a wfs GetPropertyValue I obtain a class cast exception.
If I use a wfs GetFeature the query work correctly bat the  
is apprently

ignored by geoserver.

Thanks in advance for all hints.
Diego

Il giorno gio 20 set 2018 alle ore 14:23 Diego Sanmartino 
mailto:diego.sanmart...@gmail.com>> ha scritto:


Thank you for your response, I am going to opening a JIRA ticket for this
problem.

But, I need to recive a subset of features from my complex feature and
after GetPropertyValue failure I try with this wfs GetFeature:

    http://www.opengis.net/wfs/2.0;
   xmlns:fes="http://www.opengis.net/fes/2.0;
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
   xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0.02.0/wfs.xsd
http://www.someserver.example.com/myns ./GetFeature_09.xsd">
    
    <*PropertyName*>:address
        
            
                
:address
Pavleka
                
            
        
    

    But from server I receive this exception:

    
        java.lang.NumberFormatException: For input string: 
        [[ :address = Pavleka ]]
        For input string: [[ :address = Pavleka ]]
        
    

    PS: address is a String, this is a portion of xsd:

    
                        
                            
                                
                            
                        
    

    Do you have any suggestions?

        Thank
    Diego

Il giorno mer 19 set 2018 alle ore 17:24 Nuno Oliveira
mailto:nuno.olive...@geo-solutions.it>>
ha scritto:

Hi,

For reference:
http://docs.opengeospatial.org/is/09-025r2/09-025r2.html#335

In the first query the /valueReference=':'
/parameter has no effect that's why it works :)
So, in this case it works means: it doesn't throw an exception but it
actually doesn't select only that value property.

Regarding the second request, indeed the request is valid but its
    falling, can you open a JIRA ticket for this ?

Thank you,

Nuno Oliveira

On 09/19/2018 01:35 PM, Diego Sanmartino wrote:

HI all,

We are working with geoserver 2.13 and with some complex features.
Apparently the complex features are correctly working.
If we use the wfs getfeature we obtain the corrects responses.
For examble this query work correctly:

http://www.opengis.net/fes/2.0;
        xmlns:gml="http://www.opengis.net/gml/3.2;
        xmlns:wfs="http://www.opengis.net/wfs/2.0;
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
        xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd
http://www.opengis.net/gml/3.2
http://schemas.opengis.net/gml/3.2.1/gml.xsd;>
            
    

Instead this query obtain a class cast exception:

http://www.opengis.net/fes/2.0;
    xmlns:gml="http://www.opengis.net/gml/3.2;
    xmlns:wfs="http://www.opengis.net/wfs/2.0;
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
    xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd
http://www.opengis.net/gml/3.2
http://schemas.opengis.net/gml/3.2.1/gml.xsd;>
        
    

Do you have any hints?
Thanks in advance




___
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://w

Re: [Geoserver-users] complex featrure, GetPropertyValue class cast exception

2018-09-19 Thread Nuno Oliveira

Hi,

For reference:
http://docs.opengeospatial.org/is/09-025r2/09-025r2.html#335

In the first query the /valueReference=':' /parameter has 
no effect that's why it works :)
So, in this case it works means: it doesn't throw an exception but it actually 
doesn't select only that value property.


Regarding the second request, indeed the request is valid but its falling, can 
you open a JIRA ticket for this ?


Thank you,

Nuno Oliveira

On 09/19/2018 01:35 PM, Diego Sanmartino wrote:

HI all,

We are working with geoserver 2.13 and with some complex features.
Apparently the complex features are correctly working.
If we use the wfs getfeature we obtain the corrects responses.
For examble this query work correctly:

http://www.opengis.net/fes/2.0;
        xmlns:gml="http://www.opengis.net/gml/3.2;
        xmlns:wfs="http://www.opengis.net/wfs/2.0;
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
        xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd
http://www.opengis.net/gml/3.2
http://schemas.opengis.net/gml/3.2.1/gml.xsd;>
            
    

Instead this query obtain a class cast exception:

http://www.opengis.net/fes/2.0;
    xmlns:gml="http://www.opengis.net/gml/3.2;
    xmlns:wfs="http://www.opengis.net/wfs/2.0;
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
    xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd http://www.opengis.net/gml/3.2
http://schemas.opengis.net/gml/3.2.1/gml.xsd;>
        
    

Do you have any hints?
Thanks in advance




___
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,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati
personali (Reg. UE 2016/679 - Regolamento generale sulla
protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto,
gli eventuali allegati, etc.) è un dato la cui conoscenza
è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita.
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to
which it is addressed and may contain information that
is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or
use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you
have received this email by mistake, please notify
us immediately by telephone or e-mail.

___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Working with app schema - should I upgrade?

2018-09-06 Thread Nuno Oliveira

Hi,
short answer for your questions: YES, see my answers bellow for more details :)

On 09/05/2018 09:30 AM, worldexplorer wrote:

Dear list,

I've installed GeoServer 2.12.1 last winter and running successfully since
that day when working with complex features. I've noticed a lot of progress
this year in the community and seen the latest releases.
If you have a look a GeoServer release schedule [1], the last release for the 
2.12.x branch happen last month (2.12.5).
GeoServer 2.13.x series will now initiate is cycle of maintenance releases and 
GeoServer 2.14.x is cycle of stable releases.

So indeed this is a good time to start thinking in upgrading :)

[1] https://github.com/geoserver/geoserver/wiki/Release-Schedule


I am little bit afraid to upgrade because there are some important projects
running on my GeoServer. And you better never change a running system. ;-)

This stands for any software upgrade, but is the only way to move forward :)
Not upgrading means that you will miss important security fixes and other 
important bug fixes.
Is also worth mentioning that more time you wait for upgrading more difficult 
that upgrade will be.


Suggestion: make sure to clone and backup the GeoServer data directory (and any 
other relevant configuration) before the upgrade.


So I am asking you, are you recommend me to upgrade?
Are there any significant changes and improvements in regards to
performance? Especially when working with the app schema extension?
There was several changes, including bug fixes, new features and performance 
improvements related with App-Schema that happen in the last year.
Will they have a direct impact on your use case ? Well it depends on your use 
case :)


Best,
Sebastian


Regards,

Nuno Oliveira




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

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



--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

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.


--
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] Can not use fire as a part of workspace or layer name

2018-09-03 Thread Nuno Oliveira

Hi,

Not sure what do you mean by "i only get the layer i've created at first" ?
Are you referring to the capabilities document ? Are you referring to a
specific service (WFS, WMS, ...) ?

Regards,

Nuno Oliveira

On 09/03/2018 01:28 PM, Tim Balschmiter wrote:

Hi,

i've got a strange behavior of my geoserver (2.13.1) installation. When i use 
"fire" as part of a layer name or a workspace name, i only get the layer i've 
created at first. I've tested this on two systems with the same result. Is it really a 
bug?

Thanks a lot.

Tim




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



--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

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.


--
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] Too many namespaces in the GetFeature results

2018-08-29 Thread Nuno Oliveira

Dear Sebastian,
please see my answers bellow:

On 08/28/2018 11:22 AM, worldexplorer wrote:

Dear Nuno Oliveira,

thank you for the answer. It's quite interesting that complex features have
this behaviour. Never thought about the fact, that the needed name-spaces
are uncertain at the point of the encoding time.

To summarize, it affects all encodings of complex features and it's not
special on my data. So, adding all name-spaces does not affect the correct
visualization of the features?
No this not special to your data or schema, and the produced GML document will 
be valid.

This may only become an issue if you have a big number of workspaces \ 
namespaces
(~100) configured in GeoServer, although the produced document will still be 
valid 


Best,
Sebastian



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

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



--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

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.


--
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] Contour in geoserver

2018-08-29 Thread Nuno Oliveira

Hi,

If I understood correctly ... you should be able to do that.

I guess you had a look at GeoServer documentation:
http://docs.geoserver.org/stable/en/user/styling/sld/extensions/rendering-transform.html#contour-extraction

That say, if possible you should share your current SLD file and the output you 
currently get.


Regards,

Nuno Oliveira

On 08/29/2018 06:08 AM, Gaurav Pathak wrote:
We have managed to render the different point values in bands on the raster 
map for contouring, however, we are not able to actually create contours 
because our point values are not being used to create contour lines – we had 
thought this was a feature of geoserver, but increasing believe that his may 
be achieved through the gdal library accessed by Postgre database. Could you 
help us with an example of how this is done


I am attaching my data in excel sheet

Regards

Gaurav Pathak


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


--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

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.

--
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] Too many namespaces in the GetFeature results

2018-08-28 Thread Nuno Oliveira

Hi,

When encoding a complex feature we cannot know at encoding time which 
name-spaces will be needed
(a complex feature may chain multiple features from different name-spaces 
together), so all the available
name-spaces are added. Is worth noticing that the produced XML document is 
valid. This is not

something easy to to fix, but with some extra development work it could be done.

Regards,

Nuno Oliveira

On 08/27/2018 10:19 AM, worldexplorer wrote:

Dear list,

I've noticed a strange thing in my GetFeature request regarding namespaces
and I don't know exactly why. When I do a GetFeature request on the default
data (e.g. Tasmania state boundaries) of the GeoServer the
 header looks pretty normal. All necessary
namespaces are listed. However, when I query my own data the header includes
all namespaces of all configured data of the GeoServer.

My configuration on the GeoServer:
- I'm working with the App Schema tutorial data
→
https://github.com/geoserver/geoserver/tree/master/data/app-schema-tutorial/workspaces/tut/tut_RoadSegment
- The complex data is stored in a Java Property file which contains Feature
information
- The data store contains the mapping file of the complex features
- The data requires two namespaces (tut and gml)

I've compared the outputs of the GetFeature requests from my tutorial data
and the default data of the GeoServer (Tasmania state boundaries).

You can find both results here:
https://docs.google.com/document/d/1utORL9Nk4HByTQAF_OXo_x2gMe0OAqNRYaHZP_cJ5zQ/

Best,
Sebastian



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

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


--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

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.


--
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] WFS INSPIRE GetFeature-Request is not valid

2018-07-11 Thread Nuno Oliveira
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./




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


--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

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.

--
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] outputformat getfeature 2.0.0 (2.13.1)

2018-06-29 Thread Nuno Oliveira

Sorry, I lost track of this one 

Ok so basically if a mime type is specified in the request it should override 
the override, I guess it makes sense.


As far I can tell the supported output formats are this ones:
http://docs.geoserver.org/latest/en/user/services/wfs/outputformats.html#wfs-output-formats

On 06/09/2018 12:17 AM, Ben Caradoc-Davies wrote:
Yes, but the question is whether a WFS setting of "application/gml+xml; 
version=3.2" should override a request parameter of outputFormat="text/xml; 
subtype=gml/3.2".


I think that a request with outputFormat="text/xml; subtype=gml/3.2" should 
override the WFS settings. That is, override the override.  :-)


Kind regards,
Ben.

On 08/06/18 21:34, Nuno Oliveira wrote:

Hi all,
thank you for following up on this Andrea and Ben.

The only propose of the override setting I add is to override the MIME type 
of GML 3.2 documents produced by GeoServer, it should not have any other impact.
Which means that clients will still need to invoke WFS GetFeature operations 
(or similar operations) using the output formats supported by GeoServer, and 
for those output formats that produce a GML 3.2 encoded document the override 
setting will be used if configured.


Did I answer your question Ben ?

Regards,

Nuno Oliveira

On 06/08/2018 12:45 AM, Ben Caradoc-Davies wrote:

On 08/06/18 11:24, Ben Caradoc-Davies wrote:
Nuno, was this intended? Should a different GML 3.2 Content-Type specified 
in outputformat override the WFS GML 3.2 Content-Type settings if it 
matches a supported option? No doubt users specifying outputformat=gml32 
will not expect "Content-Type: gml32", but the behaviour could be different 
for outputformat "text/xml; subtype=gml/3.2" or "text/xml".


"text/xml" alone will never work because then GeoServer will not be able to 
determine the GML version.


Kind regards,







--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

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

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.


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


  1   2   3   >