Re: [pmapper-users] Tabs invisible in IE 6
Regarding IE 7/8 In case anyone else has a similar problem I have just solved an issue that we had where pmapper wouldn't load correctly in IE giving a cryptic javascript error in pm.uielement.js after a bit of digging around I found that trailing comma in the toolbar definition in js_config.php was causing it. G -Original Message- From: dejan.gam...@pula.hr [mailto:dejan.gam...@pula.hr] Sent: Tuesday, 10 November 2009 10:54 PM To: pmapper-users@lists.sourceforge.net Subject: [pmapper-users] Tabs invisible in IE 6 Hi, We are implementing p.mapper-4.0-beta and there is a problem with displaying TOC and Legend tabs when using IE 6. They are invisible. We have tried to change toc.css, layout.css and default.css in order to resolve the issue but unfortunately we did not succeed Thank you in advance on any information regards, dejan -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
[pmapper-users] ms sql server 2008
Just wondering if anyone has used a MSSQL 2008 data source as described in this link http://mapserver.org/development/rfc/ms-rfc-38.html Gabe -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
[pmapper-users] Google Maps layer
Hi everyone I have a requirement to provide a web mapping app for use in Swaziland and I have had a hard time finding any decent background data to display. Google maps has the same Lo-Fi vector data that I have but they have a reasonable satellite image. I have considered (but not implemented) getting the googlemaps image as a backdrop to my map and then just request a new backdrop when the extent changes. Im just wondering if anyone has done anything similar or has some thoughts about this - or if anyone knows of some WMS server that covers southern Africa. Thanks in Advance Gabe - 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] How measure in meters?
The best way to do this is to reproject your data to UTM for measurement and this is pretty easy to do with mapscript however that would require a trip to the server. I have some js code that will reproject from WGS84 to UTM for this purpose. I got the code from here http://home.hiwaay.net/~taylorc/toolbox/geography/geoutm.html - it is free and open. I had to override a pmapper js function toGeoPoint(pxPoint) using the custom.js file in the config directory. This approach is a bit of a hack but it works - I would have written a proper pmapper plugin for it but I actually did it before the plugin functionality existed in pmapper (~ 3.0 I think). I also ended up hacking the display code so that it would indicate metres, kilometres or hectares as appropriate. Hope that helps Gabe -Original Message- From: Armin Burger [mailto:[EMAIL PROTECTED] Sent: Tuesday, 18 November 2008 11:29 PM To: Leonardo Rodriguez Silva Cc: pmapper-users@lists.sourceforge.net Subject: Re: [pmapper-users] How measure in meters? you cannot correctly measure in m when you projection is lat/lon if you do not use at least an approximation function, something like 'Distance on ellipsoid'. You could do a quire coarse calculation applying a factor in the config that converts from degrees to m, it will be ok for N-N but less accurate for E-W (unless you're close to the equator). 1 degree minute (arcminute) corresponds to 1 nautical mile (at the equator, or in N-S direction) , see http://en.wikipedia.org/wiki/Nautical_mile so you can calculate your factor from this correlation. After you set up this solution, please insert the description in the pmapper Wiki FAQ since every now and then someone comes up with a similar question. armin On Tue, Nov 18, 2008 at 1:02 AM, Leonardo Rodriguez Silva [EMAIL PROTECTED] wrote: Hi: I am using geographical coordinates in WGS84. (Degrees, minutes and seconds) I want to modify the file js_config.php, to use the button of measurement, and to measure in meters. Var pmMeasureUnits = {distance: [m] , area: [m ²] , factor:1}; But Pmapper does not realize the measurement correctly with factor=1. What is the variable factor?... What means this variable ?? Thanks, and excuseme for my bad english¡¡¡ -- lerods - 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 - 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] Shift click to add to selection
Thanks Armin, I have added a field to the varform form and added this code in zoombox - doMouseUp() if (e.shiftKey) { // alert(Shift); varform.modifier.value = shift; } else if (e.ctrlKey) { // alert(CTRL); varform.modifier.value = control; } else { varform.modifier.value = none; } Now I can just check its value where I need it. Gabe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Armin Burger Sent: Wednesday, 11 June 2008 7:46 AM To: Gabe Cc: pmapper-users@lists.sourceforge.net Subject: Re: [pmapper-users] Shift click to add to selection you can add in zoombox.js - doMouseUp(e) below this if (!refmapClick) { maction = varform.maction.value; this part if (e.shiftKey) { alert(Shift); return false; } else if (e.ctrlKey) { alert(CTRL); return false; } or if you want to add it to specify it for a certain button add before if (maction == 'addToDb') { You need to specify this maction in mapserver.js for the tools. armin On 10/06/2008 02:38, Gabe wrote: Hi All, I have the need to detect shift-clicks and control-clicks on the map. I have a plugin which allows a user to click on the map and enter info into a dialog which is then put into a db along with a spatial object representing where they clicked. This all works fine but now the client wants to be able to select multiple objects to record against. I would like to be able to detect whether or not the user had control or shift held down when they clicked. My BUTTON_start function gets called with an imgxy object but i cant find anywhere the state of the keyboard. Any help would be appreciated Thanks Gabe - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
[pmapper-users] Shift click to add to selection
Hi All, I have the need to detect shift-clicks and control-clicks on the map. I have a plugin which allows a user to click on the map and enter info into a dialog which is then put into a db along with a spatial object representing where they clicked. This all works fine but now the client wants to be able to select multiple objects to record against. I would like to be able to detect whether or not the user had control or shift held down when they clicked. My BUTTON_start function gets called with an imgxy object but i cant find anywhere the state of the keyboard. Any help would be appreciated Thanks Gabe - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] Dynamic query join a pmapper layer
I have developed an application which displays several dynamic layers in pmapper all integrated with the legend and toc and they interact with some custom plugins that I have developed. Furthermore the layers available and filtering on these layers is determined by the user. The aproach I took was to write some php code that customises the config files including the map file and then launches pmapper with the custom config. Sorry I cant give you the code as it 'belongs' to my employer but i can give you an idea of how it works. First the user logs in to the system and the code queries the database (postgresql) and determines what layers are available and what filters to apply. The layers are read from a default mapfile the data statement is customised to provide filtering and then a new custom mapfile is written. The php_config file is customised for the categories and the config_.. file is also customised with allGroups and defGroups definitions. Pmapper is then launched. Gabe -Original Message- From: [EMAIL PROTECTED] [mailto:pmapper- [EMAIL PROTECTED] On Behalf Of Armin Burger Sent: Wednesday, 30 April 2008 2:43 AM To: Rodrigo Gaete Cc: pmapper-users list Subject: Re: [pmapper-users] Dynamic query join a pmapper layer In the current dev version there is a class to add dynamic layers. See the files under the plugin 'dynlayersample'. The layers need to be defined in JSON syntax, see example in 'dynlayer_def.txt'. This is currently under development, some parts might change to have a +/- generic solution that does not require to re-develop everything again. The idea is to have users write their own function to define the dynlayers in the required JSON syntax and add them to the session, then they will be read automatically. The possibilities to create layers dynamically are virtually indefinite (reading from database, text files, etc). So a complete generic functionality without any custom development is impossible. Some parts need to be defined though, like layer order. Since p.mapper uses an additional definition of layers/groups to circumvent some shortcomings in Mapscript, simply adding a layer to the map object will just draw it on the map, but maybe not for printing or in the TOC. armin On 29/04/2008 15:47, Rodrigo Gaete wrote: Hi pmapper users I need create a new layer dynamically in pmapper, but i don't have idea how can do it. My problem: Through another system in php, I am crossing information from various data base (postgresql). I want to show that georeferenced information by council through the pmapper. I have several layers in pmapper and would open the pmapper with that dynamic layer. How to do this? I saw that there is a customlayers.php, but I could not use it. Thanks, Rodrigo Gaete Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! http://br.mail.yahoo.com/ - 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 --- -- 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 - 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] ZoomQuery on PostGIS layer
Hi I am hoping someone can help with this. I am having trouble with the zoom to 'extent read from layer feature'. I am using pmapper 3.1.0 with mapscript 4.10.0. I am using DD units. I have a map with several ogr (tab file) layers and postgis layers. I want to start pmapper zoomed to the extent defined by a polygon in one of the postgis layers. If i use a simple url http://.../map.phtml the map loads fine I can search and so-on but if I try http://.../map.phtml?zoomLayer=Paddocks[EMAIL PROTECTED]@[EMAIL PROTECTED]@0 I get errors. The error recordeed in the log is: PHP Fatal error: zoomPoint failed : Max Georeferenced coordinates minx = maxx after a bit of investigating I found a suppressed error was occurring in (initmap.php:495): [MapServer Error]: prepare_database(): Error executing POSTGIS DECLARE (the actual query) statement: 'DECLARE mycursor BINARY CURSOR FOR SELECT \isfallow\::text,\c_farm\::text,asbinary(force_collection(force_2d(the_g eom)),'NDR'),OID::text from p.v_pad_export WHERE (c) and (the_geom setSRID( 'BOX3D(152.09666 -29.70515,153.6 -28.21139)'::BOX3D,find_srid('','p.v_pad_export','the_geom') ))'\n\n Postgresql reports the error as 'ERROR: column \c\ does not exist at character 165\n'\n\nMore Help:\n\nError with POSTGIS data variable. You specified 'check your .map file'.\nStandard ways of specifiying are : \n(1) 'geometry_column from geometry_table' \n(2) 'geometry_column from (sub query) as foo using unique column name using SRID=srid#' \n\nMake sure you put in the 'using unique column name' and 'using SRID=#' clauses in.\n\nFor more help, please see http://postgis.refractions.net/documentation/ \n\nMappostgis.c - version of Jan 23/2004.\n\n the line where the error occurs is: // Query layer @$qLayer-queryByAttributes($queryField, $queryValue, MS_MULTIPLE); and at this point in the script: $queryField = c_farm; $queryValue = c_farm='8001'; if I extract the failed query - drop the transactional stuff and remove the slashes - I get: SELECT isfallow::text,c_farm::text,asbinary(force_collection(force_2d(the_geom) ),'NDR'),OID::text from p.v_pad_export WHERE (c) and (the_geom setSRID( 'BOX3D(152.09666 -29.70515,153.6 -28.21139)'::BOX3D,find_srid('','p.v_pad_export','the_geom') )) which doesn't work because of the WHERE (c) bit if we replace that with WHERE (c_farm='8001') it does work. is this a bug in mapscript ? Thanks in advance Gabe below is my map layer: LAYER NAME Paddocks GROUP Paddocks STATUS ON DATA the_geom from p.v_pad_export TYPE POLYGON CONNECTIONTYPE postgis CONNECTION user=user password=pass dbname=productivity host=localhost port=5432 REQUIRES ![Photography] MAXSCALE 200 LABELITEM c_linkcode LABELMINSCALE 400 LABELMAXSCALE 5 TOLERANCE 10 TOLERANCEUNITS pixels TEMPLATE void METADATA DESCRIPTIONPaddocks RESULT_FIELDSc_farm, c_paddock, area_ha, variety, class, age, group_no, date_pl, date_rat, distance, yield, cut, standovr, soil, isfallow, area_ha1 RESULT_HEADERSFarm, Paddock, Area, Variety, Class, Age, Group, Planted, Ratooned, Distance, Yield, Cut, StandOver, Soil, Fallow, Area1 END CLASSITEM isfallow CLASS EXPRESSION f NAME Paddock LABEL TYPE truetype FONT Vera SIZE 6 POSITION AUTO OFFSET 0 0 MINDISTANCE 400 COLOR 0 0 0 OUTLINECOLOR 255 255 255 PARTIALS FALSE END STYLE SYMBOL stippled COLOR 0 128 0 OUTLINECOLOR 255 255 0 END END CLASS EXPRESSION t NAME Fallow LABEL TYPE truetype FONT Vera SIZE 6 POSITION AUTO OFFSET 0 0 MINDISTANCE 400 COLOR 0 0 0 OUTLINECOLOR 255 255 255 PARTIALS FALSE END STYLE SYMBOL stippled COLOR 255 128 0 OUTLINECOLOR 255 255 0 END END END - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] Custom Function
Could you point me toward more info on the 'insert it via Javascript' method. For example where is the code that inserts the legend/toc ? Thanks Gabe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Armin Burger Sent: Sunday, 13 May 2007 1:14 AM To: Gabriel Codina Cc: pmapper-users@lists.sourceforge.net Subject: Re: [pmapper-users] Custom Function the map.phtml has a part !-- WEST -- div id=west /div so just put whatever you want between the DIV's, either static HTML, PHP code or insert it via Javascript. armin ps: it seems that currently the mail server of the SF mailing list is a bit slow, so be patient with him ;-) Gabriel Codina wrote: Hi All I am hoping someone can help me get started on this, I have checked out the documentation and so on but I haven't been able to work it out yet. I want to add some attribute viewing/updating code - I want this displayed in the 'west' zone. I have edited the js_config.php file so that my west zone shows, now I need to get my code in there. Any help would be appreciated. Gabe (ps I have been having trouble sending to the list lately so I am CCing you Armin) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
[pmapper-users] eclipse setup
Hi After much trouble and with a big thanks to the people at xampp and eclipse I have managed to setup a php ide of sorts that allows me to debug mapscript - however the debugger is very flaky. Has anyone got a working ide based on eclipse with php_mapscript and php_dbg extensions working. I have been using eclipse 3.1.2, PHPeclipse 1.1.8, xampp for windows 1.5.3a (apache 2.2.2, php 5.1.4 (and 4.2.4)) and mapserver 4.8.1 my mapscript version is 1.242.2.1 and the debug extension is DBG php debugger, version 2.15.1, Copyright 2001, 2006, Dmitri Dmitrienko, www.nusphere.com This setup sort of worked ok for php4 (obviously with different mapscript and dbg extensions) but I cant seem to get it running with 5. any help will be appreciated Gabe - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] missing js file in info.phtml?
what about tools.js ? On 3/7/07, Armin Burger [EMAIL PROTECTED] wrote: 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 files are not used (I guess so...). armin Alessandro Pasotti wrote: Hi, I see an 404 in error logs in info.phtml, jqpmapper.js seem to be missing from my pmapper installation script type=text/javascript src=javascript/jquery/jqpmapper.js/script [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? Any hint? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
[pmapper-users] OGR Attribute search on a mapinfo file
Hi I am having trouble querying a mapinfo layer. I am running pmapper 3.0, ms 4.8.3, php 4.4.2 on a debian server. here is the layer LAYER NAME PopulatedPlaces GROUP Habitation STATUS ON TYPE POINT CONNECTIONTYPE OGR CONNECTION TOPO250K_POPULATEDPLACES.tab MAXSCALE 40 MINSCALE 12000 LABELITEM NAME TOLERANCE 10 TOLERANCEUNITS PIXELS TEMPLATE void METADATA DESCRIPTIONPopulatedPlaces RESULT_FIELDSNAME RESULT_HEADERSName END CLASS NAME Populated Place LABEL TYPE truetype FONT Vera SIZE 6 POSITION AUTO OFFSET 0 0 MINDISTANCE 400 COLOR 0 0 0 OUTLINECOLOR 255 255 255 PARTIALS FALSE END STYLE SYMBOL 10 COLOR 0 0 0 END END END here is my searchList entry: searchList['PopulatedPlaces'] = new Array('?php echo _p(Location)?', '#*NAME', '?php echo _p(Location) ?',''); The layer displays properly but when i search I get no results - that is i get the message 'No records found'. the php error log reports only a cryptic message that i tracked down to line 724 of query.php that just logs the fieldname and querystring - which look like they should. NAME ('[NAME]' =~ /^(A|a) ... $/) any help will be appreciated. Gabe - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
[pmapper-users] Measurement in DD mapunits
Hi all The map Im using is in digital degrees and I want to use the measure function returning kilometres. When I was using pmapper 1.x I found I could fiddle with calcFact in measure.js and get a reasonable approximation. Now I am using pmapper 2.x and it doesnt seem to work anymore. Has anyone else got a need for this and (hopefully) solved it ? I have some code written in vbscript (ugh) that calculates the great circle distances from DD points but I havent had time to adapt it yet. Thanks in advance Gabriel - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] automatic Vehicle tracking application (AVL)
Hi Gaston, I have a pmapper application that tracks vehicles in real time. I have found it very suitable. I am using mapinfo files for the map layers and postgis for dynamic layers. Gabe - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] Vector Digitizing
Here is my 2c worth: I think it is needed - for just the reason that Luca put forward. At the moment I am working on a spatial data warehousing project for agriculture - it is a distributed ap that will have 1000+ users. At this stage we are just looking at using pmapper for simple display but in the future we will want users to be able to draw polygons, edit layers and perform more complex queries. We see the sense in providing these functions in a collaborative way, so I will surely follow any discussions along these lines. Gabriel - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
[pmapper-users] Map wont load
I am having problems configuring my map. Im using IIS 6.0 with php 4.4.4 - a temporary URL is at http://agtrix.no-ip.info:90/mapper/ from there choose the default configuration and click the button. the mapfile is OK - can check that with http://agtrix.no-ip.info:90/testmap.phtml?mapfile=C:\agtrix\htdocs\mapper\config\default\default.map the errors I am getting are: from php: [29-Nov-2006 11:38:09] P.MAPPER-ERROR: Layer/Group '' not existing. Check '/config/config.ini' file definition for section 'mutualDisableList'. and from firebug: missing ; before statement xmlhttp.js (line 85) ,3', tocStyle:'', refreshToc:'1', urlPntStr:'', mapW:'520', mapH:'471', refW:'170', refH:'146', minx_geo:'152.718789809', maxy_geo:'-27.2', xdelta_geo:'0.662420382', ydelta_geo:'0.6' }msDrawMap(): Layer 0 (Framework), 0.110s the text is in the variable 'req.responseText' I have searched for others with similar problems but havent had any luck yet. TIA Gabe - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] Map wont load
Funny how as soon as I sent this message I solved the problem: this is for anyone suffering the same issue: I had debug on in my mapfile which caused mapserver to return some extra info (msDrawMap(): Layer 0 (Framework), 0.110s ...) which was causing problems in xmlhttp.js. I havent worked out the mutalDisableList warning but that is les urgent Gabe On 11/29/06, Gabe [EMAIL PROTECTED] wrote: I am having problems configuring my map. Im using IIS 6.0 with php 4.4.4 - a temporary URL is at http://agtrix.no-ip.info:90/mapper/ from there choose the default configuration and click the button. the mapfile is OK - can check that with http://agtrix.no-ip.info:90/testmap.phtml?mapfile=C:\agtrix\htdocs\mapper\config\default\default.map the errors I am getting are: from php: [29-Nov-2006 11:38:09] P.MAPPER-ERROR: Layer/Group '' not existing. Check '/config/config.ini' file definition for section 'mutualDisableList'. and from firebug: missing ; before statement xmlhttp.js (line 85) ,3', tocStyle:'', refreshToc:'1', urlPntStr:'', mapW:'520', mapH:'471', refW:'170', refH:'146', minx_geo:'152.718789809', maxy_geo:'-27.2', xdelta_geo:'0.662420382', ydelta_geo:'0.6' }msDrawMap(): Layer 0 (Framework), 0.110s the text is in the variable 'req.responseText' I have searched for others with similar problems but havent had any luck yet. TIA Gabe - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] [Pmapper-users] Street intersection PLEASE !!
Where would we put this sql ? in the mapfile layer object ? or as a view in postgis ? G On 10/27/06, Gail Long [EMAIL PROTECTED] wrote: For post gis layers: select streetnameField, oid, xmin(box3d(p.the_geom)) AS minx, ymin(box3d(p.the_geom)) AS miny, xmax(box3d(p.the_geom)) AS maxx, ymax(box3d(p.the_geom)) AS maxy from streettable p, (select the_geom from streettable where upper(nameField) like 'street1%') a where intersects(a.the_geom,p.the_geom) and upper(nameField) like 'street2'; -- Things are only difficult while you don't understand them. From: Cristian Rougier [EMAIL PROTECTED] To: pmapper-users@lists.sourceforge.net CC: [EMAIL PROTECTED] Subject: [Pmapper-users] Street intersection PLEASE !! Date: Wed, 25 Oct 2006 23:32:55 -0500 Dears, this is very urgent for me. I have a shape with street lines with a name field. I can find a street well in search section , but i need to find the intersection of 2 streets. Is this possible ? Please any idea !! Thank in advance Cristian La Info Tecnología y Programación en Internet. http://www.lainfo.com.mx http://www.lainfo.com.mx/ [EMAIL PROTECTED] Emails muy pesados a: [EMAIL PROTECTED] Tel:(++5255) 8589-1554 Movil: 04455-1967-1907 ___ Pmapper-users mailing list [EMAIL PROTECTED] http://faunalia.it/cgi-bin/mailman/listinfo/pmapper-users _ Get FREE company branded e-mail accounts and business Web site from Microsoft Office Live http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ ___ Pmapper-users mailing list [EMAIL PROTECTED] http://faunalia.it/cgi-bin/mailman/listinfo/pmapper-users - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
[Pmapper-users] Cannot find mapfile error
Hi first off thanks a lot for a great job on pmapper. I set up a proof of concept site earlier this year using pmapper 1.x to do real time tracking of vehicles using postgis for a client. I am now setting up the production site and we want to go with pmapper 2. I have edited the config file and uploaded pmapper 2.1.1 and our data but I am getting this: [Tue Oct 10 14:11:54 2006] [error] [client 192.168.0.46] P.MAPPER-ERROR: Cannot find map file '/var/www/htdocs/mapper/config/aust.map'. Check ' config.ini' file at section 'mapFile'., referer: http://192.168.0.201/mapper/ the access log shows the request was 192.168.0.46 - - [10/Oct/2006:14:11:54 +1000] GET /mapper/map.phtml?winsize=mediumlanguage=enconfig=austzoomExtent= 152.987+-29.345+153.563+-28.875 HTTP/1.1 200 - http://192.168.0.201/mapper/; Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 the config_aust.ini file has the right entry and the file IS at /var/www/htdocs/mapper/config/ we are running a linux server apache 2.2.2 and php4.4.2-1.1 we still have a demo using pmapper 1.2.0 that works in the directory next to it. thanks in advance Gabe -- next part -- An HTML attachment was scrubbed... URL: http://faunalia.it/pipermail/pmapper-users/attachments/20061010/3b3a0ce8/attachment.htm
[Pmapper-users] searching in pmapper 1.1.0
Hi I have been trying to get the search function working on my map for a few days now I have read all the previous posts I could find on the list and I have read the comments in js_custom.php and scrutinised the demo map file with no success. I am using postgis and pmapper 1.1 could someone please explain where Im going wrong. the layer holds the current positions of trucks and I want the user to be able to search for and then zoom to a truck based on its ID (a string) the layer in question is: LAYER NAME Trucks GROUP Simplot_layers STATUS ON TYPE POINT CONNECTIONTYPE postgis CONNECTION user=user password=password dbname=db host=localhost DATA the_geom FROM t_trucks LABELITEM c_org_truck_id TOLERANCE 10 TOLERANCEUNITS pixels METADATA DESCRIPTION Trucks RESULT_FIELDS c_org_truck_id,d_eta RESULT_HEADERS Truck ID,ETA END # Metadata CLASS NAME Truck LABEL TYPE truetype FONT VeraBold SIZE 7 POSITION uc OFFSET 0 -10 BUFFER 4 COLOR 128 0 0 OUTLINECOLOR 255 255 255 ANTIALIAS TRUE END STYLE SYMBOL truck COLOR 255 50 100 OUTLINECOLOR 0 0 0 END END END here is the line from js_custom.php: searchList['Trucks'] = new Array('?php echo _(Truck)?', '#c_org_truck_id', '?php echo _(Truck ID) ?','t_trucks'); here are the fieldnames for t_trucks: gid i_truck_id i_x_coord i_y_coord i_bearing i_speed c_status the_geom i_org_id i_fleet_id i_site_id c_org_truck_id d_timestamp d_eta thanks in advance Gabriel -- next part -- An HTML attachment was scrubbed... URL: http://faunalia.it/pipermail/pmapper-users/attachments/20060228/7d3e0b03/attachment.htm
[Pmapper-users] measuring while map is in DD units
Hi my map is using digital degrees, and the measure function doesnt seem to return any usefull numbers. I have played around with the calcFact var in measure.js and get reasonable looking results for var calcFact = .01; however i would like it to be accurate. (i am using p.mapper 1.1 ) thanks -- next part -- An HTML attachment was scrubbed... URL: http://faunalia.it/pipermail/pmapper-users/attachments/20060209/94a1ef02/attachment.htm