Re: [pmapper-users] graphicalqueries

2017-02-11 Thread Sylvain Arabeyre
Hi Alexandre,

For the graphical queries plugin to work you need to modify the following
file:
plugins\common\selectTools.inc.php
Line 272, add "$newSelectObj[1] = new stdClass();" (without quotation marks)
so that the code part corresponding to the extent looks like this:

// extent:
$tmpTab2[0] = $xMin;
$tmpTab2[1] = $yMin;
$tmpTab2[2] = $xMax;
$tmpTab2[3] = $yMax;
$newSelectObj[1] = new stdClass();
$newSelectObj[1]->allextent = 
implode("+", $tmpTab2);
$newSelectObj[1]->zoomall = 
$selectObj[1]->zoomall;
$newSelectObj[1]->autozoom = 
$selectObj[1]->autozoom;
$newSelectObj[1]->infoWin = 
$selectObj[1]->infoWin;

Do the same line 441 and th plugin should work! 
Have a good day!




--
View this message in context: 
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-graphicalqueries-tp4025910p4025911.html
Sent from the pmapper-users -- p.mapper users mailing list mailing list archive 
at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Fwd: layerinfo plugin - dialog container

2015-07-03 Thread Sylvain Arabeyre
Hi José:

Are you talking about the dialog container of the layerinfo plugin?
If so, you are changing the values in the right file (layerinfo.js located
in the following
folder: C:\ms4w\apps\pmapper\pmapper-4.3.X\plugins\layerinfo\)
I had a look at this file and the first lines look like this:

$.extend(PM.Custom,
{

dlgOptions: {width:595, height:520, left:25, top:130, resizeable:true,
newsize:false, container:'pmDlgContainer'},

When I changed the width and height in this file, the modifications worked
out fine (after refreshing the page).
I don't understand where the error comes from, it should work the way you
did it.
However, it might be a cookie-related problem.
Did you disable the use of cookies in C:\ms4w\Apache\cgi-bin\php.ini?
If not, it could be the reason why you can't see the changes you made in
layerinfo.js.
To disable cookies, you need to change session.use_cookies = 1 to
session.use_cookies = 0 in php.ini (around line 1400).
Hope this was helpful!

Best regards,
Sylvain.


2015-07-03 10:48 GMT+02:00 jose mvm jose.ma...@gmail.com:

 Hi,

 How can i resize the dialog container?
 I tried to change settings in the layerinfo.js file

  - dlgOptions: {width:300, height:200, resizeable:true, newsize:false,
 container:'pmDlgContainer'},

 I tried also identify, through the firebug inspector, where i could change
 the size but I couldn't understand...

  - div id=pmDlgContainer class=jqmDialog jqmID1 style=z-index:
 99;
 height: 200px; width: 300px; display: block; opacity: 100;

 Can anyone help me, please?

 Thank you in advance
 Best Regards
 José



 --
 View this message in context:
 http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/layerinfo-plugin-dialog-container-tp4025776.html
 Sent from the pmapper-users -- p.mapper users mailing list mailing list
 archive at Nabble.com.


 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] query editor - text coloumns - no records selected - final

2014-01-03 Thread Sylvain Arabeyre
Hi,

As Thomas referred, you should try the last version of pmapper.
If you're not into it, you can have a look at  this post
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Query-editor-source-code-issues-td4025330.html
 
.
It might help you.
Regards.

Sylvain.
harpinder singh wrote
 Hello!
 
 I am using 
 
 MapServer 4 Windows - version 3.0.6 on windows XP.
 
 pmapper 4.3.1 - BUILD 2013-04-04
 
 PHP 5.4.3 
 
 MapServer CGI 6.0.3
 
 
 
 I am using shapefiles for my project. The problem is that when i query
 text columns in the 
 
 query editor, no record are selected. But, when I use numeric field
 queryeditor is working 
 
 fine.
 
 
 
 Log of numeric column giving no error:
 
 
 
 [03-Jan-2014 07:39:45] P.MAPPER debug info 
 
 Parameters for REQUEST array 
 
 file: query.php-q_execAttributeQuery 
 
 
 
  Array
 
 (
 
 [operation] = query
 
 [layername] = mogavill
 
 [layerType] = shape
 
 [query] = [AREA] new
 
 [externalSearchDefinition] = 1
 
 [mode] = search
 
 [layerName] = mogavill
 
 [firstFld] = AREA
 
 [qStr] = (([AREA]q_execAttributeQuery 
 
 
 
  Array
 
 (
 
 [operation] = query
 
 [layername] = mogavill
 
 [layerType] = shape
 
 [query] = [VILLAGE_NA] LIKE 'M%'
 
 [selectMethode] = new
 
 [externalSearchDefinition] = 1
 
 [mode] = search
 
 [layerName] = mogavill
 
 [firstFld] = VILLAGE_NA
 
 [qStr] = (( [VILLAGE_NA] = /^M/))
 
 )
 
 
 
 Kindly provide a solution as it is urgent. I think the problem is with the
 query string, but 
 
 not able to solve it.
 
 --
 Rapidly troubleshoot problems before they affect your business. Most IT 
 organizations don't have a clear picture of how application performance 
 affects their revenue. With AppDynamics, you get 100% visibility into your 
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics
 Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 pmapper-users mailing list

 pmapper-users@.sourceforge

 https://lists.sourceforge.net/lists/listinfo/pmapper-users





--
View this message in context: 
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-query-editor-text-coloumns-no-records-selected-final-tp4025441p4025443.html
Sent from the pmapper-users -- p.mapper users mailing list mailing list archive 
at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Mutual disable groups of layers

2013-10-04 Thread Sylvain Arabeyre
Dear all,

I would like to know if it is possible to set the mutualDisableList tag
so that the layers a mutually disabled by groups.
Say I have 6 layers: A, B, C, D, E, F.
I would like the layer A to be turned off when I turn on the layer B (and
vice versa) and layer C turned off when I turn on D and layer E turned off
when I turn on layer F.
Is there a way to do this in pmapper?
I tried to repeat the tag mutualDisableList but it doesn't work.

Thanks in advance!
Sylvain .
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Query editor source code issues?

2013-10-01 Thread Sylvain Arabeyre
Dear all,

While using the query editor plugin, I've came across some troubles. As I
am not sure whereas the problems I've encountered are related to the source
code or to my local installation, I send you the errors (and corrections
I've made) for anybody to evaluate if the source code must be modified or
not.
I run pmapper 4.3.1 on windows 7 and XP with the ms4W package (MS4W 3.0.6
with Mapserver 6.0.3).
First of all, I found out that when trying to query a field whith text, the
query wouldn't retrieve any results. I went to see the pm_debug.log (in
\ms4w\apps\pmapper\pmapper-4.3.1\plugins\queryeditor\) and found out that
the query string which was passed to Mapserver was not correct.
Here is an example of what was on pm_debug.log:

[30-Sep-2013 19:32:34] P.MAPPER debug info
Parameters for REQUEST array
file: query.php-q_execAttributeQuery

 Array
(
[PHPSESSID] = rdpo6s4e0ktp14a2uhr216lik7
[operation] = query
[layername] = Conduta
[layerType] = shape
[query] = [Material] ILIKE 'PVC'
[selectMethode] = new
[externalSearchDefinition] = 1
[mode] = search
[layerName] = Conduta
[firstFld] = MATERIAU
[qStr] = (( [MATERIAU] ~ /^PVC$/))
)

What should have been passed to Mapserver is this:

 Array
(
[PHPSESSID] = vq055tjimjg95k7ur1902839g5
[operation] = query
[layername] = Conduta
[layerType] = shape
[query] = [Material] ILIKE 'pvc'
[selectMethode] = new
[externalSearchDefinition] = 1
[mode] = search
[layerName] = Conduta
[firstFld] = MATERIAU
[qStr] = (( [MATERIAU] ~ 'pvc'))
)

Therefore, I changed the following in
\ms4w\apps\pmapper\pmapper-4.3.1\plugins\queryeditor\x_queryeditor.php:

$modifiedQueryTmp =
preg_replace(/([^\[]*)\[([^\]]*)\]\s*([^\s]*)\s*'([^']*[^\\\])'/, $1
\[$2]\ $3 /'$4'/, $modifiedQueryWithoutEOL); (around line 134 in my file)

to

$modifiedQueryTmp =
preg_replace(/([^\[]*)\[([^\]]*)\]\s*([^\s]*)\s*'([^']*[^\\\])'/, $1
\[$2]\ $3 '$4', $modifiedQueryWithoutEOL);

so that the string that is passed to Mapserver is compliant with the
Mapserver expressions.


Another error I came across with was, again, related to the syntax and
the query string passed to Mapserver (it was not compliant with Mapserver
expressions) with the term ILIKE.
Line 136 in x_queryeditor.php, I changed the following

$modifiedQueryTmp = str_replace( ILIKE ,  =~ , $modifiedQueryTmp);

to

$modifiedQueryTmp = str_replace( ILIKE ,  ~, $modifiedQueryTmp);
This last one can also be changed to
$modifiedQueryTmp = str_replace( ILIKE ,  =*, $modifiedQueryTmp);


Finally, I also had to modify the file
ms4w\apps\pmapper\pmapper-4.3.1\plugins\queryeditor\queryeditor.js also
because of errors related to the query string passed to Mapserver. Line
393, I changed:

} else if (attrOperator == 'different') {
queryPartToAdd += '  ' + attrVal;

to

} else if (attrOperator == 'different') {
queryPartToAdd += ' != ' + attrVal;

so that the string passed to Mapserver complies with Mapserver expressions
ie, to get attribute value is different from value, Mapserver must
read [ATTRIBUTE]!=VALUE instead of [ATTRIBUTE]VALUE.


I also made an optional change in queryeditordlg.phtml as I find more
user-friendly to have the symbol ≠ instead of != for the user to read
is different from. Line 148 in queryeditordlg.phtml, I changed

option label=!= value=different!=/option

to

 option label=ne; value=differentne;/option

This last one is not critical but I think, for people who are not used to
programming languages, it would make it easier for a common user to
understand the ≠ instead of !=

Anybody knows if the changes I've made are related to my local installation
or if it's a code-related issue?Some people I know who are using pmapper
with ms4w have also encountered the same problems and solved them with the
suggestions I make in this post.


Best regards,
Sylvain Arabeyre.
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] excel download

2013-06-06 Thread Sylvain Arabeyre
Hi Thomas,

Thank you for your reply.
I updated all my PEAR packages and the problem remains.
Therefore, I changed the error_reporting to E_ALL  ~E_NOTICE  ~E_STRICT
and now everything is working fine.
Once again thanks a lot for the support!


2013/6/6 Thomas RAFFIN traf...@sirap.fr

 Hi,

 This is the same issue that previously posted concerning Graphical
 queries plugin. Some part of PHP code are a little bit too old and some
 warnings are written in your PHP error log.

 Try to update the PEAR libs: OLE, Excel_Spreadsheet, ... and if it is
 not sufficiant, change your php.ini as you mentioned in a previous e-mail.

 Thomas

 Le 05/06/2013 17:37, Sylvain Arabeyre a écrit :
  Hi all,
 
  I've had the same problem with the export plugin and tried the suggestion
  from Suman (with pmapper 4.3.1 - ms4w version 3.0.6).
 
  However, once I made the correction suggested, I got the following errors
  from php_errors.log:
 
  PHP Strict Standards:  Non-static method OLE::Asc2Ucs() should not be
 called
  statically, assuming $this from incompatible context in
  C:\ms4w\Apache\php\pear\Spreadsheet\Excel\Writer\Workbook.php on line 573
  PHP Strict Standards:  Non-static method System::tmpdir() should not be
  called statically, assuming $this from incompatible context in
  C:\ms4w\Apache\php\pear\OLE\PPS\File.php on line 50
  PHP Strict Standards:  Non-static method System::tmpdir() should not be
  called statically, assuming $this from incompatible context in
  C:\ms4w\Apache\php\pear\OLE\PPS\Root.php on line 56
  PHP Strict Standards:  Non-static method OLE::Asc2Ucs() should not be
 called
  statically, assuming $this from incompatible context in
  C:\ms4w\Apache\php\pear\OLE\PPS\Root.php on line 59
  PHP Strict Standards:  Non-static method OLE::LocalDate2OLE() should not
 be
  called statically, assuming $this from incompatible context in
  C:\ms4w\Apache\php\pear\OLE\PPS.php on line 190
  PHP Strict Standards:  Non-static method OLE::LocalDate2OLE() should not
 be
  called statically, assuming $this from incompatible context in
  C:\ms4w\Apache\php\pear\OLE\PPS.php on line 191
  PHP Strict Standards:  Non-static method OLE::LocalDate2OLE() should not
 be
  called statically, assuming $this from incompatible context in
  C:\ms4w\Apache\php\pear\OLE\PPS.php on line 190
  PHP Strict Standards:  Non-static method OLE::LocalDate2OLE() should not
 be
  called statically, assuming $this from incompatible context in
  C:\ms4w\Apache\php\pear\OLE\PPS.php on line 191
 
  I noticed that if I modify the error_reporting parameter from E_ALL 
  ~E_NOTICE (default value) to E_ALL  ~E_NOTICE  ~E_STRICT in php.ini,
  the errors mentioned above do not occur and the export to excel plugin
 works
  fine...
  Nevertheless, I'm not sure of the consequences of modifying the
  error_reporting parameter on my pmapper application!
  Any hint?
 
  Thanks.
  Sylvain.
 
 
 
  --
  View this message in context:
 http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-excel-download-tp4025014p4025219.html
  Sent from the pmapper-users -- p.mapper users mailing list mailing list
 archive at Nabble.com.
 
 
 --
  How ServiceNow helps IT people transform IT departments:
  1. A cloud service to automate IT design, transition and operations
  2. Dashboards that offer high-level views of enterprise services
  3. A single system of record for all IT processes
  http://p.sf.net/sfu/servicenow-d2d-j
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 



 --
 How ServiceNow helps IT people transform IT departments:
 1. A cloud service to automate IT design, transition and operations
 2. Dashboards that offer high-level views of enterprise services
 3. A single system of record for all IT processes
 http://p.sf.net/sfu/servicenow-d2d-j
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Graphical queries doesn't update attribute table and map with exclude from current selection and intersect with current selection

2013-06-05 Thread Sylvain Arabeyre
Dear all,

I finally succeeded to get the gaphical queries plugin to work properly.
In the php.ini file, I changed the error_reporting from error_reporting =
E_ALL  ~E_NOTICE to error_reporting = E_ALL  E_STRICT.
As I have no knowledge of php, I would like to know what are the
consequences of this change in my pmapper application?

Thanks.
Sylvain. 



--
View this message in context: 
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Graphical-queries-doesn-t-update-attribute-table-and-map-with-exclude-from-current-sel-tp4025197p4025214.html
Sent from the pmapper-users -- p.mapper users mailing list mailing list archive 
at Nabble.com.

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Graphical queries doesn't update attribute table and map with exclude from current selection and intersect with current selection

2013-06-05 Thread Sylvain Arabeyre
Hi,

With error_reporting set to  E_ALL  ~E_NOTICE (default) in php.ini, the
errors from \plugins\graphicalqueries\php_errors.log are:

 -- PHP Warning:  Creating default object from empty value in
C:\ms4w\apps\pmapper\pmapper-4.3.1\plugins\common\selectTools.inc.php on
line 272 for the Remove the current selection tool.
 
 -- PHP Warning:  Creating default object from empty value in
C:\ms4w\apps\pmapper\pmapper-4.3.1\plugins\common\selectTools.inc.php on
line 440 for the Intersect with current selection tool

Thanks.
Sylvain.



--
View this message in context: 
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Graphical-queries-doesn-t-update-attribute-table-and-map-with-exclude-from-current-sel-tp4025197p4025216.html
Sent from the pmapper-users -- p.mapper users mailing list mailing list archive 
at Nabble.com.

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Graphical queries doesn't update attribute table and map with exclude from current selection and intersect with current selection

2013-06-05 Thread Sylvain Arabeyre
Thanks a lot!
The plugin now works perfectly!
Another question related to this plugin:
How can I remove the button Buffer zone since this selection that appears
at the bottom of the attribute table?




--
View this message in context: 
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Graphical-queries-doesn-t-update-attribute-table-and-map-with-exclude-from-current-sel-tp4025197p4025218.html
Sent from the pmapper-users -- p.mapper users mailing list mailing list archive 
at Nabble.com.

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] excel download

2013-06-05 Thread Sylvain Arabeyre
Hi all,

I've had the same problem with the export plugin and tried the suggestion
from Suman (with pmapper 4.3.1 - ms4w version 3.0.6).

However, once I made the correction suggested, I got the following errors
from php_errors.log:

PHP Strict Standards:  Non-static method OLE::Asc2Ucs() should not be called
statically, assuming $this from incompatible context in
C:\ms4w\Apache\php\pear\Spreadsheet\Excel\Writer\Workbook.php on line 573
PHP Strict Standards:  Non-static method System::tmpdir() should not be
called statically, assuming $this from incompatible context in
C:\ms4w\Apache\php\pear\OLE\PPS\File.php on line 50
PHP Strict Standards:  Non-static method System::tmpdir() should not be
called statically, assuming $this from incompatible context in
C:\ms4w\Apache\php\pear\OLE\PPS\Root.php on line 56
PHP Strict Standards:  Non-static method OLE::Asc2Ucs() should not be called
statically, assuming $this from incompatible context in
C:\ms4w\Apache\php\pear\OLE\PPS\Root.php on line 59
PHP Strict Standards:  Non-static method OLE::LocalDate2OLE() should not be
called statically, assuming $this from incompatible context in
C:\ms4w\Apache\php\pear\OLE\PPS.php on line 190
PHP Strict Standards:  Non-static method OLE::LocalDate2OLE() should not be
called statically, assuming $this from incompatible context in
C:\ms4w\Apache\php\pear\OLE\PPS.php on line 191
PHP Strict Standards:  Non-static method OLE::LocalDate2OLE() should not be
called statically, assuming $this from incompatible context in
C:\ms4w\Apache\php\pear\OLE\PPS.php on line 190
PHP Strict Standards:  Non-static method OLE::LocalDate2OLE() should not be
called statically, assuming $this from incompatible context in
C:\ms4w\Apache\php\pear\OLE\PPS.php on line 191

I noticed that if I modify the error_reporting parameter from E_ALL 
~E_NOTICE (default value) to E_ALL  ~E_NOTICE  ~E_STRICT in php.ini,
the errors mentioned above do not occur and the export to excel plugin works
fine... 
Nevertheless, I'm not sure of the consequences of modifying the
error_reporting parameter on my pmapper application!
Any hint?

Thanks.
Sylvain.



--
View this message in context: 
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-excel-download-tp4025014p4025219.html
Sent from the pmapper-users -- p.mapper users mailing list mailing list archive 
at Nabble.com.

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Graphical queries doesn't update attribute table and map with exclude from current selection and intersect with current selection

2013-06-04 Thread Sylvain Arabeyre
Dear all,

I still can't get the graphical queries plugin to work properly with the
tools 'Exclude from the current selection' and 'Intersect with current
selection'.

I've installed the selectionManagement plugin and if use the button Reload
selection after using either the 'Exclude from the current selection' or
'Intersect with current selection', the application will update both map and
attribute table correctly.

My problem is: how can I get the Reload selection to run after using the
'Exclude from the current selection' or and 'Intersect with current
selection' from the graphical plugin ?

Thanks!
Sylvain Arabeyre.



--
View this message in context: 
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Graphical-queries-doesn-t-update-attribute-table-and-map-with-exclude-from-current-sel-tp4025197p4025212.html
Sent from the pmapper-users -- p.mapper users mailing list mailing list archive 
at Nabble.com.

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] search.xml with 2 fields (one depending on another)

2013-05-30 Thread Sylvain Arabeyre
Dear all,I've been struggling with the search.xml and the dependfld
parameter.I want to set a search with 2 fields, one depending on another (a
suggest depending on an option) with shapefile data.My problem is that the
suggest field suggests all values from the data without taking into
account the value chosen in the options field.I've come across  this
thread
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-search-xml-with-2-fields-td4025124.html
  
and tried all the suggestions from there (namely replace the compressed js
files from the ones from trunk) but it still won't work.Here's what my
search.xml looks like:$ 


onchange=$('#pmsfld_DESIGNA').val('').flushCache()



Even when I change the connection to db and point to the .dbf file of the
shapefile, the suggest list from the second field (DESIGNA) will show all
values and not just the values that depend on the first field (TIPE).As
the first field (TIPE) has special characters, I thought this might be an
issue and eliminated them but even though, the search won't work
properly.I'm working with ms4w version 3.0.6 (Apache 2.2.22, PHP 5.4.3,
Mapserver version: 6.0.3) in a Windows SP environment
(SP3).Thanks.Regards,Sylvain.



--
View this message in context: 
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/search-xml-with-2-fields-one-depending-on-another-tp4025207.html
Sent from the pmapper-users -- p.mapper users mailing list mailing list archive 
at Nabble.com.
--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] open pmapper window with active selection

2013-05-24 Thread Sylvain Arabeyre
Dear Valerio, dear all

You can set up the highlight of a feature via the URL adding the following
string to the URL:

zoomLayer=LayerNamezoomQuery=NAME@1@SearchString@0@1

where:

LayerName is the name of the layer to query,
NAME is the name of the field to search (upper case for shapefiles)
1: field type (0 = numerical, 1= alphanumerical)
SearchString is the search string (case sensitive)
0: highlight feature (0 = no, 1= yes) in your case set the value to 1
1: set the maximum map extent to feature extent (0 = no, 1= yes)

Regards.
Sylvain.


2013/5/24 Valerio notis...@gmail.com

 Dear All,
 I inserted in a web page  links that open (in a new window) a pmapper
 webgis at different coordinates extensions, simply zooming and copying the
 link url with a resetsession parameter set to ALL. However, in every view
 I'd like to show a selected (yellow) object. it seems that the object
 selection is not saved in the url. Is it possibile to pass this parameter,
 or modifying the resetsession parameter?

 thanks in advance
 best regards

 Valerio

 --
 Try New Relic Now  We'll Send You this Cool Shirt
 New Relic is the only SaaS-based application performance monitoring service
 that delivers powerful full stack analytics. Optimize and monitor your
 browser, app,  servers with just a few lines of code. Try New Relic
 and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users