Hi mapserver-users,
Steve Lime has indeed explained bits of using javascript in CGI query
templates, but I'm still lost. Are there any examples showing how to
use javascript in a query template to do things like, for example,
format the returned query result list to remove duplicate records?
I compared your not working mapfile with one i'm using that is working. Some
suggestions:
- add in you map/web/metadata a wfs_extent
- add a EXTENT to your layer
Roy
_
From: DeDuikertjes [mailto:deduikert...@xs4all.nl]
To: mapserver-users@lists.osgeo.org
Sent: Wed, 24 Jun 2009
On Wed, Jun 24, 2009 at 11:48:14PM -0500, Steve Lime wrote:
I'll start with the obvious questions:
1) are the layers queryable (e.g. is a TEMPLATE set?)
Umm..., it wasn't obvious to me. That was it. I had a
template for the map, but didn't realize that each layer
needed a template also.
Hello,
Do someone know when this is going to be in a stable mapserver version?
http://mapserver.org/development/rfc/ms-rfc-48.html
I need to represent polygons as points in their centroids.
Thanks,
--
Charlotte DECLERCQ
ALKANTE SAS
Ingénieur RD SIG
1, rue du ChĂȘne Morand
35 510
You need some way of presenting the results of the query, hence the use of the
template keyword... Glad
it was an easy fix though.
Steve
On 6/25/2009 at 9:24 AM, in message 20090625142437.ga3...@q.rho.net,
Wendell
Turner wend...@enflight.com wrote:
On Wed, Jun 24, 2009 at 11:48:14PM -0500,
Most of it is already in 5.4, except for centroids :(
I can push those in for 5.4.2 if you're in a hurry, otherwise you'll have to
wait for 5.6/6.0
regards,
thomas
www.camptocamp.com
+33 4 79 26 57 97
On Thu, Jun 25, 2009 at 17:04, Charlotte Declercq c.decle...@alkante.comwrote:
Hello,
Do
Actually, there are two ways of drawing polygons as points (positioned
in their centroids) :
either geotransform
or apply the STYLE with TYPE [centroid] as described in
http://mapserver.org/development/rfc/ms-rfc-45.html
What is your advice ?
Which one of these developments will be available
I've just committed this to the 5.4 branch, so it will be available in 5.4.2
as for your question, geomtransform replaced the type keyword of
rfc45, so the correct answer is to use geomtransform (as per stated in
the user documentation)
regards,
thomas
www.camptocamp.com
+33 4 79 26 57 97
Does the OUTPUTFORMAT allow for json or geojson, as
mentioned here?
http://mapserver.org/development/rfc/ms-rfc-36.html
Are there any examples of its use?
Thanks,
Wendell
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
Yes, this is works but I don't have any working examples handy. I've tended to
create javascript src
files on-the-fly rather than just objects.
Steve
On 6/25/2009 at 2:32 PM, in message 20090625193247.ga9...@q.rho.net,
Wendell
Turner wend...@enflight.com wrote:
Does the OUTPUTFORMAT allow
Here's one example using new-style templating (recommend MapServer 5.4.1).
We're querying some data
and building a function that can be used to populate a drop down list on a
page. In this case I'm returning
a javascript file on-the-fly. You can also create javascript as part of a
larger HTML
On Thu, Jun 25, 2009 at 03:13:21PM -0500, Steve Lime wrote:
Here's one example using new-style templating (recommend
MapServer 5.4.1).
I'm using 5.2.0. Do I need to upgrade?
Anyway, please ask questions if you need to.
Ok!
The TEMPLATE:
// MapServer Template
function
Hi,
At 06:13 AM 26/06/2009, Steve Lime wrote:
Here's one example using new-style templating (recommend MapServer
5.4.1). We're querying some data
and building a function that can be used to populate a drop down
list on a page. In this case I'm returning
a javascript file on-the-fly. You can
13 matches
Mail list logo