Re: [pmapper-users] PMapper 5

2014-07-25 Thread Chris Jackson
Thanks Armin for the update, appreciated.  Do you have a future vision for
PMapper with regard to functionality or client platforms, or do you see
theses sort of adaptions down to users of PMapper?

Cheers

Chris
On 24 Jul 2014 19:03, Armin Burger armin.bur...@gmx.net wrote:

 Since there are not many reports about bugs of p.mapper 5 there are no
 fixes that could go into another beta... So far I would say that the
 printing is the main remaining issue. It works as HTML and with layers
 managed via Mapserver (so on your own server). Printing PDF and using
 layers like OSM for the print is still a bigger TODO.

 Another issue is a rewriting of the documentation on the wiki, but so
 far nobody contributed to it, and hence it remains as it is...

 The new developments for p.mapper 4 have been exclusively done by
 Thomas, I will just run the scripts to create the new release files and
 put everything on SF. If Thomas decides to work more on PM-5 to use it
 in his business then there is a high chance that things move forward.

 /a




 On 07/24/2014 10:42 AM, Chris Jackson wrote:
  Hi all
 
  As PMapper moves towards a 4.4 release, I was just wondering if any
  progress was being made with PMapper 5 - (is there a newer beta release
 as
  bugs ave been found etc?)  Out of interest how many of the PMapper 4
  plugins work with v5?
 
  Cheers
  Chris
 
 --
  Want fast and easy access to all the code in your enterprise? Index and
  search up to 200,000 lines of code with a free copy of Black Duck
  Code Sight - the same software that powers the world's largest code
  search on Ohloh, the Black Duck Open Hub! Try it now.
  http://p.sf.net/sfu/bds
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 


 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] PMapper 5

2014-07-24 Thread Chris Jackson
Hi all

As PMapper moves towards a 4.4 release, I was just wondering if any
progress was being made with PMapper 5 - (is there a newer beta release as
bugs ave been found etc?)  Out of interest how many of the PMapper 4
plugins work with v5?

Cheers
Chris
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Querying rasters

2013-11-25 Thread Chris Jackson
Hi Armin

Been off-grid for a bit, thanks for clarifying.  I appreciate it is
selection of pixels, this may be still useful in some situations for
smaller local areas.  I am dealing with model outputs (to date mainly
rectilinear-polygon features),  though may now be dealing with rasterised
flexi-mesh grids instead and trying to maintain the level of data
accessibility where possible.  I wonder whether I need to grab selection
extents and query a separate points feature class instead.

Cheers
Chris


On 22 November 2013 18:17, Armin Burger armin.bur...@gmail.com wrote:

 On 11/22/2013 02:38 PM, Chris Jackson wrote:
  Hi all
 
  I got the old Corine geotiff raster sample working with the usual select
 by
  click tool, but it doesn't work using select by rectangle (doesn't appear
  on the list of layers to choose).
 
  Is this by design or me just missing some configuration?  Can it be done?
 

 by design. You'd definitively not want a select on raster data, and it
 wouldn't make much sense either. See
http://mapserver.org/input/raster.html#raster-query
 and especially the sentence Raster queries on raster layers return one
 point feature for each pixel matching the query.

 So a single feature is a pixel, not the pixels belonging to a class and
 separated from other classes. If your selections are e.g. 5000 pixels
 you would get 5000 records back to display, all with the same values...
 and you'd need to create 5000 points for the highlighting layer. Also,
 one would expect the full area of a homogeneous class block to be
 treated as a single feature (like a single polygon) and selected
 altogether, which is not feasible since every pixel is an independent.

 Think about a global vegetation raster layer, just 1 by 5000 pixels
 which is not really much (e.g. a Tiff with 150 MB). If a user selects
 the whole world you'd select roughly 0.3 * 1 * 5000 pixels and their
 values to be read pixel by pixel...


 --
 Shape the Mobile Experience: Free Subscription
 Software experts and developers: Be at the forefront of tech innovation.
 Intel(R) Software Adrenaline delivers strategic insight and game-changing
 conversations that shape the rapidly evolving mobile landscape. Sign up
 now.
 http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Querying rasters

2013-11-25 Thread Chris Jackson
Cheers Armin will give that a go, out of interest could an attribute search
query (find all pixels between values x and y) be wired to a raster layer?

Chris


On 25 November 2013 20:26, Armin Burger armin.bur...@gmx.net wrote:

 if you want to give it a try with raster layers and selection, change in
   incphp/xajax/x_select.php, line 94
 from
if ($mapLayer-type  3  ...
 to
if ($mapLayer-type  4  ...

 You should turn off highlighting in the XML config file to avoid errors.

 armin

 On 11/25/2013 08:58 PM, Chris Jackson wrote:
  Hi Armin
 
  Been off-grid for a bit, thanks for clarifying.  I appreciate it is
  selection of pixels, this may be still useful in some situations for
  smaller local areas.  I am dealing with model outputs (to date mainly
  rectilinear-polygon features),  though may now be dealing with
 rasterised
  flexi-mesh grids instead and trying to maintain the level of data
  accessibility where possible.  I wonder whether I need to grab selection
  extents and query a separate points feature class instead.
 
  Cheers
  Chris
 
 
  On 22 November 2013 18:17, Armin Burger armin.bur...@gmail.com wrote:
 
  On 11/22/2013 02:38 PM, Chris Jackson wrote:
  Hi all
 
  I got the old Corine geotiff raster sample working with the usual
 select
  by
  click tool, but it doesn't work using select by rectangle (doesn't
 appear
  on the list of layers to choose).
 
  Is this by design or me just missing some configuration?  Can it be
 done?
 
 
  by design. You'd definitively not want a select on raster data, and it
  wouldn't make much sense either. See
  http://mapserver.org/input/raster.html#raster-query
  and especially the sentence Raster queries on raster layers return one
  point feature for each pixel matching the query.
 
  So a single feature is a pixel, not the pixels belonging to a class and
  separated from other classes. If your selections are e.g. 5000 pixels
  you would get 5000 records back to display, all with the same values...
  and you'd need to create 5000 points for the highlighting layer. Also,
  one would expect the full area of a homogeneous class block to be
  treated as a single feature (like a single polygon) and selected
  altogether, which is not feasible since every pixel is an independent.
 
  Think about a global vegetation raster layer, just 1 by 5000 pixels
  which is not really much (e.g. a Tiff with 150 MB). If a user selects
  the whole world you'd select roughly 0.3 * 1 * 5000 pixels and their
  values to be read pixel by pixel...
 
 
 
 --
  Shape the Mobile Experience: Free Subscription
  Software experts and developers: Be at the forefront of tech innovation.
  Intel(R) Software Adrenaline delivers strategic insight and
 game-changing
  conversations that shape the rapidly evolving mobile landscape. Sign up
  now.
 
 http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 
 --
  Shape the Mobile Experience: Free Subscription
  Software experts and developers: Be at the forefront of tech innovation.
  Intel(R) Software Adrenaline delivers strategic insight and game-changing
  conversations that shape the rapidly evolving mobile landscape. Sign up
 now.
 
 http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 


 --
 Shape the Mobile Experience: Free Subscription
 Software experts and developers: Be at the forefront of tech innovation.
 Intel(R) Software Adrenaline delivers strategic insight and game-changing
 conversations that shape the rapidly evolving mobile landscape. Sign up
 now.
 http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Querying rasters

2013-11-25 Thread Chris Jackson
Oh well, thanks again for the info Armin, have a good one.

Cheers
Chris


On 25 November 2013 21:04, Armin Burger armin.bur...@gmail.com wrote:

 from the MS docs:

 Other query operations such as QueryByIndex, QueryByIndexAdd,
 QueryByAttributes and QueryByFeature are not supported for raster layers

 On 11/25/2013 09:59 PM, Chris Jackson wrote:
  Cheers Armin will give that a go, out of interest could an attribute
 search
  query (find all pixels between values x and y) be wired to a raster
 layer?
 
  Chris
 
 
  On 25 November 2013 20:26, Armin Burger armin.bur...@gmx.net wrote:
 
  if you want to give it a try with raster layers and selection, change in
 incphp/xajax/x_select.php, line 94
  from
  if ($mapLayer-type  3  ...
  to
  if ($mapLayer-type  4  ...
 
  You should turn off highlighting in the XML config file to avoid errors.
 
  armin
 
  On 11/25/2013 08:58 PM, Chris Jackson wrote:
  Hi Armin
 
  Been off-grid for a bit, thanks for clarifying.  I appreciate it is
  selection of pixels, this may be still useful in some situations for
  smaller local areas.  I am dealing with model outputs (to date mainly
  rectilinear-polygon features),  though may now be dealing with
  rasterised
  flexi-mesh grids instead and trying to maintain the level of data
  accessibility where possible.  I wonder whether I need to grab
 selection
  extents and query a separate points feature class instead.
 
  Cheers
  Chris
 
 
  On 22 November 2013 18:17, Armin Burger armin.bur...@gmail.com
 wrote:
 
  On 11/22/2013 02:38 PM, Chris Jackson wrote:
  Hi all
 
  I got the old Corine geotiff raster sample working with the usual
  select
  by
  click tool, but it doesn't work using select by rectangle (doesn't
  appear
  on the list of layers to choose).
 
  Is this by design or me just missing some configuration?  Can it be
  done?
 
 
  by design. You'd definitively not want a select on raster data, and it
  wouldn't make much sense either. See
   http://mapserver.org/input/raster.html#raster-query
  and especially the sentence Raster queries on raster layers return
 one
  point feature for each pixel matching the query.
 
  So a single feature is a pixel, not the pixels belonging to a class
 and
  separated from other classes. If your selections are e.g. 5000 pixels
  you would get 5000 records back to display, all with the same
 values...
  and you'd need to create 5000 points for the highlighting layer. Also,
  one would expect the full area of a homogeneous class block to be
  treated as a single feature (like a single polygon) and selected
  altogether, which is not feasible since every pixel is an independent.
 
  Think about a global vegetation raster layer, just 1 by 5000
 pixels
  which is not really much (e.g. a Tiff with 150 MB). If a user selects
  the whole world you'd select roughly 0.3 * 1 * 5000 pixels and
 their
  values to be read pixel by pixel...
 
 
 
 
 --
  Shape the Mobile Experience: Free Subscription
  Software experts and developers: Be at the forefront of tech
 innovation.
  Intel(R) Software Adrenaline delivers strategic insight and
  game-changing
  conversations that shape the rapidly evolving mobile landscape. Sign
 up
  now.
 
 
 http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 
 
 --
  Shape the Mobile Experience: Free Subscription
  Software experts and developers: Be at the forefront of tech
 innovation.
  Intel(R) Software Adrenaline delivers strategic insight and
 game-changing
  conversations that shape the rapidly evolving mobile landscape. Sign up
  now.
 
 
 http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 
 
 
 --
  Shape the Mobile Experience: Free Subscription
  Software experts and developers: Be at the forefront of tech innovation.
  Intel(R) Software Adrenaline delivers strategic insight and
 game-changing
  conversations that shape the rapidly evolving mobile landscape. Sign up
  now.
 
 http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 
 --
  Shape the Mobile Experience: Free Subscription
  Software experts and developers

[pmapper-users] Querying rasters

2013-11-22 Thread Chris Jackson
Hi all

I got the old Corine geotiff raster sample working with the usual select by
click tool, but it doesn't work using select by rectangle (doesn't appear
on the list of layers to choose).

Is this by design or me just missing some configuration?  Can it be done?

Thanks
Chris
--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Get list of layers into js variable

2013-03-07 Thread Chris Jackson
Hi all

I am trying to get a list of loaded layers in p.mapper into a js variable
so if 2 particular layers are on then a pop-up is triggered.  I thought the
best way is to retrieve the groups out of the php session, but having
trouble getting the values into a variable, any steer would be appreciated.

Many thanks
Chris
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] layer openstreetmap or googlemaps possible

2012-12-04 Thread Chris Jackson
Hi all,

On that note, cue the question When might we see a stable V5 release?

Thanks
Chris


On 4 December 2012 16:28, Thomas RAFFIN traf...@sirap.fr wrote:

 Hi

 I don't understand Spanish, but don't forget that pmapper 5 is not
 already stable.


 Le 04/12/2012 17:06, Richard Camejo a écrit :
  Hola, podrías probar utilizar la nueva versión PMAPPER 5  en desarrollo
  (pmapper-dev), descarga desde: http://pmapper.net/download.shtml la
 cual ya
  viene con el componente OpenLayer para ver capas de OpenStreetMap y
 Google.
 
  Richard.
 
  2012/12/4 Jose Mercedes Venegas Acevedo jvenegasp...@gmail.com
 
  Hi all
  you can place a layer googlemaps?
  you can place a layer openstreetmap?
 
  apologies for writing
  I speak Spanish
  wrote with google translate
 
 
 --
  LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
  Remotely access PCs and mobile devices and provide instant support
  Improve your efficiency, and focus on delivering more value-add services
  Discover what IT Professionals Know. Rescue delivers
  http://p.sf.net/sfu/logmein_12329d2d
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 



 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] MSSQL 2008 layers - solved!

2012-09-05 Thread Chris Jackson
Well I got it all to work in the end.  Just looked more closely at some
PostGIS examples, and realised I needed to do a little more in the data
section something like - DATA SitePoint1 from (select * from Site) as
DataUSING UNIQUE SiteID USING SRID=4326
Have managed to get SQL strings with ISO characters - umlauts etc to now
display correctly in labels - at last (OGR VRT route was being stubborn).
 Had to use MapServer 6, PMapper 4.2 and a newer MSSQL2008 plugin to get
the PMapper query side to work (not sure which aspect was being kooky
mind), guess I had to start the upgrade process at some point!!  Now just
need to get that spatial index sorted

Chris

On 4 September 2012 10:16, Chris Jackson webturt...@gmail.com wrote:

 So the errors in PMapper are -  Validation of search.xml file FAILED:

 Warning: DOMDocument::schemaValidate(): Element 'searchlist': Missing
 child element(s). Expected is ( searchitem ). in
 D:\ms4w\apps\pmapper\habitats\incphp\query\search.php on line 69

 I am guessing this is caused by not enough data coming back - In my layer
 I have:
  DATA SitePoint1 from Site USING UNIQUE SiteID USING SRID=4326
 ..
 METADATA
 DESCRIPTION Managed Realignment Sites1
 RESULT_FIELDS [SiteID],[SiteName]
 RESULT_HEADERS Site ID,Name

 I am thinking that my data section isn't pulling back any queryable fields.
 I did try DATA SitePoint1 from (select * from Site) USING UNIQUE SiteID
 USING SRID=4326 but that just gave me a black screen - errors weren't
 forthcoming.
 Anyone got this type of layer (using msplugin_mssql2008.dll plugin) to
 work?

 Thanks
 Chris




 On 4 September 2012 06:32, Chris Jackson webturt...@gmail.com wrote:

 Hi Armin
 It was a sort of a feeler question - you might of said querying not
 configured for that plugin ,  use ogr virtual driver instead (which works,
 bar an annoying character issue between sql and the driver - not PMapper
 related)
 Cheers
 Chris
  On 3 Sep 2012 23:35, Armin Burger armin.bur...@gmail.com wrote:

 On 03/09/2012 23:20, Chris Jackson wrote:
  Hi all
 
  I just wondered if msplugin_mssql2008.dll derived layers can be
 queried and
  labelled in PMapper?  I can get the points to display, but not able to
  retrieve attributes (when I click the select by shape the layer list
 on top
  right is empty).
 
  Thanks
  Chris

 I would guess that it should work, at least select and identify (what do
 you get for the latter...?) though I don't know exactly what
 msplugin_mssql2008.dll derived layers are. And without the usual
 debugging info (see wiki FAQ) it will not be possible to provide you
 much help.

 armin



 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] MSSQL 2008 layers

2012-09-03 Thread Chris Jackson
Hi all

I just wondered if msplugin_mssql2008.dll derived layers can be queried and
labelled in PMapper?  I can get the points to display, but not able to
retrieve attributes (when I click the select by shape the layer list on top
right is empty).

Thanks
Chris
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Load external url when clicking a point layer

2012-08-17 Thread Chris Jackson
Hi Armin

Thanks for the steer.  Never could remember what jquery extend does, but I
assume it essentially replaces the queryTpl table section...?

So I thought that I would use the correct default version from the source
query js for now to prove using the extended code didn't break anything,
before modding the ouputs.

The result just breaks the query dialog  - stays blank, the js below is
what I used and seems ok validation-wise, but get an error about tpl not
defined in pm_cjs.js.  I wonder whether the selection management plugin is
getting in the way, or have I written a duff set of code (more likely).  If
the original version is slightly different (I had modded the header), the
extended code should just overwrite that - yes?

Cheers
Chris

$.extend(PM.Query,
{
queryTpl:
{
table:
   {queryHeader: div,
queryFooter: /div,
layers:
{#default:
{layerHeader:div class=\pm-info-layerheader\_p(Layer):
${description}/divtable class=\sortable\ cellspacing=\0\
cellpadding=\0\ border=\0\,
theaderTop: tr,
theader: th@/th,
theaderBottom: /tr,
tvaluesTop: tr,
tvalues:
{shplink: td class=\zoomlink\a
href=\javascript:PM.Map.zoom2extent('$[0]','$[1]','$[2]','$[3]')\img
src=\images/zoomto.gif\ alt=\zoomto\/a/td,
 hyperlink: tda
href=\javascript:PM.Custom.openHyperlink('$[0]','$[1]','$[2]')\$[3]/a/td,
 #default: td$/td
},
tvaluesBottom: /tr,
layerFooter:/table
   }
}
}
 }
});




On 16 August 2012 20:09, Armin Burger armin.bur...@gmx.net wrote:

 Chris

 you could play with the Javascript template settings for the query. Copy
 the existing template from /javascript/src/query.js to your config
 directory into the file custom.js like

 $.extend(PM.Query,
 {
 queryTpl:
 {
 table:
{queryHeader: div,
 queryFooter: /div,
 layers:
 {#default:
{
.
},

   customLayerName1 : {=== YOUR_CUSTOM_CONFIG ===} ,
   customLayerName2 : {=== YOUR_CUSTOM_CONFIG ===}
 },

 })


 I think there's no documentation how to use it (at least I never wrote
 one...) so you need to check a bit the existing template and modify it. The
 template can include settings for individual layers, and you can add any
 type of HTML/JS code you need. This includes AJAX calls etc.  The $
 prefix defines a variable that is replaced during parsing.

 Good luck!

 Armin



 On 16/08/2012 20:39, Chris Jackson wrote:

 Hi all

 Is there a way to load a point layer and when you click a point
 immediately
 fire up an external url in say a thickbox fashion using a querystring
 containing feature attribute parameters.  I guess you would have to have a
 button that enables some function/plugin to override the default query
 results window (would it have to be hard-wired to a layer/s or could you
 have a list of 'usable' layers that would all generate clickable urls)?

 Any pointers appreciated!

 Cheers
 Chris
 --**--**
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. 
 http://www.accelacomm.com/jaw/**sfrnl04242012/114/50122263/http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 __**_
 pmapper-users mailing list
 pmapper-users@lists.**sourceforge.netpmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/**lists/listinfo/pmapper-usershttps://lists.sourceforge.net/lists/listinfo/pmapper-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] measuring projections...

2012-05-29 Thread Chris Jackson
Hi all,

Is it possible to have PMapper displaying the map in say Web Mercator and
then measuring distances and areas from a local grid system?

Many thanks
Chris
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] measuring projections...

2012-05-29 Thread Chris Jackson
Hi Armin

I use another webgis system that splits out the map display from the
geometry side - hence the thought, and have some basemaps that prefer web
mercator.  Trouble is have a new project that has an initial extent that is
really a bit big for a local grid projection, so just feeling out the
options.

Roll on v5!

Cheers
Chris



On 29 May 2012 18:24, Armin Burger armin.bur...@gmail.com wrote:

 On 29/05/2012 09:30, Chris Jackson wrote:
  Hi all,
 
  Is it possible to have PMapper displaying the map in say Web Mercator and
  then measuring distances and areas from a local grid system?
 

 in p.mapper 4.x not without some rewriting of functions in pm.draw.js
 (and usage of proj4js). In p.mapper 5 it should be possible with the map
 property displayProjection (given that OpenLayers does the
 measurements this way if you set the display projection to a local grid
 system).

 On the other hand, why would you want to use spherical mercator for the
 map in p.mapper 4 if you do not need to show maps at global scales
 (which I don't know if you want...) ?

 armin


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Select with polygon

2012-04-11 Thread Chris Jackson
Hi Thomas,
Thanks for the heads up, a mod that will be much appreciated by many of us
I am sure.
Are you going to use the OL framework?
Cheers
Chris
On 11 Apr 2012 16:06, Thomas RAFFIN traf...@sirap.fr wrote:

 Hi,

 As it is often asked, I will soon add a new plugin with select by:
 - polygon
 - line
 - circle
 - buffer
 - ...
 in specify layer/group or all available a scale.

 Thomas

 Le 29/03/2012 15:27, Juliano C. P. Agostinho a écrit :
  Hi,
 
  The select function in toolbar only work using a box method, is it
  possible select using a circle or polygon ?
 
  Thank you
 
 
 --
  This SF email is sponsosred by:
  Try Windows Azure free for 90 days Click Here
  http://p.sf.net/sfu/sfd2d-msazure
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 

 --


 Thomas RAFFIN
 Chef de Projet Internet
 traf...@sirap.fr mailto:traf...@sirap.fr  Sirap http://sirap.fr
   Tel
 : 04 75 72 84 10
 Fax : 04 75 70 07 98
 Rue Paul Louis Héroult - BP 253
 26106 Romans cedex


 --
 Better than sec? Nothing is better than sec when it comes to
 monitoring Big Data applications. Try Boundary one-second
 resolution app monitoring today. Free.
 http://p.sf.net/sfu/Boundary-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] show map layer by combo box

2012-03-23 Thread Chris Jackson
Hi
How about the layer selection plugin -
http://svn.pmapper.net/trac/wiki/PluginsLayersManagement.
Chris
On 23 Mar 2012 05:15, Eman Sayed eman_saye...@yahoo.com wrote:

 hi,
 i want to make a combo box contain a number of map layers names when the
 user choose one it will be added on the map.
 please help

 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] roadmap and acl

2012-03-20 Thread Chris Jackson
Hi all,
I like the direction development is going with v5. My tuppence of wishes
would be extension of ways to select data - either buffers, user drawn
polygons, or even simple user uploaded polygon shapefiles. Then I guess
further use of other OL functionality - editing etc.

Appreciate this maybe beyond what PMapper's objectives are trying to
deliver, but it is such a useful framework to build upon.

Cheers
Chris
On 17 Mar 2012 10:21, Armin Burger armin.bur...@gmail.com wrote:

 On 16/03/2012 12:50, G. Allegri wrote:
  Hi,
  the idea to use Openlayers could give a new boost to Pmapper, which I
 find
  one of the best technical oriented WebGIS out there.
  This could give a chance to develop more on it. It's a long time I'm
  thinking to an admin API, for an example, but was discouraged to invest
 on
  it by the lack of some foundamental features for nowday's WebGIS
 platforms,
  with OL being the biggest.

 well, there are frameworks like GeoExt that might already have offered
 this type of functionality. Did you ever try them?

  Armin, do you have any plans about it? Will you put it out when things
 are
  done, or will you share the code while working on it?

 So far quite some parts are still a bit under construction with frequent
 and possibly still deeper changes. It was not always easy to understand
 the sometimes strange logic of OL, and the OL mailing list was of no
 help for very specific questions (I practically never got any reply). So
 I was sometimes close to abandon the idea of using OL. Now I found most
 ways for workarounds, and the map navigation and interaction tools are
 mainly working.

 I'm currently in the final stage of rewriting the old and badly
 structured query code of p.mapper, this might be even possible to port
 it back to the p.mapper 4 (the new one will be version 5). The query
 stuff is again a bit of a mess, this time from the side of MapServer.
 But the new query classes should allow more easily to write you own
 functionality for the query result display if needed since this is now
 decoupled from actually getting the query result.

 A missing part is also the printing where I will mainly have to
 investigate how to print tiled layers that are not available via
 Mapserver (like OSM layers, Google layers will anyway not be allowed to
 be included in printings).

 Just to give an idea how the composition of layers from mapserver and OL
 works: You can define as now to have all MS layers (or groups) being
 rendered on a single map image, with or without tiling. Or you can split
 groups of layers into a few blocks, each block is an OL layer (I call
 the OL layers 'olThemes' to avoid too much of naming confusion). The
 combination which layers are rendered together or separately can be done
 in any type of combination. Using tiled layers for the time being will
 require to use the Google spherical mercator projection for the map. I
 cerated 2 new types of new OL layers, one tiled and the other non-tiled.
 Both are based on MapScript and will only work inside a user PHP session.

 It will be very likely that the first release version of p.mapper 5 will
 have some very specific functionalities not yet included, and most
 likely also only a few plugins will work already then.

 When the code is a bit more stable I will put it on the SVN, depending
 also if anyone is interested in contributing some developments. I might
 put a preliminary beta version out in the next week or so, so that
 people can have a look at it on their own installation.

 A first draft version (already 2 weeks old) is available at
 http://www.pmapper.net/demo/pmapper-5-dev/
 http://www.pmapper.net/demo/pmapper-5-dev/?config=singletile

 some new functions beyond OL integrations already implemented are:
 - hierarchical level above categories (called 'domains')
 - more flexible mutual disabling of layers

 Do not use IE for it since it will complain about some console.log()
 calls.

 Hope that helps for now

 Armin













  Thanks for you precious work,
  Giovanni
 
 --
  This SF email is sponsosred by:
  Try Windows Azure free for 90 days Click Here
  http://p.sf.net/sfu/sfd2d-msazure
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 



 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure

Re: [pmapper-users] swap legend

2012-02-15 Thread Chris Jackson
Pedro

In your config.xml under ui is the line  -
legendStylex/legendStyle - look at
http://svn.pmapper.net/trac/wiki/XmlFileSettings under the ui section for
more info.

HTH

Chris

On 15 February 2012 14:52, Pedro Costa pedrocostaa...@sapo.pt wrote:

 Hello to All,

 I have the last version of mapserver and pmapper and i have a problem.
 I can´t change the legend to swap!
 Can anybody help me?Anybody know a tutorial of that?

 Thanks
 Pedro



 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Map not show ???

2012-01-19 Thread Chris Jackson
Hi,
All your layer projections seem to be hashed out - maybe you have more than
one projection in the mapfile?
Chris
On 19 Jan 2012 10:04, aji setyo baji240...@gmail.com wrote:

 Dear All,

 please help me 2 solve this case.
 the map doesn't show but query work fine

 this my map layer

 LAYER
  NAME kecamatan
  TYPE POLYGON
  STATUS ON
 #  DATA countries
  CONNECTIONTYPE POSTGIS
  CONNECTION user=postgres dbname=postgis host=localhost port=5432
 password=b4ji
  DATA the_geom FROM jateng_kec USING UNIQUE gid using grid = -1
  TRANSPARENCY 30
 #  UNITS METERS
  TEMPLATE void
  PROJECTION
#init=epsg:4326
 #+proj=utm +zone=48 +ellps=WGS72 +units=m +no_defs  no_defs
 #+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs no_defs
END
  METADATA
DESCRIPTION kecamatan
## ADAPTED TO MULTILINGUAL SHAPEFILE
RESULT_FIELDS gid,kode,kecamatan,kabupaten,propinsi
RESULT_HEADERS gid,kode,kecamatan,kabupaten,propinsi
ows_title  kecamatan
  END  # Metadata
  CLASS
NAME kecamatan
COLOR 200 254 199
OUTLINECOLOR 0 0 0
BACKGROUNDCOLOR 0 0 255
  END  # Class
 END  # Layer


 and this for xml config file

 pmapper
ini
pmapper
pmTitlep.mapper - A MapServer PHP/MapScript
 Framework/pmTitle
debugLevel3/debugLevel
pluginsexport/plugins
pluginsscalebar/plugins
pluginstransparency/plugins

/pmapper
config
pm_config_locationdefault/pm_config_location
pm_javascript_locationjavascript/src/pm_javascript_location
pm_print_configfilecommon/print.xml/pm_print_configfile
pm_search_configfileinline/pm_search_configfile
/config
map
mapFilepmapper_demo_coba.map/mapFile
tplMapFilecommon/template.map/tplMapFile
categories
category name=cat_admin
groupkecamatan/group

/category

/categories
allGroups
groupkecamatan/group

/allGroups
defGroups
groupkecamatan/group

/defGroups
layerAutoRefresh1/layerAutoRefresh
imgFormatpng/imgFormat
altImgFormatjpeg/altImgFormat
altImgFormatLayers
layerjpl_wms_global_mosaic/layer
layerdem/layer
/altImgFormatLayers
sliderMaxmax/sliderMax
sliderMin10/sliderMin
/map
query
limitResult300/limitResult
highlightColor0 255 255/highlightColor
highlightSelected1/highlightSelected
autoZoomnquery/autoZoom
autoZoomsearch/autoZoom
zoomAllsearch/zoomAll
zoomAllnquery/zoomAll
infoWindynwin/infoWin
alignQueryResults1/alignQueryResults
pointBuffer1/pointBuffer
shapeQueryBuffer0.02/shapeQueryBuffer
/query
ui
tocStyletree/tocStyle
legendStyleattached/legendStyle
useCategories1/useCategories
catWithCheckbox1/catWithCheckbox
scaleLayers1/scaleLayers
icoW18/icoW
icoH14/icoH
/ui
locale
defaultLanguageen/defaultLanguage
defaultCharsetUTF-8/defaultCharset
map2unicode1/map2unicode
/locale
print
printImgFormatpng/printImgFormat
printAltImgFormatjpeg/printAltImgFormat
pdfres2/pdfres
/print
download
dpiLevels150/dpiLevels
dpiLevels200/dpiLevels
dpiLevels300/dpiLevels
/download
php
pearDbClassMDB2/pearDbClass
defaultTimeZoneEurope/Vienna/defaultTimeZone
/php
pluginsConfig
export
formatsXLS/formats
formatsCSV/formats
formatsPDF/formats
/export
/pluginsConfig
/ini



searchlist version=1.0
dataroot$/dataroot
searchitem name=kecamatan description=Kec
layer type=postgis name=kecamatan
field type=s name=kecamatan description=KEC
 wildcard=0 /
/layer
/searchitem
 /searchlist


 /pmapper

 capture for my case   (
 https://twitter.com/#!/SetyoAjii/status/159938547321810944/photo/1 )

 thanks for your attention.

 and sorro for my bad english.


 --


 *Tri Setyo Aji

 *+62856 3520707 | +6224 33043304

 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 pmapper-users mailing list

Re: [pmapper-users] Map not show ???

2012-01-19 Thread Chris Jackson
Hi

First off read this -
http://mapserver.org/mapfile/projection.html#projection.

Chris

On 19 January 2012 10:52, aji setyo baji240...@gmail.com wrote:

 ok, thanks 4 ur attention,

 sorry i have a stupid question !!!
 can u or all in this mailing list user explain, what its the function of
 PROJECTION ??? (in simple word please)
 cause i still confused about PROJECTION.

 thanks,

 sorry for my bad english

 On Thu, Jan 19, 2012 at 5:11 PM, Chris Jackson webturt...@gmail.comwrote:

 Hi,
 All your layer projections seem to be hashed out - maybe you have more
 than one projection in the mapfile?
 Chris
 On 19 Jan 2012 10:04, aji setyo baji240...@gmail.com wrote:

 Dear All,

 please help me 2 solve this case.
 the map doesn't show but query work fine

 this my map layer

 LAYER
  NAME kecamatan
  TYPE POLYGON
  STATUS ON
 #  DATA countries
  CONNECTIONTYPE POSTGIS
  CONNECTION user=postgres dbname=postgis host=localhost port=5432
 password=b4ji
  DATA the_geom FROM jateng_kec USING UNIQUE gid using grid = -1
  TRANSPARENCY 30
 #  UNITS METERS
  TEMPLATE void
  PROJECTION
#init=epsg:4326
 #+proj=utm +zone=48 +ellps=WGS72 +units=m +no_defs  no_defs
 #+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs no_defs
END
  METADATA
DESCRIPTION kecamatan
## ADAPTED TO MULTILINGUAL SHAPEFILE
RESULT_FIELDS gid,kode,kecamatan,kabupaten,propinsi
RESULT_HEADERS gid,kode,kecamatan,kabupaten,propinsi
ows_title  kecamatan
  END  # Metadata
  CLASS
NAME kecamatan
COLOR 200 254 199
OUTLINECOLOR 0 0 0
BACKGROUNDCOLOR 0 0 255
  END  # Class
 END  # Layer


 and this for xml config file

 pmapper
ini
pmapper
pmTitlep.mapper - A MapServer PHP/MapScript
 Framework/pmTitle
debugLevel3/debugLevel
pluginsexport/plugins
pluginsscalebar/plugins
pluginstransparency/plugins

/pmapper
config
pm_config_locationdefault/pm_config_location

  pm_javascript_locationjavascript/src/pm_javascript_location
pm_print_configfilecommon/print.xml/pm_print_configfile
pm_search_configfileinline/pm_search_configfile
/config
map
mapFilepmapper_demo_coba.map/mapFile
tplMapFilecommon/template.map/tplMapFile
categories
category name=cat_admin
groupkecamatan/group

/category

/categories
allGroups
groupkecamatan/group

/allGroups
defGroups
groupkecamatan/group

/defGroups
layerAutoRefresh1/layerAutoRefresh
imgFormatpng/imgFormat
altImgFormatjpeg/altImgFormat
altImgFormatLayers
layerjpl_wms_global_mosaic/layer
layerdem/layer
/altImgFormatLayers
sliderMaxmax/sliderMax
sliderMin10/sliderMin
/map
query
limitResult300/limitResult
highlightColor0 255 255/highlightColor
highlightSelected1/highlightSelected
autoZoomnquery/autoZoom
autoZoomsearch/autoZoom
zoomAllsearch/zoomAll
zoomAllnquery/zoomAll
infoWindynwin/infoWin
alignQueryResults1/alignQueryResults
pointBuffer1/pointBuffer
shapeQueryBuffer0.02/shapeQueryBuffer
/query
ui
tocStyletree/tocStyle
legendStyleattached/legendStyle
useCategories1/useCategories
catWithCheckbox1/catWithCheckbox
scaleLayers1/scaleLayers
icoW18/icoW
icoH14/icoH
/ui
locale
defaultLanguageen/defaultLanguage
defaultCharsetUTF-8/defaultCharset
map2unicode1/map2unicode
/locale
print
printImgFormatpng/printImgFormat
printAltImgFormatjpeg/printAltImgFormat
pdfres2/pdfres
/print
download
dpiLevels150/dpiLevels
dpiLevels200/dpiLevels
dpiLevels300/dpiLevels
/download
php
pearDbClassMDB2/pearDbClass
defaultTimeZoneEurope/Vienna/defaultTimeZone
/php
pluginsConfig
export
formatsXLS/formats
formatsCSV/formats
formatsPDF/formats
/export
/pluginsConfig
/ini



searchlist version=1.0
dataroot$/dataroot
searchitem name=kecamatan description=Kec
layer type=postgis name=kecamatan
field type=s name=kecamatan description=KEC
 wildcard=0 /
/layer
/searchitem
 /searchlist


 /pmapper

 capture for my case   (
 https://twitter.com/#!/SetyoAjii/status/159938547321810944/photo/1 )

 thanks for your attention.

 and sorro for my bad english.


 --


 *Tri Setyo Aji

 *+62856

Re: [pmapper-users] selection color/style (and unselect)

2011-12-16 Thread Chris Jackson
Hi Giovanni,
There is a selection management plugin that could be of use...
Chris
On 17 Dec 2011 01:41, Giovanni Manghi giovanni.man...@gmail.com wrote:

 Hi all,

 I'm a bit rusty with pMapper and I can't recall where in CSS control the
 selection color/style (transparency and border color).

 highlightColorwhatever in RGB/highlightColor

 in config_*.xml does not seems to have any effect (I'm on pMapper 4.0).

 Moreover: anyone has ever implemented an unselect button?



 Thanks in advance

 -- Giovanni --



 --
 Learn Windows Azure Live!  Tuesday, Dec 13, 2011
 Microsoft is holding a special Learn Windows Azure training event for
 developers. It will provide a great way to learn Windows Azure and what it
 provides. You can attend the event by watching it streamed LIVE online.
 Learn more at http://p.sf.net/sfu/ms-windowsazure
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] PDF in dialog window

2011-11-04 Thread Chris Jackson
Hi

I think you are talking about thickbox functionality (loading external urls
in an iframe element) - possibly subtly different to how PMapper does it
for query results etc (as it is mainly AJAX driven)...

If I am remotely on the right lines then you may need to look at extending
jqmodal like so -
http://pixeline.be/blog/development/javascript-loading-external-urls-in-jqmodal-jquery-plugin-302.htmlor
something similar.

If I am barking up the wrong tree, then sorry for mudding the waters!!

Chris

On 4 November 2011 10:26, Thomas RAFFIN traf...@sirap.fr wrote:

 Hi,

 Do you have already seen something like what you describe in a web site?

 I think it is not possible.

 Indeed your browser needs a plugin to display your PDF (from Adobe for
 instance). But I think those plugins only works int full window / tab.

 Thomas

 Le 04/11/2011 11:11, Salvatore Larosa a écrit :
  Hi at all,
  I have a issue with dialog function in pm.pmapper.js.
  I'd like open a PDF in dialog window like query result, but I don't able
 to
  do it!
 
  I have changed in pm.pmapper.js (my additions in bold):
 
  Dlg: {
 
  
schedaDlgOptions: {width:600, height:500, left:100, top:50,
  resizeable:true, newsize:true, container:'pmDlgContainer',
 name:scheda},
  
 
   openHelp: function() {
   this.createDnRDlg(this.helpDlgOptions, _p('Help'),
  'help.phtml?'+SID);
   },
 
openScheda: function(fldValue) {
   this.createDnRDlg(this.schedaDlgOptions, _p('Scheda'),
  '../shd/'+ fldValue +'.pdf'+SID);
   },
 
   openDownload: function() {
   this.createDnRDlg(this.downloadDlgOptions, _p('Download'),
  'downloaddlg.phtml?'+SID );
   },
 
  in custom.js (my additions in bold):
 
  $.extend(PM.Custom,
  {
   // Sample Hyperlink function for result window
   openHyperlink: function(layer, fldName, fldValue) {
   switch(layer) {
   case 'pr_agroalimentari':
   if (fldName == 'scheda') {
   PM.Dlg.openScheda(fldValue);
   }
  ..
 
 
  i get a dialog window wrong with characters misunderstood (attached
 image).
 
  Any hint?
 
  http://old.nabble.com/file/p32779273/dialogWindowPdf.png


 --
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Problems using Identify/Select with p.mapper-4.0

2011-10-31 Thread Chris Jackson
Pete
No expert on this, but did notice all of your result lines in the layer
definitions were hashed out - think you need these enabled for querying to
work.
Chris
On 31 Oct 2011 16:15, Peter Wells wel...@faunalia.co.uk wrote:

 Hi All,

 I'm having some issues with using the above functions and was wondering
 if anyone could help.

 When I use the Identify tool on my layer of interest, I see the
 following in the apache error log:

 [Mon Oct 31 15:54:01 2011] [error] [client 0.0.0.0] PHP Notice:  Trying
 to get property of non-object
 in /var/www/pmapper/example/pmapper-4.0/incphp/query/squery.php on line
 136, referer: http://webgis.example.org/pmapper-4.0/map.phtml?
 [Mon Oct 31 15:54:01 2011] [error] [client 0.0.0.0] PHP Notice:  Trying
 to get property of non-object
 in /var/www/pmapper/example/pmapper-4.0/incphp/query/squery.php on line
 137, referer: http://webgis.example.org/pmapper-4.0/map.phtml?
 [Mon Oct 31 15:54:01 2011] [error] [client 0.0.0.0] PHP Notice:  Trying
 to get property of non-object
 in /var/www/pmapper/example/pmapper-4.0/incphp/query/squery.php on line
 141, referer: http://webgis.example.org/pmapper-4.0/map.phtml?
 [Mon Oct 31 15:54:01 2011] [error] [client 0.0.0.0] PHP Fatal error:
 Call to a member function project() on a non-object
 in /var/www/pmapper/example/pmapper-4.0/incphp/query/squery.php on line
 162, referer: http://webgis.example.org/pmapper-4.0/map.phtml?

 From looking at the code above, it seems that
 $this-qLayer-getShape($qRes-tileindex,$qRes-shapeindex); is not
 returning anything in dumpQueryResults() in qsuery.php but I'm not sure
 why.

 ... and the p.mapper front-end just shows the rotating 'waiting' symbol
 indefinitely.

 My map is in world mercator projection (EPSG:3395) and the layer
 configuration (the one that I'm trying to query) looks like this:

 LAYER
  NAME 'involved_villages_one'
  group 'involved_villages'
  TYPE point
  EXTENT 38 136000 136 146
  CONNECTIONTYPE postgis
  CONNECTION 'dbname=rfuk host=127.0.0.1 port=5432 user=mapserver
 password=mypassword'
  DATA 'the_geom FROM (select the_geom, gid, name from
 one_legacy_s3_final_atts_to_be_populated.v__merged_point) as subquery
 USING UNIQUE gid USING srid=32632'
  LABELITEM name
  LABELMAXSCALE 500
  TOLERANCE 10
  TOLERANCEUNITS pixels
  TEMPLATE void
  METADATA
'DESCRIPTION' 'Villages involved'
'ows_title' 'iv_one'
#RESULT_FIELDS name
#RESULT_HEADERS name
# RESULT_HYPERLINK name
LAYER_ENCODING UTF-8
  END
  PROJECTION
init=epsg:32632
  END
  OPACITY ALPHA # Required for transparency
  #MAXSCALE 320
  CLASS
NAME 'All villages involved'
STYLE
  SYMBOL rfuk_iv10o
  COLOR 0 0 0 # This color is required but ignored
  OUTLINECOLOR 82 80 82
END
LABEL
  POSITION Auto
  COLOR 0 0 150
  BACKGROUNDCOLOR 255 255 128
  BACKGROUNDSHADOWCOLOR 150 150 150
  BACKGROUNDSHADOWSIZE 2 2
  BUFFER 2
  TYPE truetype
  ENCODING UTF-8
  FONT FreeSans
  SIZE 8
  MAXSIZE 9
  #SIZE small
END #Label
  END # Class
 END
 LAYER
  NAME 'involved_villages_two'
  group 'involved_villages'
  TYPE point
  EXTENT 42 20 192 126
  CONNECTIONTYPE postgis
  CONNECTION 'dbname=rfuk host=127.0.0.1 port=5432 user=mapserver
 password=mypassword'
  DATA 'the_geom FROM (select the_geom, gid, name from
 two_legacy_s3_final_atts_to_be_populated.v__merged_point) as subquery
 USING UNIQUE gid USING srid=32633'
  LABELITEM name
  LABELMAXSCALE 500
  TOLERANCE 10
  TOLERANCEUNITS pixels
  TEMPLATE void
  METADATA
'DESCRIPTION' 'Villages involved'
'ows_title' 'iv_two'
#RESULT_FIELDS name
#RESULT_HEADERS name
# RESULT_HYPERLINK name
LAYER_ENCODING UTF-8
  END
  PROJECTION
init=epsg:32633
  END
  OPACITY ALPHA # Required for transparency
  #MAXSCALE 320
  CLASS
NAME ''
STYLE
  SYMBOL rfuk_iv10o
  COLOR 0 0 0 # This color is required but ignored
  OUTLINECOLOR 82 80 82
END
LABEL
  POSITION Auto
  COLOR 0 0 150
  BACKGROUNDCOLOR 255 255 128
  BACKGROUNDSHADOWCOLOR 150 150 150
  BACKGROUNDSHADOWSIZE 2 2
  BUFFER 2
  TYPE truetype
  ENCODING UTF-8
  FONT FreeSans
  SIZE 8
  MAXSIZE 9
  #SIZE small
END #Label
  END # Class
 END

 I've been banging my head against the computer all day and would very
 much appreciate any suggestions anyone might have.




 Kind regards,

 Pete



 Peter Wells

 Faunalia UK
 23 Chestnut Close, Burgess Hill, RH15 8HN
 www.faunalia.co.uk
 Tel:  +44 (0)1444 848012
 Mob:  +44 (0)7704 781683
 SIP:  1507...@sipgate.co.uk

 --
 Get your Android app more play: Bring it to the BlackBerry PlayBook
 in minutes. BlackBerry App World#153; now supports Android#153; Apps
 for the BlackBerryreg; PlayBook#153;. Discover just how easy and simple
 it is! http://p.sf.net/sfu/android-dev2dev
 

[pmapper-users] special characters and P-Mapper

2011-09-06 Thread Chris Jackson
Hi all

I have a shapefile with a lots of place names across Europe and have several
with special characters like so - Spadenländer Spitze, Noard Fryslân
Bûtendyks etc.  The data is drawn and labelled correctly, however search
results throw out things like R�becker Sand and so do auto suggest search
drop-downs.  When you actually go to search data using the query tool on
this layer then the results don't load, but if I switch to another layer
(say cities) then all is well again.

What is the best way for dealing with such characters?

Thanks

Chris
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] maintaining tab states using session?

2011-08-02 Thread Chris Jackson
Hi

I just wondered whether there is any way of maintaining the PM.tocTabs
selected tab on a page refresh/config change?

Also is resetsession=resultlayers is the best way to clear layer selections
when switching to another configuration that doesn't contain the selected
layer...?

I know some of the url parameters are spread over a couple of the manual
sections, any chance of a one-stop lookup table with all url parameters?

Many thanks
Chris
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] button Identify

2011-07-01 Thread Chris Jackson
Hi
Do you mean the tocinfolink plugin?
Chris
On 1 Jul 2011 16:45, Eduardo Bieñkowski eduko...@gmail.com wrote:
 Se puede agregar el botón de información de la capa en la barra de
legend
 para no tener que darle al botón derecho sobre al leyenda
 Si es asi que archivo hay que modificar?
 Saludos

 Eduardo


 Google Translation:
 You can add the button layer information in the bar legend
 to avoid giving the right mouse button on the legend??
 If so which file should be modified?, regards
 Eduardo

--
 All of the data generated in your IT infrastructure is seriously valuable.
 Why? It contains a definitive record of application performance, security
 threats, fraudulent activity, and more. Splunk takes this data and makes
 sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-d2d-c2
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] layer partially drawing

2011-06-17 Thread Chris Jackson
Hi

Has anyone any idea why polygon layers would 'partially' render leaving
gaps, but as you switch areas/zoom the rendered areas shift (at full extent
the layer draws correctly) .  Also the query by rectangle tool just returns
random areas leaving big gaps too?  PMapper log not throwing anything up at
level 3.

Thanks

Chris
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] layer partially drawing

2011-06-17 Thread Chris Jackson
Thomas

I am not.  However, have fixed it I think - I turned off the .qix file as a
check and all worked, so have regenerated my index files and seemingly
everything is okay again..!

Thanks for the quick response.

Chris

On 17 June 2011 10:46, Thomas RAFFIN traf...@sirap.fr wrote:

 Hi Chris,

 I've already seen similar issue. Are you using hatch textures?

 Thomas

 Le 17/06/2011 11:32, Chris Jackson a écrit :
  Hi
 
  Has anyone any idea why polygon layers would 'partially' render leaving
  gaps, but as you switch areas/zoom the rendered areas shift (at full
 extent
  the layer draws correctly) .  Also the query by rectangle tool just
 returns
  random areas leaving big gaps too?  PMapper log not throwing anything up
 at
  level 3.
 
  Thanks
 
  Chris
 
 --
  EditLive Enterprise is the world's most technically advanced content
  authoring tool. Experience the power of Track Changes, Inline Image
  Editing and ensure content is compliant with Accessibility Checking.
  http://p.sf.net/sfu/ephox-dev2dev
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 


 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] tab status

2011-06-13 Thread Chris Jackson
Hi all,

Is there any way to maintain tab status when you switch between maps, at the
moment it always defaults back to the same tab?

Thanks
Chris
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Pseudo timeline button

2011-06-09 Thread Chris Jackson
Hi Josh

Are you talking about a normal JS slideshow effect based on jpgs etc?  I was
thinking of actually flipping map layers on and off - so if you were zoomed
in to a local area the data layer changes on a timer.  I am not fussed if it
was an image based thing, but that would need geo-rectifying, which brings
us back to map layers.  Sorry if I misunderstood your approach.

On 9 June 2011 13:55, Josh Jordan outerspacema...@yahoo.com wrote:

 Yes, this is simple, if you save the main images.  You can overlay a radio
 button or regular buttons to fade between map images, or use a timer.  It
 only gets tricky if you have some hover overlays or anything like that for
 each map.

 --- On *Thu, 6/9/11, Chris Jackson webturt...@gmail.com* wrote:


 From: Chris Jackson webturt...@gmail.com
 Subject: [pmapper-users] Pseudo timeline button
 To: pmapper-users@lists.sourceforge.net
 Date: Thursday, June 9, 2011, 7:45 AM

 Hi all,

 Anyone have an idea how you could take a series of layers and use a script
 in PMapper (on say a button press) that turns layers on and off
 sequentially
 on a timer delay?

 Cheers
 Chris

 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.nethttp://mc/compose?to=pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Pseudo timeline button

2011-06-09 Thread Chris Jackson
Josh

That sounds a bit too much for my needs, I am already running multiple
configs based on data categories and the layers are already in the
mapfiles.  I guess I need to trigger ajax calls to incphp/xajax/x_load.php
and switch the activegroup parameter (something similar to ticking a layer
in the toc).

Chris

On 9 June 2011 15:13, Josh Jordan outerspacema...@yahoo.com wrote:

 You can also overwrite the mapfile, xml file and refresh the map for
 complete functionality.


 --- On *Thu, 6/9/11, Chris Jackson webturt...@gmail.com* wrote:


 From: Chris Jackson webturt...@gmail.com
 Subject: Re: [pmapper-users] Pseudo timeline button
 To: Josh Jordan outerspacema...@yahoo.com,
 pmapper-users@lists.sourceforge.net
 Date: Thursday, June 9, 2011, 9:13 AM


 Hi Josh

 Are you talking about a normal JS slideshow effect based on jpgs etc?  I
 was thinking of actually flipping map layers on and off - so if you were
 zoomed in to a local area the data layer changes on a timer.  I am not
 fussed if it was an image based thing, but that would need geo-rectifying,
 which brings us back to map layers.  Sorry if I misunderstood your approach.

 On 9 June 2011 13:55, Josh Jordan 
 outerspacema...@yahoo.comhttp://mc/compose?to=outerspacema...@yahoo.com
  wrote:

 Yes, this is simple, if you save the main images.  You can overlay a radio
 button or regular buttons to fade between map images, or use a timer.  It
 only gets tricky if you have some hover overlays or anything like that for
 each map.

 --- On *Thu, 6/9/11, Chris Jackson 
 webturt...@gmail.comhttp://mc/compose?to=webturt...@gmail.com
 * wrote:


 From: Chris Jackson 
 webturt...@gmail.comhttp://mc/compose?to=webturt...@gmail.com
 
 Subject: [pmapper-users] Pseudo timeline button
 To: 
 pmapper-users@lists.sourceforge.nethttp://mc/compose?to=pmapper-users@lists.sourceforge.net
 Date: Thursday, June 9, 2011, 7:45 AM

 Hi all,

 Anyone have an idea how you could take a series of layers and use a script
 in PMapper (on say a button press) that turns layers on and off
 sequentially
 on a timer delay?

 Cheers
 Chris

 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.nethttp://mc/compose?to=pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users



--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] csv export dependencies

2011-05-12 Thread Chris Jackson
Yup the PHP error log flags a permissions error (sorry was too tired to
remember error logs), though the ms_tmp folder is configured ok for
permissions...

As for formatting, it comes back to me - I remember looking at redefining
the shapefile field formats... groan.

Cheers
Chris

On 11 May 2011 22:05, Armin Burger armin.bur...@gmx.net wrote:



 On 11/05/2011 22:17, Chris Jackson wrote:
  Hi all
 
  Does anyone know if the csv export requires OWC/office on the server?
  Just
  it works fine on one box, and not another (no download button appears) -
  both sites are W2K3 on IIS and use same php library and pmapper files one
  difference that springs to mind was the office element?

 I would bet that you have an error in the PHP error log... it can have
 different reasons, missing write permissions, old PHP version w/o zip
 function, zip extension not loadable, etc., who knows... the only thing
 that is sure is that it requires no office whatsoever software

 
  Also whilst on subject the results tables I can't for the life of me
  remember where the number/value formatting options are -
 5.7656000e+004
  isn't very pleasant on the eye!

 nothin really foreseen so far, no config option. A real solution would
 need to specify this for every layer and every single field, but that
 would be quite much to configure.

 A very coarse solution is to remove the comments in the function
 query/query.php-printFieldValues() at the beginning and define global
 rounding params for floats according to your needs, this will change the
 formatting of *all* float values in the result display, but maybe you
 can live with that.

 The export just writes out what it gets from the query result, but you
 could also modify the CSV class for the export plugin to change the
 formatting there (csv export is not very sophisticated anyway, and was
 probably once added as a quick and dirty solution without much of use...)

 armin


 --
 Achieve unprecedented app performance and reliability
 What every C/C++ and Fortran developer should know.
 Learn how Intel has extended the reach of its next-generation tools
 to help boost performance applications - inlcuding clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] csv export dependencies

2011-05-12 Thread Chris Jackson
Armin
Uncommenting the code as suggested was a good start.  Will need to split
whole numbers from the rest in due course (or sort out the shapefile..).

I never got the perms to work for the csv export, could you confirm it is
just the iusr account write perms on ms_tmp dir in Windows that are
required.

Cheers
Chris
On 12 May 2011 07:21, Chris Jackson webturt...@gmail.com wrote:
 Yup the PHP error log flags a permissions error (sorry was too tired to
 remember error logs), though the ms_tmp folder is configured ok for
 permissions...

 As for formatting, it comes back to me - I remember looking at redefining
 the shapefile field formats... groan.

 Cheers
 Chris

 On 11 May 2011 22:05, Armin Burger armin.bur...@gmx.net wrote:



 On 11/05/2011 22:17, Chris Jackson wrote:
  Hi all
 
  Does anyone know if the csv export requires OWC/office on the server?
 Just
  it works fine on one box, and not another (no download button appears)
-
  both sites are W2K3 on IIS and use same php library and pmapper files
one
  difference that springs to mind was the office element?

 I would bet that you have an error in the PHP error log... it can have
 different reasons, missing write permissions, old PHP version w/o zip
 function, zip extension not loadable, etc., who knows... the only thing
 that is sure is that it requires no office whatsoever software

 
  Also whilst on subject the results tables I can't for the life of me
  remember where the number/value formatting options are -
 5.7656000e+004
  isn't very pleasant on the eye!

 nothin really foreseen so far, no config option. A real solution would
 need to specify this for every layer and every single field, but that
 would be quite much to configure.

 A very coarse solution is to remove the comments in the function
 query/query.php-printFieldValues() at the beginning and define global
 rounding params for floats according to your needs, this will change the
 formatting of *all* float values in the result display, but maybe you
 can live with that.

 The export just writes out what it gets from the query result, but you
 could also modify the CSV class for the export plugin to change the
 formatting there (csv export is not very sophisticated anyway, and was
 probably once added as a quick and dirty solution without much of use...)

 armin



--
 Achieve unprecedented app performance and reliability
 What every C/C++ and Fortran developer should know.
 Learn how Intel has extended the reach of its next-generation tools
 to help boost performance applications - inlcuding clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Rendering of credit text in PDFs

2011-05-11 Thread Chris Jackson
Hi all

I have a variety of layer dependent credit text in the mapfile (Thanks
Thomas for help there), which is positioned fine on the screen in pmapper,
however the PDF print output goes to town with the fonts and makes the text
huge, overlap and partially excluded from the map frame.  I am guessing this
is down to differences in rendering fonts on a screen and in print.  Are
there any rules of thumb to minimise the discrepancies and produce a
sensible PDF print output?

Thanks

Chris
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Rendering of credit text in PDFs

2011-05-11 Thread Chris Jackson
Hi Thomas

Running 4.1.1 (though there may be a slight dev flavour in there...).

Chris

On 11 May 2011 12:30, Thomas RAFFIN traf...@sirap.fr wrote:

 What is your pmapper version please ?

 Le 11/05/2011 13:19, Chris Jackson a écrit :
  Hi all
 
  I have a variety of layer dependent credit text in the mapfile (Thanks
  Thomas for help there), which is positioned fine on the screen in
 pmapper,
  however the PDF print output goes to town with the fonts and makes the
 text
  huge, overlap and partially excluded from the map frame.  I am guessing
 this
  is down to differences in rendering fonts on a screen and in print.  Are
  there any rules of thumb to minimise the discrepancies and produce a
  sensible PDF print output?
 
  Thanks
 
  Chris
 
 --
  Achieve unprecedented app performance and reliability
  What every C/C++ and Fortran developer should know.
  Learn how Intel has extended the reach of its next-generation tools
  to help boost performance applications - inlcuding clusters.
  http://p.sf.net/sfu/intel-dev2devmay
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 
 


 --
 Achieve unprecedented app performance and reliability
 What every C/C++ and Fortran developer should know.
 Learn how Intel has extended the reach of its next-generation tools
 to help boost performance applications - inlcuding clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Rendering of credit text in PDFs

2011-05-11 Thread Chris Jackson
Thomas

This moves the location of the text around, but doesn't stop it being
rendered in the PDF as jumbo text, I wondered whether there was some handle
on the text size at PDF rendering time?

Otherwise if I switch the font size to small in the map file, then the PDF
looks much better, but on screen version is unreadable without a magnifying
glass!

I have used the label position which helps align two lines of text (one uses
ll the other ul) - saves offsetting the points.  I may have to spread the
lines apart so when they are rendered larger they don't overlap.


Chris

On 11 May 2011 13:09, Thomas RAFFIN traf...@sirap.fr wrote:

 This works for me:

 LAYER
 NAME credits
 STATUS DEFAULT
 TRANSFORM lr
 TYPE ANNOTATION
 FEATURE
 POINTS
 -5 -5
 END
 TEXT 'blabla'
 END
 CLASS
 LABEL
 TYPE TRUETYPE
 FONT FreeSans
 POSITION ul
 COLOR 0 0 0
 SIZE 8
 FORCE TRUE
 END
 END
 END

 The idea is to put the object on the angle you want, (here lower right,
 with 5 pixels offset in X an Y). Then put the label upper left of this
 feature. I don't know if font could change something.

 Le 11/05/2011 13:38, Chris Jackson a écrit :
  Hi Thomas
 
  Running 4.1.1 (though there may be a slight dev flavour in there...).
 
  Chris
 
  On 11 May 2011 12:30, Thomas RAFFIN traf...@sirap.fr
  mailto:traf...@sirap.fr wrote:
 
  What is your pmapper version please ?
 
  Le 11/05/2011 13:19, Chris Jackson a écrit :
   Hi all
  
   I have a variety of layer dependent credit text in the mapfile
  (Thanks
   Thomas for help there), which is positioned fine on the screen
  in pmapper,
   however the PDF print output goes to town with the fonts and
  makes the text
   huge, overlap and partially excluded from the map frame.  I am
  guessing this
   is down to differences in rendering fonts on a screen and in
  print.  Are
   there any rules of thumb to minimise the discrepancies and produce
 a
   sensible PDF print output?
  
   Thanks
  
   Chris
  
 
 --
   Achieve unprecedented app performance and reliability
   What every C/C++ and Fortran developer should know.
   Learn how Intel has extended the reach of its next-generation tools
   to help boost performance applications - inlcuding clusters.
   http://p.sf.net/sfu/intel-dev2devmay
   ___
   pmapper-users mailing list
   pmapper-users@lists.sourceforge.net
  mailto:pmapper-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/pmapper-users
  
  
  
 
 
 --
  Achieve unprecedented app performance and reliability
  What every C/C++ and Fortran developer should know.
  Learn how Intel has extended the reach of its next-generation tools
  to help boost performance applications - inlcuding clusters.
  http://p.sf.net/sfu/intel-dev2devmay
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  mailto:pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 

 --
 Achieve unprecedented app performance and reliability
 What every C/C++ and Fortran developer should know.
 Learn how Intel has extended the reach of its next-generation tools
 to help boost performance applications - inlcuding clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Rendering of credit text in PDFs

2011-05-11 Thread Chris Jackson
Thomas

I have played with both methods, the most success I have had is with size 7
and aligning to the bottom right (just about stays out of the way of the
scalebar on the left).  If if don't define a font size it is barely legible
on the screen, but good for the PDF (equivalent to defining 'small').

Chris


On 11 May 2011 14:37, Thomas RAFFIN traf...@sirap.fr wrote:

 I've got an idea... Are you using size in text (small, big, ...) or
 numerical (10, 12, ...)? With the default font given in example?

 For me with numerical values it works.

 And you are right, the label are increased (else the labels for real
 objects are too small, due to pdf resolution). Maybe there is an issue
 with pdf resolution parameter...

 Le 11/05/2011 15:07, Chris Jackson a écrit :
  Thomas
 
  This moves the location of the text around, but doesn't stop it being
  rendered in the PDF as jumbo text, I wondered whether there was some
  handle on the text size at PDF rendering time?
 
  Otherwise if I switch the font size to small in the map file, then the
  PDF looks much better, but on screen version is unreadable without a
  magnifying glass!
 
  I have used the label position which helps align two lines of text
  (one uses ll the other ul) - saves offsetting the points.  I may have
  to spread the lines apart so when they are rendered larger they don't
  overlap.
 
 
  Chris
 
  On 11 May 2011 13:09, Thomas RAFFIN traf...@sirap.fr
  mailto:traf...@sirap.fr wrote:
 
  This works for me:
 
  LAYER
  NAME credits
  STATUS DEFAULT
  TRANSFORM lr
  TYPE ANNOTATION
  FEATURE
  POINTS
  -5 -5
  END
  TEXT 'blabla'
  END
  CLASS
  LABEL
  TYPE TRUETYPE
  FONT FreeSans
  POSITION ul
  COLOR 0 0 0
  SIZE 8
  FORCE TRUE
  END
  END
  END
 
  The idea is to put the object on the angle you want, (here lower
  right,
  with 5 pixels offset in X an Y). Then put the label upper left of
 this
  feature. I don't know if font could change something.
 
  Le 11/05/2011 13:38, Chris Jackson a écrit :
   Hi Thomas
  
   Running 4.1.1 (though there may be a slight dev flavour in
  there...).
  
   Chris
  
   On 11 May 2011 12:30, Thomas RAFFIN traf...@sirap.fr
  mailto:traf...@sirap.fr
   mailto:traf...@sirap.fr mailto:traf...@sirap.fr wrote:
  
   What is your pmapper version please ?
  
   Le 11/05/2011 13:19, Chris Jackson a écrit :
Hi all
   
I have a variety of layer dependent credit text in the mapfile
   (Thanks
Thomas for help there), which is positioned fine on the screen
   in pmapper,
however the PDF print output goes to town with the fonts and
   makes the text
huge, overlap and partially excluded from the map frame.  I am
   guessing this
is down to differences in rendering fonts on a screen and in
   print.  Are
there any rules of thumb to minimise the discrepancies and
  produce a
sensible PDF print output?
   
Thanks
   
Chris
   
  
 
 --
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation
  tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
  mailto:pmapper-users@lists.sourceforge.net
   mailto:pmapper-users@lists.sourceforge.net
  mailto:pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users
   
   
   
  
  
 
 --
   Achieve unprecedented app performance and reliability
   What every C/C++ and Fortran developer should know.
   Learn how Intel has extended the reach of its
  next-generation tools
   to help boost performance applications - inlcuding clusters.
   http://p.sf.net/sfu/intel-dev2devmay
   ___
   pmapper-users mailing list
   pmapper-users@lists.sourceforge.net
  mailto:pmapper-users@lists.sourceforge.net
   mailto:pmapper-users@lists.sourceforge.net
  mailto:pmapper-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/pmapper-users
  
  
 
 --
  Achieve

Re: [pmapper-users] Rendering of credit text in PDFs

2011-05-11 Thread Chris Jackson
Armin

Trick works well - thanks.  Tried your other suggestion quickly but it plays
havoc with my graticule etc, so settling for the quick fix for now!

Cheers
Chris

On 11 May 2011 17:40, Armin Burger armin.bur...@gmx.net wrote:

 Hi all

 the map creation for PDF increases the size of TTF labels since the map is
 requested with a higher resolution and is then stuffed into a lower
 width/height as it actually is. This was to improve the print quality,
 especially of fine structures. But it requires higher original text sizes
 because they're shrinked with the map image.

 If you define a lower resolution for the PDF output in the config xml then
 also the labels are not or less increased:

 print
 pdfres2/pdfres

 Setting it to 1 should not change the label sizes any more.

 Since MS 5.6 they introduced a new mechanism that could probably make this
 workaround obsolete, see
  http://mapserver.org/development/rfc/ms-rfc-55.html

 I have not had any look at it, though.

 armin




 On 11/05/2011 15:54, Chris Jackson wrote:

 Thomas

 I have played with both methods, the most success I have had is with size
 7
 and aligning to the bottom right (just about stays out of the way of the
 scalebar on the left).  If if don't define a font size it is barely
 legible
 on the screen, but good for the PDF (equivalent to defining 'small').

 Chris


 On 11 May 2011 14:37, Thomas RAFFINtraf...@sirap.fr  wrote:

  I've got an idea... Are you using size in text (small, big, ...) or
 numerical (10, 12, ...)? With the default font given in example?

 For me with numerical values it works.

 And you are right, the label are increased (else the labels for real
 objects are too small, due to pdf resolution). Maybe there is an issue
 with pdf resolution parameter...

 Le 11/05/2011 15:07, Chris Jackson a écrit :

 Thomas

 This moves the location of the text around, but doesn't stop it being
 rendered in the PDF as jumbo text, I wondered whether there was some
 handle on the text size at PDF rendering time?

 Otherwise if I switch the font size to small in the map file, then the
 PDF looks much better, but on screen version is unreadable without a
 magnifying glass!

 I have used the label position which helps align two lines of text
 (one uses ll the other ul) - saves offsetting the points.  I may have
 to spread the lines apart so when they are rendered larger they don't
 overlap.


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] csv export dependencies

2011-05-11 Thread Chris Jackson
Hi all

Does anyone know if the csv export requires OWC/office on the server?  Just
it works fine on one box, and not another (no download button appears) -
both sites are W2K3 on IIS and use same php library and pmapper files one
difference that springs to mind was the office element?

Also whilst on subject the results tables I can't for the life of me
remember where the number/value formatting options are - 5.7656000e+004
isn't very pleasant on the eye!

Cheers
Chris
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] A couple of questions...

2011-05-10 Thread Chris Jackson
Hi all

Is it possible to make a block of text/image etc dependent on the active
(visible/ticked) layers on the screen?  I.e.pseudo watermarking.

Also I am using the searchtool plugin for searches and wondered if there is
a way to either keep the selected search option selected in the drop-down
list or populate a html tag with the relevant search option name?  At the
moment you select an option and get the input fields, but are reliant on the
field labels for describing what you may have chosen.  On that note can you
use default values in parameter fields?

Many thanks

Chris
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] A couple of questions...

2011-05-10 Thread Chris Jackson
Hi Thomas

Makes sense.

Thanks for the code works well, note - one of the // in the code below is on
the wrong line.

As for taking the pre-populated values further - I am not codey (clever)
enough for that, I am guessing you could extend the search xml/xsd side of
things to take more information.  I already have a little Aide-mémoire table
of min/max values for users so will use that for now and hardwire a link to
it in the search form!

Cheers for the help, much appreciated.

Chris

On 10 May 2011 14:59, Thomas RAFFIN traf...@sirap.fr wrote:



 Le 10/05/2011 15:39, Chris Jackson a écrit :
  Hi Thomas
 
  Thanks for the response, I guessed the mapfile method was one way,
  though does the layer always appear on the screen irrespective of zoom
  (i.e. floats top left of map port - like GMap/earth APIs)?  Haven't
  got it to work yet but will get back to it.  I noticed grouping the
  layer with the respective watermark seems to be another way - again I
  wasn't sure how the watermark element was positioned on the screen.
 


 I think it is the way to add watermarks with mapserver.

 As the layer has the TRANSFORM tag is will be drawn in this example at
 the lower right position, relative to the map image. In the FEATURE
 part, it is the offset to place it correctly.
 The REQUIRE is optional and allow to show different credits
 informations depending on activated layers. The STATUS has to be
 DEFAULT and the layer not listed in pmapper groups.

 Look at the mapfile doc here for more details :
 http://mapserver.org/mapfile/index.html#mapfile


  As for the search side of things - attached is a screenshot of the
  search window after I selected the first search from the drop-down
  list, as you can see no visual clue to which search I selected (you
  can guess it is related to spring peak flow from the field label).  It
  would be good to either mod the drop-down list so the selected search
  is still highlighted (not the phrase 'search for') or just push the
  search descriptor into an empty span tag.

 OK! I have already done it. I will check the changes you have to made
 for that.


 
  What I also wanted to do was pre-populate the inputs with values too -
  can this be done in the within the search xml?

 I think this point will require specific development because it is not
 already implemented. If you plan to do it, please make a plugin. So I
 could try to integrate it in the QueryEditor plugin.


 
  Many thanks
 
  Chris
 
 
  On 10 May 2011 13:41, Thomas RAFFIN traf...@sirap.fr
  mailto:traf...@sirap.fr wrote:
 
  Hi,
 
  Responses below
 
  Le 10/05/2011 14:28, Chris Jackson a écrit :
   Hi all
  
   Is it possible to make a block of text/image etc dependent on
  the active
   (visible/ticked) layers on the screen?  I.e.pseudo watermarking.
 
 
  LAYER
  NAME credits
  REQUIRES ([layer1] AND ![layer2])
  STATUS DEFAULT
  TRANSFORM lr
  TYPE ANNOTATION
  FEATURE
  POINTS
  -40 -2
  END
  TEXT 'blabla'
  END
  CLASS
  LABEL
  ...
  END
  END
  END
 
   Also I am using the searchtool plugin for searches and wondered
  if there is
   a way to either keep the selected search option selected in the
  drop-down
   list or populate a html tag with the relevant search option
  name?  At the
   moment you select an option and get the input fields, but are
  reliant on the
   field labels for describing what you may have chosen.  On that
  note can you
   use default values in parameter fields?
 
  I'm not sure to understand what you mean. The searchtool plugin only
  show the form that is by default included in the main pmapper page.
  Could you sent me more explanations maybe with screenshots please?
 
 
   Many thanks
  
   Chris
  
 
 --
   Achieve unprecedented app performance and reliability
   What every C/C++ and Fortran developer should know.
   Learn how Intel has extended the reach of its next-generation tools
   to help boost performance applications - inlcuding clusters.
   http://p.sf.net/sfu/intel-dev2devmay
   ___
   pmapper-users mailing list
   pmapper-users@lists.sourceforge.net
  mailto:pmapper-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/pmapper-users
  
  
  
 
 
 --
  Achieve unprecedented app performance and reliability
  What every C/C++ and Fortran developer should know.
  Learn how Intel has extended the reach of its next-generation tools
  to help boost performance applications - inlcuding clusters.
  http://p.sf.net/sfu/intel

Re: [pmapper-users] selectionManagement plugin

2011-04-08 Thread Chris Jackson
Hi all,

Have been following this discussion, and I thought I would try the plugin in
question (had noticed it but not had time to tinker).  Does a good job and
is similar to something I used in another webgis app.  A suggestion (if this
plugin is ongoing) would be it would be great to have a 'history' of
selection tasks that you can then re-run at a click (I guess you just
remember selection criteria/layer for the re-runs).

Cheers
Chris

On 8 April 2011 13:44, Thomas RAFFIN traf...@sirap.fr wrote:

 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


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

2011-04-08 Thread Chris Jackson
Thomas,

Who was that directed at?  For my part I have tried various plugins like
layer management, coordinates, searchtool, queryeditor, layerselect,
mapselect, layerinfo, tocinfolink, transparency 2 etc, then just tinkered
with JQuery (more tabs/accordions etc), printing PDF layouts and searches.
I did bounce off themes and views plugins with problems a while ago and need
to go back and try it agan.

I am thinking about looking into split screen layouts for comparative layer
work as an aside.  In general dead impressed for an OpenSource product (my
main headaches have been data rendering performance)!

Also FYI - with help am putting an ArcGIS 10 script for extracting raster
and vector (polygon) legends from mxd into .map friendly formats (I deal
with lots multi class layers which is tedious to code manually with RGB
values!).

Cheers
Chris

On 8 April 2011 15:36, Thomas RAFFIN traf...@sirap.fr wrote:

 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 RAFFINtraf...@sirap.fr  έγραψε:
 
  Από: Thomas RAFFINtraf...@sirap.fr
  Θέμα: 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

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

2011-04-08 Thread Chris Jackson
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.

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!!

Cheers
Chris

On 8 April 2011 17:39, Armin Burger armin.bur...@gmail.com wrote:

 On 08/04/2011 16:57, Chris Jackson wrote:
  I am thinking about looking into split screen layouts for comparative
 layer
  work as an aside.

 I have some doubts that this will work with p.mapper due to its session
 handling (nearly everything is stored in a PHP session). If both maps
 will run on the same web site they would share the same session and have
 overlapping session variables, with one map overwriting the settings of
 the other. In v4.1 I added the possibility for custom session
 management, but I don't know if this could solve this issue.


  my main headaches have been data rendering performance

 Where do these problems appear for you? On decently new and powerful
 servers I only noticed some potential performance issues with raster
 data that are re-projected and use resampling, but even this can usually
 be resolved with some layer/data management and pre-processing. Vector
 data if defined with reasonable scale dependencies are normally quite
 fast to render, even with re-projection.

 armin


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


Re: [pmapper-users] PDF legend settings

2011-04-04 Thread Chris Jackson
Hi Thomas

Thanks for that, got there the other day, I just have a few layers with 10+
classes to deal with.

cheers
chris

On 4 April 2011 10:33, Thomas RAFFIN traf...@sirap.fr wrote:

 Hi,

 If you only want to have 4 columns instead of 2, you just have to specify
 legendNumColumns=4
 instead of 2 in the print.xml file.

 There are also few different layouts implemented for the PDF output:

 http://svn.pmapper.net/trac/wiki/DocManualprint#Definingformat:legendandlayoutdefinition

 Thomas

 Le 30/03/2011 18:36, Armin Burger a écrit :
  you can try the extended settings for PDF printing and maybe set one of
  them as default if it does more or less what you want (using the
  XML/HTML template for the print dialog).
 
  Otherwise you need to write custom printing functions. The TCPDF library
  now also supports HTML as input (to be then converted to PDF), this
  might be easier to create than using native PDF constructors which is
  sometimes a bit tedious.
 
  armin
 
  On 30/03/2011 15:30, Chris Jackson wrote:
  Hi
 
  What is the best way to modify the legend layout in the print outputs?
  I
  have some verbose classes for a couple of layers which forces a second
 page
  just for the legend, ideally I would like to fit four columns across the
  bottom (not two)?
 
  cheers
  Chris
 
 --
  Enable your software for Intel(R) Active Management Technology to meet
 the
  growing manageability and security demands of your customers. Businesses
  are taking advantage of Intel(R) vPro (TM) technology - will your
 software
  be a part of the solution? Download the Intel(R) Manageability Checker
  today! http://p.sf.net/sfu/intel-dev2devmar
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 
 --
  Create and publish websites with WebMatrix
  Use the most popular FREE web apps or write code yourself;
  WebMatrix provides all the features you need to develop and
  publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 
 


 --
 Create and publish websites with WebMatrix
 Use the most popular FREE web apps or write code yourself;
 WebMatrix provides all the features you need to develop and
 publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] On the subject of wiki updates

2011-04-01 Thread Chris Jackson
Armin

Worked a treat thanks, I think the PDF print functionality overall is pretty
impressive!
Cheers
Chris

On 31 March 2011 18:21, Armin Burger armin.bur...@gmail.com wrote:

 should be possible to suppress categories in the legend by setting

 printCategory to 0 in print.xml

 armin


 On 31/03/2011 10:31, Chris Jackson wrote:

 Armin

 I noticed an omission of a comma in one of the plugins - TOC info link on
 http://svn.pmapper.net/trac/wiki/PluginsToc should have a comma after -
 insert: 'after' in the options section of code.  Hope that makes sense!

 Also thanks for the PDF tip, changes sorted, was sort of on the right
 track.  On that note is it possible to stop the category header printing?

 Chris

 --
 Create and publish websites with WebMatrix
 Use the most popular FREE web apps or write code yourself;
 WebMatrix provides all the features you need to develop and
 publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users



--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] How to customize pmapper-4.4.1?

2011-03-30 Thread Chris Jackson
Silvestre

A good place to start is http://svn.pmapper.net/trac/wiki

The map files live in config folders - eg -
pmapper\config\default\pmapper_demo.map is the standard out of the box one.
There is a reference ot the underlying data folder in there (usually stored
a level above the web app folder).  I know in IIS you have to use absolute
path eg. SHAPEPATH D:\ms4w\apps\pmapper\data\wisles otherwise it is a
relative path eg SHAPEPATH ../../../pmapper_demodata

As for tweaking the pmapper basics you have js_config.php, custom.css and
custom.js in the config\default folder to change tools, styles etc, then in
the config folder is a corresponding config_default.xml (
http://svn.pmapper.net/trac/wiki/XmlFileSettings talks about this file),
which defines which plugins etc are loaded, search functions can be defined
here too (or separately - http://svn.pmapper.net/trac/wiki/DocManualsearch).
Searches are also reliant on mapfile settings for a given layer too - the
example pmapper_demo.map covers this (city and country layers).

Have fun, Armin and co. have done a good job!

Cheers
Chris

On 30 March 2011 00:16, Tinho Correia tinhocorrei...@gmail.com wrote:

 Hi,

 I have installed pmapper 4.1.1. Wich files I must modify to customize it? I
 would like to put my own shapefiles and also to modify the fields of
 search.

 Can someone help me?

 Greetings

 Silvestre

 --
 Enable your software for Intel(R) Active Management Technology to meet the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] IIS install funny

2011-03-30 Thread Chris Jackson
Update - I had to switch the mapfile image path from a relative to absolute
link and all fixed - I guess apparently I must be missing an environment
variable on the second windows system

Chris

On 29 March 2011 16:37, Chris Jackson webturt...@gmail.com wrote:

 Hi all

 I have been just setting up a new IIS installation of pmapper and can get
 the application to load, but with a white area (complete with loading image)
 instead of a map.  However, I can still query and print a PDF fully intact.
 There doesn't seem to be any pmapper error as such in the log.
 Any thoughts? I think all perms and extensions are correct/enabled (A PHP
 check lists mapscript ok).

 cheers
 chris

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] PDF legend settings

2011-03-30 Thread Chris Jackson
Hi

What is the best way to modify the legend layout in the print outputs?  I
have some verbose classes for a couple of layers which forces a second page
just for the legend, ideally I would like to fit four columns across the
bottom (not two)?

cheers
Chris
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] IIS install funny

2011-03-29 Thread Chris Jackson
Hi all

I have been just setting up a new IIS installation of pmapper and can get
the application to load, but with a white area (complete with loading image)
instead of a map.  However, I can still query and print a PDF fully intact.
There doesn't seem to be any pmapper error as such in the log.
Any thoughts? I think all perms and extensions are correct/enabled (A PHP
check lists mapscript ok).

cheers
chris
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] modifying element properties per configuration

2011-03-27 Thread Chris Jackson
As an update, the easiest way was to add a js variable into js_config.php
(same folder as map file) and just call it in the main map document.  Then
if you switch configs then the variable content will switch accordingly.  I
was trying to populate an extra tab that I bolted on.  Armin - any plans to
integrate PMapper with the Jquery UI interface?

Chris

On 24 March 2011 16:41, Chris Jackson webturt...@gmail.com wrote:

 Hi all,

 What is the easiest way to modify an element per map configuration.  I am
 guessing using the custom.js file might be a good way, though I am stuggling
 to modify an existing element (e.g. append html to a div).  Easy enough to
 do in the $(document).ready part of the default.phtml but not much use,
 would something like $.extend(. be required?

 Cheers
 Chris

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] modifying element properties per configuration

2011-03-24 Thread Chris Jackson
Hi all,

What is the easiest way to modify an element per map configuration.  I am
guessing using the custom.js file might be a good way, though I am stuggling
to modify an existing element (e.g. append html to a div).  Easy enough to
do in the $(document).ready part of the default.phtml but not much use,
would something like $.extend(. be required?

Cheers
Chris
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] PMapper security options

2011-03-17 Thread Chris Jackson
Hi all

Can PMapper be run as an SSL application?  Also does anyone have any
experience/tips on securing PMapper either at the application or layer
management level for different users?

Many thanks

Chris
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] legend not loading on start in separate legend layout

2011-03-15 Thread Chris Jackson
Hi all

Using the supplied demo example all works fine, however if I thin out the
data in the config xml file (groups etc) then the legend won't display until
a layer is turned off then on again.

In the error log I have the following (i switched from a not working config
to a working one) interesting that there is a warning too, though not the
cause!

Warning: DOMDocument::schemaValidate(): Element 'pmapper': No matching
global declaration available for the validation root. in
D:\ms4w\apps\pmapper\pmapper-vuks\incphp\query\search.php on line 69

[15-Mar-2011 14:57:22] P.MAPPER debug info
 Validation of search.xml file FAILED:

Warning: DOMDocument::schemaValidate(): Element 'pmapper': No matching
global declaration available for the validation root. in
D:\ms4w\apps\pmapper\pmapper-vuks\incphp\query\search.php on line 69

[15-Mar-2011 14:58:51] P.MAPPER debug info
 Validation of search.xml file succeeded


I can see in firebug that a load stops after calling
x_get-transparencies.php? before it can load x_toc_update.php? which I guess
would load the legend.

The bad config xml is below, I did strip out the search tags (do they have
to remain in but empty?).

pmapper
ini
pmapper
pmTitlep.mapper - A MapServer PHP/MapScript
Framework/pmTitle
pmLogoSrcimages/logos/logo-blue-lightblue.png/pmLogoSrc
debugLevel1/debugLevel
pluginsexport/plugins
pluginsscalebar/plugins
pluginstransparency/plugins
/pmapper
config
pm_config_locationdefault1/pm_config_location
pm_javascript_locationjavascript/pm_javascript_location
pm_javascript_optionaloptional/ui/pm_javascript_optional
pm_print_configfilecommon/print.xml/pm_print_configfile
pm_search_configfileinline/pm_search_configfile
/config
map
mapFilepmapper_demo.map/mapFile
tplMapFilecommon/template.map/tplMapFile
categories
category name=cat_admin
groupcountries/group
/category
/categories
allGroups
groupcountries/group
/allGroups
defGroups
groupcountries/group
/defGroups
layerAutoRefresh1/layerAutoRefresh
sliderMaxmax/sliderMax
sliderMin10/sliderMin
/map
query
limitResult300/limitResult
highlightColor0 255 255/highlightColor
highlightSelected1/highlightSelected
autoZoomnquery/autoZoom
autoZoomsearch/autoZoom
zoomAllsearch/zoomAll
zoomAllnquery/zoomAll
infoWindynwin/infoWin
alignQueryResults1/alignQueryResults
pointBuffer1/pointBuffer
shapeQueryBuffer0.02/shapeQueryBuffer
/query
ui
tocStyletree/tocStyle
legendStyleswap/legendStyle
useCategories1/useCategories
catWithCheckbox1/catWithCheckbox
scaleLayers1/scaleLayers
icoW18/icoW
icoH14/icoH
/ui
locale
defaultLanguageen/defaultLanguage
defaultCharsetUTF-8/defaultCharset
map2unicode1/map2unicode
/locale
print
printImgFormatpng/printImgFormat
printAltImgFormatjpeg/printAltImgFormat
pdfres2/pdfres
/print
download
dpiLevels150/dpiLevels
dpiLevels200/dpiLevels
dpiLevels300/dpiLevels
/download
php
pearDbClassMDB2/pearDbClass
/php
pluginsConfig
export
formatsXLS/formats
formatsCSV/formats
formatsPDF/formats
/export
/pluginsConfig
/ini

/pmapper

Chris
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] IE8 tool tip issue

2010-11-26 Thread Chris Jackson
Hi Armin

I am using the separate legend layout, but just checked a very recent dev
version of the normal template and still have a little grey box top right.
I have the default followmouse setting too.  It is weird because if you
click the select tool then the drop-down list appears fine.

Chris

On 25 November 2010 17:42, Armin Burger armin.bur...@gmail.com wrote:

 On 24/11/2010 16:12, Chris Jackson wrote:
  All
 
  Apologies if this has already been raised, but the tool-tip
 dialog/results
  aren't behaving in IE8  - just a collapsed little grey box (in 4.1.1 and
 dev
  version), the other i-tools work fine.  All behaves in FF.  Any ideas?
  Thanks
  Chris

 For me IE8 displayed everything correctly when using the default option

 PM.autoIdentifyFollowMouse = false;




 --
 Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
 Tap into the largest installed PC base  get more eyes on your game by
 optimizing for Intel(R) Graphics Technology. Get started today with the
 Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
 http://p.sf.net/sfu/intelisp-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Error in Plugin

2010-11-25 Thread Chris Jackson
Eduardo

I am no expert on this, for my purposes the following worked (epsg:3035 was
also defined as my map projection in the mapfile).

coordinates
mapPrj name=ETRS89/ETRS-LAEA roundTo=0
/mapPrj
prj name=lat/lon WGS84 roundTo=4
definitioninit=epsg:4326/definition
/prj
prj name=UTM31 roundTo=0
definitioninit=epsg:32631/definition
/prj
/coordinates

I wonder whether you just need to reformat your definitions - lowercase and
no spaces (I assume your badly formed tags in the snippet isn't the
actual code you are using, if so then use my snippet as a guide).

HTH
Chris

Also check the code lives in the plugins tag in your config.xml


2010/11/25 Eduardo Bieñkowski eduko...@gmail.com

 Dears
 Enable the plugin cordinate in pmapper-4.0,  and I get the following error:

 PHP Fatal error: [MapServer Error]: msProcessProjection (): Not named
 projection
  in / var/www/pmapper-4.0/plugins/coordinates/projection.php on line 7

 I put here the configuration in config_default.xml

 coordinates
name=WGS mapPrj 84 / UTM zone roundTo=0 21S
/ MapPrj
name=longlat prj WGS84 roundTo=4
definition init = EPSG: 4326 / definition
/ Prj
name=UTM21 prj roundTo=0
definition init = EPSG: 31721 / definition
/ Prj
/ Coordinates


 Eduardo


 
 Español

 Acabo de habilitar el plugin cordinates en pmapper-4.0  y me da el
 siguiente error:

 PHP Fatal error:  [MapServer Error]: msProcessProjection(): projection not
 named
  in /var/www/pmapper-4.0/plugins/coordinates/projection.php on line 7

 Pongo aquí la configuracion  en el config_default.xml

 coordinates
mapPrj name=WGS 84 / UTM zone 21S roundTo=0
/mapPrj
prj name=longlat WGS84 roundTo=4
definitioninit=epsg:4326/definition
/prj
prj name=UTM21 roundTo=0
definitioninit=epsg:31721/definition
/prj
/coordinates

 Saludos
 Eduardo

 --
 Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
 Tap into the largest installed PC base  get more eyes on your game by
 optimizing for Intel(R) Graphics Technology. Get started today with the
 Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
 http://p.sf.net/sfu/intelisp-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] FASTCGI CACHE

2010-11-24 Thread Chris Jackson
Hi Jorge

How about also considering an optimiser like eAccelerator or Xcache
(Wincache is only NTS) - an article here on performance -
http://www.nexdot.net/blog/2010/02/09/wincache-apache-and-a-pretty-graph/.

I also found out via the mailing lists that if you are coloring up lots of
classes over 1000's of rows (shapefiles for me) then preclassifying in the
attributes so [1 = red, 2 = blue...] rather than on-the-fly logic in the
mapfile like [if 1 and  2 then red] sped things up a treat!

Chris

On 24 November 2010 14:31, jorge villa jlv...@hotmail.com wrote:


 Hi I am having trouble with the response of my server with pmapper, so i
 would like to try fastcgi to improve speed and i was wondering if there is
 any way to use tilecache or any other program with pmapper for optimizing
 the period of response. Please any hint will be great.

 Jorge


 --
 Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
 Tap into the largest installed PC base  get more eyes on your game by
 optimizing for Intel(R) Graphics Technology. Get started today with the
 Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
 http://p.sf.net/sfu/intelisp-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] IE8 tool tip issue

2010-11-24 Thread Chris Jackson
All

Apologies if this has already been raised, but the tool-tip dialog/results
aren't behaving in IE8  - just a collapsed little grey box (in 4.1.1 and dev
version), the other i-tools work fine.  All behaves in FF.  Any ideas?
Thanks
Chris
--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Always on layers and legends

2010-09-03 Thread Chris Jackson
Armin

I had already switched the map projection to match the raster, but ran the
internal tiling and overviews as you suggested.  However, didn't make a jot
of difference when rendering the raster.  I wonder if it is to do with my
map definition of the raster layer and the way I am classifying it.  Snippet
below, I know logical classification carries an overhead - found that out on
some of the vector data and discovered the benefits of classifying within
the shapefile (via the mapserver community), not sure what can done with a
raster layer!?

Chris

LAYER
NAME 'dem1'
DATA 'bathy_dd1.tif'
PROJECTION
init=epsg:32631
END #end projection
METADATA
ows_title dem1
DESCRIPTION   Bathymetry
END #end metadata
TRANSPARENCY 100
TYPE raster
OFFSITE 255 255 255 # transparency color for raster layer
STATUS ON
TOLERANCE 8 #default is 3 for raster, 0 for vector
#TOLERANCEUNITS meters #default is meters,
[pixels|feet|inches|kilometers|meters|miles|dd]
TEMPLATE void

#CLASSITEM [pixel]
CLASS
NAME ' 5 (m Depth)'
EXPRESSION ([pixel] = -5)
COLOR 182 237 240
END #end class
CLASS
NAME '5 - 10'
 EXPRESSION ([pixel] = -10 AND [pixel]  -5)
COLOR 161 218 237
END #end class
etc

On 3 September 2010 13:39, Armin Burger armin.bur...@gmail.com wrote:

 On 02/09/2010 22:39, Chris Jackson wrote:
  Armin
 
  It is only a 50mb GeoTIFF of bathmetry for the UK continental shelf with
 12
  classes.  It takes about 8 seconds to draw, I wasn't sure about using a
  tileindex (my old app didn't), but will start using one.  I also have a
  slight mix in projections WGS 84 UTM zone 31N and UTM zone 30N, which I
  think may slow things down too.
 
  Chris
 
  On 2 September 2010 20:13, Armin Burgerarmin.bur...@gmx.net  wrote:
 

 Just re-project all images to the projection used for your MAP, using
 eg. gdalwarp:
 # gdalwarp -s_srs EPSG:32631 -t_srs EPSG:32630 -co TILED=YES
 in_img.tix out_img.tif

 re-projects from UTM zone 31 to zone 30 and creates a GeoTiff with
 internal tiles.

 Then create overviews with gdaladdo, like
 # gdaladdo -ro your_img_file.tif 4 8 16 32

 The 4GB image I mentioned took 1-2 s to be rendered into the map image,
 depending on scale.

 armin


 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Always on layers and legends

2010-09-02 Thread Chris Jackson
Armin

It is only a 50mb GeoTIFF of bathmetry for the UK continental shelf with 12
classes.  It takes about 8 seconds to draw, I wasn't sure about using a
tileindex (my old app didn't), but will start using one.  I also have a
slight mix in projections WGS 84 UTM zone 31N and UTM zone 30N, which I
think may slow things down too.

Chris

On 2 September 2010 20:13, Armin Burger armin.bur...@gmx.net wrote:

 On 02/09/2010 13:53, Chris Jackson wrote:
  Hi
 
  I have certain base layers that I always want to be on and then the user
  superimposes other datasets.  At present I can get the layers to show by
  using status=on in the map file and adding the layer to the all and
 default
  groups tag in the config xml (so they load but do not appear in the TOC
  list).  However I want some of these layers to appear in the legend too -
  any clues?  Do they have to be in the TOC for the legend to display? If
 so
  is there a way to disable the tickbox for specific layers (without using
 the
  mutualDisableList) so they are permanently on.

 not possible without changing the core code. You could do it on the PHP
 side in toc.php or probably also in Javascript in pm.toc.js, but you
 will need some deeper code analysis.

 
  Also is it possible to load a pre-coloured raster geoTiff and load in an
  associated pre-prepared legend image to match in the legend pane (I can
 get
  uncoloured version of the geoTIFF to load and colour up based on map
  classes, which builds the legend fine, but is too slow loading for a
  baselayer).
 

 in order to get a legend you need to define classes for a layer. How
 else should the application know which icons to add to the legend? But
 you could somehow tweak the legend creation in PHP if you really want.

 I'm just wondering about your problem with speed. If you do not have
 100's of classes for the layer (which would not really make sense IMO),
 speed should not be an issue. At least I never had problems with a 4GB
 Tiff file for Corine landcover with 30 or so classes, given the Tiff
 file had been prepared with overviews etc.

 armin


 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Feature select performance

2010-08-28 Thread Chris Jackson
Armin

I will stick to the custom.js and $extend() then, makes sense.  Thanks for
the info.

Chris

On 28 August 2010 13:31, Armin Burger armin.bur...@gmail.com wrote:

 Chris

 the whole query output is determined by sort of template design. It allows
 for a certain amount of restructuring of the output by changing (or
 extending) the default template, but without modifying directly the
 Javascript code that generates the HTML.

 It's also possible to do all the parsing on the PHP site, using eg. PHP
 templates like smarty, but I never tested it. And it will increase the
 amount of data sent to the browser by at least the factor 2.

 In general, modifying the compressed javascript file is not a good idea.
 For any testing set the /src/ directory below /javascript/ as the JS
 location. Then edit the src files, then re-compress everything uasing the
 tool under the utils part of the SVN. Or, even better, put your modified
 JS code in the custom.js file of your config directory (usually
 /config/default/). This overwrites everything existing with the same name,
 best is to use the jQuery $extend(), though.

 If you just want to display the number of results in the table header, add
 something in custom.js like

 $.extend(true, PM.Query,
 {
queryTpl:
{
table:
   {layers:
{#default:
   {layerHeader:div
 class=\pm-info-layerheader\_p(Layer): ${description} - Number of results:
 ${numresults}/divtable class=\sortable\ cellspacing=\0\
 cellpadding=\0\ border=\0\,
}
}
}
}
 });

 (the broken line might need to be in 1 single line). This overwrites only
 this specific part by extending the template object queryTpl at just one
 place.

 Armin



 On 27/08/2010 23:02, Chris Jackson wrote:

 Armin

 Due to dabbling in not my usual code I am scratching my head to know
 what syntax to use to embed numResult session value in
 pm_cjs.js/pm.query.js as an output.  Going further than that I was
 already trying to add a new session variable in squery.php (eg
 numResult2) beofre your last email, but that was going wrong too (not
 sure how to initiate new session variables in the app)!  A brief insight
 to both items would be appreciated.
 Thanks
 Chris

 On 26 August 2010 17:54, Armin Burger armin.bur...@gmail.com
 mailto:armin.bur...@gmail.com wrote:

On Wed, Aug 25, 2010 at 3:44 PM, Chris Jackson webturt...@gmail.com
mailto:webturt...@gmail.com wrote:
  So back to the query.php code,
  do you retrieve a count of matched features from the shapefile
 before
  looping through them or is it even possible?
 

You can check the returned JSON string using eg. Firebug and the
response for x_info.php. Or check the value in the session variable,
The parameter is called numresults, but if the display limit is
reached it returns this value instead of the real number of results.

For shapefiles you could change this in squery.php, commenting out
line 89.

armin




--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Feature select performance

2010-08-27 Thread Chris Jackson
Armin

Due to dabbling in not my usual code I am scratching my head to know what
syntax to use to embed numResult session value in pm_cjs.js/pm.query.js as
an output.  Going further than that I was already trying to add a new
session variable in squery.php (eg numResult2) beofre your last email, but
that was going wrong too (not sure how to initiate new session variables in
the app)!  A brief insight to both items would be appreciated.
Thanks
Chris

On 26 August 2010 17:54, Armin Burger armin.bur...@gmail.com wrote:

 On Wed, Aug 25, 2010 at 3:44 PM, Chris Jackson webturt...@gmail.com
 wrote:
  So back to the query.php code,
  do you retrieve a count of matched features from the shapefile before
  looping through them or is it even possible?
 

 You can check the returned JSON string using eg. Firebug and the
 response for x_info.php. Or check the value in the session variable,
 The parameter is called numresults, but if the display limit is
 reached it returns this value instead of the real number of results.

 For shapefiles you could change this in squery.php, commenting out line 89.

 armin

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] (no subject)

2010-08-26 Thread Chris Jackson
Hi

From my minimal delvings into this, a quick win (ie. switch the default logo
out) is to edit config/common/print.xml and point to a new logo/change bg
colour (PDF and HTML).
I think there are some CSS settings in templates/print/print.css for the
HTML layout look and more key print PDF/HTML processing tasks done by the
code files in incphp/print.

Chris

On 26 August 2010 13:21, Kalafateli Efstratia e.kalafat...@aratos.grwrote:


   Hi,
   I would like to ask a question about the pdf export plugin. It works
 great
   but I would like to add a logo at the pdf which is created. Is there any
   way?
   Thanks in advance!
   Best Regards,
   Stratoula
 --
 Καλαφατέλη Î•Ï…ÏƒÏ„Ï Î±Ï„Î¯Î±
 Î†Ï Î±Ï„Î¿Ï‚ Τεχνολογίες Α.Ε.
 Τμήμα Ανάπτυξης
 Patras Port Business Center
 Ευμήλου 30, 262 22, Î Î¬Ï„Ï Î±
 Tηλ: +30 2610 242670
 Fax: +30 2610 242671
 e-mail: [1]e.kalafat...@aratos.gr
 Web: [2]www.aratos.gr

 References

   1. mailto:e.kalafat...@aratos.gr
   2. http://www.aratos.gr/

 --
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
 Be part of this innovative community and reach millions of netbook users
 worldwide. Take advantage of special opportunities to increase revenue and
 speed time-to-market. Join now, and jumpstart your future.
 http://p.sf.net/sfu/intel-atom-d2d
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] (no subject)

2010-08-26 Thread Chris Jackson
Hi
Do you mean embed a logo into the print dialog window - if so easy - look at
the bottom of the print.xml for the  printdlg tag and add your own content
(you may need to change the dialog width/height etc  - may have to change
dimensions in javascript/pm_cjs.js - search for printdlg). Or do you mean
let the user select their own logo to upload and then embed into the final
print PDF (I think that is what you mean)? Not sure on that one - Will still
need to modify print.xml to add new user fields. I guess you could let them
upload an image (and maybe put some control on size/dimensions/image type)
to a temp folder, create a variable that holds the image name (or just
always overwrite a predefined image - could have unwanted results for the
next user that doesn't upload a logo) then modify the code in
print/pdfprint.php to embed that variable (ie. build image path to user logo
or hardwire a known logo path if image always overwritten) instead of the
default one (code for that is around line 200) or create a new position
where you need it in the PDF layout (more work on layout needed).  I guess
you may want to modify the HTML template too to do the same thing Sorry
I can't be much more help.
Chris

On 26 August 2010 14:47, Kalafateli Efstratia e.kalafat...@aratos.grwrote:

  First of all

 I really want to thank you about your immediate answer!
 I think that Print.xml has the settings for printing in pdf format.

 I want to put a logo in the pdf which is created when a user chooses a
 layer with the select tool. When a user selects the data he wants with this
 tool, a table is displayed with some radio buttons. One radio button is
 Export to pdf. Here I want to add a logo.

 Excuse if I haven't explained this very well

 Thank you again

 Stratoula


 Chris Jackson wrote:

 Hi

 From my minimal delvings into this, a quick win (ie. switch the default logo
 out) is to edit config/common/print.xml and point to a new logo/change bg
 colour (PDF and HTML).
 I think there are some CSS settings in templates/print/print.css for the
 HTML layout look and more key print PDF/HTML processing tasks done by the
 code files in incphp/print.

 Chris

 On 26 August 2010 13:21, Kalafateli Efstratia e.kalafat...@aratos.gr 
 e.kalafat...@aratos.grwrote:



Hi,
   I would like to ask a question about the pdf export plugin. It works
 great
   but I would like to add a logo at the pdf which is created. Is there any
   way?
   Thanks in advance!
   Best Regards,
   Stratoula
 --
 Καλαφατέλη Î•Ï…ÏƒÏ„Ï Î±Ï„Î¯Î±
 Î†Ï Î±Ï„Î¿Ï‚ Τεχνολογίες Α.Ε.
 Τμήμα Ανάπτυξης
 Patras Port Business Center
 Ευμήλου 30, 262 22, Î Î¬Ï„Ï Î±
 Tηλ: +30 2610 242670
 Fax: +30 2610 242671
 e-mail: [1]e.kalafat...@aratos.gr
 Web: [2]www.aratos.gr

 References

   1. mailto:e.kalafat...@aratos.gr e.kalafat...@aratos.gr
   2. http://www.aratos.gr/

 --
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
 Be part of this innovative community and reach millions of netbook users
 worldwide. Take advantage of special opportunities to increase revenue and
 speed time-to-market. Join now, and jumpstart your 
 future.http://p.sf.net/sfu/intel-atom-d2d
 ___
 pmapper-users mailing 
 listpmapper-us...@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/pmapper-users

  
 --
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
 Be part of this innovative community and reach millions of netbook users
 worldwide. Take advantage of special opportunities to increase revenue and
 speed time-to-market. Join now, and jumpstart your 
 future.http://p.sf.net/sfu/intel-atom-d2d
 ___
 pmapper-users mailing 
 listpmapper-us...@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/pmapper-users



 --
 Καλαφατέλη Ευστρατία
 Άρατος Τεχνολογίες Α.Ε.
 Τμήμα Ανάπτυξης
 Patras Port Business Center
 Ευμήλου 30, 262 22, Πάτρα
 Tηλ: +30 2610 242670
 Fax: +30 2610 242671
 e-mail: e.kalafat...@aratos.gr
 Web: www.aratos.gr


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Feature select performance

2010-08-25 Thread Chris Jackson
Armin

Tried your code and timed the two selection techniques with a 5000 feature
limit querying a shapefile - both about 8.5 mins!!! - so no real performance
gain using the old code.  Takes ~45sec with a 1000 feature limit and about
13 secs with a 500 feature limit (working from a low performance test
server).  I do wonder what the difference between by querying shapefile vs
PostGIS would be with a 5000 feature limit, but unlikely to be able to do
that at this end :o(.

Also does the query code count the matching features before looping through
them or just loop and cut off when the feature limit is reached? - it would
be useful to see the number of features selected (and total possible
matching features) at the top of the results table (ie. 500 of a possible
4050 features selected) - this would then inform users that they have
'missed' results due to the imposed feature limit (more important when using
the search or query editor plugins).

Other thoughts - have you tried to tie in users drawing a polygon and it as
the query extents or use of a circular buffer select with the user defining
the distance?

I am still continually impressed with what has been done with P.Mapper - so
thanks!

Chris

On 24 August 2010 21:43, Armin Burger armin.bur...@gmail.com wrote:

 Chris

 something that came into my mind was the use of queryMap. I had not used
 it since eternities because it became obsolete to me using the p.mapper
 highlighting method. I made a quick test and it would need just a few
 lines in query.php and map.php to change/add.

 Note that this will only work for selects, not identifies or searches
 (this would require some more changes). And I have currently no plans
 for changing to this solution, it might be faster in case of lots
 returned values, but has less flexibility. And it would not work with
 the current way of searching in Postgis layers.

 If you're interested, I put the files at
   http://www.pmapper.net/dl/querymap.zip

 You need to define a querymap entry in the map file like

 QUERYMAP
   COLOR 255 255 0
   STATUS on
   STYLE hilite
 END

 also set highlightSelected in the XML config file to 0.

 I have not modified anything to remove the highlight but I can tell you
 what to modify in case you would like to use this solution.

 armin

 On 24/08/2010 16:58, Chris Jackson wrote:
  Hi all
 
  One of the underlying datasets in my P.Mapper app is a model grid (many
  thousand cells) in a shapefile.  The data displays nice and quick when
 just
  viewing, but if I allow the user to select say 5000 cells (using the
 select
  by rectangle tool or even the seach tool) it is very (extremely) slow to
  redraw with the highlighted cells.  Doing the same task in a very old
 ArcGIS
  server web app was much quicker (admittedly the data was in SDE/MS SQL).
  So
  my question is what is the best way to improve performance?  Does using a
  shapefile just not cut it when selecting so much data?  Has anyone got
  P.Mapper to work with a mapfile containing a layer where the data is
 within
  a MS SQL 2005 db with the MSSQLSPATIAL add-on (using OGR)?   Or are there
  other better approaches to use or settings (inc. PHP) to tweak?
 
  Many thanks
  Chris
 
 --
  Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
  Be part of this innovative community and reach millions of netbook users
  worldwide. Take advantage of special opportunities to increase revenue
 and
  speed time-to-market. Join now, and jumpstart your future.
  http://p.sf.net/sfu/intel-atom-d2d
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 



 --
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
 Be part of this innovative community and reach millions of netbook users
 worldwide. Take advantage of special opportunities to increase revenue and
 speed time-to-market. Join now, and jumpstart your future.
 http://p.sf.net/sfu/intel-atom-d2d
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Feature select performance

2010-08-25 Thread Chris Jackson
Armin

Although I had been doing some JS error checking in firefox I have done most
of the selects in IE7 - as you hinted big mistake (unfortunately IE is still
used by ~50% share of the intended UK audience)!  FF is about 20secs for
5000 features - hohum! I agree about how many results do you need in a
table, I think if you are doing that sort of analysis then-desktop GIS.
All I want to do is not exclude any viable data based on the user defining a
set of parameters (just because of a feature limit) or at least tell them
that they have an incomplete set of results.  So back to the query.php code,
do you retrieve a count of matched features from the shapefile before
looping through them or is it even possible?

I also haven't prepared the shapefile in any way so will use the shptree
tool!

Thanks for the comments/ideas

Chris
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Feature select performance

2010-08-24 Thread Chris Jackson
Hi all

One of the underlying datasets in my P.Mapper app is a model grid (many
thousand cells) in a shapefile.  The data displays nice and quick when just
viewing, but if I allow the user to select say 5000 cells (using the select
by rectangle tool or even the seach tool) it is very (extremely) slow to
redraw with the highlighted cells.  Doing the same task in a very old ArcGIS
server web app was much quicker (admittedly the data was in SDE/MS SQL).  So
my question is what is the best way to improve performance?  Does using a
shapefile just not cut it when selecting so much data?  Has anyone got
P.Mapper to work with a mapfile containing a layer where the data is within
a MS SQL 2005 db with the MSSQLSPATIAL add-on (using OGR)?   Or are there
other better approaches to use or settings (inc. PHP) to tweak?

Many thanks
Chris
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Feature select performance

2010-08-24 Thread Chris Jackson
Armin

Thanks for racking your brains on this, sounds promising and will give it a
go tomorrow.
Much appreciated.
Chris

On 24 August 2010 21:43, Armin Burger armin.bur...@gmail.com wrote:

 Chris

 something that came into my mind was the use of queryMap. I had not used
 it since eternities because it became obsolete to me using the p.mapper
 highlighting method. I made a quick test and it would need just a few
 lines in query.php and map.php to change/add.

 Note that this will only work for selects, not identifies or searches
 (this would require some more changes). And I have currently no plans
 for changing to this solution, it might be faster in case of lots
 returned values, but has less flexibility. And it would not work with
 the current way of searching in Postgis layers.

 If you're interested, I put the files at
   http://www.pmapper.net/dl/querymap.zip

 You need to define a querymap entry in the map file like

 QUERYMAP
   COLOR 255 255 0
   STATUS on
   STYLE hilite
 END

 also set highlightSelected in the XML config file to 0.

 I have not modified anything to remove the highlight but I can tell you
 what to modify in case you would like to use this solution.

 armin

 On 24/08/2010 16:58, Chris Jackson wrote:
  Hi all
 
  One of the underlying datasets in my P.Mapper app is a model grid (many
  thousand cells) in a shapefile.  The data displays nice and quick when
 just
  viewing, but if I allow the user to select say 5000 cells (using the
 select
  by rectangle tool or even the seach tool) it is very (extremely) slow to
  redraw with the highlighted cells.  Doing the same task in a very old
 ArcGIS
  server web app was much quicker (admittedly the data was in SDE/MS SQL).
  So
  my question is what is the best way to improve performance?  Does using a
  shapefile just not cut it when selecting so much data?  Has anyone got
  P.Mapper to work with a mapfile containing a layer where the data is
 within
  a MS SQL 2005 db with the MSSQLSPATIAL add-on (using OGR)?   Or are there
  other better approaches to use or settings (inc. PHP) to tweak?
 
  Many thanks
  Chris
 
 --
  Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
  Be part of this innovative community and reach millions of netbook users
  worldwide. Take advantage of special opportunities to increase revenue
 and
  speed time-to-market. Join now, and jumpstart your future.
  http://p.sf.net/sfu/intel-atom-d2d
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 



 --
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
 Be part of this innovative community and reach millions of netbook users
 worldwide. Take advantage of special opportunities to increase revenue and
 speed time-to-market. Join now, and jumpstart your future.
 http://p.sf.net/sfu/intel-atom-d2d
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] ThemesandViews error and search by user defined shape

2010-08-19 Thread Chris Jackson
Hi all

I have been trying to get the themes and views plugin to work, but keep
getting a JS error in the JQuery $(document).ready(function() { } section -
PM.Plugin.ThemesAndViews is undefined.

I think it is wired in... - plugin is enabled in the config file and
pluginsconfig section added.  I have added a couple of buttons in the
js_config file and the xml copied over to config/common dir and language
file updated. Any ideas to what I have missed.

The other thing is there a way to allow users to draw a shape and then use
it as a search clip on a given data layer?

Many thanks
Chris
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users