Re: [pmapper-users] Pmapper error

2016-04-18 Thread Raffaele Morelli
On 18/04/16 at 03:38am, alexganfei wrote: > Hello, > > I have this error message when i try to start my pmapper prjoct. > > > > > Does anybody knows what is it or how to fix it? > > Thanks > Alex

Re: [pmapper-users] create google map as a layer

2014-12-28 Thread Raffaele Morelli
On 26/12/14 at 03:27pm, Firdaus firdaus wrote: > dear all, > > Is there anyone who can help me to create google map as a layer in pmapper ? > > Thank you very much for your help in advance > -- > Dive into the World of Pa

[pmapper-users] [pmapper5] pm.ol.theme.js and highlight layer opacity issues

2014-11-25 Thread Raffaele Morelli
With a fresh install from svn (rev 1361), the map in the viewport is showed with a div element - the highlight layer/theme - stacked on top with opacity set to 0.3 The result is this grey "veil" over the map. Commenting line #47 in http://svn.pmapper.net/trac/browser/trunk/pmapper5/js/src/pm.ol.t

Re: [pmapper-users] [errors] pmhighlight et al.

2014-11-18 Thread Raffaele Morelli
On 18/11/14 at 06:44pm, Armin Burger wrote: > Raffaele > > thanks already for extending the wiki. I will try to add a few changes > towards p.mapper 4 config that I still remember. Working on DocManuallayoutFive today ;-) > > On 11/18/2014 01:55 PM, Raffaele Morelli wrote:

Re: [pmapper-users] [errors] pmhighlight et al.

2014-11-18 Thread Raffaele Morelli
On 18/11/14 at 01:25pm, Armin Burger wrote: > I would just roughly guess you have a definition of a group in the XML > file under that is then not defined under . > You could try to use the console logging in PM.Control.PMToc.js wher > line 500 seems to give this error. > Uncomment the line 497 a

[pmapper-users] [errors] pmhighlight et al.

2014-11-18 Thread Raffaele Morelli
Got this errors in inspector on fresh installation from svn PM.config default js_session.php:148 Uncaught TypeError: Cannot read property 'hasOwnProperty' of null PM.Control.PMToc.js:500(anonymous function) PM.Control.PMToc.js:500o.extend.each jquery-2.1.0.min.js:2OpenLayers.Control.PMToc.OpenLay

Re: [pmapper-users] Tilcache in pmapper5?

2014-11-17 Thread Raffaele Morelli
On 18/11/14 at 12:08am, gioza wrote: > According to Armin indications I tested the "custom.js" for multiple OL WMS > in this way and it works: > > $.extend(PM.OL.Theme.olNativeThemes, > { > create: function() { > this.themeList['vmapLayerWms2'] = this.createVmapWmsLayer(); >

Re: [pmapper-users] Tilcache in pmapper5?

2014-11-17 Thread Raffaele Morelli
On 12/11/14 at 11:32pm, Armin Burger wrote: > I added a basic support for native OL layer types. See changeset >http://svn.pmapper.net/trac/changeset/1359 > > should work when called the application with "?config=dev" since all of > that new type is defined in the "dev" configuration. > > Th

Re: [pmapper-users] photo plugin

2014-10-30 Thread Raffaele Morelli
On 30/10/14 at 09:35am, Thomas wrote: > Hi, > > We've got a plugin that could do the job: > > > > > > > It transform a field value a thumbnail (add the extension jpeg, png, ... if > needed

Re: [pmapper-users] PMapper5 : PM_RESULT_FIELDS order not observed

2014-10-29 Thread Raffaele Morelli
On 29/10/14 at 07:07pm, Armin Burger wrote: > ok, I can change that, though I guess the the performance gain will be > likely quite small in real world situations. Lets just hope no field > names will be ever called "null" then... ;-) on the positive side, you could use "null" for very secret st

Re: [pmapper-users] PMapper5 : PM_RESULT_FIELDS order not observed

2014-10-13 Thread Raffaele Morelli
On 14/10/14 at 12:32am, Armin Burger wrote: > yes, I guess this was always the way how it worked aslo in older > versions. It's not just for Postgis but also shapefile layers etc. > > The change to make it behave as you expected is to modify the > lib/query/query.php file at line 229 replacing t

[pmapper-users] PMapper5 : PM_RESULT_FIELDS order not observed

2014-10-13 Thread Raffaele Morelli
Hi, there's an issue with PM_RESULT_FIELDS and the specified order of fields. No matter what is specified in PM_RESULT_FIELDS, fields order follows postgis table fields order. Can you confirm this behaviour? -- « Nunc est bibendum, nunc pede libero pulsanda tellus » --

Re: [pmapper-users] PMapper5 "bugs"

2014-10-09 Thread Raffaele Morelli
On 09/10/14 at 09:21pm, Armin Burger wrote: > On 10/09/2014 02:50 PM, Raffaele Morelli wrote: > > On 09/10/14 at 02:16pm, Armin Burger wrote: > >> regarding the domains issues, try the following: > >> > >> modify file > >> "plugin

Re: [pmapper-users] PMapper5 "bugs"

2014-10-09 Thread Raffaele Morelli
ng results in a clearer directory "look", anyway I've changed the require_once. Regards /r PS is there any ongoing work on PMapper5 release? > >Armin > > >Gesendet: Donnerstag, 09. Oktober 2014 um 06:43 Uhr >Von: "Raffaele Morelli" >

[pmapper-users] PMapper5 "bugs"

2014-10-08 Thread Raffaele Morelli
Hi there, I am working on PMapper5 beta2 and got it up and running. As I dig into configuration I've found a couple of "bugs" (but maybe I am wrong) and if there's still interest in that here they are: - domains definition must contain at least two categories in order to show up, if it doesn't

[pmapper-users] using drupal "hooks" with pmapper

2014-09-24 Thread Raffaele Morelli
Hi, I have a pmapper instance and would like to use drupal auth system in order to access several maps (pmapper configs). Target is to serve different pmapper configs according to users profile attributes: eg. if user A has xy attribute I serve config=xy, etc etc So I placed an include in index

Re: [pmapper-users] Fwd: Map viewing problem (UPDATE)

2014-08-19 Thread Raffaele Morelli
2014-08-19 15:42 GMT+02:00 Ceyhun Ganioglu : > Hi again, > > Sorry I have more information about my problem. > > I installed Fiddler and listened to port 8000 which both Map Server and > PMAPPER works on. I saw the following error message > > > > Warning: [MapServer Error]: msSaveImageGD(): Unab

Re: [pmapper-users] pmapper4: new plugins and options

2014-07-22 Thread Raffaele Morelli
2014-07-21 19:35 GMT+02:00 Thomas RAFFIN : > Hi all, > > There are few new plugins and options available in pampper4. I will > quickly described the changes here, but for more information plugins are > documented in pmapper wiki (here: > http://svn.pmapper.net/trac/wiki/AvailablePlugins ) and in t

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

2014-07-11 Thread Raffaele Morelli
2014-07-11 13:28 GMT+02:00 nando_gcia : > I agree with you Raffaele. > > < > http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025520/sources_chrome2.jpg > > > > But i don't know how to fix it. > > ​http://svn.pmapper.net/trac/wiki/DocManual#DirectoryandFileStructure ---

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

2014-07-10 Thread Raffaele Morelli
2014-07-11 8:36 GMT+02:00 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: > > link

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

2014-07-10 Thread Raffaele Morelli
2014-07-11 7:51 GMT+02:00 nando_gcia : > Raffaele, this is my sources: > > < > http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025515/sources_chrome.jpg > > > > ​...​ then you search -- Open so

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

2014-07-10 Thread Raffaele Morelli
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

[pmapper-users] donwload link broken

2013-10-15 Thread Raffaele Morelli
Hi, this is just to inform Armin that download link on http://www.pmapper.net/download.shtml is broken for stable release, tar.gz link downloads an empty file. Regards /R -- October Webinars: Code for Performance Free In

Re: [pmapper-users] Multiple pmapper in one server

2013-10-09 Thread Raffaele Morelli
http://svn.pmapper.net/trac/wiki/FaqTips#UsingApacherewritemechanisms 2013/10/9 Sentot Kurniawan > I like to add everything under the htdocs directory, using 2 different web > directories. Then the URL just look like this : > http://localhost/web1 > http://localhost/web2 > > Please show me

Re: [pmapper-users] PMapper5 beta2

2013-05-07 Thread Raffaele Morelli
2013/5/6 Luciano Galletti > I've solved Raffaele > you have to change in js_config.php > from > > maxExtent: new OpenLayers.Bounds(-400, 300, 800, 1200) > to > maxExtent: new OpenLayers.Bounds(-432531.987809, 4080513.10311, > 2779046.192174, 6350387.094751) in PM.mapOptions and PM

[pmapper-users] PMapper5 beta2

2013-04-05 Thread Raffaele Morelli
Hi, I can't figure out how to set the starting viewport extent to match a region (eg. Italy). Any hints? /r -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Lear

Re: [pmapper-users] IMAGEPATH

2013-03-26 Thread Raffaele Morelli
2013/3/26 Armin Burger > don't worry, it works as you see ;-) > > there are no map images created any more on local disks but they are > directly streamed to the browser. The tmp dir is still needed for some > other things like printing I guess. > > /a ok, I was wondering why putting "garbage"

[pmapper-users] IMAGEPATH

2013-03-26 Thread Raffaele Morelli
Hi, I am testing pmapper5 with the demo map file. I've set the IMAGEPATH and IMAGEURL paramters, map is correctly displayed in the viewport but no files are genereted in IMAGEPATH dir... Any hints? regards -r -- *L'unica speranza di catarsi, ammesso che ne esista una, resta affidata all'istint

[pmapper-users] PMapper & auth issue

2013-02-05 Thread Raffaele Morelli
Hi, I am using pmapper-4.2 and want to password protect access to maps. What I am trying to do is: login into a drupal site and then access pmapper if and only if the user is logged into drupal. So I putted this code snippet at the top of map_default.phtml define('DRUPAL_ROOT', '/path/to/drupal'

Re: [pmapper-users] Pmapper5 issue

2012-10-25 Thread Raffaele Morelli
2012/10/25 Thomas RAFFIN > Hi, > > Pmapper 5 will be great for many reasons. But I think MapServer 6 > compatibility is not the one that should be decisive. > > AFAIC pmapper 4 branch is compatible with MapServer 6 (but I'm using dev > version). > AFAIC pmapper4 has serious trouble with latest p

Re: [pmapper-users] Pmapper5 issue

2012-10-24 Thread Raffaele Morelli
2012/10/24 Armin Burger > this a left-over from pmapper 4 that has still not been removed, you can > silently ignore it. Or just remove in lib/init/initmap.php -> function > _initConfig() the 3 lines starting with > >if ($this->map->resolution != "96") { Thank you, silently ignore it :-) I

[pmapper-users] Pmapper5 issue

2012-10-24 Thread Raffaele Morelli
hi, I am working on a pmapper5-beta1 installation. Demo data works but when I try to add mapfiles from previous 4 release I always get this error, even if RESOLUTION is set to 96 in the mapfile. P.MAPPER-ERROR: DEFRESOLUTION tag not set to 96. This value is needed for proper function of PDF print

Re: [pmapper-users] reference map

2012-09-22 Thread Raffaele Morelli
2012/9/22 Armin Burger > alternatively, you could create this type of image with the shp2img > utility from Mapserver. You can specify the needed parameters for > mapfile, size, extent, layers, etc via the command line arguments. > I did it but it's not working, the box on the reference map is s

[pmapper-users] reference map

2012-09-21 Thread Raffaele Morelli
Hi, apologize for such a trivial questione but I did it years ago and now I can't help but asking how to. How can I create a workink reference map? Did not find solutions googling around... I tried with qgis but the result it's somewhat "traslated" according to the viewport... regards -r -- *L

Re: [pmapper-users] PHP Fatal error: Call to undefined method imageObj::free()

2012-05-22 Thread Raffaele Morelli
2012/5/22 Salvatore Larosa > Il giorno mar, 22/05/2012 alle 13.02 +0200, Raffaele Morelli ha scritto: > > Hi, > > > > I got this error from php error log: > > > > [22-May-2012 10:33:40 UTC] PHP Fatal error: Call to undefined method > > imageObj::free() in

[pmapper-users] PHP Fatal error: Call to undefined method imageObj::free()

2012-05-22 Thread Raffaele Morelli
Hi, I got this error from php error log: [22-May-2012 10:33:40 UTC] PHP Fatal error: Call to undefined method imageObj::free() in /var/www/webgis/incphp/init/initmap.php on line 446 any ideas? Server is running debian wheezy 2.6.32-3-amd64 other relevant infos ii php5-mapscript 6.0.1-3