Re: [MapServer-users] Multi language worldmap (basemaps)

2023-04-14 Thread thomas bonfort
Hi Richard, I don't have much more help to provide you other than saying you are on the right track. uni fonts/unifont_sample.ttf > unib fonts/unifont_sample.ttf > you are referencing the same font file under 2 different names. I don't think that is the root cause of your issue, but this is

Re: [mapserver-users] Mapcache disk cache gives unexpected paths to tiles

2022-02-09 Thread thomas bonfort
You should remove the /mapcache from the >cache> block, as it takes precedence over your -- thomas On Wed, Feb 9, 2022 at 12:10 PM Trygve Aspenes wrote: > Hi > > I have a mapcache running using disk as cache method with config like > this: > > > /mapcache > >

Re: [mapserver-users] LUT file too long, what to do?

2022-01-26 Thread thomas bonfort
Hi Jukka, Unfortunately it's hardcoded: https://github.com/MapServer/MapServer/blob/2d73b379284aa12a2013929dfb6cdc244ae60994/mapdrawgdal.c#L1064 but it shouldn't be very difficult for you to apply a local patch fixing that. regards, thomas On Wed, Jan 26, 2022 at 11:11 AM Rahkonen Jukka (MML) <

Re: [mapserver-users] truetype symbols as polygon fills?

2021-12-13 Thread thomas bonfort
it is: https://github.com/MapServer/MapServer/blob/main/msautotest/renderers/expected/polygon-ttf.png On Tue, Dec 14, 2021 at 12:58 AM wrote: > Is it possible currently to use truetype symbols as polygon fill symbols? > > > The symbol creation page suggests that only hatch and pixmap symbols

Re: [mapserver-users] connect label to features

2021-06-24 Thread thomas bonfort
https://mapserver.org/mapfile/leader.html I'm not sure why it's limited to polygons though... On Thu, Jun 24, 2021 at 6:58 PM Luca Delucchi wrote: > > Hi all, > > I would like to know if it is possible to link a feature with its > label, something like QGIS is doing in Labels -> Callouts. > >

Re: [mapserver-users] Bitmask created from vector layer

2018-08-02 Thread thomas bonfort
those artifacts are most likely due to jpeg compression. you can force the output to be aliased and contain only your requested colors by hand crafting a special palette; search the docs for "formatoption + palette" Thomas Le mer. 1 août 2018 à 16:32, Luke Wendling a écrit : > Mapserver version

Re: [mapserver-users] Wrong case of "TileOutOfRange" Error?

2018-06-22 Thread thomas bonfort
here is how the y=5 you are seeing is calculated: https://github.com/mapserver/mapcache/blob/master/lib/service_wmts.c#L830 On Fri, Jun 22, 2018 at 9:05 AM Julian Hollingbery wrote: > Hi Ian and Jukka, > > > > Thanks for your response! > > > > However, I’m pretty sure that the

Re: [mapserver-users] International Fonts - OSM Data

2017-08-10 Thread thomas bonfort
Dave, The Noto font aims at resolving this issue: https://www.google.com/get/noto/ Aside from that mapserver supports language specific fonts. This needs documenting aside from what can be found in the RFC http://mapserver.org/development/rfc/ms-rfc-98.html (which has a typo, use s/LABEL/FONT/)

[mapserver-users] Mapcache 1.6.0 release

2017-04-13 Thread thomas bonfort
The latest release [1] of MapCache is out. Major features of this 1.6 release include: - advanced (multi)dimension support - support for exponential backoff/retry on cache and source errors - support for external credential providers for GCP/S3 caches - support for GDAL sources (with

Re: [mapserver-users] Mapcache segmentation faults under high load

2017-03-07 Thread thomas bonfort
it signal Segmentation fault > > (11), possible coredump in /tmp/apache2-gdb-dump > > > > [Thu Mar 02 08:46:55.606507 2017] [core:notice] [pid 13:tid > > 140052444931968] AH00051: child pid 2097 exit signal Segmentation > > fault (11), possible coredump in /tmp/apa

Re: [mapserver-users] Issue with label offset

2017-03-01 Thread thomas bonfort
So it seems the offsetter is failing on some line coordinates, and may happen only in A rather than B because they differing due to the different projections used. Try getting a backtrace of the crash, and/or create a self-contained testcase that consistently reproduces the issue. -- thomas On

Re: [mapserver-users] Mapcache segmentation faults under high load

2017-03-01 Thread thomas bonfort
Try to get a backtrace from the crashes by compiling mapcache in debug mode, and configuring apache to allow coredumps. The "stale lock" messages you are seeing are side effects of the crashes so that's not where I'd investigate at first. regards, thomas On Tue, Feb 28, 2017 at 6:47 PM Pieter

Re: [mapserver-users] mapcache WMTS: can I include contact information?

2017-02-10 Thread thomas bonfort
No, but you can easily hack lib/service_wmts.c to support that (look at what's done for ows:Abstract for guidelines). -- thomas On Thu, Feb 9, 2017 at 11:14 PM Schweitzer, Peter wrote: > I don't see documentation suggesting that I could include contact > information in

Re: [mapserver-users] Mapcache - Howto provide additional high DPI tileset?

2017-01-24 Thread thomas bonfort
Should be doable, just define a new grid for it: -20037508.3427892480,-20037508.3427892480,20037508.3427892480,20037508.3427892480 EPSG:3857 512 512 78271.51696402048 39135.75848201023 19567.87924100512 9783.939620502561 4891.969810251280 2445.984905125640 1222.992452562820 611.4962262814100

Re: [mapserver-users] Can't seed tiles with Mapcache from a Mapserver Tile Index raster layer

2017-01-23 Thread thomas bonfort
On Tue, Jan 24, 2017 at 5:42 AM Abrabacabra wrote: > > Could that be related to Mapserver choking on the huge tile index? > Yes, definitely. Check that your rasters have overviews. -- thomas > > > > > > > ___ >

Re: [mapserver-users] Unexpected result from overlapping images in tile index

2017-01-19 Thread thomas bonfort
Peter, if I understand correctly I'm not aware that there is any documentation or requirement that using a tileindex with mapserver garantees any ordering in the stacking of the images returned by the tileindex. Namely, if your tileindex returns your gray (opaque) image after (i.e. on top of)

Re: [mapserver-users] Mapcache - Composite cache problem

2017-01-05 Thread thomas bonfort
Hi Tom, happy new year to you to! On Wed, Jan 4, 2017 at 5:25 PM tellett wrote: > Hi again and happy new year! I've tried what you suggested and managed to > get > the composite layer to work with this setup: > > > /cache/mapcache/topo2 >

Re: [mapserver-users] variable substitution

2017-01-04 Thread thomas bonfort
yeah, if you want an integer comparison use: FILTER ( [gid] = [%adrkey%] ) On Wed, Jan 4, 2017 at 12:43 PM Jörg Thomsen (WhereGroup) < joerg.thom...@wheregroup.com> wrote: > Hello Thomas, > > Am 04.01.2017 um 12:34 schrieb thomas bonfort: > > FILTER ( "[gid]" =

Re: [mapserver-users] variable substitution

2017-01-04 Thread thomas bonfort
If you're using mapserver, your syntax and the docs probably need to be updated. Try: FILTER ( "[gid]" = "[%adrkey%]" ) please submit a PR to the docs if that solved the issue. -- thomas On Wed, Jan 4, 2017 at 12:27 PM Jörg Thomsen (WhereGroup) < joerg.thom...@wheregroup.com> wrote: > Hello

Re: [mapserver-users] Label position not as expected version 7.0.x

2017-01-03 Thread thomas bonfort
made from the older versions. > > > > So the vertical ‘center’ position is actually align the text baseline with > the point position and not the ‘center’ of the text as previously? > > > > Regards > > > > Ian > > > > *From:* thomas bonfort [mailto:th

Re: [mapserver-users] Label position not as expected version 7.0.x

2017-01-02 Thread thomas bonfort
Ian, It's the intented effect, with the label baseline aligned with the symbol baseline. You can probably nudge it manually with an offset if you need to. -- thomas On Mon, Jan 2, 2017 at 6:30 PM Ian Walberg wrote: > Folks, > > > > Happy New Year to everyone. > > > >

Re: [mapserver-users] Mapcache - Composite cache problem

2016-12-21 Thread thomas bonfort
OK, got it, I think :) the disk caches by default encode the tileset name in the file path it creates, so your topo2matrikkel tileset will never be able to read tiles belonging to the topo2 tileset. If you want to be more clever than mapcache, you can use your own file template (), but beware that

Re: [mapserver-users] Mapcache - Composite cache problem

2016-12-21 Thread thomas bonfort
ok. well I still see nothing wrong with your config file extract :( the master branch has some more advanced debugging messages if you compile with -DCMAKE_BUILD_TYPE=Debug and set your apache loglevel to debug, maybe that can point you to the issue... On Wed, Dec 21, 2016 at 11:11 AM tellett

Re: [mapserver-users] Mapcache - Composite cache problem

2016-12-21 Thread thomas bonfort
conf seems correct. topo2matrikkel has no , could that be it? On Wed, Dec 21, 2016 at 10:51 AM tellett wrote: > Hi all, > > I'm trying to use a composite cache in my mapcache instance but am not > having any luck. I've set up the configuration file as best I can in >

Re: [mapserver-users] Georef output

2016-12-15 Thread thomas bonfort
On Wed, Dec 14, 2016 at 5:56 PM Björn Danielsson wrote: > Hi, > > I am trying to get georeferenced maps from Mapserver. > > For geoTiff the maps get georeferenced allright but gdalinfo shows that > there is no data under 'Coordinate system is:'. The epsg is set in the

Re: [mapserver-users] Kernel Density

2016-12-01 Thread thomas bonfort
->SIZE (0 then 100 then 255) - Try with AUTO normalization once you've re-enabled [val] binding -- thomas On Thu, Dec 1, 2016 at 3:39 PM thomas bonfort <thomas.bonf...@gmail.com> wrote: > At a first glance your mapfile seems correct. Can you try switching your > datarange to 0 50

Re: [mapserver-users] Kernel Density

2016-12-01 Thread thomas bonfort
At a first glance your mapfile seems correct. Can you try switching your datarange to 0 50, and make sure that you are not using a tiled display on your viewer? -- thomas On Thu, Dec 1, 2016 at 3:27 PM Dave Barter wrote: > Can anyone on the list help with this:- > > >

Re: [mapserver-users] Mapcache support for multiple format types

2016-11-23 Thread thomas bonfort
Tom, The client supplied format is mostly ignored by mapcache, so you should not have issues with your existing services. The only case where it is not ignored (and is irrelevant with the current issue of multiple formats per tileset) is if you have set inside your wms service definition, *and*

Re: [mapserver-users] Mapcache support for multiple format types

2016-11-22 Thread thomas bonfort
Hi Tom, My question wasn't clear, or you did not answer my question ;-) I was looking for a compelling *use-case* where the solution requires a tile server to support both jpeg and png for a given tileset. My stance for mapcache is that the data producer (i.e. you as the mapcache administrator)

Re: [mapserver-users] Mapcache support for multiple format types

2016-11-22 Thread thomas bonfort
There is no support for multiple formats per tileset (yet?), as I could not imagine a compelling use-case that would warrant it. Would you care to explain why this would be needed? -- thomas On Fri, Nov 18, 2016 at 3:41 PM tellett wrote: > Hi all, > > I'm wondering

Re: [mapserver-users] Finding (and modifying?) status codes of mapserver responses

2016-10-19 Thread thomas bonfort
w non 200 status codes on service > exception reports could break a client. No map is no map? > > Marco > > > > On 19-10-16 14:50, thomas bonfort wrote: > > Marco, > It's the WMS spec itself that requires 200 response codes. You can hack > the code or even add a configur

Re: [mapserver-users] Finding (and modifying?) status codes of mapserver responses

2016-10-19 Thread thomas bonfort
Marco, It's the WMS spec itself that requires 200 response codes. You can hack the code or even add a configuration option to return something other than 200, but you'll risk breaking your clients. Also note that checking for specific text is not going to work all the time, as the client can

Re: [mapserver-users] COMPOSITE filters available?

2016-09-29 Thread thomas bonfort
ate things :) regards, thomas On 29 September 2016 at 23:37, Avi Blackmore <supp...@satshot.com> wrote: > >> On Sep 29, 2016, at 4:36 PM, thomas bonfort <thomas.bonf...@gmail.com> wrote: >> >> Avi, >> The blurring filters are available in master only. Th

Re: [mapserver-users] COMPOSITE filters available?

2016-09-29 Thread thomas bonfort
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

Re: [mapserver-users] tilecache grid setup

2016-09-21 Thread thomas bonfort
tcapabilities > seems to work?? > > Any suggestions? > > Matt :) > > On Wed, Sep 21, 2016 at 9:59 PM, thomas bonfort <thomas.bonf...@gmail.com> > wrote: >> >> tms orders y from bottom to top. use wmts which is top to bottom. >> >> -- >> t

Re: [mapserver-users] tilecache grid setup

2016-09-21 Thread thomas bonfort
tms orders y from bottom to top. use wmts which is top to bottom. -- thomas On 21 September 2016 at 13:58, Matt McClelland wrote: > Hi > > I have mapserver and mapcache all up and running well. > The problem is that the Y value on the tiles are different from what I was >

Re: [mapserver-users] Label frame offset with leader line

2016-09-15 Thread thomas bonfort
It's a bug, you can open an issue for it. -- thomas On 15 September 2016 at 16:19, Stephen O'Connell wrote: > Hello. > > I have a problem with label rendering Mapserver, and I haven't been able to > find a solution myself. > > I'm rendering point labels with

Re: [mapserver-users] mapcache question

2016-08-30 Thread thomas bonfort
failed to parse file /home/mapcacheconf/mapcache.xml. Is it valid XML? >> >> Need some hint's how to proceed? Thank's in advance! >> >> >> -Jukka >> >> >> >> >> -Alkuperäinen viesti- >> Lähettäjä: thomas bonfort [mailto:thomas

Re: [mapserver-users] mapcache question

2016-08-29 Thread thomas bonfort
tion: Can mapcache handle multiple srs in a WMS service (out)? > > -Original Message- > From: thomas bonfort [mailto:thomas.bonf...@gmail.com] > Sent: August-25-16 8:56 AM > To: Travis Kirstine <tkirst...@firstbasesolutions.com> > Cc: Lime, Steve D (MNIT) <steve.l...@stat

Re: [mapserver-users] mapcache question

2016-08-29 Thread thomas bonfort
> Need some hint's how to proceed? Thank's in advance! > > > -Jukka > > > > > -Alkuperäinen viesti- > Lähettäjä: thomas bonfort [mailto:thomas.bonf...@gmail.com] > Lähetetty: 25. elokuuta 2016 15:56 > Vastaanottaja: Travis Kirstine > Kopio: Lime, Steve D (MNIT); Jukka Sirviö; ma

Re: [mapserver-users] PHP MapScript Installation

2016-08-27 Thread thomas bonfort
you probably need to install the php-dev packages, and/or make sure the php-config binary is accessible as that is the one providing the extension dir location -- thomas On 26 August 2016 at 10:48, Argyris Margaritis wrote: > Hi everyone, > > I'm trying to follow the

Re: [mapserver-users] mapcache question

2016-08-25 Thread thomas bonfort
om X to Y, > the reprojection would need to be done on the source WMTS side. I guess you > could proxy the source WMTS using mapserver with the gdal mini driver and > reproject to create a WMS to feed mapcache? > > -Original Message- > From: thomas bonfort [mailto:thoma

Re: [mapserver-users] mapcache question

2016-08-25 Thread thomas bonfort
Jukka, in master, there is also support for any GDAL dataset as a mapcache source (i.e. in addition to wms). If you use that in addition to a GDAL TMS/WMS/WMTS minidriver you'll be able to reproject/store third party tiles on the fly. -- thomas On 24 August 2016 at 21:58, Lime, Steve D (MNIT)

Re: [mapserver-users] How avoid overlapping of label between two distinct layers

2016-08-09 Thread thomas bonfort
Mapserver will prevent label coliding by default unless you force it to do otherwise. I suspect that in your case one of the layers is either not using a labelcache, set to FORCE, or is a client WMS layer for which your own mapserver has no control/knowledge of label positions. -- thomas On 9

Re: [mapserver-users] How exclude some items in a text/plain response for a GetFeatureInfo request

2016-07-13 Thread thomas bonfort
wms_exclude_items -- thomas On 13 July 2016 at 18:25, Andrea Peri wrote: > Hi, > Doing a GetFeatureInfo request, > I notice the > gml_exclude_items for exclude some items from response > is working only for GML response. > But if the request is for a text/plain response it

Re: [mapserver-users] How to make uvraster background transparent?

2016-07-13 Thread thomas bonfort
Steve, The black color is coming from somewhere else, uvraster layers are transparent, c.f. change/set the imagecolor in msautotest/renderers/uvraster.map to see for yourself. -- thomas On 13 July 2016 at 17:59, Stephen Woodbridge wrote: > Hi All, > > I'm trying to use

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] 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
Matthew, What configure flags did you use to build harfbuzz? What harfbuzz version are you using? -- thomas On 21 June 2016 at 20:41, Cechini, Matthew F. (GSFC-423.0)[Science Systems & Applications, Inc.] wrote: > As it turns out, the issue is Harfbuzz: > > In the

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

2016-06-17 Thread thomas bonfort
id. > > Regards > Stefan > > Sent from my iPhone > >> On 17 Jun 2016, at 16:20, thomas bonfort <thomas.bonf...@gmail.com> wrote: >> >> Hi Stefan, >> Unfortunately no. When I said "impossible" I meant it in the general >> case, not for MapS

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

2016-06-17 Thread thomas bonfort
> > Stefan > > Sent from my iPhone > >> On 17 Jun 2016, at 16:05, thomas bonfort <thomas.bonf...@gmail.com> wrote: >> >> Stefan, >> There is no trick/workaround for this aside from preprocessing your >> data to merge adjacent lines into one. In the

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

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

2016-06-17 Thread thomas bonfort
Stefan, There is no trick/workaround for this aside from preprocessing your data to merge adjacent lines into one. In the general case what you are aiming for is impossible as your adjacent lines will have different lengths but will be using a fixed length dash pattern. -- thomas On 17 June 2016

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] runtime CONNECTION string partial substitution

2016-05-16 Thread thomas bonfort
agree totally: > > > > “wms-wfs” contains a dash and the test utility requires “[a-z-]+” > > WMS-WFS has capital letters and dash and test utility requires “[A-Z-]+” > > > > -Jukka- > > > > > > *Lähettäjä:* thomas bonfort [mailto:thomas.bonf...@gmail.

Re: [mapserver-users] runtime CONNECTION string partial substitution

2016-05-16 Thread thomas bonfort
On May 16, 2016 2:02 PM, "Rahkonen Jukka (MML)" < jukka.rahko...@maanmittauslaitos.fi> wrote: > > Correction: > > > > Changing the WMS online resource does work if the mapfile is written correctly. I had to add VALIDATION also into MAP->WEB > > > > WEB > > METADATA > > "wms_onlineresource"

Re: [mapserver-users] Geojson output from WFS is missing ID

2016-05-10 Thread thomas bonfort
My bad, the fix isn't in 7.0.1 but will be in 7.0.2 On 10 May 2016 at 12:15, thomas bonfort <thomas.bonf...@gmail.com> wrote: > should be fixed in 7.0.1. If not you can open an issue. > > https://github.com/mapserver/mapserver/pull/5207 > > -- > thomas > > On 10 May

Re: [mapserver-users] Geojson output from WFS is missing ID

2016-05-10 Thread thomas bonfort
should be fixed in 7.0.1. If not you can open an issue. https://github.com/mapserver/mapserver/pull/5207 -- thomas On 10 May 2016 at 12:08, Rahkonen Jukka (MML) < jukka.rahko...@maanmittauslaitos.fi> wrote: > Hi, > > > > WFS output from Mapserver 7.0 in GML contain gml:id > >

Re: [mapserver-users] Upgrading GDAL

2016-04-26 Thread thomas bonfort
Yes, it will break. You MUST recompile mapserver against the the new gdal library, unless you keep your new gdal2 installation out of the default library path. -- thomas On 26 April 2016 at 04:31, Robert Sanson wrote: > Hi > > Is it fine to upgrade GDAL

Re: [mapserver-users] Different positions of feature points in MapServer 6.4 and 7.0.1

2016-04-22 Thread thomas bonfort
Thomas, Unless you provide a zero-effort patch, bribe a maintainer to do it for you, or persuade a maintainer that the bug is critical, I would say that there is very little chance the text handling behavior you are seeing with 7.0 will be backported to the 6.4 branch. Regards, Thomas On 22

Re: [mapserver-users] Mapserver 7 - CLUSTER layer getfeatureinfo / php mapscript queryByPoint broken?

2016-04-19 Thread thomas bonfort
Andy: It's a known issue: https://github.com/mapserver/mapserver/issues/5205, that requires some non trivial amount of work to fix. Funding may help to get this fixed faster, you could contact Tamas if you wanted to go in that direction. Regards, Thomas On 19 April 2016 at 12:07, AndyC79

Re: [mapserver-users] WFS layer - XML/JSON safe chars

2016-04-15 Thread thomas bonfort
Ian, data coming from the datasource should be encoded by mapserver, *unless* their field has been added to the layer via the "gml_xml_items" metadata entry (instead of the usual "gml_include_items") -- thomas On 15 April 2016 at 15:54, Ian Walberg wrote: > Jukka, >

Re: [mapserver-users] Symbol size in meters, width in pixels units

2016-04-14 Thread thomas bonfort
intersection, union, difference, etc. > > This might be a handy set of tools for geoprocessing and offsets in > geometry space. > > -Steve W > > On 4/14/2016 4:37 AM, thomas bonfort wrote: > >> For lines, you have the OUTLINEWIDTH keyword which is always in pixels. >>

Re: [mapserver-users] Symbol size in meters, width in pixels units

2016-04-14 Thread thomas bonfort
For lines, you have the OUTLINEWIDTH keyword which is always in pixels. -- thomas On 14 April 2016 at 10:17, Michal Seidl wrote: > Hi, > I can see the same behaviour with Mapserver 6.4 driver AGG. I am affraid it > is not possible. Unfortunaltely. I din not find any

Re: [mapserver-users] selecting a wms layer

2016-04-04 Thread thomas bonfort
Peter, It never hurts to read the documentation: http://mapserver.org/ogc/wms_client.html#mapfile-configuration . Namely the part where the "wms_name" metadata key is required and what you need. -- Thomas On 4 April 2016 at 10:56, pippi wrote: > hello, > > I can

Re: [mapserver-users] Shapefile features = 0 (zero integer value) are empty and ignored? [SEC=UNCLASSIFIED]

2016-04-01 Thread thomas bonfort
What expression syntax are you using in your mapfile to select/filter these features? -- Thomas On 1 April 2016 at 02:40, Inna Nogeste wrote: > I'm using MapServer 6.4 and have a shapefile where features have an > attribute = 0 (zero integer value). I want to display

Re: [mapserver-users] Remote MapFile

2016-03-21 Thread thomas bonfort
Marco, That is not possible. -- thomas On 21 March 2016 at 11:50, Marco Afonso wrote: > Hi all, > > It is possible to get a remote mapfile instead from a local path in the > cgi-variable? > > For example, instead of: >

[mapserver-users] MapServer maintenance versions 7.0.1 and 6.4.3 released

2016-02-25 Thread thomas bonfort
Hi, We've released maintenance versions of MapServer 6.4 and 7.0 for download: http://mapserver.org/download.html You'll also find the detailed changelogs: For 7.0.1 : http://mapserver.org/development/changelog/changelog-7-0.html For 6.4.3 :

Re: [mapserver-users] RE Mapserver 7 expression

2016-02-18 Thread thomas bonfort
Should be fixed with https://github.com/mapserver/mapserver/pull/5245 Thanks Andreas for pointing out the fix. -- thomas On 17 February 2016 at 08:30, Eichner, Andreas - SID < andreas.eich...@sid.sachsen.de> wrote: > This seems to be a bug. Each list item is compared to the filter item > using

Re: [mapserver-users] How Interval is defined for WMS-T

2016-02-16 Thread thomas bonfort
Even, I'm not sure I agree with your conclusion. I think the intention would be to write timecol between time0 and time0+resolution which translates to: time0<=timecol<=time0+resolution whereas we want: time0<=timecol

Re: [mapserver-users] Rendering of Symbols outside map window

2016-02-15 Thread thomas bonfort
Steve, IIRC, we account for the size of symbols when adjusting our clipping rectangle once we have obtained a feature, but we do not adjust the query extent when doing whichshapes(). That's something we may want to fix. Another use-case would also be when the DATA statement does something like

Re: [mapserver-users] [mapserver-dev] Paris code sprint - show of hands

2016-02-12 Thread thomas bonfort
I've started a list of topics that we could work on during this sprint here: https://wiki.osgeo.org/wiki/Paris_Code_Sprint_2016_:_MapServer_Agenda Please don't hesitate to update it if you're planning on coming and/or participating Cheers, Thomas On 14 January 2016 at 15:18, Daniel Morissette

Re: [mapserver-users] How can I get a customized MapCache folder structure with several dimensions as subfolders

2016-02-01 Thread thomas bonfort
Carola, If you are willing to try out the master branch you can specify the keys in the disk template as {dim:dimname}, I.e. in your case: /path/{dim:year}/{dim:month}/etc.. Make sure to read the migration-guide.txt as the syntax to define dimensions has changed a little. -- Thomas On Feb 1,

Re: [mapserver-users] Add a validation block using python mapscript

2016-01-14 Thread thomas bonfort
b\site-packages\mapscript.py", li > ne 1568, in updateFromString > def updateFromString(self, *args): return > _mapscript.layerObj_updateFromStri > ng(self, *args) > EOFError: loadLayer(): Premature End-of-File. > > A. > > > 2016-01-14 11:18 GMT+01:00 thomas

Re: [mapserver-users] Add a validation block using python mapscript

2016-01-14 Thread thomas bonfort
in _swig_getattr > raise AttributeError(name) > AttributeError: updatefromstring > > A. > > > 2016-01-14 10:38 GMT+01:00 thomas bonfort <thomas.bonf...@gmail.com>: > > if there is no mapscript interface for VALIDATION you can always use > > > > l

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] 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] 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] 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] 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
> 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] 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] 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] 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] 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

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] 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(.*)?(.*)$

[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

  1   2   3   4   5   6   7   8   >