[Geoserver-users] Import geojson from Postgis to GeoServer

2020-01-27 Thread Samann Long
Hello, I am having some troubles with the rest API of importing geojson
from Postgres PostGIS database to Geoserver to create layer and register to
WFS services.
Are there any ways we can do it?
Thank you
___
Geoserver-users mailing list

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

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


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


[Geoserver-users] Time dimension min/max calculations

2020-01-27 Thread Jason Newmoyer
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.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 users endpoints

2020-01-27 Thread Samy Otero
I can confirm that :

*- DELETE: /**rest/security/usergroup/user/username *and
*rest/security/usergroup/users/username
*return a 403, even when I am authenticated.

- GET: */**rest/security/usergroup/user/username return a 405 *xmnrrkb


27 Jan 16:22:14 WARN [servlet.PageNotFound] - Request method 'GET'
not supported
xmnrrkb

27
Jan 16:22:14 WARN [annotation.ExceptionHandlerExceptionResolver] - Resolved
[org.springframework.web.HttpRequestMethodNotSupportedException: Request
method 'GET' not supported]and  and *rest/security/usergroup/users/username
*return  404
xmnrrkb

27
Jan 16:23:00 WARN [servlet.PageNotFound] - No mapping for GET
/geoserver/rest/security/usergroup/users/samytest

Am I doing something wrong? Is this the intended behavior?

Regards


On Mon, Jan 27, 2020 at 11:18 AM Samy Otero  wrote:

> I can confirm that  */**rest/security/usergroup/user/username *and 
> *rest/security/usergroup/users/username
> *return a 403, even when I am authenticated.
>
> Am I doing something wrong? Is this the intended behavior?
>
> Regards
>
> On Mon, Jan 27, 2020 at 11:13 AM Ian Turton  wrote:
>
>> We are always happy to receive documentation updates.
>>
>> Ian
>>
>> On Mon, 27 Jan 2020 at 16:10, Samy Otero  wrote:
>>
>>> Hi all
>>>
>>> I am trying to delete a user through the api but the documentation is
>>> outdated. I found and tested this (
>>> https://docs.geoserver.org/latest/en/api/#/latest/en/api/1.0.0/usergroup.yaml)
>>> and this (
>>> https://docs.geoserver.org/2.15.x/en/user/rest/api/userrole.html)
>>> without success.
>>>
>>> I am using geoserver version 2.15.x
>>>
>>> Thanks in advance
>>>
>>> --
>>> Samy Otero
>>>
>>> *PSD |* Software Developer
>>>
>>> www.psdrcs.com
>>>
>>> *London |* 148 Fullarton St. 9th floor.
>>>
>>> *Burlington |* 5045 South Service Rd.
>>>
>>>
>>>
>>> ___
>>> 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
>>>
>>
>>
>> --
>> Ian Turton
>>
>
>
> --
> Samy Otero
>
> *PSD |* Software Developer
>
> www.psdrcs.com
>
> *London |* 148 Fullarton St. 9th floor.
>
> *Burlington |* 5045 South Service Rd.
>
>
>
>

-- 
Samy Otero

*PSD |* Software Developer

www.psdrcs.com

*London |* 148 Fullarton St. 9th floor.

*Burlington |* 5045 South Service Rd.
___
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] Corruption at large zoom level

2020-01-27 Thread Russ Hore
Hi all,

Thanks Andria, that works.

I am creating an image mosaic from a number of files. I created the mosaic, 
edited the .properties files and I can zoom all the way in with no corruption.

It might be a bit slower but that is expected I guess.

Many thanks again.

Russ

> On 20 Jan 2020, at 09:53, Daniele Romagnoli 
>  wrote:
> 
> Hi,
> If my memory serves me correctly, the imageMosaic could help with that.
> you may consider trying to configure the file as an imageMosaic (even if it's 
> a single image) and use the ExpandToRGB flag.
> https://docs.geoserver.org/latest/en/user/data/raster/imagemosaic/configuration.html
>  
> 
>   
> 
> Basically:
> - create a folder
> - put your data inside that folder
> - create an indexer.properties file in that directory with 1 line content ==> 
>ExpandToRGB=true
> - create the imageMosaic coverage store by referring that folder and 
> configure the layer.
> 
> With that flag, it should internally expand paletted imagery to RGB.
> Let us know if that works.
> 
> Regards,
> Daniele
> 
> 
> 
> On Sun, Jan 19, 2020 at 3:06 PM Andrea Aime  > wrote:
> Hi Ian,
> I believe in practice we could consider expanding to RGB before we do 
> affine/warp operations
> against indexed color model images, during rendering, that might provide 
> better output (in theory).
> 
> At some point it was actually done (at least in part, I don't recall the 
> details), 
> but it was causing other issues: 
> https://osgeo-org.atlassian.net/browse/GEOT-6180 
> 
> Given dedicated funding, we could research a different way of working on 
> color mapped images, that would allow
> for improved quality output without incurring in the issues reported in 
> GEOT-6180.
> 
> Cheers
> Andrea
> 
> On Sun, Jan 19, 2020 at 12:22 PM Ian Turton  > wrote:
> 
> That is the expected behaviour with a paletted image, the values of two 
> neighbouring pixels have no relationship to each other so any form of 
> averaging is going to produce a wrong result. 
> 
> You could convert them to be RGB images using GDAL (pct2rgb.py) but they will 
> still look a bit mushy when you average them.
> 
> Ian
> 
> On Sat, 18 Jan 2020 at 17:11, Russ Hore  > wrote:
> I have an issue if I set the WMS default interpolation to anything other than 
> “Nearest neighbour” and zoom in.
> 
> OS : Ubuntu 19.01
> 
> 
> If I set the interpolation to Bilinear or Bicubic, at the same zoom level I 
> see;
> 
> 
> 
> The back end tiles are generated from TIFF files using;
> 
> gdalbuildvrt -a_srs EPSG:27700 outfile.vrt *tif
> gdal_translate -of GTiff -r nearest -a_srs EPSG:27700 outfile.vrt 
> mergedfile.tif
> 
> 
> 
> ___
> 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 
> 
> 
> 
> 
> -- 
> Ian Turton
> ___
> 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 users endpoints

2020-01-27 Thread Samy Otero
I can confirm that  */**rest/security/usergroup/user/username *and
*rest/security/usergroup/users/username
*return a 403, even when I am authenticated.

Am I doing something wrong? Is this the intended behavior?

Regards

On Mon, Jan 27, 2020 at 11:13 AM Ian Turton  wrote:

> We are always happy to receive documentation updates.
>
> Ian
>
> On Mon, 27 Jan 2020 at 16:10, Samy Otero  wrote:
>
>> Hi all
>>
>> I am trying to delete a user through the api but the documentation is
>> outdated. I found and tested this (
>> https://docs.geoserver.org/latest/en/api/#/latest/en/api/1.0.0/usergroup.yaml)
>> and this (
>> https://docs.geoserver.org/2.15.x/en/user/rest/api/userrole.html)
>> without success.
>>
>> I am using geoserver version 2.15.x
>>
>> Thanks in advance
>>
>> --
>> Samy Otero
>>
>> *PSD |* Software Developer
>>
>> www.psdrcs.com
>>
>> *London |* 148 Fullarton St. 9th floor.
>>
>> *Burlington |* 5045 South Service Rd.
>>
>>
>>
>> ___
>> 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
>>
>
>
> --
> Ian Turton
>


-- 
Samy Otero

*PSD |* Software Developer

www.psdrcs.com

*London |* 148 Fullarton St. 9th floor.

*Burlington |* 5045 South Service Rd.
___
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 users endpoints

2020-01-27 Thread Ian Turton
We are always happy to receive documentation updates.

Ian

On Mon, 27 Jan 2020 at 16:10, Samy Otero  wrote:

> Hi all
>
> I am trying to delete a user through the api but the documentation is
> outdated. I found and tested this (
> https://docs.geoserver.org/latest/en/api/#/latest/en/api/1.0.0/usergroup.yaml)
> and this (https://docs.geoserver.org/2.15.x/en/user/rest/api/userrole.html)
> without success.
>
> I am using geoserver version 2.15.x
>
> Thanks in advance
>
> --
> Samy Otero
>
> *PSD |* Software Developer
>
> www.psdrcs.com
>
> *London |* 148 Fullarton St. 9th floor.
>
> *Burlington |* 5045 South Service Rd.
>
>
>
> ___
> 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
>


-- 
Ian Turton
___
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] Geoserver users endpoints

2020-01-27 Thread Samy Otero
Hi all

I am trying to delete a user through the api but the documentation is
outdated. I found and tested this (
https://docs.geoserver.org/latest/en/api/#/latest/en/api/1.0.0/usergroup.yaml)
and this (https://docs.geoserver.org/2.15.x/en/user/rest/api/userrole.html)
without success.

I am using geoserver version 2.15.x

Thanks in advance

-- 
Samy Otero

*PSD |* Software Developer

www.psdrcs.com

*London |* 148 Fullarton St. 9th floor.

*Burlington |* 5045 South Service Rd.
___
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