Re: [mapserver-users] Help with expression

2014-01-28 Thread Thomas Bonfort
The expression seems fine as is. You seem to be using the xml mapfile syntax, correct? Try posting the actual EXPRESSION written in the mapfile, maybe the xml to mapfile conversion is failing here. -- thomas On 27/01/2014 22:20, Chrishelring wrote: Hi, I´m struggeling with an expression,

[mapserver-users] really huge maps / MAXSIZE

2014-01-28 Thread Lars Lingner
Hello MapServer users, with the MAXSIZE parameter I can limit the output size. Does the value depend only on the available memory? When I set it to high, MapServer is crashing. I was wondering if there is an option to force MapServer to use an additional (slow) memory like a hard disk to make

Re: [mapserver-users] really huge maps / MAXSIZE

2014-01-28 Thread Thomas Bonfort
Lars, please have a look and try out https://github.com/mapserver/mapserver/pull/4796 - you can comment directly in that issue with your results. -- thomas On 28/01/2014 10:16, Lars Lingner wrote: Hello MapServer users, with the MAXSIZE parameter I can limit the output size. Does the value

Re: [mapserver-users] really huge maps / MAXSIZE

2014-01-28 Thread Rahkonen Jukka (Tike)
Lars Lingner wrote: Hello MapServer users, with the MAXSIZE parameter I can limit the output size. Does the value depend only on the available memory? When I set it to high, MapServer is crashing. I was wondering if there is an option to force MapServer to use an additional (slow)

Re: [mapserver-users] Help with expression

2014-01-28 Thread Chrishelring
Hi, Thats right. :) Below is the full section from the map-file. layer name 'lokalplaner-udarbejdelse' status off type polygon connectiontype WFS connection 'http://geoservice.plansystem.dk/wfs?' metadata wfs_version 1.0.0 wfs_request_method GET wfs_typename lokalplan end

[mapserver-users] Installing mapserver 6.4 with cmake - custom library paths

2014-01-28 Thread Jiří Kadlec
I'm trying to install the latest version of mapserver (6.4) on my Linux webhosting account (webfaction.com). The default libraries such as GDAL, PROJ and Libxml2 on the WebFaction's server are quite old, so I installed the latest versions of gdal, proj and libxml2 in my $HOME/lib directory. I

Re: [mapserver-users] mapserver-users Digest, Vol 72, Issue 43

2014-01-28 Thread Lassche, M.R.
Hi All, I'm having a bit of a struggle with something I thought was easy. In a getfeatureInfo request I want to show the class value instead of the actual value. I can do this with raster layers, but I don't get it working for a postgis layer. Of course I can modify my database request and

Re: [mapserver-users] Installing mapserver 6.4 with cmake - custom library paths

2014-01-28 Thread Thomas Bonfort
https://github.com/mapserver/mapserver/blob/rel-6-4-1/INSTALL.CMAKE#L174 On 28/01/2014 11:03, Jiří Kadlec wrote: I'm trying to install the latest version of mapserver (6.4) on my Linux webhosting account (webfaction.com). The default libraries such as GDAL, PROJ and Libxml2 on the WebFaction's

Re: [mapserver-users] Help with expression

2014-01-28 Thread kaipi
I guess for string operations you need eq instead of =: expression ('[status]' eq 'K' AND [komnr] = 175 AND [datoforsl] = 0 AND [datovedt] = 0 AND [datoaflyst] = 0) Harry -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Help-with-expression-tp5100327p5100409.html Sent

Re: [mapserver-users] Help with expression

2014-01-28 Thread Thomas Bonfort
it's worth a try, however = is supposed to work for strings also. On 28/01/2014 11:26, kaipi wrote: I guess for string operations you need eq instead of =: expression ('[status]' eq 'K' AND [komnr] = 175 AND [datoforsl] = 0 AND [datovedt] = 0 AND [datoaflyst] = 0) Harry -- View

Re: [mapserver-users] Installing mapserver 6.4 with cmake - custom library paths

2014-01-28 Thread Jiří Kadlec
I tried to understand the documentation https://github.com/mapserver/mapserver/blob/rel-6-4-1/INSTALL.CMAKE#L174 But I'm still stuck. Here are the steps that I did: wget http://download.osgeo.org/mapserver/mapserver-6.4.1.tar.gz tar -xf mapserver-6.4.1.tar.gz cd mapserver-6.4.1 mkdir build cd

Re: [mapserver-users] Variable substitution in CONNECTION string on cascading WMS?

2014-01-28 Thread Lime, Steve D (MNIT)
Validation is required for substitution to work... -Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of Rahkonen Jukka (Tike) [jukka.rahko...@mmmtike.fi] Sent: Monday, January 27, 2014 11:15 PM To:

Re: [mapserver-users] Help with expression

2014-01-28 Thread Lime, Steve D (MNIT)
Hmmm... If you make a request against the WFS server outside MapServer what does the result look like? Ideally you'd have the WFS server do the filtering and avoid sending extra features over the wire. Steve From: mapserver-users-boun...@lists.osgeo.org

Re: [mapserver-users] Mapcache: error with Berkeley DB and display tiles

2014-01-28 Thread Eichner, Andreas - SID-NLKM
Andreas, thanks for the explanation about the Berkeley Database. However, I have made several changes of permissions and owner of the files produced by mapcache_seed, and I still get the same error on the OpenLayers demo. I don't know if others users have had the same error with Mapcache

Re: [mapserver-users] Variable substitution in CONNECTION string on cascading WMS?

2014-01-28 Thread Rahkonen Jukka (Tike)
That was my impression too but paragraph Parameters Supported in http://mapserver.org/cgi/runsub.html emphasizes just these two: *LAYER: DATA (must validate against DATAPATTERN *OUTPUTFORMAT: FORMATOPTION: FILENAME (must have a MAP VALIDATION pattern) -Jukka- Lime, Steve D wrote: Validation

Re: [mapserver-users] Variable substitution in CONNECTION string on cascading WMS?

2014-01-28 Thread Lime, Steve D (MNIT)
Those need to be removed, there's a validation section a little later in that same document that takes precedence. I'll create a documentation ticket. Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of

Re: [mapserver-users] hide mapserv? messages

2014-01-28 Thread John Smith
guys, this doesn't work. any help? RewriteEngine on RewriteCond %{REQUEST_URI} ^/cgi-bin/mapserv\?*$ [NC] RewriteRule /* /403.html [L,F] thks, jzs On Tue, Jan 7, 2014 at 6:37 PM, John Smith jayzee.sm...@gmail.com wrote: guys, you know how you get a message when you go to

Re: [mapserver-users] hide mapserv? messages

2014-01-28 Thread John Smith
see http://htaccess.madewithlove.be/ On Tue, Jan 28, 2014 at 2:51 PM, John Smith jayzee.sm...@gmail.com wrote: guys, this doesn't work. any help? RewriteEngine on RewriteCond %{REQUEST_URI} ^/cgi-bin/mapserv\?*$ [NC] RewriteRule /* /403.html [L,F] thks, jzs On Tue, Jan 7, 2014 at

[mapserver-users] how to map_layer_class_name in 6.4.0?

2014-01-28 Thread zach cruise
in the past, I could do a runtime substitution of a class name by passing it like so: ..map_layer1_class1_name=new_name where in the map file, I had: MAP LAYER NAME layer1 CLASS NAME class1 and in the legend file, I had: [leg_class_name] so what changed?

Re: [mapserver-users] Mapcache: error with Berkeley DB and display tiles

2014-01-28 Thread samuelm...@gmail.com
Andreas, thank you very much for your time in the instructions,now the display of tiles worked properly for Berkeley databases. I have followed the instructions for the Apache Server. However, I'm using Nginx and change the permissions of the Group and user as follows: sudo chown nginx:nginx

[mapserver-users] Publishing International Characters (Hindi) labels in WMS

2014-01-28 Thread davequery78
I have UTF-8 encoded shape file (i.e. shape file with cpg “UTF-8”) and trying to publish WMS with International Characters (Hindi) labels in via MapServer. As per attached snapshot, I am able to view International Characters (Hindi) labels in ESRI ArcDesktop.

Re: [mapserver-users] Publishing International Characters (Hindi) labels in WMS

2014-01-28 Thread Stephen Woodbridge
The font you select has to have the Hindi glyphs in it. Also what version of mapserver are you using? Also see: https://github.com/mapserver/mapserver/issues/4630 https://github.com/mapserver/mapserver/issues/4673 http://mapserver.org/development/rfc/ms-rfc-98.html -Steve W On 1/29/2014

[mapserver-users] wcs 1.0.0 bbox problem

2014-01-28 Thread Peter Freimuth
Hi, executing the following request https://devcloud.blackbridge.com/wcs/PlenumsoftDemo?SERVICE=WCSVERSION=1.0.0REQUEST=GetCoverageCOVERAGE=testdata_rawFORMAT=GEOTIFF_INT16RESX=5RESY=5RESPONSE_CRS=EPSG:32616CRS=EPSG:4326TIME=2012-04-05 results in ?xml version='1.0' encoding=ISO-8859-1 ?