SLD filter problemSLD filter problemSLD filter probl

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Fri Oct 21 11:59:26 EDT 2005


Hi there,


Stefano Menegon wrote:
> We have two problems with SLD
> 
> 1) spatial filter (Intersect) is very terrible slow with postgis;
>    it takes minutes to render hundreds of points! It is better
>    with shapefile but still not acceptable.
>    It seems the it reads individual features by oid opening binary
>    cursor for each feature which is slow.
> 

   The intersect feature ends up being converted into a mapserver query 
by shape  msQueryByShape(map, lp->index,  psQueryShape) (where 
psQueryShape is the shape passed in the sld.  Not sure how to optimize 
this. Any suggestions are welcome. Realted subject is discussed inside 
bug http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1292 and

>  2) does not work combination of attributes and spatial expressions
>     (AND logical operator).
> 
> 

  Could you send me the sld. I could give it a quick try and see.

> thanks in advance,
> 

-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the mapserver-users mailing list