RE: [mapserver-users] labels - road shields and road names

2009-11-16 Thread Tiemens, Gerben
What is also possible is: CLASS {YOUROWNCLASSSPECIFICATIONS} Text ( [column1],# ,[column2]) LABEL MAXLENGTH 0 POSITION CC WRAP '#' {Yourownlabelspecifications. } END STYLE

[mapserver-users] Can I set default format for WMS GetFeatureInfo?

2009-11-16 Thread Rahkonen Jukka
Hi, There are stupid WMS clients which can send GetFeatureInfo requests but which do not allow giving INFO_FORMAT parameter. Is there a way to configure MapServer to use for example application/vnd.ogc.gml as a default info format instead of text/plain if INFO_FORMAT parameter is missing from

Re: [mapserver-users] Labelitem in MapScript

2009-11-16 Thread Tamas Szekeres
Vinicius, How about using layerObj.labelitem ? Best regards, Tamas 2009/11/13 Vinicius Maeda viniciusma...@yahoo.com.br: Hi guys, I have the code above in a mapfile and I'm trying to use it in MapScript , in spetial case the usage of LabelItem. Is someone can help me? LAYER      

Re: [mapserver-users] Can I set default format for WMS GetFeatureInfo?

2009-11-16 Thread bartvde
Hi Jukka, it should be possible using: wms_feature_info_mime_type Best regards, Bart Hi, There are stupid WMS clients which can send GetFeatureInfo requests but which do not allow giving INFO_FORMAT parameter. Is there a way to configure MapServer to use for example

Re: [mapserver-users] Can I set default format for WMS GetFeatureInfo?

2009-11-16 Thread Rahkonen Jukka
Hi Bart, I have it set but unfortunately it does not make application/vnd.ogc.gml as default, at least not with this 5.2.1. -Jukka- bartvde wrote: Hi Jukka, it should be possible using: wms_feature_info_mime_type Best regards, Bart Hi, There are stupid WMS clients which

RE: [mapserver-users] performance problem with ortho images

2009-11-16 Thread Liang Jian
Hi Jukka, I'm not sure that I understand you correctly. I tried to clip 2m data coverage by 20cm data- get some holes in 2m data index file. And mapfile setup as follow: 2m data shows between scale 200k to 100k 2m data with holes show between 100k to 500 20cm data shows between 100k to 500.

Re: [mapserver-users] performance problem with ortho images

2009-11-16 Thread Rahkonen Jukka
Hi, Oh yes, my images are always covering full mapsheets which are rectangles. They are naturally polygons, even simple sort of, but in your case you should use more accurate methods for finding out which images from the 2 m tileindex file could be removed. Idea remains the same, if you

[mapserver-users] How-to for ordering tileindex file

2009-11-16 Thread Rahkonen Jukka
Hi, I am not sure if this is written to tileindex documents already. Anyway, if somebody happens to have overlapping images in the tileindex and there is a need to control which images are getting drawn on top it can be done by sorting the shapefile with ogr2ogr. For example if new images should

[mapserver-users] Mixed geometry in one layer

2009-11-16 Thread Rogério Borba
Hi all, How can i display one layer with mixed geometry(On table there are rows of type:Point Linestring and Polygon)? I am using postgres/postgis.My table has a column of type Geometry( on table geometry_columns).thanks,  Rogério

Re: [mapserver-users] Mixed geometry in one layer

2009-11-16 Thread Dan Little
You'll need to create three separate layers and filter them based on the geometry type. From: Rogério Borba rogerio.bo...@yahoo.com.br To: mapserver-users@lists.osgeo.org Sent: Mon, November 16, 2009 12:47:46 PM Subject: [mapserver-users] Mixed geometry in one layer Hi all, How can i display

Re: [mapserver-users] Projection question

2009-11-16 Thread Steve Lime
You need to define a projection at the map level (in the mapfile) and then set a projection for the point layer (programmatically). With those in place things should work as expected. You could also project the point in your script from lat/lon to whatever you're using and then just draw it as

RE: [mapserver-users] long expression statement doesn't workanymore

2009-11-16 Thread Steve Lime
I was just checking out Rafael's test case. I thought it might be a lexer buffer length issue but at lease with my version of flex the entire expression string gets loaded. In the test case the expression is 23K long, a good test. Further testing shows the problem is in the parser (bison). It

RE: [mapserver-users] long expression statement doesn'tworkanymore

2009-11-16 Thread Steve Lime
See ticket 2123 for an explanation of how this bug occurred... (http://trac.osgeo.org/mapserver/ticket/2123) Steve Steve Lime steve.l...@dnr.state.mn.us 11/17/09 12:01 AM I was just checking out Rafael's test case. I thought it might be a lexer buffer length issue but at lease with my