Re: [mapserver-users] Image compression/performance

2012-03-22 Thread Rahkonen Jukka
Stephen Woodbridge wrote: On 3/21/2012 11:18 PM, Ian Walberg wrote: Folks, We are using tif format images and getting good map rendering performance. However the image file size could do with reducing a little. Anyone got experience of what compression options we have that

Re: [mapserver-users] Image compression/performance

2012-03-22 Thread thomas bonfort
On Thu, Mar 22, 2012 at 09:03, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Stephen Woodbridge wrote: On 3/21/2012 11:18 PM, Ian Walberg wrote: Folks, We are using tif format images and getting good map rendering performance. However the image file size could do with reducing a

Re: [mapserver-users] Image compression/performance

2012-03-22 Thread Rahkonen Jukka
Hi, Sure, I should have written the most suitable ready-to-use commands and not just put a mention later in the text where nobody reads it :) and JPEG compressed tiffs without tiles will for sure be a fiasco. -Jukka- -Alkuperäinen viesti- Lähettäjä: thomas bonfort

[mapserver-users] Charset encoding for Labels

2012-03-22 Thread Fernando Norte
Hello, I'm trying to solve a problem with character encoding with MapServer. I have points instead of the accent character at the LABELs. I'd changed the shapefile dbf from ISO8859-1 to UTF-8, try to use encoding at the mapfile in both versions, but sometimes the result is worse. There is some

[mapserver-users] Charset encoding for Labels [SOLVED]

2012-03-22 Thread Fernando Norte
SOLVED I solved, kind by accident, styling the fonts. I'd set the TYPE truetype and use a FONTSET with Arial.ttf and the problem is solved. The BitMap type default maybe use a standard font that doesn't had the 'special' characteres. 2012/3/22 Fernando Norte ferna...@globalgeo.com.br Hello,

[mapserver-users] RESULT from DB SQL call on map output as a label

2012-03-22 Thread Bob Basques
All, Was wondering about putting a STAT line on a Mapserver image that is coming from POSTGIS. What's involved in sending something like SELECT COUNT(*) from table from inside of the same mapfile, and adding the RESULT as a TEXT element to the map. is this a legend thing, a map thing or

[mapserver-users] Label priorities in MapServer 6

2012-03-22 Thread Christy Nieman
Hi, I was hoping someone could confirm the following for me: In MapServer 5.6, labelling seems to still honour the last in-first out idea, in addition to priorities. I.e. when two layers have the same label priority, the one that appears closest to the end of the mapfile will take priority

Re: [mapserver-users] Label priorities in MapServer 6

2012-03-22 Thread Christy Nieman
Ah. This seems to be a difference between using ANNOTATIONS vs. POINTS. I was trying to get the same result as using an ANNOTATION to draw a point marker with a label in a POINT layer (i.e. that the point only gets drawn if the label does). Never mind :) C On 03/22/2012 11:16 AM, Christy

Re: [mapserver-users] Image compression/performance

2012-03-22 Thread Stephen Woodbridge
This is good information, thanks. I don't think jpeg in tiff was an option when I did this some years ago, but if is clearly a good trick if you can deal with the lossiness of jpeg compression. -SteveW On 3/22/2012 4:03 AM, Rahkonen Jukka wrote: Stephen Woodbridge wrote: On 3/21/2012 11:18

Re: [mapserver-users] RESULT from DB SQL call on map output as a label

2012-03-22 Thread Stephen Woodbridge
On 3/22/2012 10:51 AM, Bob Basques wrote: All, Was wondering about putting a STAT line on a Mapserver image that is coming from POSTGIS. What's involved in sending something like SELECT COUNT(*) from table from inside of the same mapfile, and adding the RESULT as a TEXT element to the map. is

[mapserver-users] ./mapserv: error loading shared libraries:

2012-03-22 Thread Alberto Najera
I am installing Mapserver in a Centos 5 distribution. All the installation process seems to be done correctly, but after running make in Mapserver and testing with ./mapserv we are getting this error message: ./mapserv: error loading shared libraries: libjpeg.so.8: cannot open shared object

Re: [mapserver-users] ./mapserv: error loading shared libraries:

2012-03-22 Thread Stephen Woodbridge
First thing run: sudo ldconfig and see if that fixes things. What does this report: ls -l /usr/lib/libjpeg* -SteveW On 3/22/2012 1:13 PM, Alberto Najera wrote: I am installing Mapserver in a Centos 5 distribution. All the installation process seems to be done correctly, but after

RE: [mapserver-users] ./mapserv: error loading shared libraries:

2012-03-22 Thread Alberto Najera
Hi ls -l /usr/lib/libjpeg* reports this after running ldconfig: ls: cannot access /usr/lib/libjpeg*: No such file or directory but we installed libjpeg in /usr/local/lib and not in /usr/lib and ls -l /usr/local/lib/libjpeg* reports all the jpeg installed files. Thanks Alberto Najera

Re: [mapserver-users] ./mapserv: error loading shared libraries:

2012-03-22 Thread Stephen Woodbridge
OK, then you probably need to add /usr/local/lib to you /etc/ld.so.conf and run ldconfig after doing that. -SteveW On 3/22/2012 3:29 PM, Alberto Najera wrote: Hi ls -l /usr/lib/libjpeg* reports this after running ldconfig: ls: cannot access /usr/lib/libjpeg*: No such file or directory

RE: [mapserver-users] ./mapserv: error loading shared libraries:

2012-03-22 Thread Alberto Najera
Thank you. That worked very well and mapserver has been compiled. Alberto Najera www.bicimapas.com.mx Plaza Bonita Avenida Lomas Verdes No. 58, Local 17 Colonia Santa Cruz Acatlán Naucalpan, Estado de México México CP 53150 Tel: (55) 53 60 30 65 anaj...@bicimapas.com.mx -Mensaje

[mapserver-users] Avoid labels over particular lines

2012-03-22 Thread Matt McClelland
Hi All Is there a way in mapserver (6.0) to prevent labels appearing over a map feature? I have a highway and I want to prevent labels (town and other names from other layers) sitting over the highway. I guess something like Buffer in labels. thanks Matt :)

Re: [mapserver-users] Avoid labels over particular lines

2012-03-22 Thread Stephen Woodbridge
On 3/22/2012 8:09 PM, Matt McClelland wrote: Hi All Is there a way in mapserver (6.0) to prevent labels appearing over a map feature? I have a highway and I want to prevent labels (town and other names from other layers) sitting over the highway. I guess something like Buffer in labels. No,

Re: [mapserver-users] Avoid labels over particular lines

2012-03-22 Thread Brent Fraser
Steve, I wonder if it would be possible/economical to extend the label cache to have some kind of feature density map/weighted mask to help in determining a preferred label location... Best Regards, Brent Fraser On 3/22/2012 6:19 PM, Stephen Woodbridge wrote: On 3/22/2012 8:09 PM, Matt

[mapserver-users] HI

2012-03-22 Thread Özgür Arslan
Hi All I am working on a map and I created a QUERYMAP. I want to change the queried map scale or zoom. How can I change it? Are there any ideas? Thanks ___ mapserver-users mailing list