Re: [mapserver-users] About arc-element

2012-08-27 Thread thomas bonfort
what do you mean by arc-element ? searching the net and the source code gives nothing ... On Mon, Aug 27, 2012 at 9:05 AM, Anders Sutinen andd...@hotmail.com wrote: Arc-element existed in old mapserver -version (4.x something). It was removed from newer releases. My company needs that element

Re: [mapserver-users] About arc-element

2012-08-27 Thread thomas bonfort
sorry, not equipped to test oracle backends. You might want to provide more info and a test-case to reproduce the issue in https://github.com/mapserver/mapserver/issues/4096 and/or contract one of the mapserver oracle maintainers if you need a fix rapidly (namely Alan or maybe Umberto). -- thomas

Re: [mapserver-users] Mapserver doesn't work as WMS-Client. Debian version 6.0.1-3.1 (Debian wheezy).

2012-08-27 Thread thomas bonfort
does this also happen for other layer types (e.g. point, polygon, etc...)? have you correctly set the ows_enable_request metadata entries ? -- thomas On Mon, Aug 27, 2012 at 10:22 AM, Pablo Diaz inspd...@gmail.com wrote: Hi, I've a problem with mapserver as a cgi-bin in Debian Weezy

Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-28 Thread thomas bonfort
Luis, Our repo contains a generated version of maplexer.c that should not need to be re-generated by end users. You should be able to either uninstall flex and/or copy back the original version of maplexer.c to get going. -- thomas On Tue, Aug 28, 2012 at 9:05 AM, Luís de Sousa

Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-30 Thread thomas bonfort
As already stated multiple times, you have no reason to regenerate the lexer yourself, i.e. flex and yacc are *not* a requirement for building. Start off with a fresh directory from a 6.0.3 tarball, to be sure touch maplexer.c and uninstall flex/yacc, and you should be fine. On Thu, Aug 30, 2012

Re: [mapserver-users] Migrating mapcache sqlite database to new format

2012-08-31 Thread thomas bonfort
Hi Michael, You'd have some options here: - either manually hack your sqlite schema so it corresponds to the new one (you probably only need to drop/add a few columns) - implement a single tileset sqlite backend in cache_sqlite.c (copying and adapting mapcache_cache_sqlite_create() should be

Re: [mapserver-users] label offset bug

2012-08-31 Thread thomas bonfort
Yves, Offset labelling is not (yet :) ) supported for follow labels. For lines with only two points, follow labels fall back to auto labels, which do support offsetting. On Fri, Aug 31, 2012 at 2:21 PM, Yves Jacolin yves.jaco...@camptocamp.com wrote: Le 23/08/2012 15:47, Yves Jacolin a écrit :

[mapserver-users] MapServer 6.2.0 beta3 release

2012-09-06 Thread thomas bonfort
applications with this new code base. Thanks! - The MapServer Team $ git --no-pager log --no-merges --pretty=format:%h %ai (%an)%n%s%n rel-6-2-0-beta2..HEAD | gsed 's!#\([0-9]\+\)! https://github.com/mapserver/mapserver/issues/\1 !g' 00791ca 2012-09-06 19:28:18 +0200 (Thomas Bonfort) update header

Re: [mapserver-users] [Python+MapScript] Convert imageObj to PIL Image

2012-09-07 Thread thomas bonfort
IIRC, PIL does not support 8bit pngs with transparency, so writing it to a file won't help. If you need alpha, you'll have to stick with 32bit pngs. -- thomas On Fri, Sep 7, 2012 at 3:35 PM, Jelmer Baas b...@speerit.nl wrote: Hi All, I've been testing today in Python, trying to get a

Re: [mapserver-users] MapServer 6.2.0 beta3 release

2012-09-08 Thread thomas bonfort
Mac Homebrew users can test this beta by running: brew install https://raw.github.com/mapserver/packaging/master/homebrew/mapserver.rb This installer is in it's early days, any feedback more than welcome. regards, thomas On Thu, Sep 6, 2012 at 8:07 PM, thomas bonfort thomas.bonf...@gmail.com

Re: [mapserver-users] Fwd: mapcache module load error (in apache2)

2012-09-21 Thread thomas bonfort
If you've not accessed the tiles through a browser or manually launched a seeding, then it's normal for the cache dir to be empty. Navigate to http://localhost/mapcache/demo/tms to check. On Fri, Sep 21, 2012 at 10:16 AM, 李杨 gisyan...@gmail.com wrote: I have solve the problem using ldconfig.

Re: [mapserver-users] OPACITY in CLASS rather than LAYER

2012-09-24 Thread thomas bonfort
Not a bug per se, it's a limitation of the GD renderer that does not know how do do that. -- thomas On Mon, Sep 24, 2012 at 6:00 PM, Richard Greenwood richard.greenw...@gmail.com wrote: I find that with OUTPUTFORMAT PC256 (either PNG or GIF) OPACITY is not applied when OPACITY is defined in

Re: [mapserver-users] MapServer 6.2.0 beta2 release - WFS getcapabilities problem

2012-09-26 Thread thomas bonfort
Helen, can you provide the mapfile you are using that exhibits this? Our tests on wfs capabilities show no abnormal failures between 1.0.0 and 1.1.0 getcaps requests: https://github.com/mapserver/msautotest/blob/branch-6-2/wxs/expected/wfs11_cap.xml

Re: [mapserver-users] WMS works, WFS doesn't

2012-09-26 Thread thomas bonfort
please include the mapfile, and the mapserver version you are using. On Wed, Sep 26, 2012 at 2:17 PM, basvmrs b...@cipix.nl wrote: Hi, I followed the instructions on http://mapserver.org/ogc/wfs_server.html to set up a WFS server with the shown example file. I find that WMS works fine, but

Re: [mapserver-users] MapServer 6.2.0 beta2 release - WFS getcapabilities problem

2012-09-26 Thread thomas bonfort
, 2012 at 2:07 PM, Helen San Segundo Navazo hsansegu...@meteo.cat wrote: Hi, I send you the map file. Thanks, Helen El 26/09/12 13:49, thomas bonfort escribió: Helen, can you provide the mapfile you are using that exhibits this? Our tests on wfs capabilities show no abnormal failures between

Re: [mapserver-users] WMS works, WFS doesn't

2012-09-26 Thread thomas bonfort
Looking through the code, layer-dump should be set to true for 5.6. On a side note, you should not be using the docs of 6.0 to configure a 5.6 mapserver, to avoid these kind of issues. -- thomas On Wed, Sep 26, 2012 at 2:48 PM, Lime, Steve D (DNR) steve.l...@state.mn.us wrote: I though the

Re: [mapserver-users] MapServer 6.2.0 beta2 release - WFS getcapabilities problem

2012-09-26 Thread thomas bonfort
=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=POSTGIS INPUT=ORACLESPATIAL INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE El 26/09/12 14:21, thomas bonfort escribió: Sorry, not able to test this as the mapfile is missing some includes, and I am not setup to test oracle connections. please test

Re: [mapserver-users] MapServer 6.2.0 beta2 release - WFS getcapabilities problem

2012-09-26 Thread thomas bonfort
=Getcapabilities thanks, Helen El 26/09/12 16:06, thomas bonfort escribió: On Wed, Sep 26, 2012 at 3:56 PM, Helen San Segundo Navazo hsansegu...@meteo.cat wrote: Hi, I've download the mapserver-msautotest-970b31e and I've done the getcapabilities request to the wfs_simple.map in both

Re: [mapserver-users] MapServer 6.2.0 beta2 release - WFS getcapabilities problem

2012-09-26 Thread thomas bonfort
fixed in https://github.com/mapserver/mapserver/issues/4419 -- thomas On Wed, Sep 26, 2012 at 4:20 PM, Helen San Segundo Navazo hsansegu...@meteo.cat wrote: Service=WFSVersion=1.1.0Request=Getcapabilities ___ mapserver-users mailing list

Re: [mapserver-users] PHP mapscript using OracleSpatial

2012-10-01 Thread thomas bonfort
try GRID-LABELFORMAT-DD instead of GRID-LABELFORMAT-DD in your mapfile. -- thomas On Tue, Jul 10, 2012 at 4:27 AM, Jessica Clarke jessica.cla...@forestrytas.com.au wrote: Hi Andreas (and others), Thank you for your assistance. I have moved past my oracle issues now, but I'm having trouble

Re: [mapserver-users] Accessing images from remote servers

2012-10-03 Thread thomas bonfort
Ian, What mechanism were you considering to access the remote data? Plain tileindexes+shapefiles on a FUSE mounted directory should be completely transparent from mapserver, and you get to choose which fuse mechanism to use to do the network mounting. regards, thomas On Wed, Oct 3, 2012 at 5:59

Re: [mapserver-users] Accessing images from remote servers

2012-10-03 Thread thomas bonfort
On Wed, Oct 3, 2012 at 5:59 PM, Ian Walberg ian.walb...@airborne.aero wrote: Hello list, We need to build a mapserver application which is running on multiple devices with limited local storage, because of this the imagery will have to be on a separate server. The application we have today

Re: [mapserver-users] Accessing images from remote servers

2012-10-03 Thread thomas bonfort
Thanks Ian -Original Message- From: thomas bonfort [mailto:thomas.bonf...@gmail.com] Sent: Wednesday, October 03, 2012 10:13 AM To: Ian Walberg Cc: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org Subject: Re: [mapserver-users] Accessing images from remote servers

Re: [mapserver-users] Cairo SVG PDF output

2012-10-03 Thread thomas bonfort
Cairo is expecting us to create our canvas with width and height specified in points, whereas we are providing pixels, so this would be a bug. -- thomas On Wed, Oct 3, 2012 at 7:03 PM, Christy Nieman cnie...@dmsolutions.ca wrote: Hi all, I have been looking into something I just noticed when

Re: [mapserver-users] text size from field but with an expression

2012-10-04 Thread thomas bonfort
On Thu, Oct 4, 2012 at 10:04 AM, Andrea Peri aperi2...@gmail.com wrote: Hi, I have a label with the size from a field of attributes. But I need to change this size adding always a costant factor. I need someting like: LABEL ... SIZE expression([field1]+10) ANGLE [field2] END

Re: [mapserver-users] Map file keyword dictionary

2012-10-04 Thread thomas bonfort
I've updated the vim syntax file for 6.2, which has no omissions as far as I can tell. You can extract the keywords from there: https://github.com/mapserver/docs/blob/dea01e46bf357d46e9cdc83c257c955c4bf7617e/_static/map.vim -- thomas On Wed, Oct 3, 2012 at 8:31 PM, Mike Saunt mikesa...@gmail.com

Re: [mapserver-users] error make mapserver 6.2 beta3 on CentOS 62 64 bits

2012-10-08 Thread thomas bonfort
do not use --with-apache-module --with-apxs=/usr/sbin as it is not ready for widespread usage. On a side note, why use beta3 when beta4 is already out? -- thomas ___ mapserver-users mailing list mapserver-users@lists.osgeo.org

[mapserver-users] Mapserver 6.2.0 RC1 released

2012-10-10 Thread thomas bonfort
of days. Once again we need your help to ensure a high quality product, so please help out by testing your applications with this new code base. Thanks! - The MapServer Team 2012-10-07 13:42:42 +0200 | Thomas Bonfort | add imgObj.getBytes() support for pdf/svg (#4145) 2012-10-02 16:12:12 +0200

Re: [mapserver-users] mapcache_seed segfault when using threading [SEC=UNCLASSIFIED]

2012-10-15 Thread thomas bonfort
Matthew, What would help is if you could provide a backtrace from the segfault: - reconfigure with --enable-debug / recompile / reinstall - gdb mapcache_seed - run [previous args: -n 4 -c /path/to/mapcache.xml etc...] - wait till segfault - bt thanks, thomas On Wed, Oct 10, 2012 at 8:14

Re: [mapserver-users] Mapfile VS MapScript performance

2012-11-07 Thread thomas bonfort
- testing against cgi isn't really an objective test, but even so the differences will iron out as soon as the actual workloads are not trivial (i.e. if you're just benchmarking getcapabilities then sure, mapscript keeping in memory your mapfile will be orders of magnitude faster than cgi.

Re: [mapserver-users] fast cgi MapServer (version 6.0.3) vs cgi with awms getmap request

2012-11-09 Thread thomas bonfort
be a snippet in the apache config: Location /wms Mapfile /path/to/wms.map /Location But I'm sure it's not well tested and only supports WxS services. You might ask Thomas Bonfort in what stage it is. Even if it's currently not suitable for productive use you might give it a try

Re: [mapserver-users] Displaying multiple labels with the same lat/long

2012-11-13 Thread thomas bonfort
On Tue, Nov 13, 2012 at 3:18 PM, Ian Walberg ian.walb...@airborne.aerowrote: Steve, I thought with a layer type of point or annotation with label mode as auto that if there were 2 points with same lat/long only 1 would be displayed. Not if they don't have a marker symbol attached. (as in

Re: [mapserver-users] How to access MapServer MapCache tile without using WMS layers

2012-11-14 Thread thomas bonfort
a TileCache layer should work, you'll have to suffix the supplied url with the name of the grid though of the grid, so something like http://server/cache/WGS84 -- thomas On Tue, Nov 13, 2012 at 1:27 PM, Eduardo Kanegae eduardo.kane...@gmail.comwrote: hi, At

Re: [mapserver-users] mapcache - rendering higher level tiles from lower level tilesets

2012-11-14 Thread thomas bonfort
Should be possible, although you'll be more than doubling your cache size without actually providing new information. Setup a source that references the wms service offerered by your seeded mapcache: in pseudo code: source name=s19 urllocalhost/mapcache/url

[mapserver-users] MapServer 6.2 released

2012-11-14 Thread thomas bonfort
The MapServer team is pleased to announce the release of MapServer 6.2, along with the joint release of tinyOWS 1.1.0 and MapCache 1.0.0. Details of the new features, migration instructions, and download links can be found on the dedicated announcement page at

Re: [mapserver-users] Mapserver 6.2 with proj 4.7

2012-11-16 Thread thomas bonfort
Benedikt, please open an issue for this. thanks, thomas On Fri, Nov 16, 2012 at 12:28 PM, umn...@hydrotec.de wrote: Hi I tried to compile Mapserver 6.2 with proj 4.7. I'm having a problem with a function called pj_clear_initcache As far as I can see, this function was introduced in proj

Re: [mapserver-users] Hindi and Thai text rendering

2012-12-17 Thread thomas bonfort
On Mon, Dec 17, 2012 at 9:45 AM, thomas bonfort thomas.bonf...@gmail.comwrote: Peter, We don't do any shaping directly inside mapserver, but rely on the fribidi library to do that for us. Your mapfile definitions are correct to activate this (i.e. it includes an LABEL.ENCODING parameter

Re: [mapserver-users] JPEG and OVERSAMPLE_RATIO

2012-12-17 Thread thomas bonfort
Can you post the outputformats defined in your mapfile, and the urls used to access each of these images? -- thomas On Mon, Dec 17, 2012 at 4:18 PM, Cédric MOULLET cedric.moul...@gmail.comwrote: I realize that links have been sent and not pictures Here are reachable links for the three

Re: [mapserver-users] JPEG and OVERSAMPLE_RATIO

2012-12-17 Thread thomas bonfort
:24 PM, thomas bonfort thomas.bonf...@gmail.comwrote: Can you post the outputformats defined in your mapfile, and the urls used to access each of these images? -- thomas On Mon, Dec 17, 2012 at 4:18 PM, Cédric MOULLET cedric.moul...@gmail.com wrote: I realize that links have been sent

Re: [mapserver-users] JPEG and OVERSAMPLE_RATIO

2012-12-17 Thread thomas bonfort
://picasaweb.google.com/lh/photo/3q52h52EwOp9JzZm3KAWbNMTjNZETYmyPJy0liipFm0?feat=directlink 3. https://picasaweb.google.com/lh/photo/GTAThw7AOVMK-j-7DWAabtMTjNZETYmyPJy0liipFm0?feat=directlink Thanks in advance for your help ! Cédric On Mon, Dec 17, 2012 at 4:24 PM, thomas bonfort thomas.bonf

Re: [mapserver-users] mapcache: background color

2012-12-19 Thread thomas bonfort
Daniele, The background color isn't configurable, although that could become a configurable option with a bit of funding. Your other option might be to use a mixed image format, which will use JPEG compression for complete tiles, and png with a transparent background for tiles that are

Re: [mapserver-users] mapcache: background color

2012-12-27 Thread thomas bonfort
but with unsuccessful results. For my case I just need to force that black background color to white, is there anyplace in mapcache code where I can change it? Any suggestion on which part of the code I have to look would be enough. Thanks, Daniele On 19. 12. 12 12:47, thomas bonfort wrote

Re: [mapserver-users] RE null value renders in pie chart

2013-01-03 Thread thomas bonfort
Note that EXPRESSION support was added to pie layers in 6.2 only. I'd say your best bet is to preprocess your data to replace NULLs by 0, or use a DATA statement on a postgis layer to do that for you ( e.g. DATA the_geom from (select gid, the_geom, COALESCE(cri,0) AS cri from mytable) as foo using

Re: [mapserver-users] GetLegendGraphics don't return correctly the point symbol

2013-01-08 Thread thomas bonfort
=GetLegendGraphicversion=1.3.0format=image/pngSLD_VERSION=1.1.0layer=rt_tematici.idarch_a_1.rtscale=6 Many thx for hints, Andrea. 2013/1/8 thomas bonfort thomas.bonf...@gmail.com: Do you have a SIZEUNIT or SYMBOLSCALEDENOM set on your layer ? Try increasing/setting your CLASS-STYLE-SIZEs, and remove

Re: [mapserver-users] GetLegendGraphics don't return correctly the point symbol

2013-01-08 Thread thomas bonfort
this: O 2013/1/8 thomas bonfort thomas.bonf...@gmail.com: what are you trying to obtain ? On 8 January 2013 13:16, Andrea Peri aperi2...@gmail.com wrote: Hi, many thx for response. Do you have a SIZEUNIT or SYMBOLSCALEDENOM set on your layer ? No. Try increasing/setting your

Re: [mapserver-users] GetLegendGraphics don't return correctly the point symbol

2013-01-08 Thread thomas bonfort
it was existant. It is not in the documentation. :) I try it instantly. 2013/1/8 thomas bonfort thomas.bonf...@gmail.com: then you need geomtransform centroid, no? On 8 January 2013 13:33, Andrea Peri aperi2...@gmail.com wrote: Actually it is returning something like this: OOO OOO OOO

Re: [mapserver-users] MapInfo symbol file

2013-01-10 Thread thomas bonfort
You won't be able to produce all mapinfo symbols with recentish versions of mapserver. Tamas started a discussion about this a few months ago on the -dev list, proposing a new BITMAP symbol type. -- thomas On 10 January 2013 15:08, Bertrand Gervais bertrand.gervais@gmail.comwrote: Yes, you

Re: [mapserver-users] Newer version of Freetype causing font rendering problems

2013-01-11 Thread thomas bonfort
Fiona, If this important for you, I'd suggest you investigate what changes in freetype are triggering this different rendering (it might be options passed to the freetype api, or configuration/compile time options to add/remove). Once you have nailed down the change, feel free to follow up to this

Re: [mapserver-users] Lock file limit on many concurrent seeding processes [SEC=UNCLASSIFIED]

2013-02-26 Thread thomas bonfort
Hi Matthew, Running the seeder in parallel to incoming user requests is definitely something that wasn't planned for, and may potentially end up in corrupted tiles being written to the caches. The heart of the problem is that the seeder deletes the existing lockfiles at startup as it expects it

Re: [mapserver-users] Lock file limit on many concurrent seeding processes [SEC=UNCLASSIFIED]

2013-02-26 Thread thomas bonfort
have been launched. Given Matthew's usecase, I also suspect that restarting apache is not an acceptable behavior. cheers, -- thomas Thanks, -Steve W On 2/26/2013 11:29 AM, thomas bonfort wrote: Hi Matthew, Running the seeder in parallel to incoming user requests is definitely something

Re: [mapserver-users] mapcache - multiple resolutions for the same grid

2013-03-04 Thread thomas bonfort
tileset grid minzoom=0 maxzoom=19.../grid /tileset should do the trick... On 4 March 2013 17:14, Travis Kirstine traviskirst...@gmail.com wrote: I have set up mapcache with a generic grid for all my caches. The grid has resolutions defined for zoom levels 0-21, however depending on the

Re: [mapserver-users] mapcache - multiple resolutions for the same grid

2013-03-06 Thread thomas bonfort
making a GetMap request beyond level 19, the grid configured with only 20 resolutions (zoom level 0-19) will return a valid image. -- I think : ) Regards On 4 March 2013 11:19, thomas bonfort thomas.bonf...@gmail.com wrote: tileset grid minzoom=0 maxzoom=19.../grid /tileset should do

Re: [mapserver-users] How use style for distinguish the rendering for scales interval.

2013-03-07 Thread thomas bonfort
The legend renderer does not honor style minscale/maxscale. You might want to open an issue about that. -- thomas On 7 March 2013 10:04, Andrea Peri aperi2...@gmail.com wrote: Here is an example of what it is returning. (see attached image) As you can see every element has a color fill and

Re: [mapserver-users] build mapserver 6.2 freetype error

2013-03-13 Thread thomas bonfort
don't specify the paths for libraries/dependencies that are in default locations, i.e. ./configure --with-ogr --with-gdal --with-wfsclient --with-wmsclient --enable-debug --with-proj --with-gd --with-jpeg --with-freetype --with-threads --with-wcs --with-postgis=/usr/local/database/bin/pg_config

Re: [mapserver-users] Open Street Map - Map Files

2013-03-15 Thread thomas bonfort
Note that things have moved a bit since then, but the wiki has a couple of other pages detailing the process. You'll find the osm mapfile mapfile generator itself in github/mapserver/basemaps -- thomas On 15 March 2013 15:04, Stephen Woodbridge wood...@swoodbridge.com wrote: On 3/15/2013 10:01

Re: [mapserver-users] mapCache and runtime substitution

2013-03-18 Thread thomas bonfort
Have a look at tileset-dimensions in the sample configuration file. Configured dimensions are forwarded to the source WMS, and can therefore be used to enable runtime substitutions. -- thomas On 18 March 2013 17:40, Icadedt icad...@yahoo.fr wrote: HI, i usually use mapserver with run time

Re: [mapserver-users] LABELS - changing from single map to tiles and overlays - HOW?

2013-03-19 Thread thomas bonfort
Worth, previously: layer type annotation ... class style #markerstyle end label #labelstuff end end end now: layer type point|polygon|whatever .. class #style #any style here applies to the actual geometry, i.e. for polygons this would be a fill. don't put anything

Re: [mapserver-users] LABELS - changing from single map to tiles and overlays - HOW?

2013-03-20 Thread thomas bonfort
On 20 March 2013 17:49, Worth Lutz w...@mindspring.com wrote: I’ve now got labels on my maps when zoomed out but my polygons have no labels if I zoom in away from the label location. I’m using: PROCESSING “LABEL_NO_CLIP=True” Is this a fixable problem? That's the aim of LABEL_NO_CLIP,

Re: [mapserver-users] LABELS - changing from single map to tiles and overlays - HOW?

2013-03-20 Thread thomas bonfort
out what is going on. I plan on using mapcache, so if I use metatiles I then use a gutter/buffer around the metatile and that eliminates the clipping on the edges of the metatile? I think I'm putting the pieces together now! Worth -Original Message- From: thomas bonfort

Re: [mapserver-users] CLUSTER - Average Value

2013-03-22 Thread thomas bonfort
Unless the cluster introduced some new codepaths in the rendering chain, I do not think this is the case. Only a *single* class gets used per rendered feature (the first one matching all expression and min/maxscale constraints) -- thomas On 22 March 2013 14:59, Tamas Szekeres szeker...@gmail.com

Re: [mapserver-users] php_mapscript.so not present after Mapserver 6.2.0 compilation

2013-04-04 Thread thomas bonfort
http://mapserver.org/development/announce/6-2.html#noteworthy-changes-which-could-affect-exisiting-applications Agreed, this isn't very clear for the mapscripts, but you have to run make install so the mapscript files get copied/installed to your php runtime directories. -- thomas On 4 April

Re: [mapserver-users] [mapserver-dev] Rendering Hindi Characters

2013-04-05 Thread thomas bonfort
renderer you are using. Mapserver does not try to understand it, it totally relies on the underlying rendering code to do the right thing whatever that is. Thomas Bonfort might have some more insight into this as he re-engineer a lot of the rendering pipeline and it might be helpful

Re: [mapserver-users] WMTS GetFeatureInfo dimensions forward

2013-04-10 Thread thomas bonfort
This was/is very probably a bug, can you try https://github.com/mapserver/mapcache/pull/64 and report back in that issue? regards, thomas On 10 April 2013 09:52, wellcadmo rwell.w...@gmail.com wrote: Hi, I'm trying to make a GetFeatureInfo call to mapcache using WMTS. I have problems with

Re: [mapserver-users] MapCache and the GoogleCRS84Quad TileMatrixSet

2013-04-10 Thread thomas bonfort
Armin, I don't have much to add to what you have already found out. I personally consider the GoogleCRS84Quad grid as defined by the spec to be broken, and have not implemented its support as it would require some specific hacks in the code (as the extent for level 0 needs to be hardcoded for this

Re: [mapserver-users] MapCache and the GoogleCRS84Quad TileMatrixSet

2013-04-10 Thread thomas bonfort
:50 PM, thomas bonfort wrote: Armin, I don't have much to add to what you have already found out. I personally consider the GoogleCRS84Quad grid as defined by the spec to be broken, and have not implemented its support as it would require some specific hacks in the code (as the extent

Re: [mapserver-users] geotiff resampling and transparency - artifact problem

2013-04-18 Thread thomas bonfort
Hi Oliver, Are you using mapserver's OFFSITE parameter, and/or do your tiff files have a nodata pixel set ? What happens if you convert your tiff to 32bit RGBA? (Not suggesting this is a valid workaround, just trying to narrow down the reasons for this). -- thomas On 18 April 2013 15:27,

Re: [mapserver-users] MapCache with GTiff Cache

2013-04-26 Thread thomas bonfort
Arthur, The TIFF cache backend is efficient and performant, however it is not easy or flexible to setup. Basically you *must* ensure that the provided TIFFs are exactly aligned to your mapcache grid, and this for every zoom level you want to serve. I would suggest you create a TIFF cache from

Re: [mapserver-users] Mapserver 6.2.1 upgrade breaks Mapcache

2013-04-26 Thread thomas bonfort
Native MapServer support in mapcache is considered experimental and shouldn't really be enabled in production unless you know what you're doing. That said... - are you using mapcache from the ubuntu-gis repo? - if not, and you do not need native mapserver support, then recompile mapcache without

Re: [mapserver-users] MapCache with GTiff Cache

2013-04-29 Thread thomas bonfort
directly to your adress. *Gesendet:* Freitag, 26. April 2013 um 10:44 Uhr *Von:* thomas bonfort thomas.bonf...@gmail.com *An:* Arthur Wesley arwes...@web.de *Cc:* MapserverList OSGEO mapserver-users@lists.osgeo.org *Betreff:* Re: [mapserver-users] MapCache with GTiff Cache Arthur

Re: [mapserver-users] wms works with version 1.1.1 but not with 1.3.0

2013-04-29 Thread thomas bonfort
Are you inverting the axis order in your BBOX= param for the wms 1.3.0 requests (needed if you're requesting in epsg:4326) ? -- thomas On 29 April 2013 14:43, andre.steinhaeu...@lung.mv-regierung.de wrote: Hello, I am trying to set up a wms server with one layer. Mapserver version is

Re: [mapserver-users] MapServer ArcSDE on Unix 64bit

2013-05-03 Thread thomas bonfort
Eric, https://github.com/mapserver/mapserver/issues/4521 might be relevant. regards, thomas On 3 May 2013 22:55, Weisbender, Eric weisb...@wapa.gov wrote: Hello, ** ** We have MapServer installed on a 64bit Unix box and are trying to recompile with ArcSDE support. As far as I know

Re: [mapserver-users] Display of a layer with a HATCH STYLE

2013-05-13 Thread thomas bonfort
what's your hachure symbol like ? On 13 May 2013 09:41, Jean Somers jean.som...@cocopaq.com wrote: Hi, I want a hatch style for a polygons layer. I used that code: CLASS NAME 'Protection des eaux potables et minérales(AS1)- périmètre immédiat' EXPRESSION /^AS1_I$/ STYLE

Re: [mapserver-users] Apply a label on a corner of rectangles

2013-05-15 Thread thomas bonfort
No, I don't think this is possible -- thomas On 15 May 2013 17:35, Andrea Peri aperi2...@gmail.com wrote: Hi, I have a dataset of rectangles with various angles. These rectangles are cartography photogram. As reported me from our users, seem that these are usually labelled in the top left

Re: [mapserver-users] loadHashTable(): error

2013-05-16 Thread thomas bonfort
You have a syntax error in your mapfile, probably a missing END somewhere above line 15 -- tb On 16 May 2013 10:44, Hishan Melanga hish...@gmail.com wrote: I am trying to render a map by looking at the https://github.com/mapserver/mapserver/wiki/RenderingOsmDataOnUbuntuv2tutorial. But I am

Re: [mapserver-users] MapCache 256 or 512 performance

2013-05-17 Thread thomas bonfort
Unless you have very specific constraints (the only one I can imagine being on a very high latency network), I can see no reason to favor 512 over 256. With 512 you have less tiles to transfer, however on average you will be tranferring more data that with 256 ones (as the area outside a map view

Re: [mapserver-users] Can not execute make ./configure command in mapcache downloaded folder

2013-05-17 Thread thomas bonfort
Sorry, missed this one earlier... mapcache now builds with cmake mkdir build cd build cmake .. # follow instructions if missing a dependency make sudo make install (and yes, the docs need updating ...) -- thomas On 17 May 2013 19:09, Thomas Gratier osgeo.mailingl...@gmail.com wrote:

Re: [mapserver-users] Unable to activate cache template in mapcache

2013-05-27 Thread thomas bonfort
Nicolas, This needs documenting, but you should be able to activate it with cache name=media type=disk layout=template template/home/tppostgis/Bureau/mapcache/tiles/{ tileset}_{grid}/{z}/{x}/{y}.png/template /cache -- thomas On 26 May 2013 16:19, nmoyroud nmoyr...@free.fr wrote: Hello, In

Re: [mapserver-users] Mapcache tileset only shows sporadically in KML / Google Earth

2013-06-06 Thread thomas bonfort
John, The configuration seems ok, you might want to remove the threaded_fetching part as it will only help in very specific scenarios. As for the root issue, are your tilesets fully preseeded or are they populated on demand? KML superoverlays are organized in a tree, i.e. to access a tile at zoom

[mapserver-users] RFC99: Remove GD support in 7.0

2013-06-07 Thread thomas bonfort
Devs and Users, Please have a look at RFC99 ( http://mapserver.org/development/rfc/ms-rfc-99.html). I am particularly interested in use-cases that would not be supported if GD were to be removed. cheers, Thomas ___ mapserver-users mailing list

Re: [mapserver-users] Mapcache and partial reseeding

2013-06-07 Thread thomas bonfort
On 7 June 2013 17:48, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, How well does Mapcache seeder tool handle the case when the original big aerial image coverage is updated little by little so that the hole cycle takes 3 to 6 years? Reseeding the whole cache every time when a batch of

Re: [mapserver-users] Mapcache and partial reseeding

2013-06-07 Thread thomas bonfort
which does not mention mode=delete or force http://www.mapserver.org/trunk/mapcache/seed.html. Doy you know of any other valuable but hidden features? -Jukka- thomas bonfort wrote: On 7 June 2013 17:48, Rahkonen Jukka jukka.rahko...@mmmtike.fimailto

Re: [mapserver-users] Does MapCache supports x-sendfile?

2013-06-07 Thread thomas bonfort
hi, short answer: no On 8 June 2013 02:56, Jackey Cheung cheung.jac...@gmail.com wrote: Hi, Just one short question, Does MapCache supports x-sendfile? ___ mapserver-users mailing list mapserver-users@lists.osgeo.org

Re: [mapserver-users] Mapcache tileset only shows sporadically in KML / Google Earth

2013-06-09 Thread thomas bonfort
if seeding across multiple machines), or configuring a timeout on the creation time of the lockfile (will fail if a WMS render takes longer than your configured timeout). regards, thomas -Steve W. On 6/8/2013 3:41 PM, John D. Evans wrote: Hi, Thomas Bonfort wrote on 06/06/2013

Re: [mapserver-users] Creating lower aeriel image cache from the best resolution tiles

2013-06-09 Thread thomas bonfort
Jukka, No this is not considered, and you'll have to be really persuasive to make this happen as I do not see any advantage of adding this :) The reason is that in order to create e.g. the tile for level 0 for the first time, you'll have to downsample (and maybe previously seed) the full z=21

Re: [mapserver-users] LABEL/LEADER examples??

2013-06-11 Thread thomas bonfort
There is no limit on layer types. However a leader line/offseted label is rejected if the line intersects a label-cached feature. -- tb On 11 June 2013 20:39, Basques, Bob (CI-StPaul) bob.basq...@ci.stpaul.mn.us wrote: All, Oops,nevermind, I figured out my problem, they are only supported

Re: [mapserver-users] LABEL/LEADER examples??

2013-06-11 Thread thomas bonfort
/mapfile/leader.html ** ** Is this old info?? ** ** bobb ** ** *From:* mapserver-users-boun...@lists.osgeo.org [mailto: mapserver-users-boun...@lists.osgeo.org] *On Behalf Of *thomas bonfort *Sent:* Tuesday, June 11, 2013 2:26 PM *To:* Basques, Bob (CI-StPaul) *Cc

Re: [mapserver-users] Python MapScript WxS Capabilities XML truncated

2013-06-18 Thread thomas bonfort
Tom, I was able to reproduce a segfault using the CGI, here's the backtrace for the ticket I'm sure you'll open and hopefully fix :) Program received signal SIGSEGV, Segmentation fault. 0x77b140af in msDumpLayer (map=0x604d90, lp=0x60d6b0, nVersion=66304, script_url_encoded=0x616330

Re: [mapserver-users] FCGI and SVG output goes to STDERR?

2013-07-01 Thread thomas bonfort
Nick, in mapcairo.c near line 857, function int saveImageCairo (imageObj *img, mapObj *map, FILE *fp, outputFormatObj *format) try changing fwrite to msIO_fwrite In any case, please open an issue for this one so it doesn't get forgotten. regards, thomas On 2 July 2013 06:29, Nick Webb

Re: [mapserver-users] Dimension default doesn't work and documentation is patchy

2013-07-04 Thread thomas bonfort
semska, As I have already replied to you on the issue tracker, WMS dimensions were added in 6.2.0, i.e. quite a few versions after your 5.6.0 On 4 July 2013 10:34, semska sem...@gmail.com wrote: Hi Stefan, I am also trying to use custom dimension in a WMS layer, but I am not able to make it

Re: [mapserver-users] mapcache - background color on edge tiles

2013-07-09 Thread thomas bonfort
In your mapfile, or you can add a TRANSPARENT=TRUE to your source url. -- thomas On 9 July 2013 14:23, Mark Volz markv...@co.lyon.mn.us wrote: Hello, I added my mapcache service to ArcGIS and noticed that the tiles on the south and west side of my mapcache are black. Is there a way to

Re: [mapserver-users] a class level opacity

2013-07-16 Thread thomas bonfort
use STYLEs . Your syntax is outrageously deprecated, please read the docs. http://mapserver.org/mapfile/class.html http://mapserver.org/mapfile/style.html#style -- thomas On 16 July 2013 11:17, Ahmet Temiz ahmettemi...@gmail.com wrote: hello Is there any way to realize a class level opacity ?

Re: [mapserver-users] A problem about setting transparent raster layer.

2013-07-18 Thread thomas bonfort
TRANSPARENT on END On Thu, Jul 18, 2013 at 10:38 AM, thomas bonfort thomas.bonf...@gmail.com wrote: Guo, Why not use opacity at the client level only ? That said, this does seem like a bug. Can you specify which mapserver version you are using, and which outputformat your are using

Re: [mapserver-users] tiled label issue - labels cut off in cases where the label fits on one tile but not the other?

2013-07-18 Thread thomas bonfort
You're nearly there ! http://lists.osgeo.org/pipermail/mapserver-users/2012-October/073462.html this is also documented in the mapcache docs and sample configuration file. -- thomas On 18 July 2013 18:59, Mark Volz markv...@co.lyon.mn.us wrote: Hello, I am trying to set up a my mapfile so

Re: [mapserver-users] tiled label issue - labels cut off in cases where the label fits on one tile but not the other?

2013-07-18 Thread thomas bonfort
sorry, wrong thread... tl;dr : set your mapfile's labelcache_map_edge_buffer to the same value as your mapcache tileset's metabuffer. On 18 July 2013 19:10, thomas bonfort thomas.bonf...@gmail.com wrote: You're nearly there ! http://lists.osgeo.org/pipermail/mapserver-users/2012-October/073462

Re: [mapserver-users] Question about issues git-hub system

2013-07-22 Thread thomas bonfort
Andrea, there are other changes that affect an issue's last updated timestamp, some of which are not recorded on the interface (namely the milestone, labels, assignee, references from other tickets, etc...) On 20 July 2013 08:01, Andrea Peri aperi2...@gmail.com wrote: Hi, Reading the issue

Re: [mapserver-users] Using SIZEUNITS in MapFile with OpenLayers: works being served as WMS Layer, but not OpenLayers.Layer.MapServer

2013-07-23 Thread thomas bonfort
David, You are probably missing a UNITS dd at the map level. It works with WMS because the SRS included in the WMS call will set the map.units to dd automatically. -- thomas On 23 July 2013 19:23, David Pardy dpard...@gmail.com wrote: Hello, I've been struggling on this issue and it seems

Re: [mapserver-users] Using fallback fonts?

2013-08-05 Thread thomas bonfort
it's possible in mapserver since version 6.2 : http://mapserver.org/development/rfc/ms-rfc-80.html . Note that there's a hardcoded limit of 4 fallbacks font (1 main font + 4 fallbacks). In mapserver 7.0 this limit will be lifted, and it will also be possible to prioritize which font to use for a

Re: [mapserver-users] Using fallback fonts?

2013-08-05 Thread thomas bonfort
...@fuchsschwanzdomain.de wrote: thomas bonfort thomas.bonf...@gmail.com wrote: it's possible in mapserver since version 6.2 : http://mapserver.org/development/rfc/ms-rfc-80.html . Note that there's a hardcoded limit of 4 fallbacks font (1 main font + 4 fallbacks). In mapserver 7.0 this limit

Re: [mapserver-users] drawing multiple layers from postgis

2013-08-09 Thread thomas bonfort
https://github.com/mapserver/mapserver/issues/2922 On 9 August 2013 17:40, Michael McInnis mmcinni...@msn.com wrote: I'm pretty sure that END is correctly ending the Symbol Clause. The odd thing about this is I can draw all four layers if I call them separately but when I try to call them

Re: [mapserver-users] drawing multiple layers from postgis

2013-08-09 Thread thomas bonfort
third time's a charm :) LAYER NAME business_rd1 CONNECTIONTYPE POSTGIS CONNECTION host=localhost dbname=Business user=postgres password= port=5432 DATA geom From business_rd1 as rd1 using unique id using srid=4326 PROCESSING CLOSE_CONNECTION=DEFER

<    1   2   3   4   5   6   7   8   >