buffer function in php/mapscript

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Wed Aug 24 06:01:47 EDT 2005


Hi,

buffer operations are possible even without using GEOS, and don't require PostGIS. Look at queryByShape and then set a TOLERANCE on your layer and TOLERANCEUNITS to meters.

With Mapscript you should be able I think to remove stuff from your selection.

PostGIS could come in handy though, and could give you a better performance I think.

With respect to GEOS, look here:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1327
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=770

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl
>>> Stathis Stergou <info at E-GEODATA.GR> 08/24/05 11:54 AM >>>
Dear list,

I'm new to mapserver and all of its concepts, so please forgive any
mistakes. I would like to develop an application using php/mapscript. Basic
demand for this application is : the user must select features from an
existing layer using a spatial query e.g. "find the all the buildings that
are 100 meters away from a street (or any other shape)", the user must have
the ability to add or remove features to the current selection using a
spatial or a non spatial query e.g. "from all these buildings select only
those which are more than 10 meters high". Is it possible to do this ?

Do i have to use postgis?

I have read that mapserver 4.6 uses geos library, but i cannot find any
documentation about the new function made available in php/mapscript.
Thanks in advance.

Stathis Stergou



More information about the mapserver-users mailing list