[mapserver-users] How can I avoid long notation of double values in label or info template for shapes?

2012-11-23 Thread Astrid Emde
Hello, I have a shapefile with a column of type double that contains values like 2.54 or -2.03. When I label the geometrie with this column or display this column in my infotemplate I get the following notation of the values: 2.540e+000 -2.030e+000 If there a way to tell

Re: [mapserver-users] How can I avoid long notation of double values in label or info template for shapes?

2012-11-23 Thread Lars Lingner
On 23.11.2012 10:12, Astrid Emde wrote: Hello, I have a shapefile with a column of type double that contains values like 2.54 or -2.03. When I label the geometrie with this column or display this column in my infotemplate I get the following notation of the values: 2.540e+000

Re: [mapserver-users] How can I avoid long notation of double values in label or info template for shapes?

2012-11-23 Thread Astrid Emde
Am 23.11.2012 10:39, schrieb Lars Lingner: On 23.11.2012 10:12, Astrid Emde wrote: Hello, I have a shapefile with a column of type double that contains values like 2.54 or -2.03. When I label the geometrie with this column or display this column in my infotemplate I get the following

[mapserver-users] Mapserver and filter in version 6

2012-11-23 Thread Lars-Göran Edholm
Hi! I have a problem with filters in Mapserver 6. In Mapserver 5 I defined my filter as FILTER ([FNR] IN '%fasokex%') and made a call with a new parameter like var fastsok=210176493 http://172.20.1.218/cgi-bin/mapserv52/mapserv.exe?fasokex=+fastsok+map= layer metadata WMS_TITLE Sökt

Re: [mapserver-users] Mapserver and filter in version 6

2012-11-23 Thread Rahkonen Jukka
Hi, Did you add the validation block that is needed in 6.x for ”fasokex”? http://mapserver.org/cgi/runsub.html You know for sure better than I why to use fasokex=”+fastsok+” instead of fasokex=210176493 -Jukka Rahkonen- Lars-Göran Edholm wrote: Hi! I have a problem with filters in Mapserver 6.

Re: [mapserver-users] How can I avoid long notation of double values in label or info template for shapes?

2012-11-23 Thread Lars Lingner
Hi Lars, thanks for the information! It works fine for the label. Before I defined LABELITEM mycolumn and got the long notation: 2.540e+000 with definition TEXT mycolumn the label looks fine (without using any function): 2.54 Is there a solution for the query result too?

Re: [mapserver-users] How can I avoid long notation of double values in label or info template for shapes?

2012-11-23 Thread Jeff McKenna
On 12-11-23 10:25 AM, Astrid Emde wrote: Hi Lars, again - thanks for your answer. I got a solution. CONNECTIONTYPE OGR CONNECTION double_test.shp DATA Select *, J_2010_201*1 as newcolumn from double_test The function round(numbercolumn,2) was not found but with multiplication by 1

[mapserver-users] Mapserver and filter in version 6 solved

2012-11-23 Thread Lars-Göran Edholm
Hi! Many thanks to Jukka Rahkonen. Solution: layer . . metadata WMS_TITLE Ny Sökt fastighet 'default_fasokex' '210176494' end . . VALIDATION 'fasokex' '^[0-9]' END . . classitem FNR . class name Fastighetsyta EXPRESSION ([FNR] IN ('%fasokex%')) .. call

Re: [mapserver-users] OGC spatial filter + SLD

2012-11-23 Thread Thomas Gratier
Hello, I haven' try but it's not available refering to the doc http://mapserver.org/ogc/sld.html#issues-found-during-implementation e.g Limitation of the FilterEncoding to comparison and logical filters. The spatial filters were not made available since it required major changes in MapServer WMS

[mapserver-users] Image 24bits

2012-11-23 Thread Saint
Dear all, I'm attempting to classify images of 24 bits but I always have the error saying this: Unable to access file. Attempt to classify 24bit image, this is unsupported. My Mapfile is this one: ... IMAGETYPE png24 .. OUTPUTFORMAT # Parameter Output NAME png24

Re: [mapserver-users] OGC spatial filter + SLD

2012-11-23 Thread Julien Cigar
On 11/23/2012 17:11, Thomas Gratier wrote: Hello, Hello, I haven' try but it's not available refering to the doc http://mapserver.org/ogc/sld.html#issues-found-during-implementation e.g Limitation of the FilterEncoding to comparison and logical filters. The spatial filters were not made

Re: [mapserver-users] OGC spatial filter + SLD

2012-11-23 Thread Thomas Gratier
Hello, Don't know exactly your case but you can maybe rely on runtime substitution http://mapserver.org/cgi/runsub.html and spatial abilities of your database e.g http://postgis.refractions.net/docs/ST_Within.html or on filter (support within

[mapserver-users] transparency in a geotiff

2012-11-23 Thread John Cartwright - NOAA Federal
Hello All, I have a geotiff w/ Float32 values ranging from -1.5 to 10329.613. I'd like to use this for a WMS layer and display pixel values = 0 as transparent. I've tried various permutations of the WMS request options, LAYER processing directives, and OUTPUTFORMATs but seem to be unable to

Re: [mapserver-users] Building Mapserver with Memcachr Capability

2012-11-23 Thread Wyatt Davis
This worked great, thanks! -Wyatt On Mon, Oct 29, 2012 at 12:54 AM, Eichner, Andreas - SID-NLKM andreas.eich...@sid.sachsen.de wrote: Seems to be a bug in the build system. When linking the test program it instruct the linker to use a *.la file. Since you checked the apr_memcache