[mapserver-users] Vectorizing/digitizing points that have

Hollingbery, Julian julho at kms.dk
Fri Aug 19 10:25:22 EDT 2011


Hi,

You could also consider using &service=WMS&request=GetFeatureInfo, see
http://mapserver.org/ogc/wms_server.html

/julian 

-----Oprindelig meddelelse-----

Message: 7
Date: Fri, 19 Aug 2011 13:55:00 +0000
From: Rahkonen Jukka <Jukka.Rahkonen at mmmtike.fi>
Subject: Re: [mapserver-users] Vectorizing/digitizing points that have
	been	rendered as raster
To: 'Wim Vanbelle' <wimvanbelle at gmail.com>,
	"'mapserver-users at lists.osgeo.org'"
<mapserver-users at lists.osgeo.org>
Message-ID:
	<84446DEF76453C439E9E97E438E13A6301D0AD at suutari.haapa.mmm.fi>
Content-Type: text/plain; charset="us-ascii"

Hi,

Mapserver 6.0 is listing these filter capabilities
<ogc:Equals/>
<ogc:Disjoint/>
<ogc:Touches/>
<ogc:Within/>
<ogc:Overlaps/>
<ogc:Crosses/>
<ogc:Intersect/>
<ogc:Contains/>
<ogc:DWithin/>
<ogc:BBOX/>

I am not totally sure that all of them really works.  Now it depends a
bit about your need what filter to use.  DWithin from the point should
give exact results but probably you would need to adjust the distance
according to the map scale.  BBOX might be faster but then you must make
a rectangle around the clicked point.

About the same result can be obtained also with WMS GetFeatureInfo.
Configure a suitable outputformat (text/plain, text/html or gml), use
big enough feature_count and reasonable pixel based tolerance in the
mapfile.

-Jukka Rahkonen-


Wim Vanbelle  wrote
Hi,

Currently we have a lot of big datasets with points (think 50k points
for instance) that we can now cluster service side with mapserver
(cool).
That works like a charm, but now we would like to fetch information if
you click on them. (be it a clustered icon, or a non clustered).

The client we are using is google maps with custom javascript code.

As far as I'm aware, I need to perform a WFS request for this. I haven't
got any problems setting that up, but what should be passed as a filter?

Can we just pass a point as a filter in the request, or are we forced to
supply a bounding box. I'm wondering if there are common solutions to
tackle a similar problem.

Thanks in advance.

Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110819/9e
718318/attachment.html

------------------------------

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


End of mapserver-users Digest, Vol 43, Issue 39
***********************************************


More information about the mapserver-users mailing list