Re: [mapserver-users] MapServer on Centos 7

2019-05-29 Thread Erik Gustafson
On Tue, May 28, 2019 at 3:26 PM nsilva wrote: > Thanks Steve for the fast reply! > > By now i have a ncWMS2 server that delivers a WMS service using .nc > (NetCDF) > files ...i was trying to use mapcache to process that WMS service, but i > keep getting errors from curl : > > > curl failed to

Re: [mapserver-users] Error While Generating Tiles

2019-03-30 Thread Erik Gustafson
In case someone else is having the same problem. The problem was not that the spatial index was missing. The requested extent covered whole Europe and returned a tremendous amount of rows so a spatial index did not help. The large extent was because the metatiling was set to 15x15. So one

Re: [mapserver-users] Error While Generating Tiles

2019-03-14 Thread Erik Gustafson
_osm_polygon_name_index > (cost=0.00..182012.78 rows=9749894 width=0)* > * Index Cond: (name IS NOT NULL)* > *(5 rows)* > > > On Wed, Mar 13, 2019 at 10:55 PM parsis presswala < > parsispressw...@gmail.com> wrote: > >> Thanks, I'll check it out. >> >> On

Re: [mapserver-users] Error While Generating Tiles

2019-03-13 Thread Erik Gustafson
Hi, seems like you're missing a spatial index on the geometry column. CREATE INDEX planet_osm_polygon_sidx ON planet_osm_polygon USING GIST(geom); If that doesn't help, do: explain analyze verbose ; and send the results. On Wed, Mar 6, 2019 at 2:56 PM parsis presswala wrote: > Hello, > >

Re: [mapserver-users] Configure a images pyramid in mapserver - gdal_retile command

2019-02-22 Thread Erik Gustafson
Hi, have you found the documentation, https://mapserver.org/input/raster.html, specifically chapter "Raster and Tile indexing" I can try to help if you have a more precise question. /Erik On Mon, Feb 18, 2019 at 3:21 AM Herbert wrote: > > I have already created a pyramid of images with GDAL

Re: [mapserver-users] MapServer on Centos 7

2018-04-26 Thread Erik Gustafson
> > Does MapServer work well on Centos 7? > > We (Lantmäteriet, the Swedish mapping authority) are running Mapserver 6.x and Mapserver 7.x on RHEL7 with most functionality regarding OGC services enabled. We have been running Mapserver on RHEL for about 9 years without any major issues regarding

[mapserver-users] GetLegendGraphic: STYLE support for GROUP-layers (bug?)

2018-01-18 Thread Erik Gustafson
an issue? Thanks, Erik Gustafson Request examples: mapserv?map=map.map=WMS=1.3.0=getleg endgraphic=GROUPNAME=image/png_version=1.1.0=DEFAULT > Ok. mapserv?map=map.map=WMS=1.3.0=getleg endgraphic=GROUPNAME=image/png_version= 1.1.0=ALTERNATE > Not Ok. Expected STYLE=ALTERNATE from the classes

Re: [mapserver-users] Trying to build Mapserver on RHEL 6

2017-01-31 Thread Erik Gustafson
I think OGR_L_GetGeomType comes from GDAL. Maybe adding the following to you cmake command will help: -DGDAL_INCLUDE_DIR=/path-to-gdal/include -DGDAL_LIBRARY=/path-to-gdal/lib/libgdal.so Currently we are running Mapserver 6 and 7 build from source on Redhat Enterprise 7. The only problem we

[mapserver-users] Mapserver6 calls exit() in FastCGI-mode

2011-04-20 Thread Erik Gustafson
. Or maybe msOWSDispatch could check for all known requests (getmap, getcapabilities, etc) and return an exception instead of returning MS_DONE to mapserv.c -- Erik Gustafson ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http

Re: [mapserver-users] MS 6.0 beta6 and faulty image/png; mode=8bit output if source image has overviews

2011-04-19 Thread Erik Gustafson
On Mon, Apr 18, 2011 at 10:18, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, I am sometimes getting images with totally odd colours with MS 6.0 beta 6 (and the previous beta versions) with format image/png; mode=8bit.  I have been doing some testing and I believe I can now reproduce

Re: [mapserver-users] MS 6.0 beta6 and faulty image/png; mode=8bit output if source image has overviews

2011-04-19 Thread Erik Gustafson
56kb to 130kb though. (512x512pixels, 3 colors defined in mapfile). With mapserver 5.6.6 the image size is 74kb. I'm using shp2img and default settings in outputformat as shown in the mapfile earlier in this thread. Maybe some default setting has changed between 5.6 and 6.0? Regards Erik Gustafson

Re: [mapserver-users] MS 6.0 beta6 and faulty image/png; mode=8bit output if source image has overviews

2011-04-19 Thread Erik Gustafson
On Tue, Apr 19, 2011 at 10:27 AM, thomas bonfort thomas.bonf...@gmail.com wrote: Erik, the png compression that is applied is now configurable, and defaults to 6. You can set it as it was by default in 5.6 for quantized output with FORMATOPTION COMPRESSION=9 please post your image size

Re: [mapserver-users] MS 6.0 beta6 and faulty image/png; mode=8bit output if source image has overviews

2011-04-19 Thread Erik Gustafson
On Tue, Apr 19, 2011 at 10:51 AM, thomas bonfort thomas.bonf...@gmail.com wrote: ok, I see where the issue is arising from: in 5.x you were using gd's quantization algorithm, which to put it frankly, sucked badly (i.e. note the duplicate entries in the color table which are a waste of

Re: [mapserver-users] LABEL POSITION - Numeric or String from a database

2010-11-25 Thread Erik Gustafson
On Sun, Nov 21, 2010 at 11:21 AM, Donald Kerr donald.k...@dkerr.co.uk wrote: Hi List, I am trying to change a LABEL's POSITION by using an integer without success. As far as I can see, the LABEL's POSITION can be any one of the following constants: enum MS_POSITIONS_ENUM {MS_UL=101, MS_LR,