Re: [pmapper-users] Problem in zoom2extent using postgis layers
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 > 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 Burger > >> > >> 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® 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 p.mapper - A MapServer PHP/MapScript Framework 3 export scalebar transparency default javascript common/print.xml inline pmapper_demo.map common/template.map lotes lotes_shape lotes lotes_shape lotes 1 png jpeg 10 300 0 255 255 1 nquery search search nquery dynwin 1 1 0.02 tree attached 1 1 1 18 14 br UTF-8 1 png jpeg 2 150 200 300 MDB2 Europe/Vienna XLS CSV PDF $ pmapper_demo.map Description: Binary data -- 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
Re: [pmapper-users] Problem in zoom2extent using postgis layers
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 Burger >> >> 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® 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
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 > > 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® 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® 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
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® 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
[pmapper-users] Problem in zoom2extent using postgis layers
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® 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