Re: [pmapper-users] Query layer for some columns

2011-02-07 Thread Thomas RAFFIN
Hello, The only way to do that with p.mapper is modify the layer definition in your mapfile with your request. For instance: DATA "the_geom FROM (SELECT the_geom, name, id, age, . FROM ...) AS foo USING UNQIUE gid" Or create a view in your DB: CREATE VIEW your_view_name AS (SELECT the_g

Re: [pmapper-users] problem with ECW

2011-02-07 Thread Thomas RAFFIN
Hi, If you are using MS4W 3.x, the ECW file format is no longer supported (due to new Erdas license). Thomas Le 02/02/2011 21:19, Armin Burger a écrit : > Pino > > I don't think anybody can help you if you do not specify *what* is your > problem, and describe it in best ways ;-) the pm Wiki has

Re: [pmapper-users] How to use a variable for a print title

2011-02-07 Thread Thomas RAFFIN
Hi, 1) in print.xml, add your variable in the "" part with an HTML input tag 2) printdlg.phtml will create a "PrintXML_HTML" object (class defined in incphp/print/printxml.php) that will parse the XML file and add the desired field in the HTML print dialog 3) when you will send the print reques

Re: [pmapper-users] Plugin addbuttonstogroups needs refactoring?

2011-02-07 Thread Thomas RAFFIN
Hi, I'm the author of this plugin. You're right: it doesn't work with p.mapper 4 and dev version. You can publish the new version if you have rights (or ask them to Armin), or send me a zip file and I will update it (feel free to update the doc: http://svn.pmapper.net/trac/wiki/PluginsToc). T

Re: [pmapper-users] QueryEditor bug/question

2011-02-07 Thread Thomas RAFFIN
Hi, You've just found a real bug. I will correct it in the dev version asap. If you need it quickly, just modify the file pmapper/plugins/queryeditor/queryeditor.php: - search the line with "$layers = $_SESSION['pluginsConfig']['queryeditor']['queryableLayers']['queryableLayer'];" - add just af

Re: [pmapper-users] QueryEditor bug/question

2011-02-07 Thread Dejan Gambin
Thanks Thomas, I have several more questions, neither one is very important but it is good to know the options: 1. When I open the dialog I get 3 comparison fields displayed - queryeditor-attributeCriteriaComparisonNone, queryeditor-attributeCriteriaComparisonNum and queryeditor-attributeCrit

Re: [pmapper-users] Plugin addbuttonstogroups needs refactoring?

2011-02-07 Thread Niccolo Rigacci
On Mon, Feb 07, 2011 at 11:36:56AM +0100, Thomas RAFFIN wrote: > > I'm the author of this plugin. You're right: it doesn't work with > p.mapper 4 and dev version. > > You can publish the new version if you have rights (or ask them to > Armin), or send me a zip file and I will update it I prefe

Re: [pmapper-users] QueryEditor bug/question

2011-02-07 Thread Thomas RAFFIN
Le 07/02/2011 12:37, Dejan Gambin a écrit : > Thanks Thomas, > > I have several more questions, neither one is very important but it is good > to know the options: > > 1. When I open the dialog I get 3 comparison fields displayed - > queryeditor-attributeCriteriaComparisonNone, > queryeditor-a

Re: [pmapper-users] QueryEditor bug/question

2011-02-07 Thread Dejan Gambin
On 7. vel. 2011., at 14:18, Thomas RAFFIN wrote: > > > Le 07/02/2011 12:37, Dejan Gambin a écrit : >> Thanks Thomas, >> >> I have several more questions, neither one is very important but it is good >> to know the options: >> >> 1. When I open the dialog I get 3 comparison fields displayed -

Re: [pmapper-users] QueryEditor bug/question

2011-02-07 Thread Thomas RAFFIN
With my version I don't have this issue. Does it appear with printing dialog for instance? Maybe those changes could help: - http://svn.pmapper.net/trac/changeset/1079 - http://svn.pmapper.net/trac/changeset/1120/trunk/pmapper/javascript/src/pm.zoombox.js Are you able to test the development ve

[pmapper-users] Low Performance in IE with many layers

2011-02-07 Thread Nicolas Morales
Hi, I've noticed that when the mapfile has many layers, the performance in Internet Explorer is low especially when the map zoom changes. I discovered that the javascript function that consumes most of the time in IE is tocUpdateScale () in pm.toc.js Is there any way to fix this problem? I'm u

Re: [pmapper-users] QueryEditor bug/question

2011-02-07 Thread Dejan Gambin
You are right. It doesn't happen in 4.1 :D dejan On 7. vel. 2011., at 14:50, Thomas RAFFIN wrote: > With my version I don't have this issue. Does it appear with printing > dialog for instance? > > Maybe those changes could help: > - http://svn.pmapper.net/trac/changeset/1079 > - > http://svn.p

Re: [pmapper-users] Plugin addbuttonstogroups needs refactoring?

2011-02-07 Thread Thomas RAFFIN
Thanks for your work! I've just uploaded your changes in pmapper trunk version. I think interesting improvements could be: - to refactor the js part to be more "pmapper 4 compliant" (extend PM.Plugin object, ...) - to avoid the AJAX call (all could be done in js with PM.ini.pluginsConfig.addbut

Re: [pmapper-users] Low Performance in IE with many layers

2011-02-07 Thread Armin Burger
On 07/02/2011 15:03, Nicolas Morales wrote: > > Hi, > > I've noticed that when the mapfile has many layers, the performance in > Internet Explorer is low especially when the map zoom changes. > > I discovered that the javascript function that consumes most of the time in > IE is tocUpdateScale () i

Re: [pmapper-users] measure2 plugins error

2011-02-07 Thread Thomas RAFFIN
Hi, Sorry but I don't understand the behavior you've described. I've just tested the current SVN version, and it works correctly for me in Firefox 3.6.13, IE 8 and Chrome 9. Please tell me the pmapper version your are using, Firefox version and do you follow the explanations of the e-mail I've