Re: [Geoserver-users] Vector-tiles: zoom-dependent generalisation

2017-02-02 Thread Dave Blasby
Hi,

Mapbox vector format is in integer-ized pixel coordinates, so doing more
than that wouldn't affect the output.

For the other formats (i.e. geojson), you can use the overSamplingFactor so
it gets better resolution.

If you need to change these, you're probably requesting tiles at the wrong
resolution for what you're drawing.

Thanks,
Dave

On Thu, Feb 2, 2017 at 1:17 PM, Edward Mac Gillavry 
wrote:

> Hi all,
>
> Although 'Support on the fly geometry simplification' has been turned
> off on the Store, there's still some kind of zoom-dependent
> generalisation going on for vector tiles. Can the amount of
> generalisation be adjusted for each zoom level? Is it the
> overSamplingFactor? Can this be adjusted somehow as well?
>
> Thanks in advance for your suggestions!
>
> Cheers,
>
> Edward
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Vector-tiles: zoom-dependent generalisation

2017-02-02 Thread Edward Mac Gillavry
Hi all,

Although 'Support on the fly geometry simplification' has been turned 
off on the Store, there's still some kind of zoom-dependent 
generalisation going on for vector tiles. Can the amount of 
generalisation be adjusted for each zoom level? Is it the 
overSamplingFactor? Can this be adjusted somehow as well?

Thanks in advance for your suggestions!

Cheers,

Edward

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Gdal crash geoserver/tomcat7 on ubuntu server

2017-02-02 Thread Michele Aurelio
I have the same problemi with GDAL libraries installed on CentOS 7 (TOMCAT
8).
when i try to set up a store, the geoserver (version 2.10.1) crashes and
restart.

the server reports an error in the java-1.8.0-openjdk

is there anyone who can help me to understand the problem?
Thank you

Michele




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Gdal-crash-geoserver-tomcat7-on-ubuntu-server-tp5207154p5306021.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Cannot get InputTransparentColor to work in ImageMosaic

2017-02-02 Thread Jason Newmoyer
I checked my settings and I am using Nearest Neighbor in all cases.

I've also tried tried to generate an alpha band with "gdalwarp -srcnodata 0
-dstalpha" but it will not allow me to use YCBCR photometric option because
apparently it requires it to be exactly 3 output bands. Anyone know how to
work around this?


Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
ja...@newmoyergeospatial.com



On Thu, Feb 2, 2017 at 9:08 AM, Devin Eyre  wrote:

> Both.  For WMS, there's just one setting for the whole geoserver, but if
> you're using WCS, there's a per-layer setting for interpolation.
> --
> *From:* Jason Newmoyer 
> *Sent:* Wednesday, February 1, 2017 6:00 PM
> *To:* Devin Eyre
> *Cc:* GeoServer Mailing List List; Lonnie Matsuno
> *Subject:* Re: [Geoserver-users] Cannot get InputTransparentColor to work
> in ImageMosaic
>
> Do you mean in GeoServer layer settings or when processing with GDAL?
>
> On Jan 31, 2017 2:57 PM, "Devin Eyre"  wrote:
>
>> You'll also need to use nearestNeighbor method (i.e., don't interpolate)
>> for interpolation.
>> --
>> *From:* Lonnie Matsuno 
>> *Sent:* Tuesday, January 31, 2017 1:14 PM
>> *To:* GeoServer Mailing List List
>> *Subject:* Re: [Geoserver-users] Cannot get InputTransparentColor to
>> work in ImageMosaic
>>
>>
>> I'm not sure if this is the same issue, but we encountered "bleeding" of
>> near black pixels with geotiff's with JPEG compression. We have
>> subsequently switched to a lossless compression in our source geotiffs and
>> it works pretty well.
>>
>>
>>
>> Lonnie
>> --
>> *From:* Devin Eyre [devin.e...@stormgeo.com]
>> *Sent:* January 31, 2017 12:01 PM
>> *To:* Jason Newmoyer
>> *Cc:* GeoServer Mailing List List
>> *Subject:* Re: [Geoserver-users] Cannot get InputTransparentColor to
>> work in ImageMosaic
>>
>> Have you tried this:
>>
>> http://osgeo-org.1560.x6.nabble.com/Re-How-should-i-set-
>> output-transparent-color-no-color-in-image-mosaic-plug-in-
>> in-Geo-server-version--td5027043.html
>> --
>> *From:* Jason Newmoyer 
>> *Sent:* Tuesday, January 31, 2017 11:33 AM
>> *To:* Devin Eyre
>> *Cc:* GeoServer Mailing List List
>> *Subject:* Re: [Geoserver-users] Cannot get InputTransparentColor to
>> work in ImageMosaic
>>
>> Yes, when I do that it turns the black areas transparent in the resulting
>> image, as expected. However, the tiles still overlap each other instead of
>> showing through.
>>
>> Here's a piece of the image. The area marked red I would expect to be
>> imagery showing through from the tile underneath when using
>> InputTransparentColor.
>>
>> [image: Inline image 1]
>>
>>
>> Jason Newmoyer
>> Newmoyer Geospatial Solutions
>> 843.606.0424
>> ja...@newmoyergeospatial.com
>>
>>
>>
>> On Tue, Jan 31, 2017 at 11:53 AM, Devin Eyre 
>> wrote:
>>
>>> Have you tried setting OutputTransparentColor to 00?
>>> --
>>> *From:* Jason Newmoyer 
>>> *Sent:* Tuesday, January 31, 2017 9:33 AM
>>> *To:* GeoServer Mailing List List
>>> *Subject:* [Geoserver-users] Cannot get InputTransparentColor to work
>>> in ImageMosaic
>>>
>>> GeoServer 2.10, RHEL 6
>>>
>>> I cannot seem to get the InputTransparentColor configuration to work as
>>> expected with my ImageMosaic layer. I have a mosaic of satellite imagery
>>> (standard RGB, YCbCr JPEG compressed with overviews) tiled into a regular
>>> grid of square tiles. Tile index is stored in PostGIS using a view. Tiles
>>> are ordered (zindex column) so newest imagery ends up on top.
>>>
>>> When two tiles overlap, the evil black nodata fringe of the top most
>>> layer shows over top of the next tile underneath. I believe
>>> InputTransaparentColor is intended to fix this. However setting it to
>>> 00 actually results in a FULLY transparent image. Not an exception
>>> response, an actual transparent png.
>>>
>>> The granules do not contain an alpha band, raster mask, or nodata
>>> values. The nodata sections are actually fully black pixels.
>>>
>>> Any ideas?
>>>
>>> [image: Inline image 1]
>>>
>>> Jason Newmoyer
>>> Newmoyer Geospatial Solutions
>>> 843.606.0424
>>> ja...@newmoyergeospatial.com
>>>
>>>
>>>
>>
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> ___
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
--
Check out the vibrant tech community on one of the world's most
engaging tech 

Re: [Geoserver-users] Cannot get InputTransparentColor to work in ImageMosaic

2017-02-02 Thread Devin Eyre
Both.  For WMS, there's just one setting for the whole geoserver, but if you're 
using WCS, there's a per-layer setting for interpolation.


From: Jason Newmoyer 
Sent: Wednesday, February 1, 2017 6:00 PM
To: Devin Eyre
Cc: GeoServer Mailing List List; Lonnie Matsuno
Subject: Re: [Geoserver-users] Cannot get InputTransparentColor to work in 
ImageMosaic

Do you mean in GeoServer layer settings or when processing with GDAL?

On Jan 31, 2017 2:57 PM, "Devin Eyre" 
> wrote:

You'll also need to use nearestNeighbor method (i.e., don't interpolate) for 
interpolation.


From: Lonnie Matsuno 
>
Sent: Tuesday, January 31, 2017 1:14 PM
To: GeoServer Mailing List List
Subject: Re: [Geoserver-users] Cannot get InputTransparentColor to work in 
ImageMosaic


I'm not sure if this is the same issue, but we encountered "bleeding" of near 
black pixels with geotiff's with JPEG compression. We have subsequently 
switched to a lossless compression in our source geotiffs and it works pretty 
well.



Lonnie


From: Devin Eyre [devin.e...@stormgeo.com]
Sent: January 31, 2017 12:01 PM
To: Jason Newmoyer
Cc: GeoServer Mailing List List
Subject: Re: [Geoserver-users] Cannot get InputTransparentColor to work in 
ImageMosaic


Have you tried this:

http://osgeo-org.1560.x6.nabble.com/Re-How-should-i-set-output-transparent-color-no-color-in-image-mosaic-plug-in-in-Geo-server-version--td5027043.html


From: Jason Newmoyer 
>
Sent: Tuesday, January 31, 2017 11:33 AM
To: Devin Eyre
Cc: GeoServer Mailing List List
Subject: Re: [Geoserver-users] Cannot get InputTransparentColor to work in 
ImageMosaic

Yes, when I do that it turns the black areas transparent in the resulting 
image, as expected. However, the tiles still overlap each other instead of 
showing through.

Here's a piece of the image. The area marked red I would expect to be imagery 
showing through from the tile underneath when using InputTransparentColor.

[Inline image 1]


Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
ja...@newmoyergeospatial.com



On Tue, Jan 31, 2017 at 11:53 AM, Devin Eyre  wrote:

Have you tried setting OutputTransparentColor to 00?


From: Jason Newmoyer 
Sent: Tuesday, January 31, 2017 9:33 AM
To: GeoServer Mailing List List
Subject: [Geoserver-users] Cannot get InputTransparentColor to work in 
ImageMosaic

GeoServer 2.10, RHEL 6

I cannot seem to get the InputTransparentColor configuration to work as 
expected with my ImageMosaic layer. I have a mosaic of satellite imagery 
(standard RGB, YCbCr JPEG compressed with overviews) tiled into a regular grid 
of square tiles. Tile index is stored in PostGIS using a view. Tiles are 
ordered (zindex column) so newest imagery ends up on top.

When two tiles overlap, the evil black nodata fringe of the top most layer 
shows over top of the next tile underneath. I believe InputTransaparentColor is 
intended to fix this. However setting it to 00 actually results in a FULLY 
transparent image. Not an exception response, an actual transparent png.

The granules do not contain an alpha band, raster mask, or nodata values. The 
nodata sections are actually fully black pixels.

Any ideas?

[Inline image 1]

Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
ja...@newmoyergeospatial.com




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users