This isn't a built-in feature...
If the masking layer has no labels associated with it then you can try setting
a parameter called POSTLABELCACHE to TRUE. That will draw the layer in question
after the labels have been placed. However that will result in partially
obscured labels. Your best bet
Hi Stephan: This is an increasingly asked question but at the moment I don't
have a good solution or workaround, it's just not
possible at the moment. There's a ticket already filed on the subject and it
will be addressed in 6.0.
Are you in a position where you could apply a patch to deal with
There are folks using TCL, but they're not terribly active on the development
side of things. One group does have a set of patches they plan to supply that
brings the Swig/TCL binding in line with others. I was hoping to get that into
5.6 but it didn't happen and now I'm hoping for 6.0. Hopefull
Version 5.6 introduces an XML mapfile schema and stylesheet. So (in theory) one
could manage a mapfile in XML and transform it for use. We intend to allow more
direct use somehow although that hasn't been decided. At the code sprint an
on-the-fly transformation was tested successfully. Other opt
I'm pretty sure you can't do what you're trying to do. Best bet would be to
create the necessary output formats ahead of time and switch between them with
map.imagetype=PNGQ16 or map.imagetype=PNG256...
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:maps
Title is a class level parameter that was supposed to hold legend text instead
of having to use the class name. That way class names could be more friendly
when doing things like changing parameters via URL. That functionality got lost
in the shuffle though and hasn't been completely implemented
We've talked about overhauling the home page nav recently. It's currently like
it is because of limitations in the original version of Sphinx. I think we can
do better. The lefthand nav shouldn't be things like announcements, instead it
should be high-value links to documentation like the ones m
I believe you can do this by using a tile layer with an explicit FILTER set for
the temporal piece. So, If in your tile index you have a
time attribute (or whatever you can do this):
LAYER
NAME 'tileindex'
TYPE TILEINDEX
...
FILTER 'limit tiles by attributes'
END
LAYER
NAME 'tiles'
It's kinda dependent on what client environment you're using. OpenLayers, for
example, has a hover control that you can use to do this. This site uses that
technique to provide tooltips.
http://www.dnr.state.mn.us/waters/csg/index.html
Basically if you pause the mouse for n seconds you fire a
Any chance of getting a test dataset?
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Peter Willis
Sent: Monday, February 08, 2010 12:37 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Continu
:wood...@swoodbridge.com]
Sent: Thursday, February 04, 2010 12:39 PM
To: Lime, Steve D (DNR)
Cc: Bob Basques; Jan Hartmann; MapServer Dev Mailing List;
mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-dev] RE: [mapserver-users] colorramp and datarangeon
the fly?
To build on what Steve is sayi
For point symbols I don't believe you can stop the cropping of the marker. To
do so you'd need to probably switch to an annotation layer in which the markers
are considered part of a label. Then you can set PARTIALS FALSE in the label
object. The downside here is that the label processing will r
above is Testing save query: 0 0
I then try to load the query file with the following commands.
$test = $map->loadQuery("/tmp/testfile.txt");
error_log("Testing load = ".$test." - ".MS_SUCCESS);
The output from the error_log line a
Sounds like you might want to use the MINDISTANCE label parameter in this case.
I think if you see it to a value close to the size of your metatiles you'd get
sparse labeling of those features but not simply the single label that
pre-clipping computation gives you. That's the approach I take wit
e those
objects on-the-fly or perhaps even from a file. Would probably need a new STATS
... END block within a layer to drive this. Just thinking out loud.
Steve
From: Bob Basques [mailto:bob.basq...@ci.stpaul.mn.us]
Sent: Thursday, February 04, 2010 8:19 AM
To: Lime, Steve D (DNR); Stephen
The origin for graphics coordinates is in the UL corner of an image. Symbol
defs are the same with 0,0 being the UL corner of a symbol.
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of
steve.tout...@inspq.qc.ca
Sent: Wednesday, F
mapfile, followed by the road line layer.
Christy
--
Christy Nieman
GIS Technician
DM Solutions Group, Inc.
Email: cnie...@dmsolutions.ca<mailto:cnie...@dmsolutions.ca>
Web: http://dmsolutions.ca
Web: http://research.dmsolutions.ca
On 02/03/2010 12:52 PM, Lime, Steve D (DNR) wrote:
I
-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen Woodbridge
Sent: Wednesday, February 03, 2010 10:39 AM
To: Jan Hartmann
Cc: Lime, Steve D (DNR); MapServer Dev Mailing List;
mapserver-users@lists.osgeo.org
Subject: Re: [map
uary 03, 2010 10:13 AM
To: Lime, Steve D (DNR); tommasodb; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] Rendering bridges
The feature that he is referencing is just a line segment with an additional
attribute of 'bridge=yes'.
* bridge: yes
* highway: trunk
How big a change would depend on the implementation. The brute force approach
where you simply loop through features once to compute ranges and then again to
draw would be probably pretty straight forward and driver independent. Wouldn't
be fast (but would be simple). Complexity would be added a
What feature type are bridges represented with in OpenStreetMap?
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of tommasodb
Sent: Wednesday, February 03, 2010 6:08 AM
To: mapserver-users@lists.osgeo.org
Subject:
I'll send you more details when I get time tonite (I hope) and can test things.
I've been using 5.6 save/load query functions a ton via the CGI but not PHP. I
tested a bunch with Perl MapScript and will have to check those methods against
what PHP is doing. Here's what the lines mean:
Line - Co
Apologies for the cross post...
Steve
-Original Message-
From: discuss-boun...@lists.osgeo.org [mailto:discuss-boun...@lists.osgeo.org]
On Behalf Of Tyler Mitchell (OSGeo)
Sent: Monday, February 01, 2010 12:21 PM
To: OSGeo Discussions
Subject: [OSGeo-Discuss] FOSS4G 2010 Call for Abstrac
Only option (w/shapefile) is to add a new field and do a conversion...
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Sven Schroeter
Sent: Friday, January 29, 2010 8:58 AM
To: mapserver-users@lists.osge
Is this link of help?
http://mapserver.org/input/raster.html#special-processing-directives
There's a directive to extract a single band from an n-band image...
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On B
I guess you'd need to be specific on what you mean by "javascript control for
this". Typically this means moving from a form-based interface where the whole
page refreshes to one where most of the work happens on the client and
MapServer is just used to respond to image or query requests. While
point, rect or
shape filtering happens after the filter is applied by the driver...
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Murty Maganti
Sent: Friday, January 29, 2010 1:51 PM
To: Lime, Steve D (DNR); Tamas Szekeres
Cc: maps
The one notable exception is the queryByAttribute method. It definitely ignores
the existing filter.
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Tamas Szekeres
Sent: Friday, January 29, 2010 12:32 PM
To: Murty Maganti
Cc: map
What version are we talking?
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Morten Sickel
Sent: Thursday, January 28, 2010 12:37 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Projection and
I hope to see this fixed in 6.0. There was a attribute named 'title' added to
classes years ago but it's never been hooked up...
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.osgeo.org] On Behalf Of Fawcett, David (MP
Do you have to have them in the image or is it enough to have them displayed
some other way? Work arounds include:
- Use untiled with 'ratio:1', creates images the same size as your view port.
- Just drop the copyright in a div over the top of the viewport and don't
have it in the image.
-
Barcelona, Spain. 15 January 2010.
The Free and Open Source Software for Geospatial (FOSS4G) conference is pleased
to announce a Call for Workshops and Tutorials for the 2010 conference, being
held September 6-9, 2010, in Barcelona, Spain.
FOSS4G is the international "gathering of tribes" f
Sure, that's possible too. Just use the image in question as a symbol (e.g.
SYMBOL 'mylogo.png') and the same
strategy should work.
# place a logo in the lower right corner
LAYER
NAME 'logo'
TYPE POINT
STATUS DEFAULT
TRANSFORM LR
FEATURE POINTS -10 10 END END
CLASS
STYLE SYMBOL 'm
There's a single way to call the method, it's that you don't always have to
supply the query item. The method signature is
queryByAttributes (map (mapObj, qitem (string), qstring (string), mode
(int));
The qstring is given in a format compatible with the underlying driver. For the
database
Anything browser related is most definitely an issue with your client
environment/programming and not MapServer itself. Might be best to ask on that
mailing list if one exists...
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@list
Lot's of changes in the syntax when altering a mapfile by URL since the 4.x
series. Try:
map.layer[BOUNDARY]=POINTS+434844.80 4522838.00 434840.17 4522890.93
434826.42 4522942.25 434803.96 4522990.40 434844.80 4522838.00+END
I think that should work.
Steve
__
Hi Stepan: The query performance improvements for the database drivers come
from referring to features within a result set as we process query results.
Previously, we referred to features globally and that is terribly inefficient
in some cases, and that's why the old query files stored global fe
What does your layer def look like? What renderer are you using? Are you
setting a specific RESOLUTION? There may be some subtle sizing changes but I
haven't run across anything significant yet.
Before and after images are helpful too.
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mail
apserv -nh "QUERY_STRING=map=test.map&mode=map&layers=all"
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.osgeo.org] On Behalf Of Nolte, Tim
[tim.no...@ipcswirelessinc.com]
Sent: Thursday, January 07, 2010 4:
It's almost certainly related to the one-pass stuff. Oracle support was gutted
in the process and has been
a bit problematic since. May be related to the other issue you raised in
mid-Dec.
What's the WFS query? Again a polygon?
Steve
-Original Message-
From: mapserver-users-boun...@lis
You might try a more recent version of MapServer too. Looking at the code the
WMS server does set an internal layer order based on the LAYERS= parameter in
the WMS request and the default templating respects that order. I don't know if
5.0.3 works that way or if those are more recent changes.
S
Correct. We've not gotten around to a more formal declaration.
Steve
-Original Message-
From: Brent Fraser [mailto:bfra...@geoanalytic.com]
Sent: Monday, January 04, 2010 2:57 PM
To: Lime, Steve D (DNR)
Cc: mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] mapserver
Would be interesting to get a copy of the data in shapefile format, plus the
mapfile that generates the error...
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Nelson Correia
Sent: Monday, January 04,
No, that is not expected behavior. I'll look into it.
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Richard Greenwood
Sent: Thursday, December 31, 2009 8:20 AM
To: mapserver
Subject: [mapserver-users]
I wonder if it's due to differences in the extent models. GDAL uses
edge-to-edge (I believe) meaning that the extent represents the outer edge of
the UL and LR pixels in the image. MapServer uses a center-to-center model
where the extent represents the pixel centers of the UL and LR pixels. The
_template_test.html'
END
Your URL looks fine.
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Brent Fraser
Sent: Tuesday, December 22, 2009 4:30 PM
To: Lime, Steve D (DNR)
Cc: mapserver-users@
Yup. What sort of an example would help?
-Original Message-
From: Brent Fraser [mailto:bfra...@geoanalytic.com]
Sent: Tuesday, December 22, 2009 4:18 PM
To: Lime, Steve D (DNR)
Cc: mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] mapserver 5.6.0, RFC 52 and driver support
The new-style approach opens the template only once. That's not your bottleneck
though I bet...
-Original Message-
From: Brent Fraser [mailto:bfra...@geoanalytic.com]
Sent: Tuesday, December 22, 2009 3:34 PM
To: Lime, Steve D (DNR)
Cc: mapserver-users@lists.osgeo.org
Subjec
What kind of templating are you using? The old-style stuff or the new-style?
How many results you talking?
-Original Message-
From: Brent Fraser [mailto:bfra...@geoanalytic.com]
Sent: Tuesday, December 22, 2009 3:10 PM
To: Lime, Steve D (DNR)
Cc: mapserver-users@lists.osgeo.org
Subject
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Brent Fraser
Sent: Tuesday, December 22, 2009 2:55 PM
To: Lime, Steve D (DNR)
Cc: mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] mapserver 5.6.0, RFC 52 and driver support
Do you think there would be any point in making the
The improvements are limited to native drivers only, principally Oracle Spatial
and PostGIS.
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Brent Fraser
Sent: Tuesday, December 22, 2009 2:48 PM
To: map
From: Helen Eskina [mailto:hesk...@ubitech.com]
Sent: Friday, December 18, 2009 9:23 AM
To: Lime, Steve D (DNR)
Subject: RE: [mapserver-users] How to draw a circle using MapScript?
Hi Steve,
Thank you for the reply! Looking forward to your example!
Helen
-Original Message-
From: Lime,
org
[mapserver-users-boun...@lists.osgeo.org] On Behalf Of Lime, Steve D (DNR)
[steve.l...@state.mn.us]
Sent: Thursday, December 17, 2009 4:30 PM
To: Dan Little; Helen Eskina; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] How to draw a circle using MapScript?
In another appr
In another approach, I believe MapServer wants you to define a bounding box for
the circle by creating a line shape with the first point at the UL coordinate
of that box and the second coordinate at the LR coordinate of the box. So you'd
offset your center point .5 KM to create those points. You
You might try a more recent version. Either 5.4.2 or 5.6 to see if the bug has
been fixed. I don't recall off the top of my head...
Using metatiles (that is, a tile rendered intentionally large and then clipped)
is one way around problems like this and tiling tools like TileCache support
that
Thanks for the feedback Charlton, I appreciate it. In black and white you can
imagine black water and white land or vice versa. Might also lose the map the
map altogether and just go with the cells/folds...
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:
Hi Rich, you can do this with the CGI or MapScript and it's quite easy with
OpenLayers. All versions support queries using polygons and version 5.6 takes a
WKT representation. Here's an example url:
http://yourserver.com/cgi-bin/mapserv56?map=parcels.map&mapext=295574.87922705%20171.01449
Screen shots, mapfile snippets (full layer definitions), version info are
always helpful when trying to help someone. Post questions
with as much information as possible!
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.
] On Behalf Of Nolte, Tim
[tim.no...@ipcswirelessinc.com]
Sent: Monday, December 14, 2009 11:30 PM
To: Lime, Steve D (DNR); mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] MapServer CGI + Oracle + Query, msQueryByShape
no results
Sorry, just got back into work today and as most
g
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Lime, Steve D
(DNR)
Sent: Friday, December 11, 2009 3:50 PM
To: Nolte, Tim; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] MapServer CGI + Oracle + Query, msQueryByShape
no results
Does the behavior hold true with s
Does the behavior hold true with shapefiles or is this just Oracle, or can't
you test that.
The queryfile (foo.qf) caches the query parameters itself, not the results. The
pre-5.6 cached the results but it was really expensive to retrieve them with
certain types of data providers, primarily dat
proach won't work.
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jay Kapalczynski
Sent: Friday, December 11, 2009 12:08 PM
To: Lime, Steve D (DNR)
Cc: mapserver-users@lists.osgeo.org
Subject: RE: [map
idOwnerQueryDESC%.*/i
END
Might even see better performance...
Steve
From: Jay Kapalczynski [jkapalczyn...@ci.maple-grove.mn.us]
Sent: Friday, December 11, 2009 9:17 AM
To: Lime, Steve D (DNR)
Cc: mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users]
Try:
FILTER (‘[USE1_DESC]’ =~ /.*%idOwnerQueryDESC%.*/i AND
‘[BLOCK]’=’%idOwnerQueryBLOCK%’)
I've not tried case insensitive regex in a logical expression though. You might
have to remove the i...
Steve
From: mapserver-users-boun...@lists.osgeo.org
401 - 464 of 464 matches
Mail list logo