Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-10 Thread Siki Zoltan

Dear Raffaele,

have you tried Javascript debugging? For example in FireFocyou can use the 
FireBug extension to add breakpoint to your Javascript code, you can see 
Javascript error messages...

In the linkUrl I see a space after localhost:
linkUrl = 'http:/' + '/localhost /sitejob/files/
Is it a typo?

Regards,
Zoltan

On Fri, 11 Jul 2014, Raffaele Morelli wrote:


2014-07-11 7:23 GMT+02:00 Fernando :



There is the code again:

...

METADATA

"RESULT_FIELDS" "id, pdf_files"

"RESULT_HEADERS" "ID, PDF FILES"

"RESULT_HYPERLINK" "pdf_files||Link to pdf detail"

...



$.extend(PM.Custom,
{
// Sample Hyperlink function for result window
openHyperlink: function(layer, fldName, fldValue) {
switch(layer) {
case 'shp_data':
//if (fldName == 'CITY_NAME') {
var linkUrl = 'http:/' + '/localhost /sitejob/files/'
+ fldValue;
window.open(linkUrl, 'wikiquery');
//this.openHyperlinkDialog(linkUrl);
//}
break;

default:
alert ('See function openHyperlink in custom.js: ' + layer
+ ' - ' + fldName + ' - ' + fldValue);
}
},


Perhaps the error is the non-existence of Custom.js file in the
"plainlayout3" folder, which I copied from the "default" folder?



My guess is that your custom.js is not being loaded.
If using chrome, use CTRL+Shift+i to start chrome inspector˙˙ and check in
the sources tab.

/r

PS custom.js should live in your config dir.
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-10 Thread Siki Zoltan
Dear Fernando,

there is an extra space $. extend( in custom.js
   =

change to $.extend(...

Best regards,
Zoltan

On Thu, 10 Jul 2014, Fernando wrote:

> Hello, I have installed mapserver 5.6, pmapper  4.3.2 and use alternative 
> template "plainlayout3", I'm not using the default template. I have in the 
> attribute table of a shp file a column called "pdf_files", in which I keep 
> the name of the pdf file.
>
> In the map file I have placed the following:
>
> ...
> METADATA
> "RESULT_FIELDS" "id, pdf_files"
> "RESULT_HEADERS" "ID, PDF FILES"
> "RESULT_HYPERLINK" "pdf_files | | Link to pdf detail"
> ...
>
> And finally I have to modify the file custom.js. In the folder 
> "pmapper-4.3.2\config\plainlayout3" this file does not exist, but if in 
> "pmapper-4.3.2\config\default" yes. I have copied it to the folder 
> plainlayout3 and changed as follows:
>
> $. extend (PM.Custom,
> {
> / / Sample Hyperlink function for result window
> openHyperlink: function (layer, fldName, fldValue) {
> switch (layer) {
> case 'shp_data':
> / / if (fldName == 'CITY_NAME') {
> linkUrl var = 'http:/' + '/ localhost / sitejob / files 
> /' + fldValue;
> window.open (linkUrl, 'wikiquery');
> / / this.openHyperlinkDialog (linkUrl);
> / /}
> break;
>
> default:
> alert ('See function in Custom.js openHyperlink:' + layer + 
> '-' + fldName + '-' + fldValue);
> }
> },
>
> When I use the Identify function, the result table is opened and pdf_files 
> column show the "Link to pdf detail" text appears with the code "javascript: 
> PM.Custom.openHyperlink ('shp_data', 'pdf_files',' data1.pdf ')" but when I 
> click on it Mozilla Firefox console displays the following error:
>
> TypeError: PM.Custom.openHyperlink is not a function
>
> Please, how I can fix it? Thanks a lot.
>
>
>
> --
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] new jumpxy plugin

2013-08-15 Thread Siki Zoltan

Dear Armin,

I've written a simple plugin to p.mapper.
It pan/zoom map to a point given by co-ordinates.
I attach the neccessary files and readme.
It also available at
http://www.agt.bme.hu/ftp/foss/jumpxy.tgz

Best Regards,
Zoltan

jumpxy.tgz
Description: GNU Zip compressed data
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] attribute search

2013-02-16 Thread Siki Zoltan
Dear Armin,

I got in trouble with attribute search on Linux when the locale LANG is 
other than the shape file encoding. I use version 4.2.0.
In my case LANG=en_US.UTF-8 and LAYER_ENCODING is ISO-8859-2. The problem is 
caused by the following line in suggest.php in function msSuggestMatch 
$val = preg_replace ("/\w/ie", "'('. strtoupper('$0') . '|' . strtolower('$0') 
.')'", $searchVal);

The strtoupper depends on locale settings. Another thing is "e" 
(PREG_REPLACE_EVAL) is depricated as of PHP 5.5.0.

I suggest the preg_replace should be replaced by a function like this:
function buildRegexp($s, $encoding) {
 $res = "";
 $n = strlen($s);
 for ($i = 0; $i < $n; $i++) {
 $a = mb_strtolower($s[$i], $encoding);
 $A = mb_strtoupper($s[$i], $encoding);
 if ($a == $A) {
 $res .= $a;
 } else {
 $res .= "($A|$a)";
 }
 }
 return $res;
 }

The same problem was found in search.php in function getSearchParamsShp at 
the line with preg_replace.

Regards,
Zoltan

--
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] link / plugin / any solution that brings to a specific extent

2012-12-18 Thread Siki Zoltan
Dear Serge,

it is not a direct link/button, you can use search with a list of 
province. Three clicks, one for the search type, second to show combo 
list, third to select from the list.
You should define a new search in config.xml or a separate xml file.
See country search in pmapper demo application.

Best regards,
Zoltan

On Wed, 19 Dec 2012, Serge Claudio Rafanoharana wrote:

> Dear All,
>
> Is there any plugins/ways that can bring to a specific extent. Let's say
> the default extent is covering the whole country, and the link/button will
> bring/zoom to a specific province within the country.
>
> Thanks,
>
> Cheers,
> Serge
> --
> 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] Display only Selection

2012-02-04 Thread Siki Zoltan
Dear John,

you can set  in your xml config. When you turn on a 
group in the list, all the other groups will be turned off.

Regards,
Zoltan

On Sat, 4 Feb 2012, Serge Claudio Rafanoharana wrote:

> Dear JB,
>
> You can try separating the two polygons to become two separated layers and
> then when you select one of the layers, the other becomes inactive. I think
> pmapper has this option.
>
> Hope this can help,
>
> Serge
>
> On Fri, Feb 3, 2012 at 9:07 PM, John Beck  wrote:
>
>> Dear List,
>>
>> I have a shapefile layer that contains two polygons that are side by side.
>>  I would like to selectively turn off one of the polygons so that only one
>> is visible on the map.  Any suggestions on how I could do this?  I thought
>> about using the selection tool but could not figure out how to turn off the
>> non-selected polygon.  Any help would be greatly appreciated.
>>
>> JB
>>
>> --
>> Try before you buy = See our experts in action!
>> 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-dev2
>> ___
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>
>
>
>
> -- 
> Serge
> --
> Try before you buy = See our experts in action!
> 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-dev2
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

--
Try before you buy = See our experts in action!
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-dev2
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Change color legend

2012-01-20 Thread Siki Zoltan
Dear Salo,

check the toc.css in the templates directory. I suppose you should change 
#tocContainer.

Regards
Zoltan

On Fri, 20 Jan 2012, salo wrote:

>
> Hi everyone,
>
> I want change the white color background default that appear in the legend
> when pmapper represent line layers, how I can do it?
>
> Thanks!
> -- 
> View this message in context: 
> http://old.nabble.com/Change-color-legend-tp33174898p33174898.html
> Sent from the pmapper users mailing list archive at Nabble.com.
>
>
> --
> 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
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

--
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
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] How to swap the mouse's wheel to do zoom?

2011-11-21 Thread Siki Zoltan
Hi Salo,

you can find PM.ZoomBox.wheelZoomGoogleStyle in js_config.php (in 
config/default directory).

Regards,
Zoltan

On Mon, 21 Nov 2011, salo wrote:

>
> Hi everyone,
>
> I want to swap the event for the mouse's wheel when I do zoom(+) or zoom(-),
> how can i do it?
>
> Thanks!
> -- 
> View this message in context: 
> http://old.nabble.com/How-to-swap-the-mouse%27s-wheel-to-do-zoom--tp32871973p32871973.html
> Sent from the pmapper users mailing list archive at Nabble.com.
>
>
> --
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, 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-novd2d
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, 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-novd2d
___
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 Siki Zoltan
Dear Peter,

Did you read this page http://svn.pmapper.net/trac/wiki/FaqDebugging?

Does p.mapper display the points and labels?

Regards,
Zoltan

On Mon, 31 Oct 2011, Peter Wells 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 Wo

Re: [pmapper-users] Scalebar units on print preview

2011-07-20 Thread Siki Zoltan

Hi,

you can set up the units in your map file (UNIT parameter in the MAP 
section).

The scale list can be set in the js_config.js file.

Best regards
Zoltan

On Wed, 20 Jul 2011, Aníbal Pacheco wrote:


(pmapper 4.1.1)
How to change the "mi" to "km"? (Or better, the units shown in the
scalebar plugin which vary correctly according to the scale) Is that
possible?

Thanks!

--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users
--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] How can I join a second or third table?

2010-12-07 Thread Siki Zoltan

Hi Gustavo,

probably you should make a view in the sql server joining the two tables, 
and join the view to your shape file.


Regeards,
Zoltan

On Tue, 7 Dec 2010, Gustavo Insaurralde wrote:


I have a layer.

I have joined right with one table on a SQL Server db with an odbc
connection
But i want to join this with some OTHER table on SQL Server.

This is what I want to do:

The shape is about cadastrial info, and the shape have the IDs of the
cadastrial areas.
I have joined with SQL Server to retrieve the "IDsOfOwners" of these
cadastrial areas.
Now i want to retrieve (from the owners table) the owners info (Name,
Adress, etc)
What´s the best way to do that?


---
Gustavo Insaurralde
Analista Programador en Sistemas
Analista en Informática Aplicada
Maestro Mayor de Obras
http://insaurraldegustavo.blogspot.com/
--
What happens now with your Lotus Notes apps - do you make another costly
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users
--
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] question about gdal

2010-11-24 Thread Siki Zoltan

Hello Javier,

try
mapserv -v command, from the output you can see which formats are 
supported by mapserver, other formats are supported through gdal and ogr.


regards,
Zoltan

On Wed, 24 Nov 2010, Fco. Javier García Ricca wrote:


Hello Armin,

Yes, but how necessary it is? For example, can I compile gdal in RHEL with
this options?

./configure --without-ecw --with-png=internal --with-oci=yes
--with-jpeg=internal --with-gif=internal --with-libz=internal
--with-libtiff=internal --with-geotiff=internal

Is it enough? Or need to define someone else? Always with the default
functionality of pmapper.


Thanks again



2010/11/23 Armin Burger 


I would say gdal is usually necessary to run Mapserver (at least some
parts will not work otherwise), and hence also p.mapper - being based on
Mapserver...

On 23/11/2010 19:14, Fco. Javier García Ricca wrote:

Hello, I suposse that gdal only is required when we make transformations

but

I am not sure. Is it necessary to run pmapper?

Thanks



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





--
FJRicca
--
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] queryeditor plugin - installation instructions to update

2010-11-17 Thread Siki Zoltan
Hi,

see the README.txt file in the plugins/queryeditor directory.

regards,
Zoltan

On Wed, 17 Nov 2010, jeanfaubert wrote:

>
> Hi,
>
> Can you tell me more about the installation of QueryEditor plugin? I use
> pmapper4.
>
> Thanks you very much.
>
>
> Jeanfaubert
>
> -- 
> View this message in context: 
> http://old.nabble.com/queryeditor-plugin---installation-instructions-to-update-tp16823765p30238950.html
> Sent from the pmapper users mailing list archive at Nabble.com.
>
>
> --
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Full screen

2010-11-15 Thread Siki Zoltan
Dear Eduardo,

you can create a full screen browser window from javascript.
I've created a pre-page and and start pmapper with a window.open 
javascript command. For example I've created a button on the pre-page
 

regards,
Zoltan

On Thu, 11 Nov 2010, Eduardo Bie?kowski wrote:

> ENGLISH:
> I have installed:
> Ubuntu 9.10
> Apache
> PHP 5.2
> Pmapper-4.0
> Postgres-8.4
> Postgis-1.5
>
> I can configure the browser from pmapper to display in full screen mode?
>
> -
> ESPA?OL:
> Tengo instalado:
> Ubuntu 9.10
> Apache
> Php 5.2
> Pmapper-4.0
> Postgres-8.4
> Postgis-1.5
>
> Puedo configurar el navegador desde pmapper para que se vea en modo de
> pantalla completa?
>
>
> -- 
> Eduardo
> --
> Centralized Desktop Delivery: Dell and VMware Reference Architecture
> Simplifying enterprise desktop deployment and management using
> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
> client virtualization framework. Read more!
> http://p.sf.net/sfu/dell-eql-dev2dev
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

--
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Labels align pmapper 4.0

2010-11-08 Thread Siki Zoltan
Hi Eduardo,

You must use truetype font to rotate label.
The default font is a bitmap font.
It is a mapserver issue, not pmapper.
See FONTSET, TYPE TRUETYPE in map file documentation.

regards,
Zoltan

On Mon, 8 Nov 2010, Eduardo Bie?kowski wrote:

> ENGLISH:
> I have installed:
> Ubuntu 9.10
> Apache
> PHP 5.3
> Pmapper-4.0
> Postgres-8.4
>
> I have the following problem pmapper in a layer of lines (streets) I can not
> align the labels of the names.
> I put here what I have set in the mapfile.
>
> LABEL
> ENCODING "UTF-8"
> POSITION cc
> ANGLE auto
> 300 MINDISTANCE
>COLOR 0,150,150
> BUFFER 1
> SIZE small
> END # Label
>
> But I still see all labels horizontally.
> My desire is to align the direction of the streets.
>
> ---
>
> ESPA?OL:
>
> Tengo instalado:
> Ubuntu 9.10
> Apache
> Php 5.3
> Pmapper-4.0
> Postgres-8.4
>
> Tengo el siguiente problema en pmapper, en una capa de lineas (calles) no
> puedo alinear las etiquetas de los nombres.
> Pongo aqui lo que tengo configurado en el mapfile.
>
> LABEL
>ENCODING "UTF-8"
>POSITION cc
>ANGLE auto
>MINDISTANCE 300
>COLOR 0 150 150
>BUFFER 1
>SIZE small
> END #Label
>
> Sin embargo sigo viendo todas labels en forma horizontal cuando en realidad
> quiero que se vean alineadas con las calles.
> --
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] About Default Cursor

2010-10-26 Thread Siki Zoltan

Dear Michael,

you can always use right mouse button for pan.

regards,
Zoltan

On Tue, 26 Oct 2010, Michael Grün wrote:


Hi Armin, all pmappers-developers,



First, thanx a lot for your great job and programmings…

One question (or better suggestion): would it be possible to make a
permanent pan function on mouse click, like e.g. GoogleMaps, OSM? This would
be a easier way in navigation for people who are not firm with these
handlings, I think this is a lot of scripting, which I can’t do myself,
unfortunately…



Greetings, Michael



There was a similar question years ago, so I used this thread…




[pmapper-users] About Default Cursor


mr kosumo
Thu, 24 Jan 2008 19:35:52 -0800

Hi,

I'm newbie to p.mapper. I just want to know how to set default cursor
to "pan" instead of "zoom in" tool.
Is it possible to get cursor navigation like OpenLayers in p.mapper? I
mean there is one cursor that can be a pan tool also identify tool, so
that user doesn't need to change or click the cursor tool.
How to add "pan" tool in zoom slider?

Thank you.

Kosumo.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.

http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net

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

*   [pmapper-users] About Default Cursor mr kosumo

*

Reply via email to



--

Dipl.-Geogr. Michael Grün

Atlas of the Institutions of European Historiography 1830-2005

SFB 600 - Abt. Kartographie



Universität Trier

FB III - Neuere/Neueste Geschichte

Postfach 12, DM-Gebäude, Raum DM 012

54286 Trier

Germany



Tel: +49 (0)651 / 201-3116

Email:   gru...@uni-trier.de

priv.: triermic...@web.de



--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] One to many join

2010-10-17 Thread Siki Zoltan
Hi Armin and List,

resently mentioned me, that on to many join is nit working.
I have added few lines to printFields function and it seems to work.
There was a problem with the json string.
I use 4.0 version.

My patch

 function printFields($qShape)
 {

 // PRINT RESULT ROW
 $loop = 2; // Used for one-to-many joins to break while loop when 
all DB data printed
 $dbloop = 0;   // Used for one-to-many joins as index to step through 
join table

// * Lines added ***
// save start of qstring SIKI
$shplink = $this->qStr;
// * End lines added ***
 while($loop > 0) {

 ##$this->qStr .= "pippo anzahl felder:" . sizeof($this->selFields);
 // Add shape index to array, used for highlight
 //$resultindexes[] = $qShpIdx;
// * Lines added ***
if ($dbloop) {
$this->qStr .= "],";
$this->qStr .= $shplink;
}
// * End lines added ***

 // Print all OTHER COLUMNS from SHAPE
 for ($iField=0; $iField < sizeof($this->selFields); $iField++) {
 $fldName  = $this->selFields[$iField];
 $fldValue = $qShape->values[$fldName];
 //$this->qStr .= $fldValue;

 $this->qStr .= $this->printFieldValues($fldName, $fldValue);
 }

 // Now add JOIN COLUMNS from DB if defined
 if ($this->joinList && $this->dbh) {
 $toValue = $qShape->values[$this->toField];
 $joinFieldList = split(',', $this->joinFields);
 // get data only once from DB
 if ($dbloop == 0) {
 $data = $this->returnData($this->dbh, $this->sql, 
$toValue, $this->fromFieldType, $this->one2many);
 $dbresCount = count($data);
 }

 if ($dbresCount > 0) {
 $jfldi = 0;
 foreach($data[$dbloop] as $val) {
 $fldName =  trim($joinFieldList[$jfldi]);
 $jfldi++;
 $this->qStr .= $this->printFieldValues($fldName, $val);
 }
 $dbloop++;

 // if NO one2many set $dbloop to end value and stop after 
first record
 if (!$this->one2many) {
 $dbloop = $dbresCount;
 }

 // if all recors from one2many retrieved (or only one2one) 
stop loop
 if ($dbloop == $dbresCount) $loop = 0;
 } else {
 $loop = 0;
 }

 // NO JOIN field defined, so break while loop and continue with 
next record
 } else {
 $loop = 0;
 }

 }

 }


I have found some information missing in the documentation about the XY 
layers. It is not stated, that an id field must be given beside x and y 
columns, e.g.
"XYLAYER_PROPERTIES" "mssql://:@localhost/db||table||x,y,id"
  ==!
regards,
Zoltan

--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] How to remove items from the toolbar?

2010-08-31 Thread Siki Zoltan

Hello Mato,

the ui elements are defined/created in uielement.php

regards,
Zoltan

On Tue, 31 Aug 2010, Matías Manuel Grandi wrote:


Thanks! Works!

BTW, do you know how to remove the "Search" menu?

Thx!
Mato.-

2010/8/31 Siki Zoltan :

Dear Matias,

check js_config.php in config/default.
PM.buttonsDefault contains the definition of tools erase or comment our the
unneccessary tools/lines.

regards,
Zoltan

On Tue, 31 Aug 2010, Matías Manuel Grandi wrote:


Hi!
I'm using p.mapper 4 and I would like to know how to remove some items
from the toolbar.

Thx!!!
Mato.-


--
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--
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] How to remove items from the toolbar?

2010-08-31 Thread Siki Zoltan

Dear Matias,

check js_config.php in config/default.
PM.buttonsDefault contains the definition of tools erase or comment our 
the unneccessary tools/lines.


regards,
Zoltan

On Tue, 31 Aug 2010, Matías Manuel Grandi wrote:


Hi!
I'm using p.mapper 4 and I would like to know how to remove some items
from the toolbar.

Thx!!!
Mato.-

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


[pmapper-users] one-to-many database join

2010-05-20 Thread Siki Zoltan
Dear List,

I have joined external database to a shape file.
In case of a one-to-many join the way of the display of the results is not
very useful.
For example if the base table has columns A,B and the joined table has C,D 
columns to display. I get one row for each base table row, with all the 
matching data from joint table. For example if there are three nmatching 
record then I get the following row

A | B | C1 | D1 | A | B | C2 | D2 | A | B | C3 | D3 |

There is no header in the table after the first four columns.

I would like to get three rows like

A | B | C1 | D1
A | B | C2 | D2
A | B | C3 | D3

Is it possible without changing the code (the json string)?

regards,
Zoltan


--

___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Problém with external Hyperlink

2010-04-19 Thread Siki Zoltan

Hi bernhard,

It mean, that xour switch statement catches the default option.
Here is an example for the openHyperlink function:

// Sample Hyperlink function for result window
openHyperlink: function(layer, fldName, fldValue) {
// add this alert for debugging, to see parameters
//=
alert(layer + ' : ' + fldName + ' : ' + fldValue);
//=
// substitute the name of your layer, of your field and of your link!
switch(layer) {
case 'YOUR_LAYER':
if (fldName == 'YOUR_FIELD') {
window.open(YOUR_LINK_USING_fldValue, 'query');
}
break;
case 'YOUR_OTHER_LAYER':
if (fldName == 'YOUR_OTHER_FIELD') {
window.open(YOUR_OTHER_LINK, 'query1');
}
break;
default:
// this message is generated for you, it means, non of the case labels 
// matches the text after the "case", neither Einsaetze_2009, nor 
// Kreiswasserwachten, from the message you sent, I think the name of your 
// layer is 'kww', you must use the name of the layer from the map file

// not the name of the shape file
alert ('See function openHyperlink in custom.js: ' + layer 
+ ' - ' + fldName + ' - ' + fldValue);

}
},

regards,
Zoltan

On Mon, 19 Apr 2010, Bernhard Hilz wrote:


Hi, Zoltan,

i get an error message : "See function openHyperlink in custom.js: kww - LINK - 
www.kreiswasserwacht-rosenheim.de"

that´s all.

Bernhard

 Original-Nachricht 

Datum: Mon, 19 Apr 2010 13:23:27 +0200 (CEST)
Von: Siki Zoltan 
An: Bernhard Hilz 
CC: pmapper-users@lists.sourceforge.net
Betreff: Re: [pmapper-users] Problém with external Hyperlink



Hi Bernhard,

did you check error console for javascript errors?
If you use FireFox you can find it in the tools menu.
Does the new window open? What can you see in the URL?

Best regards,
Zoltan

On Mon, 19 Apr 2010, Bernhard Hilz wrote:


Hi everyone,

i´m using Pmapper 4, and all works fine. I made a new layer and a field

include an external link to a webpage. I´m not able to open this link in
a new window using the function window.open in custom.js. All internal
links work fine.

What´s wrong?

case 'Einsaetze_2009':
   //if (fldName == 'Einsatzpro') {
   window.open('http://Einsatzprotokolle/' +

fldValue + '.pdf');

   //}
   break;
   case 'Kreiswasserwachten':
   //if (fldName == 'LINK') {
   window.open('http://' + fldValue);
   //}
   break;

Thanks,

Bernhard
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01



--

Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users



--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Problém with external Hyperlink

2010-04-19 Thread Siki Zoltan

Hi Bernhard,

did you check error console for javascript errors?
If you use FireFox you can find it in the tools menu.
Does the new window open? What can you see in the URL?

Best regards,
Zoltan

On Mon, 19 Apr 2010, Bernhard Hilz wrote:


Hi everyone,

i´m using Pmapper 4, and all works fine. I made a new layer and a field include 
an external link to a webpage. I´m not able to open this link in a new window 
using the function window.open in custom.js. All internal links work fine.
What´s wrong?

case 'Einsaetze_2009':
   //if (fldName == 'Einsatzpro') {
   window.open('http://Einsatzprotokolle/' + fldValue + 
'.pdf');
   //}
   break;
   case 'Kreiswasserwachten':
   //if (fldName == 'LINK') {
   window.open('http://' + fldValue);
   //}
   break;

Thanks,

Bernhard
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Query/Search on Google Chrome

2010-04-14 Thread Siki Zoltan
Hello Sebastian,

It doesn't work in 4.0.0 final version neither.
There are some error messages in the php.log:

[14-Apr-2010 10:39:17] PHP Warning:  getLayerByName failed for :
  in ...\incphp\query\query.php on line 710
[14-Apr-2010 10:39:17] PHP Stack trace:
[14-Apr-2010 10:39:17] PHP   1. {main}() 
...\incphp\xajax\x_info.php:0
[14-Apr-2010 10:39:17] PHP   2. Query->q_processQuery() 
...\incphp\xajax\x_info.php:44
[14-Apr-2010 10:39:17] PHP   3. Query->q_execAttributeQuery() 
...\incphp\query\query.php:94
[14-Apr-2010 10:39:17] PHP   4. ms_map_obj->getlayerbyname() 
...\incphp\query\query.php:710
[14-Apr-2010 10:39:17] PHP Fatal error:  Call to a member function 
getXYLayerProperties() on a non-object in 
...\incphp\query\query.php on line 717
[14-Apr-2010 10:39:17] PHP Stack trace:
[14-Apr-2010 10:39:17] PHP   1. {main}() 
...\incphp\xajax\x_info.php:0
[14-Apr-2010 10:39:17] PHP   2. Query->q_processQuery() 
...\incphp\xajax\x_info.php:44
[14-Apr-2010 10:39:17] PHP   3. Query->q_execAttributeQuery() 
...\incphp\query\query.php:94

Best regards,
Zoltan

On Tue, 13 Apr 2010, Sebastian Schweizer wrote:

> Has somone an idea on why querys/search on Shapefiles don't work on Google
> Chrome. Pmapper version 3.2.1 and 4.02 beta.
>
> Thanks
>
> Sebastian
>
>
>
> =
>
> Sebastian Schweizer
> Via D. M. Manni, 84r
> 50135 - Firenze
> Italy
> Cell. +393398979963
> Tel. +390556120806
> sebast...@aquaterra.it
> www.aquaterra.it
>
>

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Hyperlink Using Different Field

2010-03-28 Thread Siki Zoltan
Hi,

AFAIK in the actual pmapper framework it cannot be solved changing only 
the custom.js, you get only three parameters in openHyperlink, the layer, 
the actual field name and the field value.
You may extend the parameter list of custom.js ...

Regards,
Zoltan

On Sun, 28 Mar 2010, Gunawan Wisnu wrote:

> Thanks Zoltan,
> but that was not my problems. What I want is when I click hyperlink on field
> "name", then open result as I click field "id" (but I dont want to hyperlink
> field "id). I think there is something in javascript should be modified.
>
> Here is my metadata
>
> LAYER
> ...
>  METADATA
> "DESCRIPTION" "Facilities"
> "RESULT_FIELDS" "id, name, type"
> "RESULT_HEADERS "ID, NAME, TYPE"
> "RESULT_HYPERLINK" "name"
>  END
>
> ...
>
> END
>
> Regards,
> Gunawan
>
>
> On Fri, Mar 26, 2010 at 8:23 PM, Siki Zoltan  wrote:
>
>> Hi,
>>
>> You must define the hiperlink field(s) int your map file in the metadata
>> section. For example:
>> LAYER
>> 
>>METADATA
>>"RESULT_HYPERLINK" "your_column"
>>...
>>END
>> ...
>> END
>>
>> And you must add some javascript code to the custom.js file (config/default
>> directory). You must change the openHyperlink function.
>> If you use version 3.x, you can find this javascript in the javascript
>> directory.
>>
>> Regards,
>> Zoltan
>>
>>
>> On Fri, 26 Mar 2010, Gunawan Wisnu wrote:
>>
>>  Hi..,
>>>
>>> I would like to ask some question about hyperlink, I think someone ever
>>> asked some years ago, I wonder if now he got the answer.
>>>
>>> I have a postgis table with two fields:  id , name, where id is unique.
>>> In the query result - when I click on the feature, I want a hyperlink in
>>> field 'name' but the link use value from field 'id'.
>>> How can I do this??
>>>
>>> Thanks in advance
>>> Gunawan
>>>
>>> --
>>> Download Intel® Parallel Studio Eval
>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> proactively, and fine-tune applications for parallel performance.
>>> See why Intel Parallel Studio got high marks during beta.
>>> http://p.sf.net/sfu/intel-sw-dev
>>> ___
>>> pmapper-users mailing list
>>> pmapper-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>>
>>>
>

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Hyperlink Using Different Field

2010-03-26 Thread Siki Zoltan
Hi,

You must define the hiperlink field(s) int your map file in the metadata 
section. For example:
LAYER

METADATA
"RESULT_HYPERLINK" "your_column"
...
END
...
END

And you must add some javascript code to the custom.js file 
(config/default directory). You must change the openHyperlink function.
If you use version 3.x, you can find this javascript in the javascript 
directory.

Regards,
Zoltan

On Fri, 26 Mar 2010, Gunawan Wisnu wrote:

> Hi..,
>
> I would like to ask some question about hyperlink, I think someone ever
> asked some years ago, I wonder if now he got the answer.
>
> I have a postgis table with two fields:  id , name, where id is unique.
> In the query result - when I click on the feature, I want a hyperlink in
> field 'name' but the link use value from field 'id'.
> How can I do this??
>
> Thanks in advance
> Gunawan
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] (no subject)

2010-03-16 Thread Siki Zoltan

Dear Javier,

Probably you should change  in your config_xxx.xml from 1 
to 0.

What codepage do you use in your config and map file? UTF-8 is prefered.
If you use different codepage in your shape files, you should use the
LAYER_ENCODING in the METADATA section of the layer definition in the map 
file. For labels use the ENCODING parameter too.


Best regards,
Zoltan

On Mon, 15 Mar 2010, Fco. Javier García Ricca wrote:


Hi,

I have some problems with codification. When I define the defaultCharset as
UTF-8 the layer's names displays the accents with strange character.However,
If I define the defaultCharset as ISO-8859-1 then the the messages of the
tools display the same error. The "no records found" message is incorrect
too in this case


Thanks
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] problem with raster layer

2010-03-15 Thread Siki Zoltan

Hi Javier,

You can set default layers in p.mapper config file.
Check  tag in config_xxx.xml in your config directory.

Regards,
Zoltan

On Mon, 15 Mar 2010, Fco. Javier García Ricca wrote:


Hi,

I have two raster files in my map. One of this are defining with status on
but when I start the application the two layers are invisible. I am not sure
If pmapper support this mapserver property.


Thanks
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] PDF Print

2010-03-10 Thread Siki Zoltan

Hi Erik,

You can customize print through print.xml (config/common).
To turn on/off legend, you must add new control to the print dialog 
defined in print.xml, and change accordingly the print.php.


Regards,
Zoltan

On Wed, 10 Mar 2010, ErikK wrote:




We are looking for user options for the PDF printing/export (page size,
title, legend on/off, etc). 
Did I overlook more recent posts in reply to this message? Are there any
samples besides the notice of Florian Goessmann? 
Working with PM v4.


tia, Erik


Thomas RAFFIN wrote:


Hi,

I've got few enhancements concerning printing (defining formats etc.. in 
print.xml), TCPDF v3 or 4, ... I'm now working on pmapper 4 
compatibility... I hope it will be soon available.


Thomas

Bernhard Hilz a écrit :

Dear Armin,

thanks for the fast answer. I read in the Mail Archive a notice from
Florian Goessmann where he publicated an extended code for printing A3.
But i´m not sure if this Code is for Version 4.01 too.

Bernhard





--
View this message in context: 
http://old.nabble.com/PDF-Print-tp23519039p27848509.html
Sent from the pmapper users mailing list archive at Nabble.com.


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] have diferents config_default.xml

2010-02-17 Thread Siki Zoltan

Dear Javier,

the query string is processed in config/__startup_config.php.
You change that file.

The default config (config_default.xml) is loaded if you do not set in the 
query string.


The default language can be set in the xml configuration in the  
tag, for example:

fr

regards,
Zoltan

On Wed, 17 Feb 2010, Fco. Javier García Ricca wrote:


Hello Victoria,

I have a couple questions.

If necesary that the name of configuration file start with config word? Can
I name it with a sigle name (myfile.xml)?

In other side, you said to me that I need to append the name of the file to
the url, similar to specify the language for the application. However I am
looking for another way to do that. Back to the case of language I specfy
this into the config file and not append "language=es" to the url.


Thanks




2010/2/17 Victoria Alvarez 


Hello,
You must create the new configuration file and name it config_xxx.xml (xxx
is the name you want)
Then append to the URL: ?config=xxx
e.g.: www.mypmappersite.com/map.phtml?config=xxx
Good luck,
Victoria

2010/2/17 Fco. Javier García Ricca 


Hello,

I would like to have some configuration files for diferents maps and I
don´t
know how can I call to the diferents xml files. I work with the last
version
of pmapper.

Thanks

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users







--
FJRicca

www.escaladalamadriguera.blogspot.com
http://picasaweb.google.es/fjricca
http://perdonaqueseasoez.com/
--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] catInfoLink grpInfoLink in v4.x

2010-02-14 Thread Siki Zoltan
Hi Emanuele,

Right mouse click on the category or layer/group name in the TOC, it is in 
the menu.

Zoltan

On Sun, 14 Feb 2010, emanuele masiero wrote:

> thank Zoltan
> how do I activate the InfoLink (i) in the TOC?
> emanuele
>
>
>
> 2010/2/14 Siki Zoltan 
>
>> Dear Emanuele,
>>
>> You can find showCategoryInfo and showGroupInfo functions in custom.js.
>> Custom.js can be found in the config/default directory.
>>
>> Best regards,
>> Zoltan
>>
>>
>> On Sun, 14 Feb 2010, emanuele masiero wrote:
>>
>>  hi everybody
>>>
>>> in version 4.x,  are there still functions catInfoLink and grpInfoLink?
>>> how can activate them in config.xml?
>>>
>>> thank
>>> emanuele masiero
>>>
>>> --
>>> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
>>> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
>>> http://p.sf.net/sfu/solaris-dev2dev
>>> ___
>>> pmapper-users mailing list
>>> pmapper-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>>
>>>
>

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] catInfoLink grpInfoLink in v4.x

2010-02-14 Thread Siki Zoltan
Dear Emanuele,

You can find showCategoryInfo and showGroupInfo functions in custom.js.
Custom.js can be found in the config/default directory.

Best regards,
Zoltan

On Sun, 14 Feb 2010, emanuele masiero wrote:

> hi everybody
>
> in version 4.x,  are there still functions catInfoLink and grpInfoLink?
> how can activate them in config.xml?
>
> thank
> emanuele masiero
> --
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] zoomLayer & zoomQuery

2010-01-20 Thread Siki Zoltan
Dear Armin,

Sorry, I was blind ...

Thanks,
Zoltan

On Wed, 20 Jan 2010, Armin Burger wrote:

> &zoomLayer=countries&zoomquery=n...@1@it...@0@1
>
> zoomQuery parameters (separated by @):
>
>   NAME: name of the field to search (upper case for shapefiles)
>   1: field type, 0 = numerical, 1 = alphanumerical
>   Italy: search string (case sensitive)
>   0: highlight feature, 0 = no, 1 = yes
>   
>   
>   1: set maximum map extent to feature extent, 0 = no, 1 = yes
>   
>   ^^^^
>
>
> On 20/01/2010 00:06, Siki Zoltan wrote:
>> Dear Armin,
>>
>> Thank you for your answer.
>> May be my email was misunderstanded.
>> The information on the link you sent me is clear for me.
>> I try to explane my problem clearer.
>>
>> I use pmapper 4.0 and shape files.
>> Starting map.phtm with a query string like
>> .../pmapper/map.phtml?config=xxx&zoomLayer=yyy&zoomQuery=...
>>
>> I get the map zoomed to the right place, but after it I couldn't zoom out.
>> The slider reflects to be at the maximal extent.
>> As the extent in the map file would be overrided.
>> I don't want to oveeride the map extend, I only want to start the map
>> zoomed to a map feature and allow the user to browse the whole map.
>>
>> Thanks,
>> Zoltan
>>
>> On Mon, 18 Jan 2010, Armin Burger wrote:
>>
>>> On 18/01/2010 21:40, Siki Zoltan wrote:
>>>> Hi List,
>>>>
>>>> I try to use zoomLayer and zoomQuery query string parameters.
>>>> I works, but after zooming into the map I couldn't zoom back to a larger
>>>> extent. Is there any workaround?
>>>
>>> no, there's no workaround, but an existing config setting for this:
>>>
>>> http://svn.pmapper.net/trac/wiki/DocManual#Extentreadfromlayerfeature:
>>>
>>> armin
>>>
>>> --
>>> Throughout its 18-year history, RSA Conference consistently attracts the
>>> world's best and brightest in the field, creating opportunities for 
>>> Conference
>>> attendees to learn about information security's most important issues 
>>> through
>>> interactions with peers, luminaries and emerging and established companies.
>>> http://p.sf.net/sfu/rsaconf-dev2dev
>>> ___
>>> pmapper-users mailing list
>>> pmapper-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>>
>>
>> --
>> Throughout its 18-year history, RSA Conference consistently attracts the
>> world's best and brightest in the field, creating opportunities for 
>> Conference
>> attendees to learn about information security's most important issues through
>> interactions with peers, luminaries and emerging and established companies.
>> http://p.sf.net/sfu/rsaconf-dev2dev
>> ___
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>
>
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] zoomLayer & zoomQuery

2010-01-19 Thread Siki Zoltan
Dear Armin,

Thank you for your answer.
May be my email was misunderstanded.
The information on the link you sent me is clear for me.
I try to explane my problem clearer.

I use pmapper 4.0 and shape files.
Starting map.phtm with a query string like
.../pmapper/map.phtml?config=xxx&zoomLayer=yyy&zoomQuery=...

I get the map zoomed to the right place, but after it I couldn't zoom out.
The slider reflects to be at the maximal extent.
As the extent in the map file would be overrided.
I don't want to oveeride the map extend, I only want to start the map 
zoomed to a map feature and allow the user to browse the whole map.

Thanks,
Zoltan

On Mon, 18 Jan 2010, Armin Burger wrote:

> On 18/01/2010 21:40, Siki Zoltan wrote:
>> Hi List,
>>
>> I try to use zoomLayer and zoomQuery query string parameters.
>> I works, but after zooming into the map I couldn't zoom back to a larger
>> extent. Is there any workaround?
>
> no, there's no workaround, but an existing config setting for this:
>
> http://svn.pmapper.net/trac/wiki/DocManual#Extentreadfromlayerfeature:
>
> armin
>
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] zoomLayer & zoomQuery

2010-01-18 Thread Siki Zoltan
Hi List,

I try to use zoomLayer and zoomQuery query string parameters.
I works, but after zooming into the map I couldn't zoom back to a larger 
extent. Is there any workaround?

regards,
Zoltan

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Display all data in layer when pmapper start

2009-11-22 Thread Siki Zoltan
Hi Darks,

If you use 4.x version you can turn on layers in the config_xxx.xml
in the section  or you can define visible layers in the query 
string &dg=layer1,layer2,...

In case of 3.2 you can define active layers in config_xxx.ini,
look for defGroups.

Regards,
Zoltan

On Sun, 22 Nov 2009, Dark Knight wrote:

> Guys, I need help..
>
> How to make all data in a layer show when i start the application of
> pmapper..
>
> for example:
> when i open http://localhost/pmapper/map.phml?config=house
>
> there are a table show that display all data for layer house
>
>
>
> -- 
> Bayu Kurniawan R
> GIS Specialist
> http://bkurniawan.com
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Where to find docs about PM.Dlg.createDnRDlg ?

2009-11-16 Thread Siki Zoltan
Dear Karani,

There is a short description about it on the pmapper wiki:
http://svn.pmapper.net/trac/wiki/FaqDebugging

Before that I usually check my map file with shp2img mapserver utility
e.g. shp2img -m your_map_file -o output_image
see: http://mapserver.org/utilities/shp2img.html

Next step I usually check my map file through the browser
localhost/cgi-bin/mapserv?map=your_map_file&mode=map

A common mistake, don't forget to change rights for images/legend 
directory to be writeable for web server, and the temperary directory too.

Regards,
Zoltan

On Mon, 16 Nov 2009, Kennedy Macharia Karani wrote:

> Hi all,
>
> Am new to p.mapper, trying to configure the first pmapper application,
> however after modifying the config file i get no error messages but the
> displays a balank page. Anyone who can to help.
>
> Regards,
> Karani.
>

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] pmapper 4.0beta3 queryeditor

2009-11-12 Thread Siki Zoltan

Dear Thomas,

Unfortunatelly neither 1, nor 2 helped me.
Downloading the code from the trunk is working :)
I suppose the error is not in the queryeditor's sources,
there is only one difference, comparing to beta3, in queryeditor.php line 
76-77.


So I'll use rev 886 from trunk.

Thank you and Armin helping me.

Regards,
Zoltan

On Thu, 12 Nov 2009, Thomas Raffin wrote:


Maybe the beta3 is not working.

The trunk version should works (I've just added a file right now !).

I've got 3 solutions:
1) if pmapper/plugins/queryeditor/x_queryeditor.php contains those lines:
"if (!isset($_SESSION['queryeditor_activated']) || 
!$_SESSION['queryeditor_activated']) {

  exit();
}"
remove them.

2) Try with the up-to-date plugin files:
- 
http://svn.pmapper.net/trac/browser/pmapper/trunk/pmapper/plugins/queryeditor/activate.php?format=raw 
(added right now !)
- 
http://svn.pmapper.net/trac/browser/pmapper/trunk/pmapper/plugins/queryeditor/config.inc?format=raw
- 
http://svn.pmapper.net/trac/browser/pmapper/trunk/pmapper/plugins/queryeditor/queryeditor.css?format=raw
- 
http://svn.pmapper.net/trac/browser/pmapper/trunk/pmapper/plugins/queryeditor/queryeditor.js?format=raw
- 
http://svn.pmapper.net/trac/browser/pmapper/trunk/pmapper/plugins/queryeditor/queryeditor.php?format=raw
- 
http://svn.pmapper.net/trac/browser/pmapper/trunk/pmapper/plugins/queryeditor/queryeditordlg.phtml?format=raw
- 
http://svn.pmapper.net/trac/browser/pmapper/trunk/pmapper/plugins/queryeditor/README.txt?format=raw
- 
http://svn.pmapper.net/trac/browser/pmapper/trunk/pmapper/plugins/queryeditor/x_queryeditor.php?format=raw


3) If solutions 1 and 2 don't works and you don't have errors, then download 
the last version of pmapper and we will debug it together.


Thomas

Siki Zoltan a écrit :

Dear Armin,

In Firebug on the net tab I see a POST related to queryeditor with the 
PHPSESSID, the response is empty.

In the Header hte content length is zero.

With beta2 I got back a whole html page with the fields of the queryeditor
(layer, field, etc.)

Thanks,
Zoltan

On Thu, 12 Nov 2009, Armin Burger wrote:



On 12/11/2009 17:23, Siki Zoltan wrote:


Dear Thomas,

I've tested beta3 on Fedora 10 and I get the same empty window for the
query editor.



Zoltan

are you sure that you don't get any Javascript error (using Firebug for 
instance)? With FB you can also check the requests sent to the server and 
the responses from it.


armin





--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus 
on what you do best, core application coding. Discover what's new with

Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users





--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] pmapper 4.0beta3 queryeditor

2009-11-12 Thread Siki Zoltan

Hi,

display_error is off and log_errors is on and
error_log is set to the file I mentioned you.

Zoltan

On Thu, 12 Nov 2009, Thomas Raffin wrote:

Have you got "display_errors = On" in your php.ini to show errors in Firefox 
?


Do not do that in a production server (or just a short time during tests ;-) 
)


Armin Burger a écrit :

On 12/11/2009 17:23, Siki Zoltan wrote:


Dear Thomas,

I've tested beta3 on Fedora 10 and I get the same empty window for the
query editor.




Zoltan

are you sure that you don't get any Javascript error (using Firebug for 
instance)? With FB you can also check the requests sent to the server and 
the responses from it.


armin


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus 
on what you do best, core application coding. Discover what's new with

Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users





--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] pmapper 4.0beta3 queryeditor

2009-11-12 Thread Siki Zoltan
Dear Armin,

In Firebug on the net tab I see a POST related to queryeditor with the 
PHPSESSID, the response is empty.
In the Header hte content length is zero.

With beta2 I got back a whole html page with the fields of the queryeditor
(layer, field, etc.)

Thanks,
Zoltan

On Thu, 12 Nov 2009, Armin Burger wrote:

> On 12/11/2009 17:23, Siki Zoltan wrote:
>> Dear Thomas,
>> 
>> I've tested beta3 on Fedora 10 and I get the same empty window for the
>> query editor.
>> 
>
> Zoltan
>
> are you sure that you don't get any Javascript error (using Firebug for 
> instance)? With FB you can also check the requests sent to the server and the 
> responses from it.
>
> armin
>

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] pmapper 4.0beta3 queryeditor

2009-11-12 Thread Siki Zoltan

Dear Thomas,

I've tested beta3 on Fedora 10 and I get the same empty window for the
query editor.

Regards,
Zoltan

On Thu, 12 Nov 2009, Siki Zoltan wrote:


Dear Thomas,

Yes, error reporting & debug level are set.

Regards,
Zoltan

On Thu, 12 Nov 2009, Thomas Raffin wrote:

Are you sure to log enough messages (p.mapper debug level, PHP 
"error_reporting" value) ?


I mean in your config_xxx.xml :
3
and in php.ini :
error_reporting  =  E_ALL & ~E_NOTICE

Siki Zoltan a écrit :

Hi Thomas,

I tested it with ms4w. Using FF i get no error, neither pm_debug,
nor php.log, nor apache error.log. In access.log I see a POST to 
queryeditordlg.phtml.

Using IE6 I get an error in apache error.log
winnt_accept: Asynchronous AcceptEx failed
in front of it I have a Hungarian message, translating to English:
[warn] (OS 64)The given network name cannot be accessed

Thank you for your help.

Regards,
Zoltan

On Thu, 12 Nov 2009, Thomas Raffin wrote:


Hi,

Have you got errors in your logs files ?

Siki Zoltan a écrit :

Hi List,

Upgrading from 4.0beta2 to 4.0beta3 I lost the queryeditor.
I get only an empty window when starting queryeditor.
The same config has worked in beta2.
Does anybody detect similar problem?
Any workaround?

Regards,
Zoltan




-- 
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
30-Day trial. Simplify your report design, integration and deployment - 
and focus on what you do best, core application coding. Discover what's 
new with

Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users






--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] pmapper 4.0beta3 queryeditor

2009-11-12 Thread Siki Zoltan

Dear Thomas,

Yes, error reporting & debug level are set.

Regards,
Zoltan

On Thu, 12 Nov 2009, Thomas Raffin wrote:

Are you sure to log enough messages (p.mapper debug level, PHP 
"error_reporting" value) ?


I mean in your config_xxx.xml :
3
and in php.ini :
error_reporting  =  E_ALL & ~E_NOTICE

Siki Zoltan a écrit :

Hi Thomas,

I tested it with ms4w. Using FF i get no error, neither pm_debug,
nor php.log, nor apache error.log. In access.log I see a POST to 
queryeditordlg.phtml.

Using IE6 I get an error in apache error.log
winnt_accept: Asynchronous AcceptEx failed
in front of it I have a Hungarian message, translating to English:
[warn] (OS 64)The given network name cannot be accessed

Thank you for your help.

Regards,
Zoltan

On Thu, 12 Nov 2009, Thomas Raffin wrote:


Hi,

Have you got errors in your logs files ?

Siki Zoltan a écrit :

Hi List,

Upgrading from 4.0beta2 to 4.0beta3 I lost the queryeditor.
I get only an empty window when starting queryeditor.
The same config has worked in beta2.
Does anybody detect similar problem?
Any workaround?

Regards,
Zoltan



-- 
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
30-Day trial. Simplify your report design, integration and deployment - 
and focus on what you do best, core application coding. Discover what's 
new with

Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users






--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] pmapper 4.0beta3 queryeditor

2009-11-12 Thread Siki Zoltan

Hi Thomas,

I tested it with ms4w. Using FF i get no error, neither pm_debug,
nor php.log, nor apache error.log. In access.log I see a POST to 
queryeditordlg.phtml.

Using IE6 I get an error in apache error.log
winnt_accept: Asynchronous AcceptEx failed
in front of it I have a Hungarian message, translating to English:
[warn] (OS 64)The given network name cannot be accessed

Thank you for your help.

Regards,
Zoltan

On Thu, 12 Nov 2009, Thomas Raffin wrote:


Hi,

Have you got errors in your logs files ?

Siki Zoltan a écrit :

Hi List,

Upgrading from 4.0beta2 to 4.0beta3 I lost the queryeditor.
I get only an empty window when starting queryeditor.
The same config has worked in beta2.
Does anybody detect similar problem?
Any workaround?

Regards,
Zoltan


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus 
on what you do best, core application coding. Discover what's new with

Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users





--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] pmapper 4.0beta3 queryeditor

2009-11-11 Thread Siki Zoltan
Hi List,

Upgrading from 4.0beta2 to 4.0beta3 I lost the queryeditor.
I get only an empty window when starting queryeditor.
The same config has worked in beta2.
Does anybody detect similar problem?
Any workaround?

Regards,
Zoltan

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Measure tool IE8

2009-11-11 Thread Siki Zoltan
Dear Armin,

Thanks for your answer, the beta3 has solved the problem.

Regards
Zoltan

On Wed, 11 Nov 2009, Armin Burger wrote:

> On 10/11/2009 23:41, Siki Zoltan wrote:
>> Hi List,
>>
>> In IE8 the measure tool doesn't draw the rubberband line.
>> The length and area is displayed.
>> I use pmapper 4.0beta2.
>> Has anybody the same problem?
>>
>> Regards,
>> Zoltan
>>
>
> The IE8 problem is due to an error in the JS Graphics library:
>   http://www.walterzorn.com/jsgraphics/history_e.htm
>
> The latest beta3 has the updated graphics library and this problem
> should be gone.
>
> armin
>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Measure tool IE8

2009-11-10 Thread Siki Zoltan
Hi List,

In IE8 the measure tool doesn't draw the rubberband line.
The length and area is displayed.
I use pmapper 4.0beta2.
Has anybody the same problem?

Regards,
Zoltan

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] search

2009-10-05 Thread Siki Zoltan
Hi Kevin,

What about using queryeditor plugin or customise it for your purposes?

Regards,
Zoltan

On Mon, 5 Oct 2009, Kevin Edmundson wrote:

> I have a relatively complex search for a parcel layer (sale price range
> (low - high) sale date range (low - high)) that I want to present to the
> user to use.  However...the search parameters that show are too large to
> display on the normal search area.
>
>
>
> Is there a way to force the search parameters to show up in the west
> frame that is not used for anything that I can see?
>
>
>
> Kevin Edmundson
>
> CIO
>
> WTH Technology, Inc
>
> 567 W Westfield Blvd
>
> Indianapolis, IN 46208
>
> 317.259.0105 office
>
> 317.259.1423 fax
>
> 317.501.8560 mobile
>
> kevin.edmund...@wthtechnology.com
>
>
>
> NOTICE: This message is from the technology firm WTH Technology, Inc.
> This message is intended only for the individual or entity to which it
> is directed. If you are not the addressee, or if this message has been
> addressed to you in error, you are not authorized to use, read, copy or
> distribute this message and any attachments, and we ask that you please
> immediately delete this message and attachments (including all copies),
> and notify the sender by return e-mail so that our records can be
> corrected. All personal messages express views only of the sender, which
> are not to be attributed to WTH Technology, Inc, and may not be
> distributed or copied without this statement.
>
>
>
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] categories

2009-10-04 Thread Siki Zoltan
Dear Armin and List,

I couldn't find any information how to turn on/off categories starting 
pmapper. Is there any chanche to turn them off like it can be collapsed by 
closed=true parameter in xml config?
I also would like to collapse the legend of the layers. Some of the 
legends of my layers are expanded and some of them are collapsed (I guess 
if the number of classes greater then 1 they are expanded). Is there any 
chanche to set the lagend to be collapsed?

Thanks,
Zoltan

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] codepage 4.0beta2

2009-09-13 Thread Siki Zoltan
Dear Armin,

I've found a strange behaviour of p.mapper using ANNOTATION layer.

If I have the following layer definition, search cannot zoom to the
found elements (waiting forever looking at working)
LAYER
 NAME felirat
 DATA "alapterkep/f"
 TYPE ANNOTATION
 STATUS ON
 LABELITEM "F_TEXT"
 SYMBOLSCALE 1000
 MAXSCALEDENOM 3001
 LABELMAXSCALEDENOM 3001
 CLASS
 LABEL
 COLOR 0 0 0
 SHADOWCOLOR 255 255 255
 SHADOWSIZE 1 1
 SIZE 7
 POSITION ur
 FONT txt
 TYPE TRUETYPE
 ANGLE [IRANY_T]
 ENCODING "ISO8859-2"
 END
 END
 METADATA
 DESCRIPTION "Feliratok"
 LAYER_ENCODING "ISO8859-2"
 END
 TEMPLATE "dummy"
END

If I change the layer type to POINT (drawing invisible points) pmapper can 
zoom to found elements.
The working layer definition
LAYER
 NAME felirat
 DATA "alapterkep/f"
 TYPE POINT
 STATUS ON
 LABELITEM "F_TEXT"
 SYMBOLSCALE 1000
 MAXSCALEDENOM 3001
 LABELMAXSCALEDENOM 3001
 CLASS
 COLOR -1 -1 -1
 LABEL
 COLOR 0 0 0
 SHADOWCOLOR 255 255 255
 SHADOWSIZE 1 1
 SIZE 7
 POSITION ur
 FONT txt
 TYPE TRUETYPE
 ANGLE [IRANY_T]
 ENCODING "ISO8859-2"
 END
 END
 METADATA
 DESCRIPTION "Feliratok"
 LAYER_ENCODING "ISO8859-2"
 END
 TEMPLATE "dummy"
END

Is it a feature or a bug?

Thanks,
Zoltan

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] export plugin

2009-09-13 Thread Siki Zoltan
Hi List,

I would like to use PDF export, but no download button is available when 
pdf radio is selected.
I tried to install pear File_PDF but it doesn't help.
There are no messages in pm_debug.log, but there many warnings in php log:

[12-Sep-2009 22:08:00] PHP Stack trace:
[12-Sep-2009 22:08:00] PHP   1. {main}() 
/var/www/html/pmapper/incphp/xajax/x_info.php:0
[12-Sep-2009 22:08:00] PHP   2. Query->q_processQuery() 
/var/www/html/pmapper/incphp/xajax/x_info.php:44
[12-Sep-2009 22:08:00] PHP   3. Query->q_printGroups() 
/var/www/html/pmapper/incphp/query/query.php:91
[12-Sep-2009 22:08:00] PHP   4. Query->q_printLayer() 
/var/www/html/pmapper/incphp/query/query.php:275
[12-Sep-2009 22:08:00] PHP Notice:  Undefined property: Query::$query in 
/var/www/html/pmapper/incphp/query/query.php on line 348
[12-Sep-2009 22:08:00] PHP Stack trace:
[12-Sep-2009 22:08:00] PHP   1. {main}() 
/var/www/html/pmapper/incphp/xajax/x_info.php:0
[12-Sep-2009 22:08:00] PHP   2. Query->q_processQuery() 
/var/www/html/pmapper/incphp/xajax/x_info.php:44
[12-Sep-2009 22:08:00] PHP   3. Query->q_printGroups() 
/var/www/html/pmapper/incphp/query/query.php:91
[12-Sep-2009 22:08:00] PHP   4. Query->q_printLayer() 
/var/www/html/pmapper/incphp/query/query.php:275

and a lot more ...

[12-Sep-2009 22:08:15] PHP Notice:  Use of undefined constant K_PATH_URL - 
assumed 'K_PATH_URL' in 
/var/www/html/pmapper/incphp/print/config/tcpdf_config.php on 
line 62
[12-Sep-2009 22:08:15] PHP Stack trace:
[12-Sep-2009 22:08:15] PHP   1. {main}() 
/var/www/html/pmapper/plugins/export/x_export.php:0
[12-Sep-2009 22:08:15] PHP   2. ExportPDF->__construct() 
/var/www/html/pmapper/plugins/export/x_export.php:43
[12-Sep-2009 22:08:15] PHP   3. require() 
/var/www/html/pmapper/plugins/export/export.pdf.php:44
[12-Sep-2009 22:08:15] PHP   4. require_once() 
/var/www/html/pmapper/plugins/export/mc_table.php:6
[12-Sep-2009 22:08:15] PHP   5. require_once() 
/var/www/html/pmapper/incphp/print/tcpdf.php:121

Printing to PDF works, so I suppose tcpdf installation OK.

Any suggestion?

Thanks,
Zoltan

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] search

2009-09-13 Thread Siki Zoltan
Dear Armini and List,

Thank you for the quick replay Armin.

I've tried to replace "/" with "\/", but it returns no result too:

[qStr] => (  "[HRSZ]" =~ /^(2|2)(2|2)(4|4)(8|8)(6|6)(9|9)\/(2|2)$/)

I tried it with CGI mapserver too, but I failed to escape / characters in 
qstring. I found no general solution :(
/224869\/2/ doesn't work neither with CGI mapserver nor with pmapper
/224869[\/]2/ doesn't work neither with CGI mapserver nor with pmapper
CGI Mapserver returns regexp error:
Invalid regular expression. msEvalExpression(): Regular expression error.

The only "reasonable" solution I found:
/224869[^0-9a-zA-Z]2/ to have there any special char.

May it be a Mapserver issue?

Regards,
Zoltan

On Sun, 13 Sep 2009, Armin Burger wrote:

> Try to replace line 230 in
> in query/search.php (function getSearchParamsShp())
> with the following
>
> if ($wildcard != 2) {
>$qval = str_replace("/", "\\/", preg_quote($val));
>$val = preg_replace ("/\w/ie", "'('. strtoupper('$0') . '|' .
> strtolower('$0') .')'", $qval);
> }
>
> and see if it helps. It also escapes other special characters that could 
> cause problems with regex. Suggest functions might also not work with such 
> strings, that I had to check.
>
> Armin
>


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] search

2009-09-13 Thread Siki Zoltan
Dear Dejan,

Thank you for your answer. I did something similar as a quick and dirty 
solution. Using "." instead of "/" has some side effect.
If the search pattern is /^12.5$/ will match not only 12/5, but 1215, 
1225, etc. This side affect is difficult to explane to the end users.

Thanks,
Zoltan

On Sun, 13 Sep 2009, dejan.gam...@pula.hr wrote:

> Zoltan,
>
> I use something like this in query.php, q_execAttributeQuery() (around
> line 724):
>
>if (substr_count($this->qStr, "/") == 3) {
>$qStrArray = explode("/", $this->qStr);
>$newqStr =
> $qStrArray[0]."/".$qStrArray[1].".".$qStrArray[2]."/".$qStrArray[3];
>$this->qStr = $newqStr;
>}
>
> regards, dejan
>
> Siki Zoltan  wrote on 13.09.2009 11:34:40:
>
>> Hi List,
>>
>> I get in trouble with search, I have slash character in the search
>> pattern. When I use wildcard=2 it works, but when I try to use wildcard
> 0
>> or 1 it finds no match because slases are not escaped in query string
> ($qs
>> in search.php).
>> in pm_debug.log I get
>> [qStr] => (  "[HRSZ]" =~ /^(2|2)(2|2)(4|4)(8|8)(6|6)(9|9)/(2|2)$/)
>>
>> The search string I looked for '224869/2'.
>> I think the slashes would be escaped in the query string in search.php
>> (getSearchParamsShp). I use shape files.
>>
>> Thanks,
>> Zoltan
>>
>>
> --
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
>> trial. Simplify your report design, integration and deployment -
> andfocus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> ___
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] search

2009-09-13 Thread Siki Zoltan
Hi List,

I get in trouble with search, I have slash character in the search 
pattern. When I use wildcard=2 it works, but when I try to use wildcard 0 
or 1 it finds no match because slases are not escaped in query string ($qs 
in search.php).
in pm_debug.log I get
[qStr] => (  "[HRSZ]" =~ /^(2|2)(2|2)(4|4)(8|8)(6|6)(9|9)/(2|2)$/)

The search string I looked for '224869/2'.
I think the slashes would be escaped in the query string in search.php 
(getSearchParamsShp). I use shape files.

Thanks,
Zoltan

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] codepage 4.0beta2

2009-08-07 Thread Siki Zoltan
Dear Armin,

Thank you for your answer. It solves my problem.

I'm waiting for the answer from Thomas Raffin ...

Best regards,
Zoltan

On Fri, 7 Aug 2009, Armin Burger wrote:

> Try to set the config.xml value 'locale->map2unicode' to 0:
>
> 0
>
> for the query editor plugin Thomas Raffin would need to answer.
>
> armin
>
> On 02/08/2009 18:15, Siki Zoltan wrote:
>> Hi List Members,
>>
>> I've some trouble using special Hungarian characters in p.mapper 4.0
>> beta2.
>> I have a map file with utf-8 codepage. The text I write int the
>> METADATA "DESCRIPTION" is displayed wrong (in 3.2 version it is good),
>> double characters insted of the single Hungarian chars.
>> Is there any workaround?
>>
>> I've some similar problem with the queryeditor plugin. My shapefiles use
>> ISO 8859-2 (latin2) codepage. I set
>> METADATA
>> "LAYER_ENCODING" "ISO8859-2"
>> END
>>
>> In my map file. Attributes are readable when I use identify or select or
>> tool tip tools, butwhen I wolud like to use special Hungarian characters
>> in the Value field of QueryEditor it doesn't work. Is the QueryEditor
>> code page sensitive?
>>
>> I've found another bug (feature?) in QueryEditor. I used the same shape
>> file for to different layers in the same group. These layers were
>> displayed conditionally (REQUIRES). This case the query editor doesn't
>> work for this layer. I could select Layer name, but the list of attribute
>> names were not filled. Removing one of the layers refering to the same
>> shape datasource, queryedito works well.
>>
>> Thanks,
>> Zoltan
>>
>> --
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> ___
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>
>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] codepage 4.0beta2

2009-08-02 Thread Siki Zoltan
Hi List Members,

I've some trouble using special Hungarian characters in p.mapper 4.0 
beta2.
I have a map file with utf-8 codepage. The text I write int the
METADATA "DESCRIPTION" is displayed wrong (in 3.2 version it is good),
double characters insted of the single Hungarian chars.
Is there any workaround?

I've some similar problem with the queryeditor plugin. My shapefiles use
ISO 8859-2 (latin2) codepage. I set
METADATA
"LAYER_ENCODING" "ISO8859-2"
END

In my map file. Attributes are readable when I use identify or select or 
tool tip tools, butwhen I wolud like to use special Hungarian characters 
in the Value field of QueryEditor it doesn't work. Is the QueryEditor 
code page sensitive?

I've found another bug (feature?) in QueryEditor. I used the same shape 
file for to different layers in the same group. These layers were 
displayed conditionally (REQUIRES). This case the query editor doesn't 
work for this layer. I could select Layer name, but the list of attribute 
names were not filled. Removing one of the layers refering to the same 
shape datasource, queryedito works well.

Thanks,
Zoltan

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users