Re: [mapserver-users] mapfile for OpenStreetMap

2014-02-07 Thread thomas bonfort
That one looks good: http://svn.osgeo.org/osgeo/foss4g/benchmarking/wms/2011/mapserver/osm-google.map That's actually generated from the github basemaps project. I would very strongly recommend basing any serious mapfile off the basemaps project rather than this generated one, as that one is,

Re: [mapserver-users] Dual role of LAYER is confusing

2014-02-10 Thread thomas bonfort
On 10 February 2014 15:13, Rahkonen Jukka (Tike) jukka.rahko...@mmmtike.fi wrote: Hi, In most cases in Mapfile LAYER is defining the output of the service. However, it looks like the original way to use DATA has not been flexible enough to suit new sources of data and as a workaround one

Re: [mapserver-users] runtime variable substitution in layer class expression

2014-02-11 Thread thomas bonfort
try something like: layer validation YEAR ^[12][09][0-9][0-9]$ end class expression ([%YEAR%]100) -- thomas On 11 February 2014 20:15, gorank kirandzis...@gmail.com wrote: Is there is somebody to help me? -- View this message in context:

Re: [mapserver-users] Problem using WMS GetFeatureInfo in OpenLayers with different projections

2014-02-14 Thread thomas bonfort
I believe this was fixed in https://github.com/mapserver/mapserver/pull/4403 https://github.com/mapserver/mapserver/pull/4778 might also be relevant. On 14 February 2014 10:24, Dejan Gambin dejan.gam...@coin.hr wrote: I've upgraded to 6.4 and seems fine now On 13. vel. 2014., at 16:09,

Re: [mapserver-users] layer mask without clipping

2014-02-25 Thread thomas bonfort
Lars, I don't understand what you're trying to obtain. Can you clarify and/or post a couple screenshots? -- thomas On 25 February 2014 09:58, Lars Lingner gislars+l...@googlemail.com wrote: Hello, I really like the MapServer layer mask feature. Is there a way that MapServer doesn't clip the

Re: [mapserver-users] WMS image display

2014-02-25 Thread thomas bonfort
Do your tiffs have overviews? Changing the image size affects the map scale and thus potentially which overview is being used... -- thomas On 25 February 2014 16:52, Dash jim...@co.clackamas.or.us wrote: Thanks for the response. The images are in a tif format and we used GDAL to create the

Re: [mapserver-users] Upgrading to 6.4.x

2014-02-26 Thread thomas bonfort
How are you drawing those lines? Using a circle symbol as was required in pre-5 version is not supported anymore. -- thomas On 25 February 2014 22:08, Basques, Bob (CI-StPaul) bob.basq...@ci.stpaul.mn.us wrote: All, Has anyone experienced a problem with MapServer not drawing short segments

Re: [mapserver-users] Force label rendering without overlapping

2014-03-04 Thread thomas bonfort
we don't render an offseted label if its leader line would intersect an existing label or an existing leader line. Try removing you label BUFFER so that there is more room for the leader lines to be drawn without intersecting the existing label's bbox. -- thomas On 4 March 2014 17:09, aborruso

Re: [mapserver-users] Need help with RFC109: Refactor Runtime Substitution

2014-03-08 Thread Thomas Bonfort
Andrea, it's a bug, I've just pushed a fix. thanks for reporting! -- thomas On 08/03/2014 16:08, Andrea Peri wrote: Hi, I'm try to check if the new RFC109 is compatible with my mapfile. I try a fast check and seem that my mapfile dont work with RFC109. But reading the documentation I don't

Re: [mapserver-users] Complex Multi Label/Symbol Symbology

2014-03-11 Thread thomas bonfort
Jorg, It is not available as it relies on a proprietary (esri) font (that you can however find on the internet, but we are not licensed to use it in the autotests). There's nothing complicated about it, and it is very similar to

Re: [mapserver-users] modify symbol size using expression

2014-03-31 Thread thomas bonfort
Travis, short answer: no long answer: you can do it indirectly if using a rdbms backend: select ..., myattribute+1 as myattribute from table regards, thomas On 31 March 2014 16:16, Travis Kirstine traviskirst...@gmail.com wrote: Is it possible to change the symbol size (point feature) using a

Re: [mapserver-users] MapServer : Problem shifting TrueType symbols on rotation

2014-04-01 Thread thomas bonfort
http://mapserver.org/mapfile/symbol.html = anchorpoint https://github.com/mapserver/msautotest/blob/master/renderers/marker_anchorpoint.map https://github.com/mapserver/msautotest/blob/master/renderers/expected/marker_anchorpoint.png available from version 6.2 onwards. -- thomas On 1 April

Re: [mapserver-users] Can't get a raster to display... projection issue?

2014-04-01 Thread thomas bonfort
typo: epsg:3857 instead of 3587? -- thomas On 1 April 2014 23:53, Peter Gustafson pgustaf...@gmail.com wrote: Hi all, I'm brand new to mapserver. (The itasca workshop map works) I can't get a raster to display. I've tried various extents and projections but suspect these are the cause. The

Re: [mapserver-users] mapcache wmts offset

2014-04-04 Thread thomas bonfort
Hi, mapcache by default aligns its tiles starting from the lower-left corner whereas WMTS expects them to start from the upper-left. While the generated capabilities doc correctly identifies this behavior, most WMTS clients will not support this if they don't do the capabilities parsing

Re: [mapserver-users] layer grid intersection points symbol

2014-04-24 Thread thomas bonfort
Mario, To my knowledge this isn't possible. I or another dev would be available for contracting if this is something you would want to fund. Best regards, Thomas On 24 April 2014 17:16, Mario Jurcevic ma...@geosar.ch wrote: Hi, any idea of how to represent in a GRID layer only the

Re: [mapserver-users] mapcache check cache before testing source data?

2014-04-24 Thread thomas bonfort
Jerry, I'm not sure I follow your issue. Mapcache itself won't hit your source data, it will only be accessed through by the configured wms server if a tile was not found in the local cache. The seeder will only hit the wms if a given tile was not present in the cache (or if you have passed

Re: [mapserver-users] layer grid intersection points symbol

2014-04-24 Thread thomas bonfort
fake it by using a dashed line with the appropriate spacing. Would end up as a cross tic instead of a point though. Bobb -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of thomas bonfort Sent: Thursday

Re: [mapserver-users] mapcache check cache before testing source data?

2014-04-24 Thread thomas bonfort
Jerry, mapcache has no knowledge of where there's data or not. If it has the requested tile in its cache it will serve it, otherwise it will ask the wms to render it, then cache it, then serve it. Wether the wms hit actual data or not is not mapcache's problem. -- thomas On 24 April 2014 21:58,

Re: [mapserver-users] MapServer Errors in APACHE logs.

2014-04-30 Thread thomas bonfort
http://mapserver.org/optimization/debugging.html if you set the error file to stderr then the logs will go to the apache error log, as others have pointed out. -- thomas On 29 April 2014 20:55, Basques, Bob (CI-StPaul) bob.basq...@ci.stpaul.mn.us wrote: All, Has anyone done any work with

Re: [mapserver-users] MapCache and GetLegendGraphic

2014-05-07 Thread thomas bonfort
LegendGraphic is not supported. You can however setup a forwarding rule so that those requests get sent to an upstream WMS server. -- thomas On 6 May 2014 22:04, steve.tout...@inspq.qc.ca wrote: Is it possible to make a getLegendGraphic Request via MapCache? I Tried but can't make it work

Re: [mapserver-users] Rendering Maperative Tiles via UMN Mapserver with mod-mapcache

2014-05-10 Thread thomas bonfort
You've got something wrong with your source entry. Does the http://mapserver/osmmap url have a rewrite defined to append a map= parameter or a MS_MAPFILE envirronment variable? if not, you should at least add a map/path/to/mapfile.map/map to the source params (at the same level as LAYERS) --

Re: [mapserver-users] mapcache issue2

2014-07-07 Thread thomas bonfort
You're getting this message because the upstream WMS server isn't returning an image given the getmap request that mapcache is sending to it. The error message should contain a bit more info, or you can manually replay the request mapcache has sent by looking into your mapserver's access logs and

Re: [mapserver-users] How set a NOT IN clause in new expression class clause

2014-08-01 Thread thomas bonfort
not tested, but I suspect EXPRESSION ([roadtype] NOT IN motorway,trunk) should work ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] [mapserver-dev] Multiline string error

2014-08-14 Thread thomas bonfort
Ian, Could you open a github issue for this one, and include a minimal mapfile that would allow me to reproduce the issue locally. thanks, thomas On 14 August 2014 18:09, Ian Walberg ian.walb...@airborne.aero wrote: Steve, I used points for the feature data rather than the WKT string but seem

Re: [mapserver-users] emacs mapserver-mode (refreshed)

2014-08-18 Thread thomas bonfort
Axel, we provide a vim syntax highlighting file on the mapserver.org website. You might want to submit a pull-request to the doc site to include your contribution at the same level. http://mapserver.org/fr/development/editing/vim.html http://mapserver.org/fr/_static/map.vim

Re: [mapserver-users] Installing MapServer with FastCGI

2014-09-25 Thread thomas bonfort
You need to install the fastcgi-devel package (I'm not sure what it's called on centos, libfcgi-devel, libfastcgi-devel, fcgi-devel, ...) regards, thomas On 25 September 2014 16:55, jdmorgan jdmor...@unca.edu wrote: Hello, I am trying to compile a version of MapServer 6.4.1. on CentOS 6.

Re: [mapserver-users] Fwd: All map services display pink tiles

2014-10-01 Thread thomas bonfort
Sithila, try right clicking on one of the pink tiles to open it in a new browser window, or alternately look in your apache access/error logs. You should get an error message that should give you a head start. 502 errors are usually a sign that the source wms server is producing an error instead

Re: [mapserver-users] Mapserver CGI URL parameter parsing with plus character escaped as %2b

2014-10-01 Thread thomas bonfort
the + sign is used to encode a space in a url, and that space is what mapserver's parser is looking for. translated to mapfile syntax, your first two requests are parsed as labelitem columnname whereas the last one is labelitem+columnname which is invalid. tl;dr don't escape the + sign,

Re: [mapserver-users] Problems compiling current git master on CentOS 6 due to lack of HarfBuzz

2014-10-14 Thread thomas bonfort
can you start with a new build directory, I've just tested and can correctly disable harfbuzz/fribidi... cmake ~/dev/mapserver -DWITH_FRIBIDI=OFF -DWITH_HARFBUZZ=OFF -- thomas On 14 October 2014 11:58, Peter Hopfgartner peter.hopfgart...@r3-gis.com wrote: I'd like to test if

Re: [mapserver-users] mapcache WMTS - TMS one tile offset

2014-10-14 Thread thomas bonfort
Markus, TMS expects tiles starting at the bottom left whereas WMTS expects them starting top left. Mapcache by default uses bottom-left ordered grids, and creates a WMTS capabilities document that accounts for that in the sense that the TopLeftCorner of each TileMatrix is adjusted and may vary if

Re: [mapserver-users] WMS rendering

2014-10-16 Thread thomas bonfort
sizeunits meters along with size 0.0019 is very probably false unless you're mapping microscopic particles :) try removing the sizeunits parameter completely and setting size to something visible in pixels (e.g. 3-5), once that is working you can start looking into scale-dependant rendering with

Re: [mapserver-users] Is kerneldensity_attribute implemented?

2014-10-23 Thread thomas bonfort
Jukka, All the functionality is tested in msautotest, the KERNELDENSITY_ATTRIBUTE is an error is the RFC. To use an attribute use STYLE SIZE [attribute] END in your linked vector layer. -- thomas On 23 October 2014 06:55, Rahkonen Jukka (Tike) jukka.rahko...@mmmtike.fi wrote: Hi, I have tried

Re: [mapserver-users] WFS query slow on large postgis table (and small table disappointing as well)

2014-11-07 Thread thomas bonfort
Yes Marco, Please open a ticket for this. thanks, thomas On 7 November 2014 09:34, deduikertjes deduikert...@xs4all.nl wrote: Ok, with all the help I came to the following results: Compile the current development version (6.5-dev) from GitHub Install. Results: Simple Spatial WFS

Re: [mapserver-users] Mapserver as static executable

2014-11-19 Thread thomas bonfort
Those flags only influence how the mapserver binaries (shp2img, mapserv, etc...) are linked to libmapserver, not how libmapserver links to its dependencies. There is currently now way that I know of to statically link the dependencies. If you figure out how to do so in cmake and wanted to submit a

Re: [mapserver-users] Mapfile limit size

2014-11-26 Thread thomas bonfort
Glenn, I have had no other reports of issues related to mapfile sizes, includes, or tabs vs. spaces. Ideally provide a backtrace of the segfault after having recompiled mapserver with debugging symbols turned on, from the command line with a bounding box that triggers the 500 error: gdb --args

Re: [mapserver-users] MapCache: substitution in GetMap

2014-11-28 Thread thomas bonfort
You need to add ZOOM as a dimension at the tileset level. It will be validated in incoming requests and propagated to the WMS server. -- thomas On 28 November 2014 at 13:31, Vladimir f...@inbox.ru wrote: Hi All! I have getMap request to MapCache from OL3 with additional dynamic ZOOM

Re: [mapserver-users] Is RFC 101 in Mapserver 6.4.1?

2014-12-04 Thread thomas bonfort
Luca, RFC101 only treats image legends, it is not implemented for HTML ones. -- thomas On 2 December 2014 at 16:17, Luca Manganelli luc...@gmail.com wrote: As stated in this document: http://mapserver.org/development/rfc/ms-rfc-101.html the Content Dependent Legend Response should be

Re: [mapserver-users] Is RFC 101 in Mapserver 6.4.1?

2014-12-04 Thread thomas bonfort
there are some tests in https://github.com/mapserver/msautotest/blob/master/wxs/wms_legend.map On 4 December 2014 at 10:27, Luca Manganelli luc...@gmail.com wrote: On Thu, Dec 4, 2014 at 10:18 AM, thomas bonfort thomas.bonf...@gmail.com wrote: Luca, RFC101 only treats image legends

Re: [mapserver-users] multiple mapserv versions side by side

2015-02-18 Thread thomas bonfort
You /should/, at least on linux, be able to install to any non standard location without having to compile a static version by using cmake .. -DCMAKE_INSTALL_PATH=/opt/ms70 and then copying/symlinking /opt/ms70/bin/mapserv to your standard cgi directory. The compiled php_mapscript.so should also

[mapserver-users] MapServer 7.0 Beta1 Released

2015-02-12 Thread thomas bonfort
The MapServer team is pleased to announce the long overdue first beta release of MapServer 7.0. Please help us testing and let us know any findings. Details of the new features, migration instructions, and download links can be found on the dedicated announcement page at

Re: [mapserver-users] Not able to read Read MultiLineString and multigeometry coordinate with geotools in KML file

2015-02-20 Thread thomas bonfort
For issue 1 you should take this to the geotools mailing list as you won't get any meaningful answers here. For issue 2, unless you want to display altitude in a label or use different styles based on altitude, this should not be an issue for mapserver itself. On a side note, if kml2 is only to be

Re: [mapserver-users] compiling error core.c in mapcache with cygwin

2015-01-10 Thread thomas bonfort
What apr version are you using? On Jan 3, 2015 10:15 PM, Gery . gameji...@hotmail.com wrote: Hello, When installing mapcache in cygwin, `make` produced: /opt/mapcache/mapcache-rel-1-2-1/lib/core.c: In function ‘mapcache_prefetch_tiles’:

Re: [mapserver-users] compiling error core.c in mapcache with cygwin

2015-01-10 Thread thomas bonfort
without hacking the mapcache codebase. I believe the change would not be very extensive as the source WMS fetches only need to be sequentialized instead of parralelized in core.c Thomas. On Jan 11, 2015 7:50 AM, thomas bonfort thomas.bonf...@gmail.com wrote: What apr version are you using? On Jan 3

Re: [mapserver-users] mapserver 7 wfs_encoding

2015-02-13 Thread thomas bonfort
http://mapserver.org/development/rfc/ms-rfc-103.html -- thomas On 13 February 2015 at 10:17, steve.tout...@inspq.qc.ca wrote: Congratulations for the huge improve performance for WFS filtering with postgis and oracle... Mapserver 7 doesn't use wfs_encoding specified in the mapfile

Re: [mapserver-users] [EXTERNAL] Re: the lines one above other

2015-02-13 Thread thomas bonfort
You can do it in a single layer, provided that you have someway of determining via attributes that a given road segment isn't connected to other road segments below it (typically that would be something saying it's a bridge rather than a regular road). The behavior is undocumented and relies on

Re: [mapserver-users] mapserv 7.0 and gif

2015-02-13 Thread thomas bonfort
Richard, Allowing for image/gif in requests and GIF outputformats is to allow existing mapfiles and requests to still be serviced without breaking, even though the returned format will be png. The gif dependency is there to allow loading of gif pixmap symbols, as was already the case. -- thomas

Re: [mapserver-users] mapserver 7 wfs_encoding

2015-02-13 Thread thomas bonfort
? *thomas bonfort thomas.bonf...@gmail.com thomas.bonf...@gmail.com* 2015-02-13 10:21 A steve.tout...@inspq.qc.ca cc MapserverList OSGEO mapserver-users@lists.osgeo.org Objet Re: [mapserver-users] mapserver 7 wfs_encoding http://mapserver.org/development/rfc/ms-rfc-103.html -- thomas

Re: [mapserver-users] [EXTERNAL] Re: the lines one above other

2015-02-12 Thread thomas bonfort
Actually there is an issue opened for this, as the order by inside the subquery is not guaranteed to be maintained in the outer query: https://github.com/mapserver/mapserver/issues/5008 . For mssql there has been a patch applied, for postgis it is not needed yet. On 12 February 2015 at 08:48,

Re: [mapserver-users] MapServer Environment Variables and IIS

2015-02-10 Thread thomas bonfort
Mod fcgid on apache has special directives to set environment variables, c.f. FcgidInitialEnv . on iis you hopefully have the same... On Feb 10, 2015 8:18 AM, geographika geograph...@gmail.com wrote: Some further details after debugging. I modified mmaphttp.c and recompiled MapServer just to

Re: [mapserver-users] WMTS tiles not at correct Latitude (and moving)

2015-03-04 Thread thomas bonfort
Have a look at this thread if this is happening on a custom grid (i.e. notre google-mercator or wgs84): http://lists.osgeo.org/pipermail/mapserver-users/2014-October/077033.html On Mar 5, 2015 6:54 AM, Ben Madin b...@ausvet.com.au wrote: G’day all, we have set up a map cache wmts layer to

Re: [mapserver-users] Getcapabilities extremely slow in version 6.4.1

2015-03-05 Thread thomas bonfort
IIRC, this happened when we introduced advanced layer groupings along with inspire support in 6.2, and has to do with multiple passes through layers to determine which ones to activate or not. I'd suspect the cost is proportional to nlayers² which is why it comes up for folks with many layers in

Re: [mapserver-users] ows_allowed_ip_list / ows_denied_ip_list not working

2015-04-24 Thread thomas bonfort
Can you point us to where you saw in the docs that '*' was a valid entry for an ip list ? -- thomas On 23 April 2015 at 15:14, vladimirbellini vlasvlasv...@gmail.com wrote: Hi. i was testing ows_denied_ip_list or allowed ip list on my 6.4.1 mapserver and it does not work at all. ./mapserv

Re: [mapserver-users] memcache and mapcache

2015-04-21 Thread thomas bonfort
Travis, that means the cmake configuration step didn't pick up the apr-memcache headers, either because they are not installed, or because you did not specify -DWITH_MEMCACHE=1 -- thomas On 21 April 2015 at 16:37, Travis Kirstine tkirst...@firstbasesolutions.com wrote: I have a issue with

Re: [mapserver-users] mapcache config troubles, Tile parameter not set

2015-04-29 Thread thomas bonfort
mapcache gets it's tile data from a source WMS service, not a tiled one. Just remove the mode=tile part from your source-url, and make sure your mapfile is configured to allow wms getmap requests (namely, ows_srs and ows_enable_request metadatas are correctly set). -- thomas On 29 April 2015 at

Re: [mapserver-users] permission denied on Trac

2015-04-29 Thread thomas bonfort
we moved to github a little while ago https://github.com/mapserver/mapserver/issues/2436 On 29 April 2015 at 03:36, Richard Greenwood richard.greenw...@gmail.com wrote: There is a link on this page http://mapserver.org/mapfile/outputformat.htm to this page

Re: [mapserver-users] Legend difference in 5.6.1 and 6.4.1

2015-04-30 Thread thomas bonfort
mapser...@markus-spring.de wrote: Am 28.04.2015 um 08:11 schrieb thomas bonfort: Are you using the GD or AGG renderer? Do all truetype fonts exhibit this behavior? Can you test the 7.0 beta on this? Can you provide a self contained test-case to reproduce this? Lots of questions :) OK

Re: [mapserver-users] Legend difference in 5.6.1 and 6.4.1

2015-04-28 Thread thomas bonfort
Are you using the GD or AGG renderer? Do all truetype fonts exhibit this behavior? Can you test the 7.0 beta on this? Can you provide a self contained test-case to reproduce this? Lots of questions :) -- thomas On 28 April 2015 at 06:19, mapserver mapser...@markus-spring.de wrote: Steve et.

Re: [mapserver-users] Mapserver 7+oracle - wfs getFeature with filter on numeric field

2015-05-13 Thread thomas bonfort
can you try the same request without the matchCase part and report back please? On 12 May 2015 at 18:11, steve.tout...@inspq.qc.ca wrote: I have a problem using a FILTER in a wfs getFeature request on an oracle DB with MS7 When I launch a getFeature request with a Filter on a numeric field it

Re: [mapserver-users] mapserver 6.4.1 - special characters in legend

2015-04-15 Thread thomas bonfort
Do yourself a favour and save your mapfile in UTF-8. This will be a requirement anyways starting from version 7.0. You need to set label-type=truetype and label-size=9 (i.e. in pixels, not large) for it to work. -- thomas On 15 April 2015 at 15:13, Carmen Delia Hernández Pérez

Re: [mapserver-users] Anchorpoint for pixmap symbol?

2015-04-15 Thread thomas bonfort
The functionality is implemented and is working correctly, c.f. https://github.com/mapserver/msautotest/blob/master/renderers/marker_anchorpoint.map https://github.com/mapserver/msautotest/blob/master/renderers/expected/marker_anchorpoint.png ... need more info -- thomas On 15 April 2015 at

Re: [mapserver-users] query in mapfile

2015-06-18 Thread thomas bonfort
http://mapserver.org/cgi/runsub.html On 18 June 2015 at 15:23, hosain mohammadi hosain.mo...@gmail.com wrote: the code below is a layer in map file in this code i want create a query in postgis for shortestpath but a the number 77 and 388 is the source and target and the result create

Re: [mapserver-users] libiconv

2015-06-24 Thread thomas bonfort
You shouldn't be needing any iconv specific switches on centos. Start anew (rm -rf * in the build directory) and just run cmake -DCMAKE_INSTALL_PREFIX=/opt Thomas On Jun 23, 2015 22:25, Mérette, Jacques (Consultant) jacques.merett...@mtq.gouv.qc.ca wrote: Hi, I try to install MapServer 7

Re: [mapserver-users] symbol SVG with format image/png

2015-06-12 Thread thomas bonfort
Add a SIZE... On Jun 12, 2015 4:12 PM, Marc-André Trottier marcandre_trott...@hotmail.com wrote: with a getMap request with format = image/png, if i got one layer with a SVG symbol, is it supposed to be rendered ? in my case : no. layer's class : CLASS NAME Camera GROUP DEFAULT STYLE

Re: [mapserver-users] getting corrupted png with WMS request to mapserv CGI on command line

2015-05-27 Thread thomas bonfort
IMAGEPATH /tmp/ should be changed to IMAGEPATH /tmp/ -- thomas On 27 May 2015 at 11:47, Renzo Kottmann rkott...@mpi-bremen.de wrote: Hi All, I have installed mapserver 6.4.1 in a docker container based on debian jessie (see dockerfile below) If I run: /usr/lib/cgi-bin/mapserv -nh

Re: [mapserver-users] Kernel Map MapServer 7 WMS Server Bug!?

2015-07-07 Thread thomas bonfort
Sorry, clicked on send to fast... Can you try explicitely setting PROJECTION blocks on your mapfile layers and report back. We seem to be having issues on these intermediate layer cases when those are not set. -- thomas On 7 July 2015 at 17:52, thomas bonfort thomas.bonf...@gmail.com wrote

Re: [mapserver-users] Kernel Map MapServer 7 WMS Server Bug!?

2015-07-07 Thread thomas bonfort
https://github.com/mapserver/mapserver/issues/5114#issuecomment-119091025 On 7 July 2015 at 17:50, Helton Nogueira Uchoa engenheiro.uc...@gmail.com wrote: Hi list, I'm trying to make a WMS Server with a kernel (density) map with MapServer 7. In same situations (BBOX size, WIDTH and HEIGHT

[mapserver-users] MapCache 1.4 Released

2015-07-28 Thread thomas bonfort
The MapServer PSC is pleased to announce the release of MapCache version 1.4.0. You can read about the major new features here: http://mapserver.org/development/announce/mapcache-1-4.html and download links here: http://mapserver.org/download.html Best Regards, The MapServer PSC

[mapserver-users] MapServer 7.0 release

2015-07-24 Thread thomas bonfort
Hi All, The MapServer team is pleased to finally announce the release of MapServer's 7th major version. You'll find a list of major changes since version 6.4 in http://www.mapserver.org/development/announce/7-0.html , the detailed list of changes since the last beta2 in

Re: [mapserver-users] Very strange problem doing a query and hanging on MS 6.4.1

2015-07-13 Thread thomas bonfort
in main (argc=2, argv=0x7fffdf98) at /u/software/mapserver-rel-6-4-2/mapserv.c:259 I'll poke around a little more in gdb and see if I can figure out anything more. Thanks, -Steve On 7/13/2015 4:12 AM, thomas bonfort wrote: Steve, please include a backtrace from gdb where you

Re: [mapserver-users] mapcache wms assembly

2015-07-20 Thread thomas bonfort
No. On 20 July 2015 at 18:13, Travis Kirstine tkirst...@firstbasesolutions.com wrote: Does mapcache manage the number of internal concurrent request when assembling layers to ensure MaxClients is not exceeded? -- [image: FBS Logo] *Travis Kirstine*, Web Development Supervisor *t

Re: [mapserver-users] Very strange problem doing a query and hanging on MS 6.4.1

2015-07-13 Thread thomas bonfort
Steve, please include a backtrace from gdb where you believe the infinite loop is happening. -- thomas On 13 July 2015 at 01:22, Stephen Woodbridge wood...@swoodbridge.com wrote: I added gdalinfo on an actual raster file below. It turns out the -9 is the NoData Value. I would be happy to

Re: [mapserver-users] Ogrtileindex bug in Mapserver 7.0

2015-10-22 Thread thomas bonfort
> BBOX intersects with the envelope (the interior of the polygon) but not with > the boundary of the polygon. With native TILEINDEX access to vector data this > issue does not happen. > > > --- > | - | > | | BBOX | | | --| > ---

Re: [mapserver-users] COMPOSITE opacity

2015-10-27 Thread thomas bonfort
Can you try with the tbonfort/compfilters branch and report back? On 26 October 2015 at 21:36, Moretti Edmar wrote: > Hi. > > I'm using version 7 of MapServer but I can not set the opacity of a layer. > I've tried several ways: > > $layer->set ("opacity", 40); >

Re: [mapserver-users] Encoding problem

2015-10-26 Thread thomas bonfort
s field and used > >ENCODING UTF-8 > > in the layer level. Also dbfdump gives me UTF-8 Unicode text. > > Still getting weird symbols. The only readable letter is "π" > > Thank you. > > -Stefanos > > > > > > > > Στις 9:11 μ.μ. Δευτέ

Re: [mapserver-users] Encoding problem

2015-10-26 Thread thomas bonfort
by iconv) and the transormation to utf8 will be done automatically and internally by mapserver. -- thomas > > > -Stefanos > > > > > Στις 8:25 μ.μ. Δευτέρα, 26 Οκτωβρίου 2015, ο/η thomas bonfort > <thomas.bonf...@gmail.com> έγραψε: > > > Stefanos, > Firs

Re: [mapserver-users] MapCache: cache some zoom levels, proxy others?

2015-10-28 Thread thomas bonfort
Paul, Are you using metatiling? That would substantially reduce the number of requests mapcache does to mapserver. You also have the ... true option, that lets mapcache launch mapserver requests in parallel instead of sequentially (YMMV, this option isn't very tested) -- thomas On 28

Re: [mapserver-users] MapCache: cache some zoom levels, proxy others?

2015-10-28 Thread thomas bonfort
> Out of curiosity, can I assume that my other idea, about proxying some zoom > levels directly to WMS and caching others, is unrealistic? not unrealistic, but not implemented -- thomas > > paul > > > On 10/28/15 9:36 AM, thomas bonfort wrote: >> >> Pau

Re: [mapserver-users] Encoding problem

2015-10-26 Thread thomas bonfort
Stefanos, First off, you *need* to know the encoding that's actually used by each datasource, there's no way of guessing that reliably programmatically. And since MapServer 7, the ENCODING keyword has been moved to the LAYER level: http://mapserver.org/development/rfc/ms-rfc-103.html If you have

Re: [mapserver-users] Ogrtileindex bug in Mapserver 7.0

2015-10-22 Thread thomas bonfort
It's not clear to me what your issue actually is > reading data from the shapefiles which are behind the ogrtileindex file only > if the BBOX of the WMS GetMap request intersects the boundary of the vector > tile ->why is that not the expected behavior? -> what do you mean by "vector tile"

Re: [mapserver-users] wms error in arcgis 10.3

2015-11-09 Thread thomas bonfort
http://mapserver.org/errors.html#msprocessprojection-no-options-found-in-init-file On 9 November 2015 at 10:42, Martin Landa wrote: > Hi all, > > my colleagues who are using ArcGIS have strange problem with WMS > service [1]. The problem appears only in ArcGIS 10.3

Re: [mapserver-users] UTF grid capabilities MapServer 7 ?

2015-10-15 Thread thomas bonfort
there are a few examples in the autotests (*.json files in https://github.com/mapserver/msautotest/tree/master/renderers/expected) . Basically you just have to use the "json" outputformat that's enabled by default. You can also specify which fields to include with UTFDATA like in

Re: [mapserver-users] Mapcache - optimum format for orthophotos?

2015-10-14 Thread thomas bonfort
com> wrote: > Thanks Thomas. I do not have labels, so would you still recommend metatiles > for performance reasons? Would you suggest 3 3 or 5 5 for a Mapserver WMS > backend? > > 3 3 > > Robert > > -----Original Message- > From: thomas bonfort [mailto:thomas.bo

Re: [mapserver-users] Mapcache - optimum format for orthophotos?

2015-10-13 Thread thomas bonfort
in the vast majority of the cases, you'll want to have mapcache use metatiles, be serving PNGs from your WMS server (image/png in your mapcache ), and storing your tiles as JPG (JPG in your ). If you need to preserve transparency on your orthophoto edges, you can choose to store the tiles as

Re: [mapserver-users] Mapcache - how to deal with changes to mapcache.xml?

2015-10-13 Thread thomas bonfort
if it's a change that does not incur backwards compatibility (e.g. adding a tileset, changing the cache backend for a tileset, enabling/disabling a server, ...) you can just issue a graceful restart on the webserver. In your case (change of resolution), the path you suggested is the correct one.

Re: [mapserver-users] riak make error

2015-10-06 Thread thomas bonfort
IIRC, you have to use the riak-1.4 branch, and there's some a minimal manual fix to apply to the riack headers for it to compile correctly, namely to include On 6 October 2015 at 21:22, Travis Kirstine < tkirst...@firstbasesolutions.com> wrote: > Running into issues installing mapcache 1.4 with

Re: [mapserver-users] [mapserver-dev] RFC113 Chainable Compositing Filters

2015-10-06 Thread thomas bonfort
g > [mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of thomas bonfort > Sent: Friday, October 02, 2015 4:36 AM > To: MapServer Dev Mailing List <mapserver-...@lists.osgeo.org>; MapserverList > OSGEO <mapserver-users@lists.osgeo.org> > Subject: [mapserver-dev] RFC113

[mapserver-users] MapServer 6.4.2, 7.0.0-beta2 and TinyOWS 1.1.1 releases

2015-07-07 Thread thomas bonfort
This is a security release to mitigate an information disclosure issue with libxml2 (versions older than 2.9, c.f. https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-0339 ) which can reveal any file accessible on the host system by passing a specially crafted XML file. Although this is not

Re: [mapserver-users] URL redirection under Apache2-Difference WMS and WFS server

2015-09-04 Thread thomas bonfort
I'd avoid using the SERVICE= rewrites as the handling of capital letters may prove to be problematic. You should also not be adding the REQUEST= and other parts in your rewrite rule. Basically, just: RewriteEngine on RewriteRule mywms(.*)?(.*)$

Re: [mapserver-users] URL redirection under Apache2-Difference WMS and WFS server

2015-09-07 Thread thomas bonfort
ment but no it does not work. > Pasquale. > > -Messaggio originale- > Da: thomas bonfort [mailto:thomas.bonf...@gmail.com] > Inviato: venerdì 4 settembre 2015 19:00 > A: Pasquale Regina > Cc: MapserverList OSGEO > Oggetto: Re: [mapserver-users] URL redirection under Apache2-

Re: [mapserver-users] mapcache wms supported srs

2015-09-29 Thread thomas bonfort
> Do you know if the new use_wms_intermediate_resolution > will work on seeded caches with no source configured? it needs to go back to the source wms. > > On 28 September 2015 at 16:36, thomas bonfort <thomas.bonf...@gmail.com> > wrote: >> >> Travis, >> Ma

Re: [mapserver-users] mapcache wms supported srs

2015-09-28 Thread thomas bonfort
Travis, Mapcache itself won't do any reprojection, you can however setup a forwarding rule so that those requests get proxied to an upstream wms server (you'd have to handcraft a capabilities doc to advertise that other projection though) Thomas. On Sep 28, 2015 17:30, "Travis Kirstine"

Re: [mapserver-users] mapcache riak caches

2015-09-28 Thread thomas bonfort
I can't share any first hand experience, but the feedback I've had was very positive. Concerning mixed formats, those are handled by Mapcache and are not dependant on the cache backend. Thomas On Sep 28, 2015 17:35, "Travis Kirstine" wrote: > Has anyone had experience

[mapserver-users] RFC113 Chainable Compositing Filters

2015-10-02 Thread thomas bonfort
Hi All, I have finished implementing the chainable compositing filters that were architectured along with RFC113, and the code has been committed to the master branch. The aim of the development is essentially to enable soft shadow and blurring effects, although other usages can exist or could be

Re: [mapserver-users] WMS cascading and Mapcache

2015-12-01 Thread thomas bonfort
On 1 December 2015 at 02:49, milad nidal wrote: > We get something like an outline of cascading WMS and this happened only > when we do a cache Can you explicit what you mean by this ? ___ mapserver-users mailing list

Re: [mapserver-users] Keeping labels clear of a specific path

2015-12-01 Thread thomas bonfort
There is no such functionality explicitly baked into MapServer as far as I know. You should however be able to force the labelcache to avoid intersecting labels like this, if you are not too worried about the performance overhead (YMMV, you probably would want to evaluate the overhead). I have not

Re: [mapserver-users] mapserver on ubuntu 14.04 - error message

2015-11-20 Thread thomas bonfort
You haven't enable cgi handling, your apache server is returning the mapserv binary instead of executing it. -- thomas On 20 November 2015 at 12:24, red1981 wrote: > Hi, > > I'm rather new to mapserver and my knowledge of Linux isn't great either. So > this maybe a

Re: [mapserver-users] Label formatting on GRID

2016-05-31 Thread thomas bonfort
There is no such support that I know of in mapserver. Your first use-case could be implemented by extending the grid labelling function to get it's text from a mapserver expression, and extending the expression syntax to include integer division and modulo operators. Your second use-case is more

Re: [mapserver-users] Building Mapserver - missing strlcat... methods

2016-06-24 Thread thomas bonfort
* [cmTryCompileExec1997038117] Fehler 1 > gmake: *** [cmTryCompileExec1997038117/fast] Fehler 2 > > ... (this is similarly repeated for the other functions) > > Thanks, Michael > > > > > 2016-06-24 10:09 GMT+02:00 thomas bonfort <thomas.bonf...@gmail.com>: >> >>

Re: [mapserver-users] Building Mapserver - missing strlcat... methods

2016-06-24 Thread thomas bonfort
D > -- * Thread-safety support: disabled > -- * KML output: disabled > -- * Z+M point coordinate support: disabled > -- * XML Mapfile support: disabled > -- * Mapscripts > -- * Python: ENABLED > -- * PHP: ENABLED > -- * PERL: disabled > -- * RUBY: disabled > --

Re: [mapserver-users] Rendering of adjacent dashed lines

2016-06-17 Thread thomas bonfort
Jukka, The overlapping case has a technical solution (which is not implemented in mapserver) if you are willing to eventually offset your dash pattern at every line vertice. The adjacent case has no solution I can think of (draw two adjacent concentric circles on a whiteboard and try to dash them

<    2   3   4   5   6   7   8   >