Re: [pmapper-users] Feature select performance

2010-08-25 Thread Chris Jackson
Armin Tried your code and timed the two selection techniques with a 5000 feature limit querying a shapefile - both about 8.5 mins!!! - so no real performance gain using the old code. Takes ~45sec with a 1000 feature limit and about 13 secs with a 500 feature limit (working from a low performance

Re: [pmapper-users] Feature select performance

2010-08-25 Thread Armin Burger
If you want to try the highlight method with the 2 files I put in the zip file, you need to limit the number of features to be returned for the result table. Just try setting it to 100. The highlight using the querymap will nevertheless highlight *all* found features. So I guess it should make a

Re: [pmapper-users] Feature select performance

2010-08-25 Thread Armin Burger
just an update: I made a quick test, using the normal highlight. This is not really slowing down things. If I disable the result table creation the map is rendered quite fast with the default highlight, even when 6 or 7000 features are returned. The JSON string returned however is close to 2 MB!

Re: [pmapper-users] Feature select performance

2010-08-25 Thread Chris Jackson
Armin Although I had been doing some JS error checking in firefox I have done most of the selects in IE7 - as you hinted big mistake (unfortunately IE is still used by ~50% share of the intended UK audience)! FF is about 20secs for 5000 features - hohum! I agree about how many results do you

Re: [pmapper-users] Category checkbox behaviour

2010-08-25 Thread Armin Burger
On 25/08/2010 09:53, Dejan Gambin wrote: Hi, I would just like to know if this is an expected behaviour: yes, if you want another logic you need to modify the pm.toc.js I have a category with two groups. Each group consist of several mapfile layers having the same GROUP. I set

Re: [pmapper-users] Attribute search example with MySQL table

2010-08-25 Thread Armin Burger
I updated the docs for this issue, see limitations part at http://svn.pmapper.net/trac/wiki/DocManual?version=77#JoiningDatabasetablestolayers armin On 24/08/2010 13:07, Dejan Gambin wrote: Hi, I have successfully made a join from shape file to MySQL database using RESULT_JOIN syntax like

Re: [pmapper-users] Attribute search example with MySQL table

2010-08-25 Thread Dejan Gambin
Armin, Thanks for the information. Do you think it would be possible to use native MapServer joins for this, like described here: http://mapserver.org/mapfile/join.html and use MySQL fields in RESULT_FIELDS? I suppose not... regards, dejan On 25. kol. 2010., at 19:28, Armin Burger wrote:

Re: [pmapper-users] Category checkbox behaviour

2010-08-25 Thread Dejan Gambin
Thanks very much for the info regards, dejan On 25. kol. 2010., at 19:20, Armin Burger wrote: On 25/08/2010 09:53, Dejan Gambin wrote: Hi, I would just like to know if this is an expected behaviour: yes, if you want another logic you need to modify the pm.toc.js I have a category