[pmapper-users] zoomLayerzoomQuery

2012-01-10 Thread massimo
Hello everyone post for the first time thanks to the valuable aid

I use  pmapper 4.2 and postgres

 I found a different behavior of version 4.2 compared to 2.1 of the string
 zoomLayer=countrieszoomQuery=NAME@1@Italy@1@1

 When I make a zoomQuery, the object is selected, but not
 makes me go back to the full extent of the map, confining
 limit display area occupied by the object defined in zoomQuery thing did
not happen in version 2.1.

 This string I used to solve the following problem.
 I have a postgres database external to the content accessed through the
form in php.
 I have to make a connection between the records displayed in the form and
geometric objects displayed in pmapper through a button located on the same
form.
 Of course, the basic data and shp have a key in common.
 How can I solve this issue?

 Thank you for your help.

 massimo

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

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] GD Driver

2012-01-10 Thread Eduardo Bieñkowski
No se supone que el soporte para estos formatos esta instalado??

Aqui una copia del php_info

MapServer Version MapServer version 6.0.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG





2012/1/10 Eduardo Bieñkowski eduko...@gmail.com

 Bueno he corregido el tema de la session, un nuevo error me envia el
 php_error

 [10-Jan-2012 10:38:31] PHP Warning:  ms_newMapObj(): [MapServer Error]:
 loadLabel(): Parsing error near (BACKGROUNDCOLOR):(line 674)
  in /var/www/pmapper-4.0/incphp/globals.php on line 60
 [10-Jan-2012 10:38:31] PHP Warning:  ms_newMapObj(): [MapServer Error]:
 msOutputFormatValidate(): OUTPUTFORMAT png has IMAGEMODE RGB/RGBA, which is
 not supported for GD drivers.
  in /var/www/pmapper-4.0/incphp/globals.php on line 60
 [10-Jan-2012 10:38:31] PHP Fatal error:  Uncaught exception
 'MapScriptException' with message 'Failed to open map file
 /var/www/pmapper-4.0/config/default/mapfile.map' in
 /var/www/pmapper-4.0/incphp/globals.php:60
 Stack trace:
 #0 /var/www/pmapper-4.0/incphp/globals.php(60):
 ms_newMapObj('/var/www/pmappe...')
 #1 /var/www/pmapper-4.0/map.phtml(37): require_once('/var/www/pmappe...')
 #2 {main}
   thrown in /var/www/pmapper-4.0/incphp/globals.php on line 60

 En teoría tengo problema con GD Driver
 --
 Eduardo




-- 
Eduardo
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] zoomLayerzoomQuery

2012-01-10 Thread massimo
Thanks for the quick response!

But once you have the zoom in does not return to maximum extension.

I have to close and restart everything.
Massimo

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

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] zoomLayerzoomQuery

2012-01-10 Thread Armin Burger
Did you follow the advice of Thomas?
using  zoomQuery=NAME@1@Italy@1@0

I don't completely understand your problem since the description is 
lacking some details. Looks like it could be related to sticky 
sessions (when enabling cookies for the session). Add a line in your 
config xml file under config
   pm_resetsessionALL/pm_resetsession
Maybe this does what you might want to achieve.

armin


On 10/01/2012 21:19, massimo wrote:
 Thanks for the quick response!

 But once you have the zoom in does not return to maximum extension.

 I have to close and restart everything.
 Massimo

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

 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users



--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users