Re: [pmapper-users] problem with initmap.php

2007-03-06 Thread Armin Burger
Gaston you're right, there seems to be a problem with either PHP 4 or MS 4.8 (I would guess it's PHP 4). It cannot use the syntax of line 171. If you modify it to foreach ($mapLays as $ml) { $aLayer = $this->map->getLayerByName($ml); if (!$aLayer->

Re: [pmapper-users] missing js file in info.phtml?

2007-03-06 Thread Armin Burger
Alessandro you're right, the JS refernce should be javascript/jquery/jquery.pmapper.js javascript/jquery/jquery.dimensions.js. I updated the SVN (both 3.1 and latest stable of 3.0). In the current implementation it does not cause problems (no JS errors) because the functions from these fi

Re: [pmapper-users] problem with initmap.php

2007-03-06 Thread Gaston Izaguirre
I never installed it in Linux, but there are Mapserver packages for Debian. I'm using a packed version for Windows (MS4W), also there is a binary kit packed for Linux and Windows, called FWTools (http://fwtools.maptools.org/) Best regards, Gaston. - Original Message - From: "Bogumił S

Re: [pmapper-users] problem with initmap.php

2007-03-06 Thread Bogumił Szady
Gaston, Thanks a lot. Anyway, is it very difficult update mapserver? Bogumil -Original Message- From: Gaston Izaguirre [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 06, 2007 8:11 PM To: pmapper-users@lists.sourceforge.net Cc: Bogumil Szady Subject: Re: [pmapper-users] problem with initma

Re: [pmapper-users] problem with initmap.php

2007-03-06 Thread Gaston Izaguirre
Bogumil, What version of mapserver you are using? Perhaps the 4.8? I had the same problem with that version of mapserver (ms4w 1.55 and PHP 4.3) but I didn't find the solution, only a workaround, thanks to Marino Fiorito. If you change line 171 of initmap.php: "if (!$this->map->getLayerByNa

[pmapper-users] problem with initmap.php

2007-03-06 Thread Bogumił Szady
Hello, I try use pmapper on fgs (mapserver) and Debian. I did all changes according to instructions (config.ini, mapfile) and I don't know why I have alert during starting program (demo or my mapfiles): Parse error: parse error, unexpected T_OBJECT_OPERATOR in /home/gis/fgs/apps/pmapper-

[pmapper-users] missing js file in info.phtml?

2007-03-06 Thread Alessandro Pasotti
Hi, I see an 404 in error logs in info.phtml, jqpmapper.js seem to be missing from my pmapper installation [Tue Mar 06 12:00:10 2007] [error] [client **] File does not exist: /*/vnlib/pmapper-dev/javascript/jquery/jqpmapper.js, referer: https://***/vnlib/pmapper-dev/info.phtml?

Re: [pmapper-users] Measurement in DD mapunits

2007-03-06 Thread Armin Burger
Maybe something from this can help you: http://www.google.it/search?hl=it&client=firefox-a&rls=org.mozilla:en-US:official&hs=KUY&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=calculate+distance+from+lat+lon&spell=1 Just using an estimated factor will for sure not give you reasonable results for distan