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: [EMAIL PROTECTED]
http://www.dmsolutions.ca/

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

Reply via email to