Templates don't expose the layer metadata you'd likely need so transforming
normal XML as Steve suggested is a far better option.
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Basques, Bob
(CI-StPaul)
Is your spatial query just a bbox? If so then just set that as your map extent
as part of doing your attribute query (attributes always do both). There are
other options too, let us know more what your spatial query is.
Steve
From:
[bob.bistr...@maine.gov]
Sent: Friday, February 08, 2013 10:09 AM
To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org
Subject: RE: Combined spatial and attribute query
Interesting thought. Bbox won’t quite do it- the spatial select would be based
on, for instance, a selected county or town
I would think it could be done, your extent would be given in pixels. Full
extent is given as 0 0 width-1 height-1. Depends if the raster code respects
the layer TRANSFORM parameter.
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf
Could try ANGLE 90 at the map level?
From: Basques, Bob (CI-StPaul)
Sent: Thursday, February 14, 2013 4:17 PM
To: Lime, Steve D (MNIT); Weisbender, Eric; mapserver-users@lists.osgeo.org
Subject: RE: Photo Viewer
Ok, I sort of got something to work . . .
http://gis.ci.stpaul.mn.us/datasets/SHP
I'm assuming you're using open layers or similar. There isn't one image, that's
the point of using tiles, it only looks like one. You could do something with
OL to overlay a watermark but it's just an overlay and not part of the
underlying tiles. That's would also be independent of mapcache.
I believe PATTERN is now obsolete in a symbol file. You define it in a style
instead...
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.osgeo.org] on behalf of Vince Miller
[vincentpmil...@yahoo.com]
Sent: Monday,
It's tricky though using the same webserver instance. If you have separate
instances (e.g. different ports, names or whatever) on the same box you can use
the MS_MAP_PATTERN environment variable (given as a regex) to restrict
allowable mapfile patterns. If you had in separate directories (e.g.
You don't use the nextShape() method to retrieve shapes as a result of a query.
Here's the pseudo code:
$layer-queryByShape($q_shape);
for($i=0; $i $layer-getNumResults(); $i++) {
$shape = $layer-getShape($layer-getResult($i));
.. do something with the shape ..
}
As part of query
It shouldn't matter the shape type. Could it be projection related? Perhaps
tolerance related?
Steve
From: Bistrais, Bob [bob.bistr...@maine.gov]
Sent: Wednesday, February 20, 2013 3:34 PM
To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org
Subject: RE
.
Steve
From: Bistrais, Bob [bob.bistr...@maine.gov]
Sent: Wednesday, February 20, 2013 4:08 PM
To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org
Subject: RE: queryByShape returns too many results
Seems to be line layers. I reset the tolerance in the map file
Oliver: Any chance you can create a test case and a ticket?
Steve
___
From: mapserver-users-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.osgeo.org] on behalf of Oliver Christen
[oliver.chris...@camptocamp.com]
Sent: Thursday, February 21, 2013
I dunno, I'm thinking the problem may lay in the legend code not respecting
scale values. What exactly does your GetLegendGraphic call look like?
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.osgeo.org] on behalf of
Your extents need to be given in the projection you set.
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.osgeo.org] on behalf of Mark Mirrlees
[mmirrl...@hotmail.com]
Sent: Monday, March 18, 2013 12:15 PM
To:
I've successfully compiled against 10.0 on SuSE 11 (64-bit). Files were part of
an SDE client DVD I had access to. Looks like:
root@maps:/opt/sde/sdeexe100 ls *
etc:
services.sde
include:
pe_coordsys_from_prj.h pedef.h pef.h pe_names.h sderaster.h sgerr.h
sqlerr.h
pe_database.h
Hi Mark: Personally I'd steer you to the simplified query templates as
described here:
http://mapserver.org/development/rfc/ms-rfc-36.html
This allows you to put everything in one place and better separates data from
presentation. No more header/footer's. Plus you can have multiple
You need to refer to the attributes next...
trtd[NAME]/tdtd[TYPE]/td/tr
Steve
From: Mark Mirrlees [mailto:mmirrl...@hotmail.com]
Sent: Wednesday, March 20, 2013 12:16 PM
To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] query creation issues
Hi Steve
Straight item tags like that ARE case sensitive. Try [item name=name] and
[item name=type] instead.
From: Mark Mirrlees [mailto:mmirrl...@hotmail.com]
Sent: Wednesday, March 20, 2013 1:33 PM
To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] query creation
Exact same mapfile?
From: mapserver-users-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.osgeo.org] on behalf of Fernando Norte
[ferna...@globalgeo.com.br]
Sent: Wednesday, March 27, 2013 9:48 AM
To: mapserver-users@lists.osgeo.org
Subject:
What type of query are you triggering?
From: mapserver-users-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.osgeo.org] on behalf of Bistrais, Bob
[bob.bistr...@maine.gov]
Sent: Friday, March 29, 2013 11:02 AM
To: mapserver-users@lists.osgeo.org
Subject:
Is it the selection layer that is duplicated?
Steve
From: Bistrais, Bob [bob.bistr...@maine.gov]
Sent: Friday, March 29, 2013 11:46 AM
To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org
Subject: RE: Duplicate results with processquerytemplate
It’s
Filter should look like:
FILTER (ID_ING = '%idtpn%' )
If MapServer is to execute it, or:
FILTER WHERE ID_ING = '%idtpn%'
If OGR is to execute it.
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Andrea Peri
Sent:
That error indicates a fundamental problem and I'm not even sure how you would
trigger it. Basically it's generated when the type of queryObj passed to a
query function is inappropriate for that particular function. Makes me wonder
if your install might be mucked up.
Do you have a simple test
The centroid in the shpxy code is very basic and not a true centroid, it's just
the mid-point of the bounding box of shape in question. It really wouldn't need
to be this simple I think. The computation of that value is done on the raw
shape and converted to image coordinates. I'm guessing it's
. What do
your queries look like?
Steve
-Original Message-
From: Kent Richards [mailto:i...@kentrichards.net]
Sent: Friday, April 12, 2013 11:24 AM
To: mapserver-users@lists.osgeo.org; Lime, Steve D (MNIT)
Subject: Re: [mapserver-users] Need help with shpxy centriod in template file
H... The MapServer mapfile parser will probably choke on /'s. You have a
couple of options:
Use a wildcard (tweak as necessary):
FILTERITEM year
FILTER /^[0-9]{1,2}.[0-9]{1,2}.[0-9]{4}$/
Use a logical expression (assumes version 6.x):
FILTER ([year] ~ ^[0-9]{1,2}/[0-9]{1,2}/[0-9]{4}$)
The MapServer Team is pleased to announce version 6.2.1. This is a maintenance
release that addresses some 30 tickets identified since the release of version
6.2.0. The complete changelog can be viewed at:
http://mapserver.org/development.changelog/changelog-6-2-1.html. The source for
this
Any chance you could run it against a shapefile version of the data? I'm
curious if this could be Oracle specific.
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.osgeo.org] on behalf of Holger Porath
[por...@web.de]
What does the template look like? --Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bistrais, Bob
Sent: Friday, April 19, 2013 3:29 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] problem with
and by-pass MapScript altogether.
Steve
From: Bistrais, Bob [mailto:bob.bistr...@maine.gov]
Sent: Tuesday, April 23, 2013 11:57 AM
To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] problem with processquerytemplate and large
selection sets
Here
I don't think so. If feature ids are sequential you might be able to link to a
query that would get you the next feature. Depends on what client environment
you're using.
You could do this with MapScript though.
Steve
From: mapserver-users-boun...@lists.osgeo.org
I mean did you add timing statements to the PHP code or did you muck about in
the MapServer/MapScript source. It's possible that PHP is slow, not the
specific MapServer calls.
From: Bistrais, Bob [mailto:bob.bistr...@maine.gov]
Sent: Tuesday, April 23, 2013 12:48 PM
To: Lime, Steve D (MNIT
the
existing result set.
- Process result set as you normally would using templates or just
writing code against it.
Steve
From: Weisbender, Eric [mailto:weisb...@wapa.gov]
Sent: Wednesday, April 24, 2013 8:24 AM
To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org
Subject: RE: Query
Easiest path is:
1) install mapserver and mapcache
2) configure a mapfile for WMS
3) configure mapcache to access that WMS server (e.g. MapServer)
4) configure your app to access the tile cache (e.g. MapCache)
MapServer has mode=tile that can be useful for super quick testing but
Ah, I ran into this to as well, see ticket
https://github.com/mapserver/mapserver/issues/4521. I've attached a diff that
made things work well for me. Once a fix is put in place for 6.4 (git master)
we can backport to 6.2.
Steve
From: mapserver-users-boun...@lists.osgeo.org
, Eric [mailto:weisb...@wapa.gov]
Sent: Tuesday, June 11, 2013 9:55 AM
To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org
Cc: Klein, Michael
Subject: RE: MapServer 6.2.1 and ArcSDE 10
Success! Thanks again for all your help. One last thing, do you suggest any
of the other SDE Layer
Good point (I'm probably the biggest offender)... I'll take a pass through them.
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mark Volz
Sent: Monday, July 01, 2013 12:55 PM
To:
Version 6.2 allows you to define multiple label blocks for one feature. Combine
that with repeating labels and it might be accomplished that way. For example,
you define one label that defines a shield and draw it at one interval, and
then another text label that uses the road name. If they
I'd say the other way around (beer that is)... ;-) Can you open a ticket so
this change doesn't get lost? It needs to be pushed into the upcoming 6.4
release.
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric
Tough to tell without a little bit of the mapfile content. Most likely this is
from:
1) missing quotes around a string
2) misspelling of a keyword
3) a missing END keyword
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
Out of curiosity, what GUI/component framework(s) (e.g. Twitter Bootstrap,
jQuery UI, etc...) are being used or considered?
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jessica Lapointe
Sent: Monday, July 15, 2013 9:51 AM
To:
Web metadata...
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mark Volz
Sent: Thursday, July 18, 2013 2:00 PM
To: thomas bonfort
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] tiled label
Depending on version there are a couple of ways to do this.
- set MAXFEATURES in the mapfile
- use the limit attribute when presenting results using new-style templates
(e.g [feature limit=10]) tag
Neither of these can be controlled by the client. WFS allows this though.
Steve
Via the CGI you can use a combination of mapxy, mode=map, and scale parameters.
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Michael McInnis
Sent: Monday, August 12, 2013 1:02 PM
To: mapserver-users@lists.osgeo.org
Subject:
1) layer source projection,
2) yes, use shpxy tag w/projection argument. You must define the layer
projection,
3) yes
From: mapserver-users-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.osgeo.org] on behalf of Mark Volz
[markv...@co.lyon.mn.us]
All the old tarballs are at: http://download.osgeo.org/mapserver/. I can't
recommend using anything that old however.
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of
tara.hemph...@l-3com.com
Sent: Tuesday, August 27, 2013 2:34
Working as expected on SuSE 11, I see the timestamp change. I did notice that
the utility doesn't produce an error if it can't create the file for some
reason (I tested with permissions), it just fails silently. Maybe you're
running into that?
Steve
From:
You can use regexes:
CLASSITEM 'road_type'
CLASS
EXPRESSION /^I-/
...
END
or
CLASS
EXPRESSION ('[road_type]' ~ '^I-')
...
END
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bistrais, Bob
Sent: Thursday, September 05,
Depends on how big of a jump in version you made. 6.2 now features multiple
labels per class. I think you need to do something like:
$label = $oAirportsClass-getLabel(0);
$label-color-setRGB(0,0,0);
$label-set(font, verdana);
$label-set(size, MS_LARGE);
$label-set(position, MS_AUTO);
Really need Tamas to comment on the clustering specifics but to clarify,
MapServer stores all attributes as strings. Then they are cast as necessary
when referenced in an expression.
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
Is your feature layer queryable? That is, does is have a value set for
TEMPLATE? Even 'TEMPLATE void' will do.
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Michael McInnis
Sent: Tuesday, September 17, 2013 4:51 PM
To:
, September 17, 2013 5:23 PM
To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] No points selected with queryByShape
Not sure I follow this.
Template is an empty layer in my map file we use to add shapes to for display.
My Feature layer is a shapefile of business
The error means you're asking for a layer in you WMS request that doesn't exist
in the service. Basically it's not defined in the mapfile. I'd guess you have a
typo someplace.
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
It would be helpful to see the mapfile before and after.
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jack Walters
Sent: Monday, September 23, 2013 6:13 PM
To: mapserver-users@lists.osgeo.org
Subject: Re:
Hi Michael: It should look like:
$layer-queryByShape($circle);
for($i=0; $i$layer-getNumResults(); $i++) {
$shape = $layer-getShape($layer-getResult($i));
# do whatever with the shape
}
The RFC that describes the changes is here:
Correct, currently it doesn't. Substitution does have a performance impact
(have to check/validate potential values against all places it's allowed) so
we've been mindful of use. You could hack mapfile.c (see
layerSubstituteString() function) and try it...
Steve
-Original Message-
I think this is an ok idea - I use stackexchange constantly for answers. The
issue I see is adding another support channel to watch and knowing what to
recommend to users. Are the mailing list and stackexchange considered equal?
Would we want to move certain questions from one to the other to
What do you see if you use the MapCache demo? E.g.
http://myserver/mapcache/demo
From: mapserver-users-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.osgeo.org] on behalf of James_in_Utah
[james.ev...@hill.af.mil]
Sent: Friday, November 01,
I guess you need the combination of call parameters and configuration that
produced it. Can you use the timestamps in combination with the webserver logs
(access and error) to identify likely calls?
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
Maybe something like a heat map?
From: mapserver-users-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.osgeo.org] on behalf of Stephen Woodbridge
[wood...@swoodbridge.com]
Sent: Monday, November 11, 2013 11:31 AM
To:
I don't believe this has ever been possible. If I understand you, the rendering
order is:
1. Draw aerial photo
2. Draw lake
3. Draw islands (i.e. holes) in lake
Step 2 has already mucked with pixels that you're drawing (again) in step 3.
You'd need to combine the lake and
I wouldn't think you'd need to mess with the bbox at all. Pink tiles are from
URLs like:
Hi Stefan: We have fixed a few security issues over time and like any software
there are most certainly existing defects. That said, I am unaware of any
real-world exploit of the mapserv binary. Doesn't mean it hasn't happened, just
that nothing has been communicated to the development team.
Did you get this fixed? The layer looks right to me. --Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Charlie Allgrove
Sent: Wednesday, December 11, 2013 11:11 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users]
Hi Thomas: MapServer 6.4 supports leader lines, see
http://mapserver.org/development/rfc/ms-rfc-81.html. You could also think about
computing label points for the lines and using those as a point layer for
labeling which might open up some options. Kinda depends on the nature of your
data
There's not a way using just the mapfile. I'm sure you could do something in
MapScript using class names and calls to create icons, either via WMS or using
mode=legendicon to get components. That is, render the map and then add to the
resulting image.
Steve
From:
You can also encrypt the database password using MapServer utilities. I do the
following:
- store the mapfiles outside web htdocs directory
- encrypt database passwords (if in a shared hosting environment)
- use webserver environment variables to reference mapfiles... this
obfuscates your
What sort of an error message to you receive? --Steve
From: mapserver-users-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.osgeo.org] on behalf of wiltomap
[wilt...@gmail.com]
Sent: Monday, January 06, 2014 7:50 AM
To:
The zooming assumes the user is interacting with an image described by imgext
and imgsize, so you're close. You can try those parameters instead of mapext
and mapsize.
On thing to note that the supplied extent will be adjusted to fit the size
provided. This means the supplied extent may not
The templating supports some basic functionality like this, for example:
[item name=foo pattern=1 value=bar]
so where foo=1 we see bar. If the pattern doesn't march nothing is output. You
can have multiple occurrences to mimic an if-then-else construct.
Steve
SIZE 6
END
END
END #LAYER
END #MAP
Thanks :)
Jonathan Beliën
Geo-6
De : Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Envoyé : vendredi 17 janvier 2014 00:28
À : Geo-6; mapserver-users@lists.osgeo.org
Cc : ms4w-us
://dl.dropboxusercontent.com/u/108047961/debug/map-3.jpg
Eduardo Patto Kanegae
http://www.webmapit.com | @webmapit
Eduardo Patto Kanegae
http://www.webmapit.com | @webmapit
2014-01-27 Lime, Steve D (MNIT) steve.l...@state.mn.us:
Hi Eduardo: It's not real clear what you're trying accomplish, but I can say
Validation is required for substitution to work... -Steve
From: mapserver-users-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.osgeo.org] on behalf of Rahkonen Jukka (Tike)
[jukka.rahko...@mmmtike.fi]
Sent: Monday, January 27, 2014 11:15 PM
To:
Hmmm... If you make a request against the WFS server outside MapServer what
does the result look like? Ideally you'd have the WFS server do the filtering
and avoid sending extra features over the wire.
Steve
From: mapserver-users-boun...@lists.osgeo.org
Those need to be removed, there's a validation section a little later in that
same document that takes precedence. I'll create a documentation ticket.
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of
Anything you can do in the data definition limits the number of features sent
over the network, so that's preferable. Class expressions are generally used to
sort features you want to draw differently.
Steve
From: mapserver-users-boun...@lists.osgeo.org
Browse mode is for old-style interactive clients. That is, user click - send
to mapserver - mapserver builds new page. You wouldn't use mode=browse to
create georeferenced output like you're doing. Mode=map or WMS are the way to
go.
Steve
From: mapserver-users-boun...@lists.osgeo.org
That's a weird one. It kinda sounds like a data issue for that certain area
more than a mapserver issue. I mean, if there was something funky going on with
image size and scale computation I'd expect all images at that zoom level and
image size to be blank, not just one. I'd recommend further
Can you post pics?
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Basques, Bob
(CI-StPaul)
Sent: Tuesday, February 25, 2014 3:09 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Upgrading to 6.4.x
All,
Has anyone
Could also use class groups and send the appropriate group value with your
request.
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen Woodbridge
Sent: Monday, March 03, 2014 10:46 AM
To:
That's the appropriate work around at this point. Typically I'll put a few
things that I know will always be present at the end. For example the if the
query is triggered by a point query I prepend the x/y:
'point':{
'epsg:26915': [[mapx], [mapy]],
'epsg:4326': [[maplon], [maplat]]
}
Certainly looks like a bug but it would help to see the layer defs for one of
the solid fills layers and one of the line layers. Are you setting map
resolution explicitly? --Steve
From: mapserver-users-boun...@lists.osgeo.org
Hi Rich: Crap, I had meant to connect with your on this back when you first
posted it.
I don’t think this is related to the MIMETYPE. I use an output format very
similar to the you do. I think what’s happening is that MapServer doesn’t know
to use the geojson output format and falls back to a
Hi all: A chance to contribute to the upcoming FOSS4G - Portland event. There
are several MapServer/MapCache/TinyOWS related presentations in the mix.
Steve
-Original Message-
From: discuss-boun...@lists.osgeo.org [mailto:discuss-boun...@lists.osgeo.org]
On Behalf Of Eli Adam
Sent:
Hi Bob: I don't think so... It's a limitation of the implementation and
something I hope to correct by allowing you to buffer the label polygon. You
probably can hack the source if you wanted to change the value globally. I can
look if you'd like.
Steve
From:
Try adding this to the States layer:
PROCESSING 'LABEL_NO_CLIP=1'
This tells MapServer to compute a label point before clipping the geometry.
Basically it fixes the label point.
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
FIlters are used primarily under the hood for certain types of query
operations. The main differences are:
- FILTERs are defined in the native query language of the underlying driver.
So for PostGIS you'd actually write a little SQL snippet.
- FILTERs are applied when data are pulled from
I agree with you... Almost all of our demos are pretty dated. Personally I
always liked the way OpenLayers approached things with concise demos that
showed off a particular bit of functionality. I wonder if our regression tests
(msautotest) might serve this purpose and if web wrapper could be
Correct. We do it this way since many drivers don't require a QITEM. For
example, you could author a qstring that leverages multiple columns.
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Eichner,
The difference is MapServer version, not Ubuntu. You *must* define a validation
pattern (a regex) for qstring values. In either the web or layer block
(depending on your app) you'd do something like:
VALIDATION
'qstring' '^\/ESD-[0-9]*\/i$'
END
Depends on what sort of values you might see of
MapServer has no default, it's just uses a simple Cartesian coordinate system.
HOWEVER, the CGI does have some hooks that tries to auto-detect lat/lon
coordinates and automatically convert them to what's set in the MAP's
projection block. I believe that only kicks in if there is a projection
Are you looking for bboxes for all labels, regardless of visibility? Basically
the label cache itself. It should be possible but I’m not sure how generally
useful it would be. You can hack maplabel.c to do just this if you’d like to
play around. That said, that’s just a picture and it won’t be
I believe WMS/WFS layers fetch/cache the necessary data from the remote server
before rendering starts. Perhaps there’s a less than speedy remote server?
--Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Travis Kirstine
Sent:
The world files are read internally by GDAL, not MapServer. I wonder if there's
a way to test this just using GDAL and take MapServer out of the equation
completely. Is there any projection being done? That could also be a source of
slivers. Is it possible to generate the tiles with just a bit
There's nothing inherent in templates to do this for you but there are options:
1. Use javascript in the template, something like:
tr
td align=rightbGIS Date:/b/td
script
var date_jf = '[item name=Date]';
// process the date into something prettier
var date = ...;
Scale can only be computed if there is a map extent and map size set. Are you
doing so?
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Vladimir
Sent: Monday, June 16, 2014 1:12 AM
To: mapserver-users
Subject: [mapserver-users]
);
$map-preparequery();
$scale=$map-scaledenom;
It works for me, but I am not sure that is standard method.
Can this be used?
Best regards
Vladimir
16 2014, 15:43 UTC от Lime, Steve D (MNIT)
steve.l...@state.mn.usmailto:steve.l...@state.mn.us:
Scale can only be computed if there is a map extent
Hi Meher: Can you post a quick snippet of your code? Which language?
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mohamed Meher
TOUHAMI
Sent: Monday, June 16, 2014 12:32 PM
To: mapserver-users@lists.osgeo.org
Subject:
,$maxX,$maxY);
$map-preparequery();
$scale=$map-scaledenom;
}
Can't understand what's wrong. Any idea ?
Best regards
Vladimir
Tue, 17 Jun 2014 14:29:53 + от Lime, Steve D (MNIT)
steve.l...@state.mn.usmailto:steve.l...@state.mn.us:
This is a WMS request? I’d think MapServer would populate
You can compute a color string using PostgreSQL string functions:
SELECT percentage || ‘ 0 0’ AS color FROM …
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Do Wi
Sent: Sunday, June 22, 2014 3:50 PM
To:
1 - 100 of 438 matches
Mail list logo