[pmapper-users] Search definition via XML file for DB

2012-01-23 Thread Andreas Douvalis
Sorry for my mistakes! Again my question: Why in Search definition via XML we have to write dsn string? I think it is more convenient to construct dsn string from connection string of layer in map file. In other case I have to maintain two config files (map file and search.xml). Am I right or

[pmapper-users] Search definition via XML file for DB

2012-01-23 Thread Andreas Douvalis
Hi! Whi in Search definition via XML we have to write dsn string? I think it is more convenient to construct dsn string from connection string of layer in map file. Ii other case I have to maintain two config files (map file and search.xml). Am I right or I miss something? -

Re: [pmapper-users] test_query_string.php

2012-01-23 Thread Armin Burger
the test for attribute search is now updated to work with both MS 5.6 and 6, it's the link Thomas mentioned. I guess in your case you need more the test for query by point (used in the identify function), check the following file and adapt map file name, layer name and x/y as needed: http://sv

Re: [pmapper-users] search and activation of layer

2012-01-23 Thread Armin Burger
you can try the following: add in your custom.js under your /config/your-config/ directory (usually 'default') the following lines $.extend(PM.Query, { getQueryResult: function(qurl, params) { $.ajax({ type: "POST", url: qurl, data: params,

Re: [pmapper-users] test_query_string.php

2012-01-23 Thread Thomas RAFFIN
Hi, The file is here (maybe not up-to-date) : http://svn.pmapper.net/trac/browser/trunk/utils/test_query_string.php?format=txt Thomas Le 23/01/2012 15:33, Zlatomir Dimitrov a écrit : > Dear pmapper users, > > I cannot find nowhere the script "test_query_string.php" that have to > be provided in

[pmapper-users] test_query_string.php

2012-01-23 Thread Zlatomir Dimitrov
Dear pmapper users, I cannot find nowhere the script "test_query_string.php" that have to be provided in the directory "util" !? Does anyone have it to send me? Thank You!!! -- - Mr Zlatomir Dimitrov RS& GIS Expert SAR Expert Remote Sensing Applications Center (ReSAC)

[pmapper-users] search and activation of layer

2012-01-23 Thread info
dear pmapper users i am using pmapper 4.1.0 when i make a search e.g. in the pmapper-demodata for a river, but the layer river is not activated, it would be nice, when that layer river could be turned active by the search process. ist that possible with short piece of code ? thank you very much