Re: [mapserver-users] COMPOSITE filters available?

2016-09-29 Thread Avi Blackmore

> On Sep 29, 2016, at 4:36 PM, thomas bonfort <thomas.bonf...@gmail.com> wrote:
> 
> Avi,
> The blurring filters are available in master only. The closest you can
> get to documentation for now is by reading
> http://osgeo-org.1560.x6.nabble.com/RFC113-Chainable-Compositing-Filters-td5227559.html
> As for mapscript, you can use the updateFromString methods which are
> always in sync with the main mapserver functionality.
> 

Ahh, thanks.

Any idea on when that will get merged to a release?  I'm a bit 
reluctant to run a dev version on a production server.

--
Avi Blackmore
Head Programmer/System Administrator
Satshot Inc.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] COMPOSITE filters available?

2016-09-29 Thread Avi Blackmore
Hello,

I am trying to get the hang of the new COMPOSITE feature in Mapserver 
7.  

Are there any actual filters, such as blur(), in the main codebase yet? 
 Or is that forthcoming?

Also, I could not find any documentation on manipulating the COMPOSITE 
object from Mapscript.  Is this possible?
--
Avi Blackmore
Head Programmer/System Administrator
Satshot Inc.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] ❣ Jeez!

2016-06-02 Thread Avi Blackmore
Hey,

I was looking for something an I've suddenly came accross that thing, jeez... 
you have to take a look <http://lytychunto.tantricsexwonders.com/aesbl>

Very truly yours, Avi Blackmore

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Very poor WMS tiling performance with small area, ultra-high resolution image

2016-02-15 Thread Avi Blackmore

On Feb 15, 2016, at 1:16 AM, Schepers, Benjamin wrote:

> Hi,
>  
> you still pointed to the right answer, strategies like overviews and tiling 
> are IMHO not scale-dependent. They depend on the pixel-dimension of the image 
> and you have - let’s say - a not so small one ;-)
>  
> So converting to GeoTIFF with internal „Tiling“ could be the right strategy  
> for you (http://www.gdal.org/frmt_gtiff.html;  use “BigTIFF” if files are 
> expected to be larger than 4GB) à hint: gdal_translate with “BIGTIFF=YES” and 
> “TILED=YES” … and of course Overviews (gdaladdo; also possible with 
> BigTIFF-option).
>  
> Compression for original and overviews, could be lossless “LZW” or  lossy 
> „JPEG-YCBCR” for example, this would also substantially squeeze down the size 
> an d depends on your needs…
>  
> I have a lot of aerial images with up to 250.000*150.000px (GSD up to 6cm) in 
> that manner and they are serving really, really fast via mapserver. Not every 
> GIS-software is able to read those tiled and compressed BigTiffs directly 
> (due to the lack of support for this file-format), but ArcGIS and QGIS do 
> well (both use GDAL) and all others could still use the WMS served from 
> mapserver!


Thanks for the advice.  I was already using GeoTIFFs with internal 
tiling, and compression.

The issue turned out to be a bad directive in the mapfile.  Our 
Mapscript application was misconfigured to set LOAD_WHOLE_IMAGE=yes in the 
processing directives for small-area imagery.  I don't recall why this was 
done, but I changed it, and now the images load fine in tiled mode.  

Thanks for your help.

--
Avi Blackmore
Head Programmer/System Administrator
Satshot Inc.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Very poor WMS tiling performance with small area, ultra-high resolution image

2016-02-12 Thread Avi Blackmore
Hello,

We've been using Mapserver as, among other things, a WMS server for 
some time with satellite and aerial imagery, without problems.  We've been able 
to serve imagery of resolutions down to .25 meters without any significant 
performance hit.

Today, we got a sample image from a new source, which has a resolution 
of 0.06 meters.  The image is 317 megabytes in size, and has dimensions of 
17538 x 19035 pixels.  The file size is smaller than many of the Landsat or 
other images that we have displayed in the past.  However, we're finding that 
rendering this image is extremely expensive.  In particular, with tiled access, 
a la Google Maps, the WMS requests bog down our server to the point where all 
of its memory is consumed.

I know that overviews, tiling, and such, are good strategies for 
reducing the render time on a large area, reasonably high resolution image.  
But what would be good strategies for improving rendering time on this smaller, 
ultra-high resolution image?
--
Avi Blackmore
Head Programmer/System Administrator
Satshot Inc.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Paletted GeoTIFF output in 6.4 not working?

2014-04-16 Thread Avi Blackmore
On April 14, 2014 4:44:59 PM CDT, Stephen Woodbridge wrote:

 I'm not sure if this will work but give it a try. You might have to wait for 
 Thomas to response as he would know for sure.
 
 OUTPUTFORMAT
  NAME GTiff
  DRIVER GDAL/GTiff
  MIMETYPE image/tiff
  IMAGEMODE RGB
  EXTENSION tif
  FORMATOPTION INTERLACE=false
  FORMATOPTION QUANTIZE_NEW=ON
  FORMATOPTION QUANTIZE_FORCE=ON
  FORMATOPTION QUANTIZE_DITHER=OFF
  FORMATOPTION QUANTIZE_COLORS=256
 END
 
 Also look at http://mapserver.org/mapfile/outputformat.html#outputformat
 there are FORMATOPTIONs specific to GDAL/GTiff and GDAl/* that can be passed 
 to GDAL when the image is output.
 
 -Steve W

I gave this a shot.  Unfortunately, it had no effect.  I've been poking 
at FORMATOPTION directives, trying to find one which will work, and so far, no 
success.

I will have wait for Thomas to respond, I guess.  Thank you for trying!

--
Avi Blackmore
Head Programmer/System Administrator
Agri ImaGIS Technologies, Inc.




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Paletted GeoTIFF output in 6.4 not working?

2014-04-14 Thread Avi Blackmore
Hello,

I've been using Mapserver to (among many other things) classify rasters 
for years.  I would output GeoTIFFs in 8-bit, paletted mode using a custom 
output format definition, which I defined as follows:

 OUTPUTFORMAT
NAME GTiff2
MIMETYPE image/tiff
DRIVER GDAL/GTiff
EXTENSION tif
IMAGEMODE PC256
TRANSPARENT FALSE
  END

This worked for years with versions of Mapserver ranging from 4.4 up to 
5.6.

Recently, I decided to test an upgrade to 6.4, and I have found that 
this no longer works.  The imagemode declaration is ignored and coerced back to 
RGB mode, which is unsuitable for our purposes.  

What is the proper way to get Mapserver to output 8-bit palletted 
GeoTIFFs using raster classification in 6.4?  Or, is this no longer possible?  
I hope not, because I really want to use 6.4 in production, it has some great 
new features.
--
Avi Blackmore
Head Programmer/System Administrator
Agri ImaGIS Technologies, Inc.




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users