Re: [pmapper-users] Fw: Re: selectionManagement plugin

2011-04-09 Thread Armin Burger
On 08/04/2011 22:28, Chris Jackson wrote:
> Armin
>
> Thanks for your thoughts, I was thinking along the lines of
> http://geoservices.aena-upm.es/map/map.phtml.  I hear your session
> concerns, I was thinking many elements would be shared, with a master
> layout and a child add-on that would just allow loading of different
> layers.  Can you explain further about custom session management -
> couldn't see it on the wiki.

There is no description in the wiki. The session is managed by the file 
"pmsession.php". In its default set up it only runs "session_start()". 
But this can be customized, eg. using databases for storing sessions or 
have other custom functionality integrated.


>
> As for performance, it was mainly down to my lack of understanding (it
> is better now and I use pre-classifying and indexes on vector
> shapefiles, and internal tiling/overviews on raster tiffs and consistent
> projections).  Though I still don't understand how a 80mb tiff with UK
> coverage takes longer than a 2gb tiff with much smaller localised
> coverage (with similar optimisation) to render when using classes - does
> spatial coverage add such an overhead? - I didn't think it was worth
> external tiling, maybe I should re-consider.  In general I am impressed
> with rendering and select performance (using the right browser...). My
> benchmarks are ESRI webgis products and considering the difference in
> pricewell!!
>

an 80 MB Tiff should not take much time to render if overviews are 
defined. In principal it should even run quite fast without any 
overviews set, at least that's what I discovered with ENVI files of 25 - 
70 MB, and they're also defined using classes depending on pixel values. 
I don't think the spatial extent plays any role, the ENVI files I 
mentioned have a European coverage.

armin


> Cheers
> Chris
>

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Fw: Re: selectionManagement plugin

2011-04-09 Thread Andreas Douvalis
I have tested export plugin and It works perfect now (after your modifications).
Generally I use the above plugins:
            export            scalebar    
        transparency     queryeditor  
    wmsclient    
mapselect    coordinates      
        selectionManagement  
Queryeditor also works perfect. (I use one old version of this plugin and I 
have made some modifications). 

--- Στις Παρ., 08/04/11, ο/η Thomas RAFFIN  έγραψε:

Από: Thomas RAFFIN 
Θέμα: Re: [pmapper-users] Fw: Re:  selectionManagement plugin
Προς: pmapper-users@lists.sourceforge.net
Ημερομηνία: Παρασκευή, 8 Απρίλιος 2011, 17:36

Thanks!

Have you try other plugins?

Le 08/04/2011 16:19, Andreas Douvalis a écrit :
> Thank you very much .
> It works perfect now. 
> This plugin is very usefull. 
>
> --- Στις Παρ., 08/04/11, ο/η Thomas RAFFIN  έγραψε:
>
> Από: Thomas RAFFIN
> Θέμα: Re: [pmapper-users] selectionManagement plugin
> Προς: pmapper-users@lists.sourceforge.net
> Ημερομηνία: Παρασκευή, 8 Απρίλιος 2011, 15:44
>
> As you are using ms 5.6, I think I know why it doesn't works.
>
> Try this (I will not commit it because MS 6 will soon be released, and
> the API will change again):
> 1 - incphp/query/squery :
>
>        - line 102, add
>   a parameter to printResultRow call to indicate if
> you are using DB layer:
> $this->qStr .= $this->printResultRow($qShape);
> will become
> $this->qStr .= $this->printResultRow($qShape, true);
>
>        - line 112, add this parameter to the called function :
> function printResultRow($qShape)
> will become
> function printResultRow($qShape, $isBbLayer = false)
>
>    - line 117 add this parameter to called "printShapeField" function:
> $this->qStr .= ($this->qLayerType != 3 ? $this->printShapeField($qShape)
> : "\"r\"");
> will become
> $this->qStr .= ($this->qLayerType != 3 ? $this->printShapeField($qShape,
> $isBbLayer) : "\"r\"");
>
>       - line 128, add this parameter to the "printShapeField" fucntion
> function printShapeField($qShape)
> will become
> function printShapeField($qShape, $isBbLayer = false) // or without
> default value, because it is
>   only called once in the code
>
>       - line 133, use this parameter:
> if ($qTileShpIdx != -1) {
> will become
> if (!$isBbLayer&&  $qTileShpIdx != -1) {
>
> 2 - in incphp/common.php, replace
> if ($_SESSION['MS_VERSION']>= 5.6) {
> with
> if ($_SESSION['MS_VERSION']>= 5.6&&  $shapeTileIndex != -1) {
>
> Hopes this helps.
>
> If SHP exports doesn't works I've got an other change to do in
> plugin/export.shp.php
>
> Thomas
>
> Le 08/04/2011 12:42, Andreas Douvalis a écrit :
>> I forgot to inform you that I have Postgresql 8.4 with PostGis 1.5.2.
>>
>> --
>> Xperia(TM) PLAY
>> It's a major breakthrough. An authentic gaming
>> smartphone on the nation's most reliable network.
>> And it wants your games.
>> http://p.sf.net/sfu/verizon-sfdev
>> ___
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>
>>
>>
> --
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
> --
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users
--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users