Re: [pmapper-users] coordinate display

2014-11-13 Thread Marcello Benigno
Hi Firdaus,

In js_config.php add this line code:

PM.ZoomBox.coordsDisplayRfactor = 2;

The value is the number of decimal digits

Regards,

2014-11-11 17:10 GMT-03:00 Firdaus firdaus alikome...@gmail.com:

 dear all,

 can anyone help me to display the coordinate system in decimal digits ?
 currently my coordinate is only X:95 Y:6, i need to improve it to be
 X:95,45 Y:6,32

 Please help me

 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push notifications.
 Take corrective actions from your mobile device.

 http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




-- 
*Marcello Benigno B. de Barros Filho*
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE
http://profmarcello.blogspot.com
http://about.me/marcello.benigno
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Identify Button and collapse results - How to change it?

2014-11-12 Thread Marcello Benigno
Hi Armin and all,

I downloaded the last stable version and noticed that when I use the
identify button, the query table result appears hidden (collapse with a
down arrow ). How can I modify this so that the attributes are displayed?

Thanks in advance,
-- 
*Marcello Benigno B. de Barros Filho*
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE
http://profmarcello.blogspot.com
http://about.me/marcello.benigno
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] PHP Mapscript Error

2014-04-15 Thread Marcello Benigno
Hi Emmanuel,

You need edit your php.ini file (probably in  /etc/php5/apache2/php.ini) and
put the line below:

extension=php_mapscript.so

Then restart apache:

sudo /etc/init.d/apache2 restart

Other settings are required, I suggest you read the instructions in this link
(PHP.ini section):

http://svn.pmapper.net/trac/wiki/DocQuickinstall

Best,


2014-04-11 19:36 GMT-03:00 Emmanuel Adegboye eaadegb...@googlemail.com:

 Hi all.

 I get this error on a fresh install of pmapper 4.3 on an ubuntu setup:

 [11-Apr-2014 22:32:12 Africa/Brazzaville] P.MAPPER: This version of PHP
 does support the 'dl()' function. Please enable 'php_mapscript.dll' in your
 php.ini
 [11-Apr-2014 22:32:12 Africa/Brazzaville] PHP Notice:  Undefined variable:
 map in /var/www/vhosts/map.oauife.edu.ng/httpdocs/incphp/init/init.php on
 line 33
 [11-Apr-2014 22:32:12 Africa/Brazzaville] PHP Notice:  Trying to get
 property of non-object in /var/www/vhosts/
 map.oauife.edu.ng/httpdocs/incphp/init/initmap.php on line 283
 [11-Apr-2014 23:32:12 Europe/Vienna] PHP Fatal error:  Call to a member
 function getAllGroupNames() on a non-object in /var/www/vhosts/
 map.oauife.edu.ng/httpdocs/incphp/init/initmap.php on line 289


 I'm guessing that the PHP mapscript extension has not been enabled. Am I
 right about this? The only challenge is that the server admin is the only
 one that has access to this file as I am on a shared server. What are my
 options?

 Regards,

 Emmanuel Adegboye

 --
 Put Bad Developers to Shame
 Dominate Development with Jenkins Continuous Integration
 Continuously Automate Build, Test  Deployment
 Start a new project now. Try Jenkins in the cloud.
 http://p.sf.net/sfu/13600_Cloudbees
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




-- 
*Marcello Benigno B. de Barros Filho*
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE
http://profmarcello.blogspot.com
http://about.me/marcello.benigno
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Marcello Benigno is still waiting for you to join Feedspot...

2014-04-13 Thread Marcello Benigno via Feedspot
div
Marcello Benigno is still waiting for you to join Feedspot - A Google Reader 
for Professionals.
br/
a target=_blank 
href=http://www.feedspot.com/r_903cdca176c6_*_pmapper-us...@lists.sourceforge.net#monthlycode;www.feedspot.com/a
br/br/
Start using Feedspot today to get a complimentary Feedspot Premium membership 
for one year for free, with even more of the features that make Feedspot great. 
And just for trying Feedspot, your friend will also get Feedspot premium 
membership for free. 
br/br/br/
div
a style=font-size:16px;color:white;border-top:1px #2270ab 
solid;width:280px;border-left:1px #18639a 
solid;font-weight:600;background-color:#33a0e8;border-radius:3px;border-right:1px
 #18639a solid;border-bottom:1px #0f568b solid;padding:14px 7px 14px 
7px;max-width:140px;font-family:'Open Sans','lucida grande','Segoe 
UI',arial,verdana,'lucida sans 
unicode',tahoma,sans-serif;text-align:center;background-image:-webkit-gradient(linear,0%
 0%,0% 
100%,from(rgb(55,163,235)),to(rgb(33,129,207)));text-decoration:none;display:block
 
href=http://www.feedspot.com/r_903cdca176c6_*_pmapper-us...@lists.sourceforge.net#monthlycode;
 target=_blankGet Started/a
/div
br/br/  
- The Feedspot Team
br/br/br/ 
/div  
hr/
div style=font-size:12px;color:gray
This email was sent to pmapper-users@lists.sourceforge.net. You are receiving 
pending invitation emails. br/
You received this email because  your friend Marcello Benigno 
(benigno.marce...@gmail.com) invited you to join Feedspot.br/
Click a style=color:gray;text-decoration:underline;cursor:pointer 
href=http://www.feedspot.com/fs/unsubscribe?i=FEv4vW5ZIBdVIRZX0QpZ/iFV1OyXXCcpEyQgWhb4S/8eVPvlXFcYKg==;here
 to Unsubscribe/a if you wish not to receive pending invitation from Marcello 
Benigno via Feedspot.br/ 
Feedspot.com, 303 Cape Court, Mill Valley, CA 94941
/div

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test  Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Poor image quality on pmapper

2014-02-18 Thread Marcello Benigno
Hello all,

In my application a Landsat image appear coarse when viewed in pmapper, for the
same when viewed via cgi-bin. Could anyone help me on this?

CGI-BIN:
http://186.202.165.209/cgi-bin/mapserv?map=/var/www/geofazendasmapas/config/default/geofazendasmapas.mapmode=maplayers=municipios+landsat7

Application: http://mapas.geofazendas.com.br/

Thanks in Advance,

-- 
*Marcello Benigno B. de Barros Filho*
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE
http://profmarcello.blogspot.com
http://about.me/marcello.benigno
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Poor image quality on pmapper

2014-02-18 Thread Marcello Benigno
Thanks Thomas and Armin, I'll test.

Best


2014-02-18 15:50 GMT-03:00 Armin Burger armin.bur...@gmx.net:

 Marcello

 I can only confirm what Thomas wrote. I think the default outputformat
 definition for PNG in p.mapper is 8-bit PNG, which is unsuitable for
 data like satellite or aerial images since it has only 256 colors. For
 imagery data you need to use either 24-bit PNG or JPEG. The first has
 the advantage of better quality for overlaid vector data, the second the
 much smaller file size that is transfered to the users.

 Therefore the altImgFormat exists as alternative format in case a
 certain layer is activated. So you could use e.g. PNG-8 for vector only
 data, and PNG-24 or JPEG when the Landsat layer is activated. See also a
 coarse description of output format and layers here

 http://svn.pmapper.net/trac/wiki/FaqTips#Optimizationimageoutputformat:

 I would guess the default PNG format for Mapserver (if not defined
 differently via the map file) is PNG-24, and thus you get a good quality
 image from Mapserver CGI.

 Armin



 On 02/18/2014 02:09 PM, Thomas RAFFIN wrote:
  Hi,
 
  You have to use the same outputformat than with your CGI:
  http://svn.pmapper.net/trac/wiki/XmlFileSettings#map (search
  http://svn.pmapper.net/trac/wiki/XmlFileSettings#map; and
 altImgFormat).
 
  Thomas
 
  Le 18/02/2014 12:58, Marcello Benigno a écrit :
  Hello all,
 
  In my application a Landsat image appear coarse when viewed in pmapper,
 for the
  same when viewed via cgi-bin. Could anyone help me on this?
 
  CGI-BIN:
 
 http://186.202.165.209/cgi-bin/mapserv?map=/var/www/geofazendasmapas/config/default/geofazendasmapas.mapmode=maplayers=municipios+landsat7
 
  Application: http://mapas.geofazendas.com.br/
 
  Thanks in Advance,
 
 
 
 
 
 --
  Managing the Performance of Cloud-Based Applications
  Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
  Read the Whitepaper.
 
 http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 


 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.

 http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




-- 
*Marcello Benigno B. de Barros Filho*
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE
http://profmarcello.blogspot.com
http://about.me/marcello.benigno
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] form button in query result

2013-03-25 Thread Marcello Benigno
Hello Alessandro,

I'm trying to develop something very similar to what you did with this
p.mapper application: http://www.simsity.it/pmapper/PPBwebgis.phtml

A button on the TOC that when clicked, opens a form, and when submitted, it
will do a reload on the map (with the action that I intend to do).

Would you have any information on how I can implement this?

Finally, I would like to congratulate you for the excellent work in this
application.

Thanks in advance,

-- 
*Marcello Benigno B. de Barros Filho*
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE
http://profmarcello.blogspot.com
http://about.me/marcello.benigno
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Can't load p.mapper on Montain Lion

2012-09-21 Thread Marcello Benigno
Any tip?

[]'s

2012/9/19 Marcello Benigno benigno.marce...@gmail.com

 Hi All,

 My p.mapper installation is showing the following problem:

 Warning:
 require_once(/Library/WebServer/Documents/pmapper/config/common/._startup_/.startup.php):
 failed to open stream: No such file or directory in
 /Library/WebServer/Documents/pmapper/config/__startup_config.php on line 73
 Fatal error: require_once(): Failed opening required
 '/Library/WebServer/Documents/pmapper/config/common/._startup_/.startup.php'
 (include_path='.:') in
 /Library/WebServer/Documents/pmapper/config/__startup_config.php on line 73

 I've tested the mapfile via cgi-bin and apparently it's OK.

 I figured that sessions files are being created in temp folder, but are
 empty, and I can only access them as super user (e.g.: sudo cat). The
 mapserver temp pictures are not being created this folder.

 Permissions in p.mapper folder are 777.

 I always installed p.mapper on Linux, but I'm having some difficulty in
 finding the problem on Lion, any ideas? I'm using the last p.mapper
 subversion.

 Thanks in Advance,
 --
 *Marcello Benigno B. de Barros Filho*
 Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
 Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
 Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE
 http://profmarcello.blogspot.com
 http://about.me/marcello.benigno




-- 
*Marcello Benigno B. de Barros Filho*
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE
http://profmarcello.blogspot.com
http://about.me/marcello.benigno
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Can't load p.mapper on Montain Lion

2012-09-21 Thread Marcello Benigno
Solved Guys

http://old.nabble.com/new-installation-config-common-._startup_-.startup.php-problem-tt26342710.html#a26373248

Thanks,

-- 
*Marcello Benigno B. de Barros Filho*
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE
http://profmarcello.blogspot.com
http://about.me/marcello.benigno
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Can't load p.mapper on Montain Lion

2012-09-19 Thread Marcello Benigno
Hi All,

My p.mapper installation is showing the following problem:

Warning:
require_once(/Library/WebServer/Documents/pmapper/config/common/._startup_/.startup.php):
failed to open stream: No such file or directory in
/Library/WebServer/Documents/pmapper/config/__startup_config.php on line 73
Fatal error: require_once(): Failed opening required
'/Library/WebServer/Documents/pmapper/config/common/._startup_/.startup.php'
(include_path='.:') in
/Library/WebServer/Documents/pmapper/config/__startup_config.php on line 73

I've tested the mapfile via cgi-bin and apparently it's OK.

I figured that sessions files are being created in temp folder, but are
empty, and I can only access them as super user (e.g.: sudo cat). The
mapserver temp pictures are not being created this folder.

Permissions in p.mapper folder are 777.

I always installed p.mapper on Linux, but I'm having some difficulty in
finding the problem on Lion, any ideas? I'm using the last p.mapper
subversion.

Thanks in Advance,
-- 
*Marcello Benigno B. de Barros Filho*
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE
http://profmarcello.blogspot.com
http://about.me/marcello.benigno
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Pmapper not loaded, after mapserver upgrade

2011-06-13 Thread Marcello Benigno
Hi All,

I'm using p.mapper with Mapserver 6.0 and php 5.3, but the map area didn't
load. My Errors log are:

php_errors.log:

[13-Jun-2011 10:29:00] PHP Warning:  require_once(/common.php): failed to
open stream: No such file or directory in
/var/www/pmapper-4.0/incphp/js/js_session.php on line 7
[13-Jun-2011 10:29:00] PHP Fatal error:  require_once(): Failed opening
required '/common.php' (include_path='.:/usr/share/php:/usr/share/pear') in
/var/www/pmapper-4.0/incphp/js/js_session.php on line 7
[13-Jun-2011 10:29:00] PHP Warning:  include_once(/locale/language_.php):
failed to open stream: No such file or directory in
/var/www/pmapper-4.0/incphp/globals.php on line 42
[13-Jun-2011 10:29:00] PHP Warning:  include_once(): Failed opening
'/locale/language_.php' for inclusion
(include_path='.:/usr/share/php:/usr/share/pear') in
/var/www/pmapper-4.0/incphp/globals.php on line 42
[13-Jun-2011 10:29:00] PHP Warning:  include_once(/locale/language_.php):
failed to open stream: No such file or directory in
/var/www/pmapper-4.0/incphp/globals.php on line 42
[13-Jun-2011 10:29:00] PHP Warning:  include_once(): Failed opening
'/locale/language_.php' for inclusion
(include_path='.:/usr/share/php:/usr/share/pear') in
/var/www/pmapper-4.0/incphp/globals.php on line 42
[13-Jun-2011 10:29:00] PHP Warning:  include_once(/locale/language_.php):
failed to open stream: No such file or directory in
/var/www/pmapper-4.0/incphp/globals.php on line 42
[13-Jun-2011 10:29:00] PHP Warning:  include_once(): Failed opening
'/locale/language_.php' for inclusion
(include_path='.:/usr/share/php:/usr/share/pear') in
/var/www/pmapper-4.0/incphp/globals.php on line 42
[13-Jun-2011 10:29:00] PHP Warning:  Invalid argument supplied for foreach()
in /var/www/pmapper-4.0/incphp/layerview.php on line 132
[13-Jun-2011 10:29:00] PHP Warning:  simplexml_load_file(): I/O warning :
failed to load external entity  in
/var/www/pmapper-4.0/incphp/query/search.php on line 52
[13-Jun-2011 10:29:00] PHP Fatal error:  Call to a member function asXML()
on a non-object in /var/www/pmapper-4.0/incphp/query/search.php on line 69

pm_debug.log:

[13-Jun-2011 15:29:00] P.MAPPER debug info
 P.MAPPER-ERROR: RESOLUTION tag not set to 96. This value is needed for
proper function of PDF print.
[13-Jun-2011 15:29:00] P.MAPPER debug info
 P.MAPPER-ERROR: DEFRESOLUTION tag not set to 96. This value is needed for
proper function of PDF print.


Any Ideas?

Thanks in advance,

-- 
*Marcello Benigno B. de Barros Filho*
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
http://profmarcello.blogspot.com
http://about.me/marcello.benigno
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Problem in zoom2extent using postgis layers

2010-03-21 Thread Marcello Benigno
Hi Armin, hi all,

First, congratulations to new pmapper version!  It´s really easier to
configured. But I don´t know why, when I use PostGIS Layers, the function
javascript:PM.Map.zoom2extent() doesn´t woks. The same layer in shapefile
format, works perfectly. I tried in Linux (Ubuntu 9.10) and in Windows (7).

Resuming, when the user clicked in the information button, the attributes
window appear, but the zoom button in this window not working, the loading
message appears for all the time.

Am I missing any configuration?

thanks in advance,

-- 
Marcello Benigno B. de Barros Filho
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
http://profmarcello.blogspot.com
--
Download Intel#174; 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 in zoom2extent using postgis layers

2010-03-21 Thread Marcello Benigno
Armin, thanks for your help,

Firebug shows the following message when i click in zoom button table
attributes (javascript:PM.Map.zoom2extent()):

*PHP Fatal error:  [MapServer Error]: _msProcessAutoProjection(): WMS/WFS
AUTO PROJECTION must be in the format 'AUTO:proj_id,units_id,lon0,lat0' (got
'').
in C:\ms4w\Apache\htdocs\pmapper\incphp\map\map.php on line 791*

And Pmapper don´t zooming selected feature... but only in PostGIS Layers, in
shapefiles everything works fine.

I´m using:

   - PHP 5.2.6
   - Mapserver 5.2.1
   - PostGIS 1.4 and PostgreSQL 8.4

Any ideas?

Thanks in advance

2010/3/21 Armin Burger armin.bur...@gmx.net

 please check your PHP and Javascript error log, report them, and mention
 also which version of Mapserver (and PHP) you're using, and when/where
 the error appears exactly.

 armin

 On 21/03/2010 15:50, Marcello Benigno wrote:
  Hi Armin, hi all,
 
  First, congratulations to new pmapper version!  It´s really easier to
  configured. But I don´t know why, when I use PostGIS Layers, the
function
  javascript:PM.Map.zoom2extent() doesn´t woks. The same layer in
shapefile
  format, works perfectly. I tried in Linux (Ubuntu 9.10) and in Windows
(7).
 
  Resuming, when the user clicked in the information button, the
attributes
  window appear, but the zoom button in this window not working, the
loading
  message appears for all the time.
 
  Am I missing any configuration?
 
  thanks in advance,
 


--
 Download Intel#174; 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



--
Marcello Benigno B. de Barros Filho
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
http://profmarcello.blogspot.com
--
Download Intel#174; 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 in zoom2extent using postgis layers

2010-03-21 Thread Marcello Benigno
Here is my link, is not empty:

javascript:PM.Map.zoom2extent('lotes','182','297281.51625+9212519.64125+297329.10875+9212613.35875','0')

how you can see, is almost the same to the shapefile layer (same feature):

javascript:PM.Map.zoom2extent('lotes_shape','181','297281.515876+9212519.64069+297329.108376+9212613.35819','0')

I´m not using metadata, just the tag TEMPLATE 'void'. My mapfile have only
this 2 layers. I´d like to show my configuration files.

Thanks again,

2010/3/21 Armin Burger armin.bur...@gmail.com

 the link for zoom2extent should look similar to

 javascript:PM.Map.zoom2extent('cities1eu','8919','5620344.5911941+3195804.3745818+5640344.6104432+3215804.3998199','0')

 you report a link
 javascript:PM.Map.zoom2extent()

 if the '()' are empty then the error is somewhere before.

 I would encourage you to try various settings of layers enabled, query
 types, and check what works and what not. Otherwise you will not be able
 to narrow down the problem.

 BTW: the line 791 in map.php should be
  $qLayer-set(data, $qLayer-getMetaData(PM_RESULT_DATASUBSTITION));

 do you use this METADATA setting...?

 armin

 On 21/03/2010 17:43, Marcello Benigno wrote:
  Armin, thanks for your help,
 
  Firebug shows the following message when i click in zoom button table
  attributes (javascript:PM.Map.zoom2extent()):
 
  *PHP Fatal error:  [MapServer Error]: _msProcessAutoProjection(): WMS/WFS
  AUTO PROJECTION must be in the format 'AUTO:proj_id,units_id,lon0,lat0'
 (got
  '').
  in C:\ms4w\Apache\htdocs\pmapper\incphp\map\map.php on line 791*
 
  And Pmapper don´t zooming selected feature... but only in PostGIS Layers,
 in
  shapefiles everything works fine.
 
  I´m using:
 
  - PHP 5.2.6
  - Mapserver 5.2.1
  - PostGIS 1.4 and PostgreSQL 8.4
 
  Any ideas?
 
  Thanks in advance
 
  2010/3/21 Armin Burgerarmin.bur...@gmx.net
 
  please check your PHP and Javascript error log, report them, and mention
  also which version of Mapserver (and PHP) you're using, and when/where
  the error appears exactly.
 
  armin
 
  On 21/03/2010 15:50, Marcello Benigno wrote:
  Hi Armin, hi all,
 
  First, congratulations to new pmapper version!  It´s really easier to
  configured. But I don´t know why, when I use PostGIS Layers, the
  function
  javascript:PM.Map.zoom2extent() doesn´t woks. The same layer in
  shapefile
  format, works perfectly. I tried in Linux (Ubuntu 9.10) and in Windows
  (7).
 
  Resuming, when the user clicked in the information button, the
  attributes
  window appear, but the zoom button in this window not working, the
  loading
  message appears for all the time.
 
  Am I missing any configuration?
 
  thanks in advance,
 
 
 



 --
 Download Intel#174; 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




-- 
Marcello Benigno B. de Barros Filho
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
http://profmarcello.blogspot.com
!-- edited with XMLSpy v2009 sp1 (http://www.altova.com) by Marcello (EMBRACE) --
pmapper
	ini
		pmapper
			pmTitlep.mapper - A MapServer PHP/MapScript Framework/pmTitle
			debugLevel3/debugLevel
			pluginsexport/plugins
			pluginsscalebar/plugins
			pluginstransparency/plugins
		/pmapper
		config
			pm_config_locationdefault/pm_config_location
			pm_javascript_locationjavascript/pm_javascript_location
			pm_print_configfilecommon/print.xml/pm_print_configfile
			pm_search_configfileinline/pm_search_configfile
		/config
		map
			mapFilepmapper_demo.map/mapFile
			tplMapFilecommon/template.map/tplMapFile
			categories
category name=Cadastro
	grouplotes/group
	grouplotes_shape/group
/category
			/categories
			allGroups
grouplotes/group
grouplotes_shape/group
			/allGroups
			defGroups
grouplotes/group
			/defGroups
			layerAutoRefresh1/layerAutoRefresh
			imgFormatpng/imgFormat
			altImgFormatjpeg/altImgFormat
			sliderMin10/sliderMin
		/map
		query
			limitResult300/limitResult
			highlightColor0 255 255/highlightColor
			highlightSelected1/highlightSelected
			autoZoomnquery/autoZoom
			autoZoomsearch/autoZoom
			zoomAllsearch/zoomAll
			zoomAllnquery/zoomAll
			infoWindynwin/infoWin
			alignQueryResults1/alignQueryResults
			pointBuffer1/pointBuffer
			shapeQueryBuffer0.02/shapeQueryBuffer
		/query
		ui
			tocStyletree/tocStyle
			legendStyleattached/legendStyle
			useCategories1/useCategories
			catWithCheckbox1/catWithCheckbox
			scaleLayers1/scaleLayers
			icoW18/icoW
			icoH14/icoH
		/ui

Re: [pmapper-users] PostGIS layer does not return query info

2009-07-27 Thread Marcello Benigno
You need a PK field for the postGIS Layer, try this:

--view

CREATE VIEW *procedure *AS
SELECTprocedure.procedure_id AS *procedure_id*,
procedure.description_url AS procedure_description_url,
procedure.description_type AS procedure_description_type,
feature_of_interest.feature_of_interest_id AS feature_of_interest_id,
feature_of_interest.feature_of_interest_name AS
feature_of_interest_name,
feature_of_interest.feature_of_interest_description AS
feature_of_interest_description,
feature_of_interest.geom AS *geom*,
feature_of_interest.feature_type AS type,
feature_of_interest.schema_link AS schema_link
FROM procedure
LEFT JOIN proc_foi ON procedure.procedure_id = proc_foi.procedure_id
LEFT JOIN feature_of_interest ON proc_foi.feature_of_interest_id =
feature_of_interest.feature_of_interest_id

--mapfile

DATA *geom *FROM *procedure *USING UNIQUE *procedure_id* USING SRID=4326

 []'s

-- 
Marcello Benigno B. de Barros Filho
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
--
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Map vanishes after removing a raster layer

2008-10-20 Thread Marcello Benigno
Hi Germana,

try to comment* line 311* in config_default.ini, see below:

altImgFormatLayers = jpl_wms_global_mosaic, dem

cheers,

2008/10/20 germana manca [EMAIL PROTECTED]

 Good morning,
 I'm a beginner. I'm trying to modify a pmapper demo map and to adjust
 it to my shapefiles (already uploaded inside the pmapper-demo.map and
 I can see them clearly), but something is going wrong when I remove
 the two raster files from a pmapper demo map (jpl_wms_global_mosaic
 and europa_dem.jpg, having a huge mapexent that it doesn't fit
 perfectly for my shapefile. Actually I'm trying to visualize Sardinia.
 I could see it but of course very small), the map disappears from
 firefox, and the loading message shows up. I tried and tried several
 times to understand the reason, but no result (the error console show
 something like php.ini. I uploaded my raster files and if I remove
 them nothing happens. I use ogrinfo, gdalinfo, error console
 everything, but I'm not able to find a solution). My purpose is to
 eliminate the raster files and to keep mine.
 Any suggestion?
 Thanks,
 Germana

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




-- 
Marcello Benigno B. de Barros Filho
Prof. do Curso Superior de Tecnologia em Geoprocessamento - CEFET-PB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Search XML with PostGIS

2008-10-17 Thread Marcello Benigno
 
 
  armin
 
 
  On Fri, Oct 17, 2008 at 9:23 AM, Andreas Haux
  [EMAIL PROTECTED] wrote:
  Hi,
 
  p.mapper is great - and I am experimenting for quite a while but
  didn't found out how exactly to define a search funktion in the
  search.xml file using PostGIS; the examples show the connection
  without sending a username and password.
 
  e.g.:
  Database name ist testdb
  Tablename is testfile
  Username is testperson
  Password is testpassword
 
  and I would like to select all the geometries where the field NAME is
  searchstring
 
  Here is your example where I have tried to fill this informations in,
  but I failed - I would simply like to establish a connection but did
  not know how to handle username and password (since the XML file is
  open to the public I could/would not include it here):
 
 searchitem name=testsearch description=Only a test
 layer type=postgis name=testfile
 field type=s name=name description=City
  wildcard=2
 definition type=suggest connectiontype=db
  sort=asc minlength=1 dependfld=cmcncd
 dsn encoding=UTF-8pgsql://
  postgres:[EMAIL PROTECTED]/testdb/dsn
 sqlSELECT DISTINCT name FROM testtfile WHERE
  name ~* '^[search]' ORDER BY name/sql
 /definition
 /field
 /layer
 /searchitem
 
  As far as I understand I don't need the suggest type in my case
  instead of receiving the results immediately at the map. So the most
  simple example how to write a request with PostGIS would be
  appreciated!
 
  Thanks for your help!
 
  Regards
  Andreas
 
 
 -
  This SF.Net email is sponsored by the Moblin Your Move Developer's
  challenge
  Build the coolest Linux based applications with Moblin SDK  win
  great prizes
  Grand prize is a trip for two to an Open Source event anywhere in
  the world
  http://moblin-contest.org/redirect.php?banner_id=100url=/
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




-- 
Marcello Benigno B. de Barros Filho
Prof. do Curso Superior de Tecnologia em Geoprocessamento - CEFET-PB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Problem in defining active layers in Zoom to pre-defined extent

2008-10-15 Thread Marcello Benigno
Hi Armin, hi all,

In the new window, the layer acudes_grupo it's off, i need it on, what
it's wrong?

here is my code:

a href=javascript:openNew(%20'960#700#medium',%20'br',%20'',%20*
'dg=acudes_grupo*amp;zoomLayer=acudes1amp;[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@1')Olho
D'agua/a

and the link: http://atlassrh.aesa.pb.gov.br/teste.html

best wishes,
-- 
Marcello Benigno B. de Barros Filho
Prof. do Curso Superior de Tecnologia em Geoprocessamento - CEFET-PB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Problems in Attribute search (search.xml)

2008-08-13 Thread Marcello Benigno
Hi Armin, hi all,

I defined my searh.xml file like this:

searchitem name=municipios description=Municípios
layer type=shape name=municipios
field type=s name=MUNICIP description=Nome do Município
wildcard=2
definition type=options connectiontype=ms sort=asc
firstoption=*
mslayer encoding=ISO-8859-1 keyfield=MUNICIP
showfield=MUNICIP/
/definition
/field
/layer
/searchitem

But some city name's in Portuguese like Acaraú appears with ? (acara?),
is it wrong encoding? I tried ISO-8859-1, LATIN1 and UTF-8... nothing works.
In IE it's worst because the select field doesn't appears. Please, Any
Ideas?

-- 
Marcello Benigno B. de Barros Filho
Prof. do Curso Superior de Tecnologia em Geoprocessamento - CEFET-PB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Layout Modifications - Buttons in the right (mapWest)

2008-08-09 Thread Marcello Benigno
Hi Armin, hi all,

I have two doubts...first, I need put the menu buttons, located at  DIV
Layout.MapEastWidth in the right position ( DIV Layout.MapWestWidth). The
second, I think it's easier, how to eliminate the menu tools, i tried
comment this lines in php_config.php:

//$menu1 = array (
//print   = array(_p(Print Map), openPrintDlg),
//  download= array(_p(Download), openDownloadDlg),
//help= array(_p(Help), openHelp),
//transparency   = array(_p(Transparency),
openTransparencyDlg)
//);

But it doesn't woks, please... I need help!  : )

best regards

-- 
Marcello Benigno B. de Barros Filho
Prof. do Curso Superior de Tecnologia em Geoprocessamento - CEFET-PB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Changing zoom slider position (version 3.2)

2008-04-10 Thread Marcello Benigno
Hi All,

How changing the slider to the left position in pmapper v.3.2?

-- 
Marcello Benigno B. de Barros Filho
Prof. do Curso Superior de Tecnologia em Geoprocessamento - CEFET-PB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] New pmapper on line

2007-11-19 Thread Marcello Benigno
Hi Armin, Hi all,

I'd like to show for you our page, made with the pmapper, in:
http://www.aesa.pb.gov.br/geoprocessamento/geoportal/sigaesaweb.html

best wishes,
-- 
Marcello Benigno B. de Barros Filho
Prof. do Curso Superior de Tecnologia em Geoprocessamento - CEFET-PB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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