[pmapper-users] Tilling of map images
Hii i m new to mapserver and my application works in php mapscript Now i want ti implement tilling in ms4w. I have studied ka -map and want to implement the same tilling functionality in my ms4w pmapper application. I m confused about where to start from Pls guide. Thanks in advance. Kusum - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
[pmapper-users] side menu for layers
Hi all, I'm a new pmapper user. I'm a italian geographer and not a programmer ... Developing an international project in italian and slovenian I need absolutely a legend tree with three nested levels and not only the standard two, categories and groups. I read something about that in some emails from Rodrigo Gaete and saw his website http://geolivre.saude.rn.gov.br/pmapper-menu/map.phtml Would somebody mind helping me in built the same step by step? Thanking in advance Giuliano Petrarulo :: Dipartimento di Scienze geografiche e storiche Università degli Studi di Trieste, Italia ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
[pmapper-users] Show latitude/longtitude points on a map
Hello all. I guess this question should be addressed to the mapserver mailing list, but I hope I could find a quick response to this question. I have a table in mysql database where the coordinates are stored as (degree, min, sec) coordinates. The connection with the database is successfull through the OGR driver. The problem however is how to configure the layer in order to display the locations on the map. I have downloaded the pmapper demo map, and I'm trying to display my data on it. Bellow is the configuration of the layer: LAYER NAME "sites" TYPE POINT STATUS ON CONNECTIONTYPE OGR CONNECTION "MYSQL:db,user=user,password=pswd" DATA "select site_name, c1.cord_deg as c1deg, c1.cord_min as c1min, c1.cord_sec as c1sec, c2.cord_deg as c2deg, c2.cord_min as c2min, c2.cord_sec as c2sec from site inner join coordinate as c1 on c1.coordinate_id = site.coordinate_first inner join coordinate as c2 on c2.coordinate_id = site.coordinate_second" LABELITEM site_name #may need to use table.name or just name depending on your OVF file. PROJECTION "init=epsg:4326" END CLASS SYMBOL 1 SIZE 6 COLOR 255 0 0 LABEL SIZE MEDIUM TYPE BITMAP COLOR 0 0 0 END END DEBUG ON END The intention here is to display the site_name field as a point, where the coordinates are taken from (c1deg, c1min, c1min) and (c2deg, c2min, c2sec) This however does not work. I get the error message: Warning: [MapServer Error]: msQueryByPoint(): No matching record(s) found. My knowledge on Mapserver are really limited and I'm hopping for your help. Anakreon - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] Tilling of map images
then why don't use ka-map (or open layers) if it does what you need? Tiling requires a redesign of some core functions in p.mapper and I doubt it will be straightforward. But if you're very courageous: you will probably mainly have to work on zoombox.js and map.php/x_load.php. armin kusum wrote: > > > Hii > i m new to mapserver > and my application works in php mapscript > Now i want ti implement tilling in ms4w. > I have studied ka -map and want to implement the same tilling functionality > in my ms4w pmapper application. > I m confused about where to start from > Pls guide. > Thanks in advance. > Kusum > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] side menu for layers
This requires more than just basic knowledge of Javascript and PHP programming, so think carefully if you need to do it. I doubt someone will do it for you gratis. You would mainly have to modify the output for the TOC in legend.php. I would suggest to create unordered lists ... and apply the jQuery 'treeview' as it is done for the result display in tree view mode (pmjson.js). But first, you need to define the configuration for your tree hierarchy. And second, you need to apply the logic for layer/group/category/etc. switch on/off which needs to be very consistent, otherwise the whole thing is not very. Consider another approach and keep in mind that users should not be confused, therefore also the current restriction to 2 levels. If you need hell a lot of layers try to allow adding/removing them dynamically from a list. Or provide an approach to load thematic views of the application with varying layers for each instead of everything in one (e.g. using different configs with different map files). Armin giuliano petrarulo wrote: > Hi all, > I'm a new pmapper user. > I'm a italian geographer and not a programmer ... > Developing an international project in italian and slovenian I need > absolutely a legend tree with three nested levels and not only the standard > two, categories and groups. > I read something about that in some emails from Rodrigo Gaete and saw his > website > http://geolivre.saude.rn.gov.br/pmapper-menu/map.phtml > Would somebody mind helping me in built the same step by step? > Thanking in advance > Giuliano Petrarulo > :: > Dipartimento di Scienze geografiche e storiche > Università degli Studi di Trieste, Italia > > > ___ > L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: > http://it.docs.yahoo.com/nowyoucan.html > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] Show latitude/longtitude points on a map
I don't think OGR based layers are working fully correctly. Tests showed that the query result was never correct and returned always only the first records of the result (this was with MS 4.10). Don't know if they removed the bug now. You can also try to use "XY Layers" in p.mapper, it cannot display labels (MS docs are missing anything about this and why), but qyerying should work. See http://svn.pmapper.net/trac/wiki/DocManual#XYLayers for details. You need to have the PEAR DB module installed (since pm 3.2 the MDB2 module instead). armin [EMAIL PROTECTED] wrote: > Hello all. > > I guess this question should be addressed to the mapserver > mailing list, but I hope I could find a quick response to this > question. > > I have a table in mysql database where the coordinates are stored > as (degree, min, sec) coordinates. > > The connection with the database is successfull through the OGR > driver. The problem however is how to configure the layer in > order to display the locations on the map. I have downloaded > the pmapper demo map, and I'm trying to display my data on it. > > Bellow is the configuration of the layer: > LAYER > NAME "sites" > TYPE POINT > STATUS ON > CONNECTIONTYPE OGR > CONNECTION "MYSQL:db,user=user,password=pswd" > DATA "select site_name, c1.cord_deg as c1deg, c1.cord_min as c1min, > c1.cord_sec as c1sec, > c2.cord_deg as c2deg, c2.cord_min as c2min, c2.cord_sec as c2sec >>from site > inner join coordinate as c1 on c1.coordinate_id = site.coordinate_first > inner join coordinate as c2 on c2.coordinate_id = site.coordinate_second" > > LABELITEM site_name #may need to use table.name or just name depending on > your OVF file. > PROJECTION > "init=epsg:4326" > END > CLASS > SYMBOL 1 > SIZE 6 > COLOR 255 0 0 > LABEL > SIZE MEDIUM > TYPE BITMAP > COLOR 0 0 0 > END > END > DEBUG ON > END > > The intention here is to display the site_name field as a point, > where the coordinates are taken from (c1deg, c1min, c1min) and (c2deg, c2min, > c2sec) > > This however does not work. > I get the error message: > Warning: [MapServer Error]: msQueryByPoint(): No matching record(s) found. > > My knowledge on Mapserver are really limited and I'm hopping for your help. > > Anakreon > > > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] memory leak ?
The RAM usage growing did not stop after the change to newer php5-mapscript. I had one tileindex shapefile layer (4000 of *.shp) and I moved it in postgis. The RAM usage growing STOPED. ivan Luca Casagrande wrote: > Don't know if this can help, but there's a ticket open about this > problem: > > http://trac.osgeo.org/mapserver/ticket/1859 > > It's 1 year old but it's 4.10 version. > > Luca > > Il giorno mer, 10/10/2007 alle 13.42 +0200, ivan minčík ha scritto: > >> I have made new debian package from the last 4.10 php5-mapscript and >> upgraded. I will report if it helped. >> >> thanks >> > > > - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] Error PDF Export
Thanks Walter, I made the correction INTERLACE OFF file. Map Even get the error export, but I think that is because my version of Adobe Acrobat. Greetings Walter Lorenzetti <[EMAIL PROTECTED]> wrote: Too fast: INTERLACE OFF W Walter Lorenzetti ha scritto: > Hi Manuel, > > in your map file you have to put of INTERLACE keyword in map and output > section.. > > > W > > Manuel Rodriguez ha scritto: > >> Hi, >> I have been working to raise p.mapper but I find it a mistake when exporting >> a pdf. >> I get the following error message; >> >> FPDF error: not supported Interlacing: / >> ms4w/tmp/ms_tmp/d418def8720a87d551732a6e8070d4391192420728026013000.png >> Someone please help me. >> Greetings >> >> >> Ing.Manuel A. Rodriguez Bardalez >> Consultor >> CIP Nº 91337 >> Celular 91328-513 >> " La posesión del conocimiento, si no va acompañada por una manifestación y >> expresión en la práctica y en la obra, es lo mismo que el enterrar metales >> preciosos: una cosa vana e inútil. El conocimiento, lo mismo que la fortuna, >> deben emplearse. La ley del uso es universal, y el que la viola sufre por >> haberse puesto en conflicto con las fuerzas naturales." >> EL KYBALION de HERMES TRIMEGISTO >> >> - >> Boardwalk for $500? In 2007? Ha! >> Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! >> Games. >> - >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> ___ >> pmapper-users mailing list >> pmapper-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> >> >> > > -- Please no .doc, .xls, .ppt, .dwg: https://www.faunalia.it/dokuwiki/doku.php?id=public:OpenFormats Walter Lorenzetti email+jabber: [EMAIL PROTECTED] www.faunalia.it Cell: (+39) 347-6597931 Tel+Fax: (+39) 0587-213742 Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Ing.Manuel A. Rodriguez Bardalez Consultor CIP Nº 91337 Celular 91328-513 " La posesión del conocimiento, si no va acompañada por una manifestación y expresión en la práctica y en la obra, es lo mismo que el enterrar metales preciosos: una cosa vana e inútil. El conocimiento, lo mismo que la fortuna, deben emplearse. La ley del uso es universal, y el que la viola sufre por haberse puesto en conflicto con las fuerzas naturales." EL KYBALION de HERMES TRIMEGISTO - Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
[pmapper-users] View layers p.mapper
Friends: Excuse my English, I use translator. I have been trying to upload a shp. Within the p.mapper, but does not recognize it. The layer is Lim_prov (13 mb) and Lim_dist (11 mb) each shape much polygon "config.ini": AllGroups = Lim_dep, Lim_pro, Lim_dit, jpl_wms_global_mosaic "php.config" $ Categories [ 'cat_base'] = array ( "Lim_dep", "Lim_prov", "Lim_dist"); Besides causing an error about to know what was wrong: Error message: Warning: [MapServer Error]: msSHPOpenFile(): (C:/ms4w/apps/pmapper-3.1-beta4/config/default/.Lim_pro) in C:\ms4w\apps\pmapper-3.1-beta4\incphp\initgroups.php on line 231 Warning: [MapServer Error]: msSHPOpenFile(): (C:/ms4w/apps/pmapper-3.1-beta4/config/default/../../demodata/.Lim_pro) in C:\ms4w\apps\pmapper-3.1-beta4\incphp\initgroups.php on line 231 Warning: [MapServer Error]: msSHPOpenFile(): (C:/ms4w/apps/pmapper-3.1-beta4/config/default/.Lim_pro) in C:\ms4w\apps\pmapper-3.1-beta4\incphp\initgroups.php on line 252 Warning: [MapServer Error]: msSHPOpenFile(): (C:/ms4w/apps/pmapper-3.1-beta4/config/default/../../demodata/.Lim_pro) in C:\ms4w\apps\pmapper-3.1-beta4\incphp\initgroups.php on line 252 Warning: [MapServer Error]: msLayerGetItems(): Shapefile layerGetItmes(): Shapefile layer has not been opened in C:\ms4w\apps\pmapper-3.1-beta4\incphp\initgroups.php on line 252 Warning: [MapServer Error]: msSHPOpenFile(): (C:/ms4w/apps/pmapper-3.1-beta4/config/default/.Lim_pro) in C:\ms4w\apps\pmapper-3.1-beta4\incphp\initgroups.php on line 252 Warning: [MapServer Error]: msSHPOpenFile(): (C:/ms4w/apps/pmapper-3.1-beta4/config/default/../../demodata/.Lim_pro) in C:\ms4w\apps\pmapper-3.1-beta4\incphp\initgroups.php on line 252 Warning: Cannot modify header information - headers already sent by (output started at C:\ms4w\apps\pmapper-3.1-beta4\incphp\initgroups.php:231) in C:\ms4w\apps\pmapper-3.1-beta4\map.phtml on line 52 Ing.Manuel A. Rodriguez Bardalez Consultor CIP Nº 91337 Celular 91328-513 " La posesión del conocimiento, si no va acompañada por una manifestación y expresión en la práctica y en la obra, es lo mismo que el enterrar metales preciosos: una cosa vana e inútil. El conocimiento, lo mismo que la fortuna, deben emplearse. La ley del uso es universal, y el que la viola sufre por haberse puesto en conflicto con las fuerzas naturales." EL KYBALION de HERMES TRIMEGISTO - Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] Tilling of map images
Hii Armin Thanks for Your suggestions i tried one more thing that is tilling with shp2tile and tile4ms it has increased the speed But according to you which is better option the way i am doing it right now or by changing the pmapper files to add in proper tilling funcions Kusum - Original Message - From: "Armin Burger" <[EMAIL PROTECTED]> To: "kusum" <[EMAIL PROTECTED]> Cc: Sent: Monday, October 15, 2007 10:21 PM Subject: Re: [pmapper-users] Tilling of map images > then why don't use ka-map (or open layers) if it does what you need? > Tiling requires a redesign of some core functions in p.mapper and I doubt > it will be straightforward. But if you're very courageous: you will > probably mainly have to work on zoombox.js and map.php/x_load.php. > > armin > > kusum wrote: >> >> >> Hii i m new to mapserver >> and my application works in php mapscript >> Now i want ti implement tilling in ms4w. >> I have studied ka -map and want to implement the same tilling >> functionality in my ms4w pmapper application. >> I m confused about where to start from >> Pls guide. >> Thanks in advance. >> Kusum >> - >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> ___ >> pmapper-users mailing list >> pmapper-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users