VS: [mapserver-users] TILEINDEX layer problem mapserver 6.0.1

2011-09-28 Thread Rahkonen Jukka
Hi, It must come from this new feature, capture from http://mapserver.org/ogc/wms_server.html wms_extent WMS TAG Name: BoundingBox (WMS1.1.1, sect. 6.5.6) Description: (Optional) Used for the layer's BoundingBox tag for cases where it is impossible (or very inefficient) for MapServer to probe

Re: [mapserver-users] arrow head doesn't draw at the end

2011-09-28 Thread luis peinado
Hi, just trying to help. I used some trick with arrows than maybe can help you with some variation. I use mapserver-5.X and the way it worked for me was a LINE type layer using a normal class (continous line) with an OVERLAYSYMBOL, using a character. Maybe changin some parameters like GAP may be

Re: [mapserver-users] arrow head doesn't draw at the end

2011-09-28 Thread Havard Tveite
GEOMTRANSFORM end only works for the lines of a line layer. Is your layer a line layer? Håvard On 9/27/2011 4:48 PM, Puneet Kishor wrote: On Sep 27, 2011, at 2:18 AM, Havard Tveite wrote: Have you seen:

[mapserver-users] Mapserver + NDVI styling

2011-09-28 Thread Jorge Arévalo
I'm serving a NDVI coverage via Mapserver. So, one band, float32 values, [-1.0, 1.0]. I want to display the NDVI in greyscale, and generate a legend. I've tried 2 things: - Create two dummy classes, just for testing: CLASS NAME rojo EXPRESSION ([pixel] 0.3) STYLE COLOR 255 0

Re: [mapserver-users] arrow head doesn't draw at the end

2011-09-28 Thread Mr. Puneet Kishor
On Sep 28, 2011, at 3:11 AM, Havard Tveite wrote: GEOMTRANSFORM end only works for the lines of a line layer. Is your layer a line layer? Sigh. No, my layer is a POINT layer. Where on this page [http://mapserver.org/mapfile/style.html] is it documented that GEOMTRANSFORM is only for LINE

Re: [mapserver-users] arrow head doesn't draw at the end

2011-09-28 Thread Mr. Puneet Kishor
Hi luis, Thanks for helping out. I will try OVERLAYSYMBOL, but from the docs it seems it is no different that using two stacked symbols. I did try GAP, but that doesn't help at all. As I mentioned below, I am drawing these points, not unlike the recent thread started by Brent on drawing wind

Re: [mapserver-users] arrow head doesn't draw at the end

2011-09-28 Thread thomas bonfort
On Wed, Sep 28, 2011 at 15:09, Mr. Puneet Kishor punk.k...@gmail.com wrote: Hi luis, Thanks for helping out. I will try OVERLAYSYMBOL, but from the docs it seems it is no different that using two stacked symbols. I did try GAP, but that doesn't help at all. As I mentioned below, I am

Re: [mapserver-users] arrow head doesn't draw at the end

2011-09-28 Thread Mr. Puneet Kishor
Hi Thomas, On Sep 28, 2011, at 8:15 AM, thomas bonfort wrote: On Wed, Sep 28, 2011 at 15:09, Mr. Puneet Kishor punk.k...@gmail.com wrote: Hi luis, Thanks for helping out. I will try OVERLAYSYMBOL, but from the docs it seems it is no different that using two stacked symbols. I did try

RE: [mapserver-users] Using a Symbol instead of text for a label

2011-09-28 Thread Fawcett, David (MPCA)
Matt, I haven't fully thought it through, but maybe the new Cluster functionality might work for this. You could have a generic park symbol for the cluster symbol. http://mapserver.org/mapfile/cluster.html David. From: mapserver-users-boun...@lists.osgeo.org

Re: [mapserver-users] PHP mapscript - how to add label style

2011-09-28 Thread Carlos Ruiz
Ian, Why don't you post your script ?   IC Carlos Ruiz From: Ian Walberg ian.walb...@airborne.aero To: mapserver-users@lists.osgeo.org Sent: Tuesday, September 27, 2011 5:51 PM Subject: RE: [mapserver-users] PHP mapscript - how to add label style We have

[mapserver-users] Re: Mapserver + NDVI styling

2011-09-28 Thread Jorge Arévalo
2011/9/28 Jorge Arévalo jorge.arev...@deimos-space.com: I'm serving a NDVI coverage via Mapserver. So, one band, float32 values, [-1.0, 1.0]. I want to display the NDVI in greyscale, and generate a legend. I've tried 2 things: - Create two dummy classes, just for testing: CLASS    NAME

Re: [mapserver-users] arrow head doesn't draw at the end

2011-09-28 Thread Havard Tveite
One possible problem with my suggested approach is that the lines will only be the half of the value given in [rate]. Håvard On 9/28/2011 4:25 PM, Håvard Tveite wrote: With a point layer, you can fix this using the offset trick I referred to in my earlier post: The following works for me

Re: [mapserver-users] arrow head doesn't draw at the end

2011-09-28 Thread Puneet Kishor
On Sep 28, 2011, at 8:32 AM, Mr. Puneet Kishor wrote: .. On 9/27/2011 4:12 AM, Puneet Kishor wrote: My arrows look like so instead of with declarations like so SYMBOL NAME vert-line TYPE vector POINTS 0 1 0 0 END END

Re: [mapserver-users] Re: Mapserver + NDVI styling

2011-09-28 Thread Gustavo
I'm not sure but if you just display your raster without any styling i think MapSever would show it in grayscale. I'm new with MapServer so i'm feeling a bit insolent posting a reply :) El 28 de septiembre de 2011 11:30, Jorge Arévalo jorge.arev...@deimos-space.com escribió: 2011/9/28 Jorge

Re: VS: [mapserver-users] TILEINDEX layer problem mapserver 6.0.1

2011-09-28 Thread Simon Mercier
Thank you for your reply Jukka I tried but still dont work. My raster is ecw file with an .xml file for the spatial reference specification. I try to add a .wld extension but no result. If I remove the WMS_EXTENT tag, no raster appears on my map. In my previous message you can see the raster

Re: [mapserver-users] TILEINDEX layer problem mapserver 6.0.1

2011-09-28 Thread Rahkonen Jukka
Hi, Could you send also a gdalinfo report about one of the your .ecw images? -Jukka Rahkonen- Lähettäjä: Simon Mercier [mercier.si...@gmail.com] Lähetetty: 28. syyskuuta 2011 19:55 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re:

Re: [mapserver-users] TILEINDEX layer problem mapserver 6.0.1

2011-09-28 Thread Simon Mercier
Hi, here: simmer01@sigtest:~$ gdalinfo /mnt/EntrepotImageJPG/ BDImages_JPG_1M/ECW/Images_AN2000_MTM07_MRN_100cm/05400_00800054f07_u.ecw ERROR 1: Maximum number of characters allowed reached. Driver: ECW/ERDAS Compressed Wavelets (SDK 3.x) Files:

Re: [mapserver-users] TILEINDEX layer problem mapserver 6.0.1

2011-09-28 Thread Rahkonen Jukka
So gdalinfo with Upper Left (0.0,0.0) etc. means that gdal cannot get the correct georeferencing for your images. They are placed at coordinates (0,0) instead and then the WMS BBOX does not intersect the image area and server is sending a white map for you. And ERROR 1: Maximum number

[mapserver-users] PHP-mapscript before/after draw discrepancy

2011-09-28 Thread Shorthouse, David
I am using PHP-mapscript and am bumping into this old issue: http://osgeo-org.1803224.n2.nabble.com/Mapscript-extent-prediction-td1991453.html, which is now a show-stopper for me. I tried using CONFIG 'MS_NONSQUARE' 'yes', which does *initially* produce an extent after draw precisely the same as

Re: [mapserver-users] Using a Symbol instead of text for a label

2011-09-28 Thread Matt McClelland
Thanks David That Cluster function is very impressive (as is Mapserver). Using expressions to find common cluster problems I can fairly easily resolve about 90% of my issues, a good solution. Thanks Matt :) On Wed, Sep 28, 2011 at 11:47 PM, Fawcett, David (MPCA) david.fawc...@state.mn.us

Re: [mapserver-users] PHP-mapscript before/after draw discrepancy

2011-09-28 Thread Shorthouse, David
On Wed, Sep 28, 2011 at 5:51 PM, Cristiano Sumariva sumar...@gmail.com wrote: Well after reading the discussion in the link I guess you need to implement double msAdjustExtent(rectObj *rect, int width, int height) mapserver function in your language and update size then the extent on map

Re: [mapserver-users] Parameter substitution problem

2011-09-28 Thread Steve Lime
What happens if you quote the variable in the CGI call, that is: “/cgi-bin/mapserv.cgi?map_layer[OMI_CP]=DATA+'OMI-Aura_L3-OMCLDRRclpWMSNRT_+ amsreDate + .png' Note the single quotes in the DATA value... I'll try to whip up local test case. Steve On Tue, Sep 27, 2011 at 4:28 PM, Asad Ullah

Re: [mapserver-users] PHP mapscript - how to add label style

2011-09-28 Thread Steve Lime
I'm guessing this is a bug, could you quick file a ticket and we'll make sure this is addressed in 6.0.2? Steve On Tue, Sep 27, 2011 at 10:21 AM, Ian Walberg ian.walb...@airborne.aero wrote: Hello, I am sure it is staring me in the face but we cannot see how to add a style to a label

Re: [mapserver-users] PHP-mapscript before/after draw discrepancy

2011-09-28 Thread Steve Lime
Extents are adjusted to deal with the fact the supplied extent often doesn't match the aspect ratio of the output image. One set of coordinates (x's or y's) is left alone and the other is adjusted to compensate for the image aspect ratio. By default MapServer likes square pixels. I don't know

Re: [mapserver-users] minscaledenom puzzle, Mapserver 6.0.1

2011-09-28 Thread Steve Lime
Hmmm... What if you use one layer with the various class/expressions and MAXSCALEDENOM set at the layer level for all the various squares and then a second layer with just one class for the pixels with MINSCALEDENOM set. I typically use layer scales far more than class scale and that setup would

Re: [mapserver-users] output template trimlast doesn't work

2011-09-28 Thread Steve Lime
Which version of MapServer? Template certainly looks ok. What happens if you pull the closing feature tag up like so: },[/feature] Steve On Tue, Sep 27, 2011 at 6:15 PM, jjwang jaja0...@gmail.com wrote: This is my template file. The *trimlast=','* statement doesn't work. Any idea on this?

Re: [mapserver-users] Re: Mapserver + NDVI styling

2011-09-28 Thread Steve Lime
Unfortunately MapServer isn't bright enough to generate a legend solely from an image itself. The legend code just wasn't built for such a task.Sorry... Steve 2011/9/28 Jorge Arévalo jorge.arev...@deimos-space.com: 2011/9/28 Jorge Arévalo jorge.arev...@deimos-space.com: I'm serving a NDVI

[mapserver-users] Re: output template trimlast doesn't work

2011-09-28 Thread jjwang
6.0.1 There is no difference. Did I miss something? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/output-template-trimlast-doesn-t-work-tp6838218p6842760.html Sent from the Mapserver - User mailing list archive at Nabble.com.

[mapserver-users] WFS 1.1.0 Namespace quirk for PropertyName attribute restricting

2011-09-28 Thread bte...@gmail.com
Hi, I think I've found a quirk in MapServer V5.6.0 WFS behaviour - but I'm not really sure as I don't understand enough about reading an XSD to know whether or not this is expected behaviour. This particular issue is not causing me any grief at the moment as I know the work-around, but perhaps