Re: [mapserver-users] Rendering Challenges

2011-05-10 Thread thomas bonfort
Brent, those are interesting questions On Mon, May 9, 2011 at 21:51, Brent Fraser wrote: >  While testing v6, I can up with the following list of things I couldn't do > (see http://i56.tinypic.com/8vvprn.png for a graphic): > > 1. Render lines inside polygon boundary (with or without opacity) Al

Re: [mapserver-users] Rendering Challenges

2011-05-10 Thread Brent Fraser
Using STYLE GEOMTRANSFORM "difference([shape],buffer([shape], -5))" COLOR255 211 127 END results in the entire original polygon being filled. Using GEOMTRANSFORM (difference([shape],buffer([shape], -5))) results in no fill. Best Regards, Brent Fraser

Re: [mapserver-users] Rendering Challenges

2011-05-10 Thread Brent Fraser
Thomas, Interesting. I suspect all the polygons are digitized the same was as I think this is a requirement for shapefiles. The result of using: STYLE OUTLINECOLOR 255 211 127 OFFSET 1.5 -99 WIDTH 3 END results in http://i54.tinypic.com/25a22k4.jpg Clos

RE: [mapserver-users] Rendering Challenges

2011-05-10 Thread Lime, Steve D (DNR)
I don't have a difference operator implemented. Wouldn't take much though... -Original Message- From: Brent Fraser [mailto:bfra...@geoanalytic.com] Sent: Tuesday, May 10, 2011 9:07 AM To: Lime, Steve D (DNR) Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Rendering Chal

Re: [mapserver-users] Rendering Challenges

2011-05-10 Thread thomas bonfort
Yes, offset is intended for lines, using it on polygons is abusing it. the buffer+difference method is probably the way to go. note to myself and steve: the OFFSET keyword should be moved into a GEOMTRANSFORM instead of residing in a keyword of its own. -- thomas On Tue, May 10, 2011 at 16:21, B

Re: [mapserver-users] Rendering Challenges

2011-05-10 Thread Brent Fraser
I think it would be very valuable Best Regards, Brent Fraser On 5/10/2011 8:25 AM, Lime, Steve D (DNR) wrote: I don't have a difference operator implemented. Wouldn't take much though... -Original Message- From: Brent Fraser [mailto:bfra...@geoanalytic.com] Sent: Tuesday, May 10,

[mapserver-users] Rendering Challenges - Polygon labeling

2011-05-10 Thread Brent Fraser
I've been thinking about the polygon label challenge. The difficulty is the view (the extent of the rendered map image) may be completely inside the polygon-to-be-labeled (and so no polygon edges are visible), partially overlap the polygon, or completely enclose the polygon. Here's my thoug

RE: [mapserver-users] Rendering Challenges

2011-05-10 Thread Lime, Steve D (DNR)
I've attached a patch against trunk that adds the difference function. It's untested, give it a whirl and let me know how it goes... You'll have to re-build the lexer and parser. Steve -Original Message- From: Brent Fraser [mailto:bfra...@geoanalytic.com] Sent: Tuesday, May 10, 2011 9:4

Re: [mapserver-users] Rendering Challenges

2011-05-10 Thread Brent Fraser
Steve, So I've done C:\>svn -r 11667 co https://svn.osgeo.org/mapserver/trunk/mapserver mapserver-6.0.0-r11667 C:\ mapserver-6.0.0-r11667> patch < difference.patch patching file mapparser.y patching file mapserver.h patching file maplexer.l C:\ mapserver-6.0.0-r11667> flex -Pmsyy -i -

[mapserver-users] WMS GetFeatureInfo - is it possible to support multiple INFO_FORMATs?

2011-05-10 Thread myOpenLayersUName
Hello all, I've been trying to figure out how to do this for a while this afternoon and thought perhaps I'd better step back and find out if it's even possible before I keep struggling with it. Is it possible to support multiple INFO_FORMAT properties to a WMS GetFeatureInfo request? That is, is

Re: [mapserver-users] WMS GetFeatureInfo - is it possible to support multiple INFO_FORMATs?

2011-05-10 Thread Jeff McKenna
On 11-05-10 4:11 PM, myOpenLayersUName wrote: Hello all, I've been trying to figure out how to do this for a while this afternoon and thought perhaps I'd better step back and find out if it's even possible before I keep struggling with it. Is it possible to support multiple INFO_FORMAT properti

Re: [mapserver-users] WMS GetFeatureInfo - is it possible to support multiple INFO_FORMATs?

2011-05-10 Thread Jeff McKenna
On 11-05-10 4:11 PM, myOpenLayersUName wrote: Hello all, I've been trying to figure out how to do this for a while this afternoon and thought perhaps I'd better step back and find out if it's even possible before I keep struggling with it. Is it possible to support multiple INFO_FORMAT properti

[mapserver-users] Re: WMS GetFeatureInfo - is it possible to support multiple INFO_FORMATs?

2011-05-10 Thread myOpenLayersUName
Thanks for your response, Jeff; and, to be honest, I didn't think it could. However, it's quite interesting that you would reference that particular documentation because it was exactly that section that started me looking into how it might be possible. There are three links to what I was guessin

[mapserver-users] Re: WMS GetFeatureInfo - is it possible to support multiple INFO_FORMATs?

2011-05-10 Thread myOpenLayersUName
Ah, you're two steps ahead of me again! Thanks, -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/WMS-GetFeatureInfo-is-it-possible-to-support-multiple-INFO-FORMATs-tp6349109p6349248.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___

Re: [mapserver-users] WMS GetFeatureInfo - is it possible to supportmultiple INFO_FORMATs?

2011-05-10 Thread Rahkonen Jukka
Hi, If you mean an effect like this http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&BBOX=-11.332970,24.121208,47.584718,57.965035&SRS=EPSG:4326&WIDTH=1001&HEIGHT=575&LAYERS=cities&STYLES=&FORMAT=image/png&TRANSPARENT=true&QUERY_LAYERS=cities&INFO_FORMAT=text

Re: [mapserver-users] Re: WMS GetFeatureInfo - is it possible to support multiple INFO_FORMATs?

2011-05-10 Thread Jeff McKenna
Wait! MapServer out of the box supports the formats described in that document...I think I am misunderstanding your question. I thought you were trying to return multiple formats in one request, so I answered no. But if you read that section it tells you how to configure the mapfile for the r

[mapserver-users] Re: WMS GetFeatureInfo - is it possible to support multiple INFO_FORMATs?

2011-05-10 Thread myOpenLayersUName
To clarify, I want to be able to make two completely separate GetFeatureInfo requests to a WMS Server; one that will return HTML and the other will return XML. As far as I'm understand from the MapServer documentation, I need to set "wms_feature_info_mime_type" parameter to one of three values:

[mapserver-users] Re: WMS GetFeatureInfo - is it possible to support multiple INFO_FORMATs?

2011-05-10 Thread myOpenLayersUName
I'm starting to think that what I might do is support HTML and GML and simply not return any geometry for the GML. Does that sound like a way to do what I need? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/WMS-GetFeatureInfo-is-it-possible-to-support-multiple-INFO-FORMA

[mapserver-users] Re: WMS GetFeatureInfo - is it possible to support multiple INFO_FORMATs?

2011-05-10 Thread myOpenLayersUName
There is no such thing as "text/xml". Where the heck did I come up with that? Okay, I know how to support HTML and GML at the same time. Sorry about all that... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/WMS-GetFeatureInfo-is-it-possible-to-support-multiple-INFO-FO

RE: [mapserver-users] Mapserver as a WMS Client - problems working with a 'remote' Tilecache service

2011-05-10 Thread Andrew Cowie
Hi Jukka, Many thanks for the suggestion however we've decided to take another route - which basically entails publishing a OGC standards compliant Mapserver WMS alongside a WMTS enabled Tilecache service. Cheers Andrew -Original Message- From: Rahkonen Jukka [mailto:jukka.rahko...@mm

Re: [mapserver-users] WMS GetFeatureInfo - is it possible to support multiple INFO_FORMATs?

2011-05-10 Thread Trond Michelsen
On Tue, May 10, 2011 at 04:34:31PM -0300, Jeff McKenna wrote: >> Is it possible to support multiple INFO_FORMAT properties to a WMS >> GetFeatureInfo request? That is, is there a way to configure a MAP >> file that is acting as a WMS Server to return HTML or XML based on >> what is asked for in the

[mapserver-users] Re: Arrowhead in Mapserver 6.0

2011-05-10 Thread Makoto Niwa
me again, It was resoleved. I used negative value in vector symbol point such as -20,-10. It was wrong. I thougt only -99 was non-continuous line value. Use all postive value(except non-continuous value -99) in it, I can get the same results by all 3 renderers. thanks, makoto. At 06 May 2011 13