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 written to you :
"
did you follow the doc here: 
http://svn.pmapper.net/trac/wiki/PluginsDynamicData#Measure2 (or the 
"README.TXT" in the plugin directory)
"

If you can send me screenshoots or (better) an URL to test your pmapper, 
it would be easier please...

Thomas

Le 21/01/2011 16:08, Richard Camejo a écrit :
> We are using pmapper with measure2 plugin configured it is basically a
> strange behavior in Google Chrome and Internet Explorer, Mozilla
> Firefox wrong.
> When I make a measure measure2 then if I make bread on the map I made
> a copy of the first that is always ahead no matter what I'm on the map.
> Somebody has happened or has any idea how to fix it.
>
> Thank you very much, Greetings
>
> Richard.
>
> --
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


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 () in pm.toc.js
>
> Is there any way to fix this problem?
>
> I'm using version 4.1.1
>
> Thanks

well, this is an issue of the Javascript speed in IE. The update layers 
function has to loop through all layers and add one style and remove 
another, stepping through the DOM tree, for IE this might take a 
while... It's not possible to change without removing the functionality, 
or wait for IE 9...

I don't know if there are any optimizations possible on the jQuery side 
and it's selector functions. p.mapper 4.1.1 is already using the latest 
jQuery version I think. On the other hand I think the map is loaded 
normally, just the TOC update takes some time.

The only possibilities that directly come into my mind are:
  - use fewer layers
(maybe allow adding/removing them via the layerselect plugin)

  - disable the "greying-out" of the layers when not visible
at the current scale. This I could provide with an additinal
check of a parameter. You can try this by adding as first line
in the tocUpdateScale() function
   return false;
and see how much faster it is.
You could also check if it could be related to the AJAX call (which
I don't think) and comment out just the part of the closure
$.each(layers, function(l, cl) {
...
 });


armin

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


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.addbuttonstogroups values automatically loaded from 
XML configuration file)
- to use more tags in the XML configuration file (instead of the old ini 
syntax) with something like that:



xxx





.

(be careful if there is only 1 button declared!)

Tell me if you are interested with those points and if I can help you, 
else I will do it later...

Thanks again.

Thomas

Le 07/02/2011 12:38, Niccolo Rigacci a écrit :
> 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 prefer if you have a look at it. If you think that it is ok,
> please submit it.
>
> The main change I made is to avoid dynamic JavaScript code
> generated with PHP. This is because the p.mapper 4 plugin code
> does not allow $jsFiles to be PHP files.
>
> So the JavaScript init function must get the plugin configuration
> via an AJAX call.
>
>> (feel free to update
>> the doc: http://svn.pmapper.net/trac/wiki/PluginsToc).
> If you upload the new code, I will have a look at it.
>
> Thank you very much.
>

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


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.pmapper.net/trac/changeset/1120/trunk/pmapper/javascript/src/pm.zoombox.js
> 
> Are you able to test the development version?
> 
> Le 07/02/2011 14:37, Dejan Gambin a écrit :
>> 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 - 
 queryeditor-attributeCriteriaComparisonNone, 
 queryeditor-attributeCriteriaComparisonNum and 
 queryeditor-attributeCriteriaComparisonTxt. As I can they get hidden in 
 setAttributeType function, that is called by setAttributeName called by 
 setLayerName. setLayerName is also called by reset() function that is 
 again called by ready() function which sets default interface status. So, 
 should the two comparison fields be hidden by default?
>>> OK, I've done the changes. I will commit them ASAP.
>>> 
 2. I am using Quesry Editor by manually changing the values in "Generated 
 Query" frame. When I have focus in this frame, every press on the arrow 
 key makes the map pan. Is it possible to disable panning when focus is in 
 this frame?
 
>>> What is your p.mapper version? And your web browser ?
>> The version is 4.0. Browser is FF.
>>> 
 Thanks very much. This plugin is of so much help :D
>>> You're welcomed!
>>> 
>>> Thomas
>>> 
>>> 
 regards, dejan
 On 7. vel. 2011., at 11:49, Thomas RAFFIN wrote:
 
> 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 after it:
> if ($layers&&   array_key_exists('name', $layers)) $layers = 
> array($layers);
> 
> Thanks
> 
> Thomas
> 
> Le 04/02/2011 15:48, Dejan Gambin a écrit :
>> Hi,
>> 
>> I don't know if this is a bug or I am doing some stupid mistake:
>> 
>> When I set layersType to 2 and have just one queryable layer I get 2 
>> (and wrong) values in Layer name select list (instead of one). I have 
>> this defined in xml file:
>> 
>> 
>>  
>>  2
>>  
>>  
>>  kbroj
>>  KBR
>>  
>>  
>>  dynwin
>>  
>> 
>> 
>> The values I get in Layer name select list are "k" and "K"
>> 
>> thx for any info
>> 
>> regards, dejan
>> 
>> 
>> --
>> The modern datacenter depends on network connectivity to access resources
>> and provide services. The best practices for maximizing a physical 
>> server's
>> connectivity to a physical network are well understood - see how these
>> rules translate into the virtual world?
>> http://p.sf.net/sfu/oracle-sfdevnlfb
>> ___
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>> 
>> 
>> 
> --
> The modern datacenter depends on network connectivity to access resources
> and provide services. The best practices for maximizing a physical 
> server's
> connectivity to a physical network are well understood - see how these
> rules translate into the virtual world?
> http://p.sf.net/sfu/oracle-sfdevnlfb
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 
>>> --
>>> The modern datacenter depends on network connectivity to access resources
>>> and provide services. The best practices for maximizing a physical server's
>>> connectivity to a physical network are well understood - see how these
>>> rules translate into the virtual world?
>>> http://p.sf.net/sfu/oracle-sfdevnlfb
>>> ___
>>> pmapper-users mailing list
>>> pmapper-users@lists.sourceforge.net
>>> https:/

[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 using version 4.1.1

Thanks
-- 
View this message in context: 
http://old.nabble.com/Low-Performance-in-IE-with-many-layers-tp30863840p30863840.html
Sent from the pmapper users mailing list archive at Nabble.com.


--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


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 version?

Le 07/02/2011 14:37, Dejan Gambin a écrit :
> 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 - 
>>> queryeditor-attributeCriteriaComparisonNone, 
>>> queryeditor-attributeCriteriaComparisonNum and 
>>> queryeditor-attributeCriteriaComparisonTxt. As I can they get hidden in 
>>> setAttributeType function, that is called by setAttributeName called by 
>>> setLayerName. setLayerName is also called by reset() function that is again 
>>> called by ready() function which sets default interface status. So, should 
>>> the two comparison fields be hidden by default?
>> OK, I've done the changes. I will commit them ASAP.
>>
>>> 2. I am using Quesry Editor by manually changing the values in "Generated 
>>> Query" frame. When I have focus in this frame, every press on the arrow key 
>>> makes the map pan. Is it possible to disable panning when focus is in this 
>>> frame?
>>>
>> What is your p.mapper version? And your web browser ?
> The version is 4.0. Browser is FF.
>>
>>> Thanks very much. This plugin is of so much help :D
>> You're welcomed!
>>
>> Thomas
>>
>>
>>> regards, dejan
>>> On 7. vel. 2011., at 11:49, Thomas RAFFIN wrote:
>>>
 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 after it:
 if ($layers&&   array_key_exists('name', $layers)) $layers = 
 array($layers);

 Thanks

 Thomas

 Le 04/02/2011 15:48, Dejan Gambin a écrit :
> Hi,
>
> I don't know if this is a bug or I am doing some stupid mistake:
>
> When I set layersType to 2 and have just one queryable layer I get 2 (and 
> wrong) values in Layer name select list (instead of one). I have this 
> defined in xml file:
>
>  
>   
>   2
>   
>   
>   kbroj
>   KBR
>   
>   
>   dynwin
>   
>  
>
> The values I get in Layer name select list are "k" and "K"
>
> thx for any info
>
> regards, dejan
>
>
> --
> The modern datacenter depends on network connectivity to access resources
> and provide services. The best practices for maximizing a physical 
> server's
> connectivity to a physical network are well understood - see how these
> rules translate into the virtual world?
> http://p.sf.net/sfu/oracle-sfdevnlfb
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>
 --
 The modern datacenter depends on network connectivity to access resources
 and provide services. The best practices for maximizing a physical server's
 connectivity to a physical network are well understood - see how these
 rules translate into the virtual world?
 http://p.sf.net/sfu/oracle-sfdevnlfb
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>>
>>>
>> --
>> The modern datacenter depends on network connectivity to access resources
>> and provide services. The best practices for maximizing a physical server's
>> connectivity to a physical network are well understood - see how these
>> rules translate into the virtual world?
>> http://p.sf.net/sfu/oracle-sfdevnlfb
>> ___
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximi

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 - 
>> queryeditor-attributeCriteriaComparisonNone, 
>> queryeditor-attributeCriteriaComparisonNum and 
>> queryeditor-attributeCriteriaComparisonTxt. As I can they get hidden in 
>> setAttributeType function, that is called by setAttributeName called by 
>> setLayerName. setLayerName is also called by reset() function that is again 
>> called by ready() function which sets default interface status. So, should 
>> the two comparison fields be hidden by default?
> 
> OK, I've done the changes. I will commit them ASAP.
> 
>> 2. I am using Quesry Editor by manually changing the values in "Generated 
>> Query" frame. When I have focus in this frame, every press on the arrow key 
>> makes the map pan. Is it possible to disable panning when focus is in this 
>> frame?
>> 
> 
> What is your p.mapper version? And your web browser ?
The version is 4.0. Browser is FF.
> 
> 
>> Thanks very much. This plugin is of so much help :D
> 
> You're welcomed!
> 
> Thomas
> 
> 
>> regards, dejan
>> On 7. vel. 2011., at 11:49, Thomas RAFFIN wrote:
>> 
>>> 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 after it:
>>> if ($layers&&  array_key_exists('name', $layers)) $layers = array($layers);
>>> 
>>> Thanks
>>> 
>>> Thomas
>>> 
>>> Le 04/02/2011 15:48, Dejan Gambin a écrit :
 Hi,
 
 I don't know if this is a bug or I am doing some stupid mistake:
 
 When I set layersType to 2 and have just one queryable layer I get 2 (and 
 wrong) values in Layer name select list (instead of one). I have this 
 defined in xml file:
 
 

2


kbroj
KBR


dynwin

 
 
 The values I get in Layer name select list are "k" and "K"
 
 thx for any info
 
 regards, dejan
 
 
 --
 The modern datacenter depends on network connectivity to access resources
 and provide services. The best practices for maximizing a physical server's
 connectivity to a physical network are well understood - see how these
 rules translate into the virtual world?
 http://p.sf.net/sfu/oracle-sfdevnlfb
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 
 
>>> --
>>> The modern datacenter depends on network connectivity to access resources
>>> and provide services. The best practices for maximizing a physical server's
>>> connectivity to a physical network are well understood - see how these
>>> rules translate into the virtual world?
>>> http://p.sf.net/sfu/oracle-sfdevnlfb
>>> ___
>>> pmapper-users mailing list
>>> pmapper-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>> 
>> 
>> 
> 
> --
> The modern datacenter depends on network connectivity to access resources
> and provide services. The best practices for maximizing a physical server's
> connectivity to a physical network are well understood - see how these
> rules translate into the virtual world? 
> http://p.sf.net/sfu/oracle-sfdevnlfb
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users


--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


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-attributeCriteriaComparisonNum and 
> queryeditor-attributeCriteriaComparisonTxt. As I can they get hidden in 
> setAttributeType function, that is called by setAttributeName called by 
> setLayerName. setLayerName is also called by reset() function that is again 
> called by ready() function which sets default interface status. So, should 
> the two comparison fields be hidden by default?

OK, I've done the changes. I will commit them ASAP.

> 2. I am using Quesry Editor by manually changing the values in "Generated 
> Query" frame. When I have focus in this frame, every press on the arrow key 
> makes the map pan. Is it possible to disable panning when focus is in this 
> frame?
>

What is your p.mapper version? And your web browser ?


> Thanks very much. This plugin is of so much help :D

You're welcomed!

Thomas


> regards, dejan
> On 7. vel. 2011., at 11:49, Thomas RAFFIN wrote:
>
>> 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 after it:
>> if ($layers&&  array_key_exists('name', $layers)) $layers = array($layers);
>>
>> Thanks
>>
>> Thomas
>>
>> Le 04/02/2011 15:48, Dejan Gambin a écrit :
>>> Hi,
>>>
>>> I don't know if this is a bug or I am doing some stupid mistake:
>>>
>>> When I set layersType to 2 and have just one queryable layer I get 2 (and 
>>> wrong) values in Layer name select list (instead of one). I have this 
>>> defined in xml file:
>>>
>>>  
>>> 
>>> 2
>>> 
>>> 
>>> kbroj
>>> KBR
>>> 
>>> 
>>> dynwin
>>> 
>>>  
>>>
>>> The values I get in Layer name select list are "k" and "K"
>>>
>>> thx for any info
>>>
>>> regards, dejan
>>>
>>>
>>> --
>>> The modern datacenter depends on network connectivity to access resources
>>> and provide services. The best practices for maximizing a physical server's
>>> connectivity to a physical network are well understood - see how these
>>> rules translate into the virtual world?
>>> http://p.sf.net/sfu/oracle-sfdevnlfb
>>> ___
>>> pmapper-users mailing list
>>> pmapper-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>>
>>>
>>>
>> --
>> The modern datacenter depends on network connectivity to access resources
>> and provide services. The best practices for maximizing a physical server's
>> connectivity to a physical network are well understood - see how these
>> rules translate into the virtual world?
>> http://p.sf.net/sfu/oracle-sfdevnlfb
>> ___
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


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 prefer if you have a look at it. If you think that it is ok, 
please submit it.

The main change I made is to avoid dynamic JavaScript code 
generated with PHP. This is because the p.mapper 4 plugin code 
does not allow $jsFiles to be PHP files.

So the JavaScript init function must get the plugin configuration 
via an AJAX call.

> (feel free to update 
> the doc: http://svn.pmapper.net/trac/wiki/PluginsToc).

If you upload the new code, I will have a look at it.

Thank you very much.

-- 
Niccolo Rigacci
Firenze - Italy


addbuttonstogroups.tgz
Description: GNU Unix tar archive
--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


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-attributeCriteriaComparisonTxt. As I can they get hidden in 
setAttributeType function, that is called by setAttributeName called by 
setLayerName. setLayerName is also called by reset() function that is again 
called by ready() function which sets default interface status. So, should the 
two comparison fields be hidden by default?

2. I am using Quesry Editor by manually changing the values in "Generated 
Query" frame. When I have focus in this frame, every press on the arrow key 
makes the map pan. Is it possible to disable panning when focus is in this 
frame?

Thanks very much. This plugin is of so much help :D

regards, dejan
On 7. vel. 2011., at 11:49, Thomas RAFFIN wrote:

> 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 after it:
> if ($layers && array_key_exists('name', $layers)) $layers = array($layers);
> 
> Thanks
> 
> Thomas
> 
> Le 04/02/2011 15:48, Dejan Gambin a écrit :
>> Hi,
>> 
>> I don't know if this is a bug or I am doing some stupid mistake:
>> 
>> When I set layersType to 2 and have just one queryable layer I get 2 (and 
>> wrong) values in Layer name select list (instead of one). I have this 
>> defined in xml file:
>> 
>> 
>>  
>>  2
>>  
>>  
>>  kbroj
>>  KBR
>>  
>>  
>>  dynwin
>>  
>> 
>> 
>> The values I get in Layer name select list are "k" and "K"
>> 
>> thx for any info
>> 
>> regards, dejan
>> 
>> 
>> --
>> The modern datacenter depends on network connectivity to access resources
>> and provide services. The best practices for maximizing a physical server's
>> connectivity to a physical network are well understood - see how these
>> rules translate into the virtual world?
>> http://p.sf.net/sfu/oracle-sfdevnlfb
>> ___
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>> 
>> 
>> 
> 
> --
> The modern datacenter depends on network connectivity to access resources
> and provide services. The best practices for maximizing a physical server's
> connectivity to a physical network are well understood - see how these
> rules translate into the virtual world? 
> http://p.sf.net/sfu/oracle-sfdevnlfb
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users


--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


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 after it:
if ($layers && array_key_exists('name', $layers)) $layers = array($layers);

Thanks

Thomas

Le 04/02/2011 15:48, Dejan Gambin a écrit :
> Hi,
>
> I don't know if this is a bug or I am doing some stupid mistake:
>
> When I set layersType to 2 and have just one queryable layer I get 2 (and 
> wrong) values in Layer name select list (instead of one). I have this defined 
> in xml file:
>
>  
>   
>   2
>   
>   
>   kbroj
>   KBR
>   
>   
>   dynwin
>   
>  
>
> The values I get in Layer name select list are "k" and "K"
>
> thx for any info
>
> regards, dejan
>
>
> --
> The modern datacenter depends on network connectivity to access resources
> and provide services. The best practices for maximizing a physical server's
> connectivity to a physical network are well understood - see how these
> rules translate into the virtual world?
> http://p.sf.net/sfu/oracle-sfdevnlfb
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


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).

Thanks

An other point: I saw in you website you use "SELECT 
ST_Expand(ST_Extent(the_geom), 1000) FROM tablename;"to manually write 
map extent in your mapfile. I've written a plugin to do it dynamically 
in p.mapper: 
http://svn.pmapper.net/trac/wiki/PluginsMap#Autocalculatereferencemap

Thomas

Le 05/02/2011 13:35, Niccolo Rigacci a écrit :
> Hello,
>
> as far I can understand, the plugin addbuttonstogroups is totally
> broken with the current p.mapper-dev.
>
> With some fixing, I managed it to work.
>
> It is worth to submit it upstream or the plugin is to be
> discontinued or refactored by its author?
>

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


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 request, the page called is 
printmap.phtml. It will create a "PDF" class (defined in 
incphp/print/printpdf.php).

You have many solutions.
1) retrieve the value in printmap.phtml ($yourValue = 
$_REQUEST['.'];) and change the "PDF" constructor with this new 
parameter (and write the code to use the value in "PDF" class!)
2) retrieve the value in printmap.phtml, add it to the "$pdfSettings" 
variable and write the code to use the value in "PDF" class
3) retrieve the value in "getPrintParams" function of 
incphp/print/printxml.php like it is done for printtitle and write the 
code to use the value in "PDF" class
...

Good luck!

Thomas

Le 30/01/2011 05:01, John Beck a écrit :
> Dear List,
>
> I want to pass a variable to the print.xml file to use as the print title.  I 
> looked at the documentation but I am not sure how in xml you can pass through 
> the url or with php a variable to the $$printtitle variable.  Can anyone 
> point me in the right direction.  I would like to pass thru the URL a 
> variable that would be used as the Print Title on the PDF print page. Thanks
>
> JB
> --
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


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 a section of
> debugging under the FAQ's.
>
> armin
>
> On 02/02/2011 20:02, Pino Scalamandrè wrote:
>> Hello everyone
>> I'm moving to the  4.1.1 version that I have installed with MS4W.
>> I have problems with  ECW images format.
>> Can anyone help me?
>> Pino
>> --
>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>> Finally, a world-class log management solution at an even better price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> ___
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>
> --
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


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_geom, name, id, age, . 
FROM ...);

Then use it in your mapfile:
DATA "the_geom FROM your_view_name USING UNQIUE gid"

With those 2 methods you will only have the specified fields in p.mapper 
(graphical and attribute queries).


Thomas

Le 03/02/2011 16:16, wsbd008 a ??crit :

Hello,

I'm using the QueryEditor. But I think what it does is to change the WHERE 
clause but not filter the columns. I'm not sure if p.mapper has this function.

Yuduo




At 2011-02-02 18:01:31??"Michael Gr??n"  wrote:


Hi,

with the plugin QueryEditor it's possible to make more detailed queries

http://svn.pmapper.net/trac/wiki/PluginsQuery

Cheers, Michael



-Urspr??ngliche Nachricht-
Von: wsbd008 [mailto:wsbd...@163.com]
Gesendet: Dienstag, 1. Februar 2011 22:00
An: pmapper-users@lists.sourceforge.net
Betreff: [pmapper-users] Query layer for some columns

Hello to all,

I don't know if p.mapper supports the searching for some particular columns.
It looks like p.mapper just supports like " SELECT * FROM " but not "
SELECT name, id, age,... FROM ...".

Does anybody know how to do that? Thank you!

Yuduo



--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users