From alberto.cavalli at sintranet.it Wed Sep 1 11:43:45 2004 From: alberto.cavalli at sintranet.it (Alberto Cavalli) Date: Wed Sep 1 11:50:22 2004 Subject: [maplab-users] problem with postgis layer Message-ID: <5C364C28DF05D611A03200E01832693FC68120@sintraweb.sintranet.it> Hi dear I've a problem, I'm using mapserver but, when I try to see my page, I can't see anithyng. I've putted all my shape in postgresql through postgis. This is the layer definition in my map file LAYER NAME "Confine" STATUS DEFAULT DATA "the_geom FROM h887_c" TYPE POLYGON CONNECTIONTYPE POSTGIS CONNECTION "user=postgres PASSWORD=admin dbname=template1 host=localhost port=5432" UNITS METERS SIZEUNITS PIXELS TOLERANCE 0 TOLERANCEUNITS PIXELS TRANSPARENCY 25 CLASS NAME "confini" #TEMPLATE "false_query.html" STYLE COLOR 255 204 153 END END END I'm working on apache 2.0.46 php 4.3.3 mapserver 4.0 win 2000 professional bye alberto From chengcharlie2003 at yahoo.ca Wed Sep 1 12:15:03 2004 From: chengcharlie2003 at yahoo.ca (charley cheng) Date: Wed Sep 1 12:15:30 2004 Subject: [maplab-users] links from map to jpg In-Reply-To: Message-ID: <20040901161503.60517.qmail@web14825.mail.yahoo.com> Hi! Kevin, == is comparsion operator , || is logical operator Or I modified a little bit of your code and put few explaination. Hope it will work. If not, please let me know. Have a nice day! Charlie kgrootendorst@baird.com wrote: Hi Charley, (I had to send this twice, because the maplab list bounced the first message back to me) Thanks for your help. Unfortunately, I do not have the function working yet, but I feel I am close. In your posting, are the characters "==" and "||" valid php syntax? Also, your posting is just a portion of your query.phtml file right? Or is that your entire query.phtml file? Below is my code, for the areas where I describe my columns of the attribute table. Do you see any thing that appears incorrect? The URL (with photo name) to my jpegs is contained in the column "MS_PATH", the column "photo" contains only the photo name. // loop and use key for titles // $Key is equal to the attribute name, which is also the header of column foreach ($aRows[0] as $key => $value) { // The purpose of this if loop is to find the only attribute name we want to dispaly if (strcasecmp($key, "Long_DD") == "Long_DD"; strcasecmp($key, "Lat_DD") == "Lat_DD"; strcasecmp($key, "photo") == "photo"; //******************************** $szReturnValue .= "".$key."\n"; } ************************* // $xcell is the attribute value, in this case,when the $key attribute name is equal to "Long_DD" and "Lat_DD" only display the value of attribute. if (strcasecmp($key, "Long_DD") == "Long_DD"; strcasecmp($key, "Lat_DD") == "Lat_DD" ) {$szReturnValue .= "". $xCell."\n";} //when the attribute name is equal to photo, hyber link the according to the value of attribute, the attribute value of photo should be simliar as http://localhost/photoalbum/image.jpg //photoalbum folder with images is put at your web server. else if (strcasecmp($key, "photo") == "photo"; {$szReturnValue .= " Click here to document\n";} } $szReturnValue .= "\n"; } ******************** Thanks! Kevin ______________________________ Baird Innovation, Excellence, & Service Oceans, Lakes & Rivers Kevin Grootendorst 905-845-5385 phone 905-845-0698 fax 627 Lyons Lane, Suite 200 Oakville, Ontario, Canada L6J 5Z7 mailto:kgrootendorst@baird.com http://www.baird.com/ ______________________________ --------------------------------- Post your free ad now! Yahoo! Canada Personals -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040901/28f01dc8/attachment.htm From kgrootendorst at baird.com Wed Sep 1 14:39:42 2004 From: kgrootendorst at baird.com (kgrootendorst@baird.com) Date: Wed Sep 1 14:39:57 2004 Subject: [maplab-users] links from map to jpg In-Reply-To: <20040901161503.60517.qmail@web14825.mail.yahoo.com> Message-ID: Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: query.phtml Type: application/octet-stream Size: 12496 bytes Desc: not available Url : http://lists.maptools.org/pipermail/maplab-users/attachments/20040901/245e59ff/query-0001.obj From sdteffen at web.de Wed Sep 1 15:08:19 2004 From: sdteffen at web.de (Steffen Macke) Date: Wed Sep 1 15:04:31 2004 Subject: [maplab-users] links from map to jpg In-Reply-To: References: Message-ID: <200409012208.19115.sdteffen@web.de> Kevin, could you try to replace the crucial for loop with the version below? Regards, Steffen // loop and add a cell for each result foreach ( $aRow as $key => $xCell ) { // $xCell is the attribute value, in this case,when the $key attribute name // is equal to "Long_DD" and "Lat_DD" only display the value of attribute. if((strcasecmp($key, "Long_DD") == 0) or (strcasecmp($key, "Lat_DD") == 0 )) { $szReturnValue .= "". "". $xCell."\n"; } // when the attribute name is equal to MS_PATH2, hyperlink according to the // value of attribute, the attribute value of MS_PATH2 should be simliar as // http://localhost/photoalbum/image.jpg //photoalbum folder with images is put at your web server. else if(strcasecmp($key, "MS_PATH2") == 0) { $szReturnValue .= " Click here to document\n"; } } From kgrootendorst at baird.com Wed Sep 1 15:18:22 2004 From: kgrootendorst at baird.com (kgrootendorst@baird.com) Date: Wed Sep 1 15:18:36 2004 Subject: [maplab-users] links from map to jpg In-Reply-To: <200409012208.19115.sdteffen@web.de> Message-ID: Steffen, I changed the code, but the link still does not work. thanks for your help. Steffen Macke Sent by: maplab-users-bounces@lists.maptools.org 09/01/2004 03:08 PM To maplab-users@lists.maptools.org cc Subject [SPAM] - Re: [maplab-users] links from map to jpg - Email found in subject Kevin, could you try to replace the crucial for loop with the version below? Regards, Steffen // loop and add a cell for each result foreach ( $aRow as $key => $xCell ) { // $xCell is the attribute value, in this case,when the $key attribute name // is equal to "Long_DD" and "Lat_DD" only display the value of attribute. if((strcasecmp($key, "Long_DD") == 0) or (strcasecmp($key, "Lat_DD") == 0 )) { $szReturnValue .= "". "". $xCell."\n"; } // when the attribute name is equal to MS_PATH2, hyperlink according to the // value of attribute, the attribute value of MS_PATH2 should be simliar as // http://localhost/photoalbum/image.jpg //photoalbum folder with images is put at your web server. else if(strcasecmp($key, "MS_PATH2") == 0) { $szReturnValue .= " Click here to document\n"; } } _______________________________________________ Maplab-users mailing list Maplab-users@lists.maptools.org http://lists.maptools.org/mailman/listinfo/maplab-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040901/7dbdc7e2/attachment.htm From dhiltz at whsun1.wh.whoi.edu Wed Sep 1 15:27:34 2004 From: dhiltz at whsun1.wh.whoi.edu (David Hiltz) Date: Wed Sep 1 15:27:40 2004 Subject: [maplab-users] GMapFactory error Message-ID: <200409011527.34627.dhiltz@whsun1.wh.whoi.edu> Hello. I just started playing around with MapLab 2.2 and I like it so far. Environment: Linux Redhat 7.3 Server Apache 1.3.27 Mapserver 4.2.2 PHP 4.3.8 I've run into a problem when I get click 'Apply' in GMapFactory. I fire up Mapedit Load my .map file. Click on the GMapFactory Icon and pick my project and click OK The GMapFactory page loads fine with my map. I now click 'Apply' and get this message in the main window: Parse error: parse error, unexpected ')' in /maplab-2.2/projects/gmf_apps/david/globpres.php on line 46 Line 45 and below look like this (notice the missing values): // define the maximum extents define( "MAX_EXT_MINX", ); define( "MAX_EXT_MINY", ); define( "MAX_EXT_MAXX", ); define( "MAX_EXT_MAXY", ); When I look at the MAPFILE line above this code, it looks like this: define( "MAPFILE", "///david//mymap.map" ); The path to my map file is wrong for some reason which is probably why it is not finding the extent values. I get this warning in the left menu window. Warning: Failed to open map file ///dhiltz//mymap.map in /maplab-2.2/htdocs/gmapfactory/build_phtml.php on line 1301 This is the MAPFILE line when it works correctly (when I first come into GMapFactory): define( "MAPFILE", "/maplab-2.2/projects/gmf_apps////david//mymap.map" ); Something happens when I click apply that causes it not to give the right path to my map file. Any ideas? Thanks. David Hiltz From sdteffen at web.de Wed Sep 1 15:42:24 2004 From: sdteffen at web.de (Steffen Macke) Date: Wed Sep 1 15:38:36 2004 Subject: [maplab-users] links from map to jpg In-Reply-To: References: Message-ID: <200409012242.24317.sdteffen@web.de> Kevin, > I changed the code, but the link still does not work. Are you getting any error messages? Please check that you've switched on as many error and warning messages in php.ini as possible. My code snippet had a small problem (I used or instead of ||) Could you check the snippet below. If it's not working and you don't get any error messages, please add some debug code E.g. echo($key); echo($xCell); and post the results to the list. Steffen // loop and add a cell for each result foreach ( $aRow as $key => $xCell ) { ? // $xCell is the attribute value, in this case,when the $key attribute name ? ? // is equal to "Long_DD" and "Lat_DD" only display the value of attribute. ? if((strcasecmp($key, "Long_DD") == 0) || ? ? ?(strcasecmp($key, "Lat_DD") == 0 )) { ? ? ?$szReturnValue .= "". ? ? ? ?"". ? ? ? ? ? ?$xCell."\n"; ? } ? // when the attribute name is equal to MS_PATH2, hyperlink according to the ? // value of attribute, the attribute value of MS_PATH2 should be simliar as ? ? // http://localhost/photoalbum/image.jpg ? ? //photoalbum folder with images is put at your web server. ? ? else if(strcasecmp($key, "MS_PATH2") == 0) { ? ? $szReturnValue .= " Click here to document\n"; ? } ? ? ? ? ? } From kgrootendorst at baird.com Wed Sep 1 16:26:14 2004 From: kgrootendorst at baird.com (kgrootendorst@baird.com) Date: Wed Sep 1 16:26:27 2004 Subject: [maplab-users] links from map to jpg In-Reply-To: <200409012242.24317.sdteffen@web.de> Message-ID: Steffen, I've switched on some error messages, and I'm getting the following: Parse error: parse error, unexpected T_VARIABLE in C:\Program Files\Apache Group\Apache2\htdocs\maplab-2.2\projects\gmf_apps\IJC_LCC\query.phtml on line 189 Line 189 is the one that begins "$szReturnValue.=" below: // loop and use key for titles // $Key is equal to the attribute name, which is also the header of column foreach ($aRows[0] as $key => $value) { // The purpose of this if loop is to find the only attribute name we want to display if (strcasecmp($key, "Long_DD") == "Long_DD" || strcasecmp($key, "Lat_DD") == "Lat_DD"|| strcasecmp($key, "MS_PATH2") == "MS_PATH2" $szReturnValue .= "".$key."\n"; } I'm by no means a PHP programmer, so any tips/tricks would be greatly appreciated. Thanks. Kevin Steffen Macke Sent by: maplab-users-bounces@lists.maptools.org 09/01/2004 03:42 PM To maplab-users@lists.maptools.org cc Subject Re: [maplab-users] links from map to jpg Kevin, > I changed the code, but the link still does not work. Are you getting any error messages? Please check that you've switched on as many error and warning messages in php.ini as possible. My code snippet had a small problem (I used or instead of ||) Could you check the snippet below. If it's not working and you don't get any error messages, please add some debug code E.g. echo($key); echo($xCell); and post the results to the list. Steffen // loop and add a cell for each result foreach ( $aRow as $key => $xCell ) { // $xCell is the attribute value, in this case,when the $key attribute name // is equal to "Long_DD" and "Lat_DD" only display the value of attribute. if((strcasecmp($key, "Long_DD") == 0) || (strcasecmp($key, "Lat_DD") == 0 )) { $szReturnValue .= "". "". $xCell."\n"; } // when the attribute name is equal to MS_PATH2, hyperlink according to the // value of attribute, the attribute value of MS_PATH2 should be simliar as // http://localhost/photoalbum/image.jpg //photoalbum folder with images is put at your web server. else if(strcasecmp($key, "MS_PATH2") == 0) { $szReturnValue .= " Click here to document\n"; } } _______________________________________________ Maplab-users mailing list Maplab-users@lists.maptools.org http://lists.maptools.org/mailman/listinfo/maplab-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040901/645bddab/attachment.htm From zak-ms at hoppsan.org Wed Sep 1 17:27:23 2004 From: zak-ms at hoppsan.org (Zak James) Date: Wed Sep 1 17:27:32 2004 Subject: [maplab-users] GMapFactory error In-Reply-To: <200409011527.34627.dhiltz@whsun1.wh.whoi.edu> References: <200409011527.34627.dhiltz@whsun1.wh.whoi.edu> Message-ID: David, This is due to an error in the new version. Franck Villoin already encountered this and helpfully provided a patch which I'm including below. It will be incorporated in a bug fix release but the modification is small and you can make it in your local copy if you don't want to wait. zak -- Zak James Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca > Hi list, > > I installed the new version of MapLab 2.2 on my system. > When I open in MapEdit the old map (created by MapLab 2.1 rc3) and use > gMapFactory the first time is good. > When I change the option and I click the Apply button I have the error. > > Warning: [MapServer Error]: msLoadMap(): (//Rac//rac_fr.map) in > E:\MapLab\htdocs\gmapfactory\build_phtml.php on line 1301 > > Warning: Failed to open map file //Rac//rac_fr.map in > E:\MapLab\htdocs\gmapfactory\build_phtml.php on line 1301 > > Parse error: parse error, unexpected ')' in > E:\MapLab\projects\gmf_apps\test_franck\globprefs.php on line 46 > > Fatal error: Call to a member function on a non-object in > E:\MapLab\projects\gmf_apps\test_franck\test_franck.php on line 51 > > > After see the code sources off build_phtml.php, if I commente the > lines 117 > at 128 > > /*if (substr($http_form_vars['gszMapFile'], 0, 1) == "/" || > preg_match('/^(\w:)/', $http_form_vars['gszMapFile'])) > { > if (substr($http_form_vars["gszMapFile"], 0, > strlen($gszFileBrowserRoot)) == $gszFileBrowserRoot) > { > $http_form_vars["gszMapFile"] = > "/".substr($http_form_vars["gszMapFile"], strlen($gszFileBrowserRoot)); > } > else > { > $gszFileBrowserRoot = ''; > } > } */ > > and change the lines 130 at 133 > > if ( !drawGlobprefs( $http_form_vars["gszAppDir"]."globprefs.php", > $http_form_vars["gszAppDir"], $http_form_vars["gszWorkingDir"]. > "settings.php", > $gszFileBrowserRoot.$http_form_vars["gszMapFile"], > $gszMapscriptModule, > $oLog ) ) > > by > if ( !drawGlobprefs( $http_form_vars["gszAppDir"]."globprefs.php", > $http_form_vars["gszAppDir"], $http_form_vars["gszWorkingDir"]. > "settings.php", > /*$gszFileBrowserRoot.*/$http_form_vars["gszMapFile"], > $gszMapscriptModule, > $oLog ) ) On Sep 1, 2004, at 3:27 PM, David Hiltz wrote: > Hello. > > I just started playing around with MapLab 2.2 and I like it so far. > > Environment: > Linux Redhat 7.3 Server > Apache 1.3.27 > Mapserver 4.2.2 > PHP 4.3.8 > > I've run into a problem when I get click 'Apply' in GMapFactory. > > I fire up Mapedit > Load my .map file. > Click on the GMapFactory Icon and pick my project and click OK > The GMapFactory page loads fine with my map. > I now click 'Apply' and get this message in the main window: > > Parse error: parse error, unexpected ')' in > /maplab-2.2/projects/gmf_apps/david/globpres.php on line 46 > > Line 45 and below look like this (notice the missing values): > > // define the maximum extents > define( "MAX_EXT_MINX", ); > define( "MAX_EXT_MINY", ); > define( "MAX_EXT_MAXX", ); > define( "MAX_EXT_MAXY", ); > > When I look at the MAPFILE line above this code, it looks like this: > > define( "MAPFILE", "///david//mymap.map" ); > > The path to my map file is wrong for some reason which is probably > why it is not finding the extent values. I get this warning in the > left > menu window. > > Warning: Failed to open map file ///dhiltz//mymap.map in > /maplab-2.2/htdocs/gmapfactory/build_phtml.php on line 1301 > > This is the MAPFILE line when it works correctly (when I first come > into > GMapFactory): > > define( "MAPFILE", "/maplab-2.2/projects/gmf_apps////david//mymap.map" > ); > > Something happens when I click apply that causes it not to give the > right > path to my map file. > > Any ideas? > > Thanks. > > David Hiltz > > > _______________________________________________ > Maplab-users mailing list > Maplab-users@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/maplab-users > From sdteffen at web.de Wed Sep 1 23:59:32 2004 From: sdteffen at web.de (Steffen Macke) Date: Wed Sep 1 23:55:45 2004 Subject: [maplab-users] links from map to jpg In-Reply-To: References: Message-ID: <200409020659.32919.sdteffen@web.de> Kevin, > Parse error: parse error, unexpected T_VARIABLE in C:\Program Files\Apache > Group\Apache2\htdocs\maplab-2.2\projects\gmf_apps\IJC_LCC\query.phtml on > line 189 Try to replace > $szReturnValue .= " face=\"Arial, Helvetica, sans-serif\" size=\"2\">".$key."\n"; with $szReturnValue = $szReturnValue. "". "". $key."\n"; Eventually the .= operator is causing the problem. Steffen From Franck.VILLOIN at interieur.gouv.fr Thu Sep 2 02:59:35 2004 From: Franck.VILLOIN at interieur.gouv.fr (VILLOIN Franck DSIC BMS) Date: Thu Sep 2 03:02:15 2004 Subject: [maplab-users] links from map to jpg Message-ID: Hello, see your if instruction. you have one open parenthesis but you have not close parenthesis. the correct syntax is : if (strcasecmp($key, "Long_DD") == "Long_DD" || strcasecmp($key, "Lat_DD") == "Lat_DD"|| strcasecmp($key, "MS_PATH2") == "MS_PATH2") $szReturnValue .= "".$key."\n"; Good luck Franck > -----Message d'origine----- > De: maplab-users-bounces@lists.maptools.org > [SMTP:maplab-users-bounces@lists.maptools.org] ? la place de > kgrootendorst@baird.com > Date: mercredi 1 septembre 2004 22:26 > ?: Steffen Macke > Cc: maplab-users@lists.maptools.org > Objet: Re: [maplab-users] links from map to jpg > > > Steffen, > I've switched on some error messages, and I'm getting the following: > > Parse error: parse error, unexpected T_VARIABLE in C:\Program Files\Apache > Group\Apache2\htdocs\maplab-2.2\projects\gmf_apps\IJC_LCC\query.phtml on > line 189 > > > Line 189 is the one that begins "$szReturnValue.=" below: > > > // loop and use key for titles > // $Key is equal to the attribute name, which is also the > header of column > > foreach ($aRows[0] as $key => $value) > { > // The purpose of this if loop is to find the only > attribute name we want to display > > if (strcasecmp($key, "Long_DD") == "Long_DD" || > strcasecmp($key, "Lat_DD") == "Lat_DD"|| > strcasecmp($key, "MS_PATH2") == > "MS_PATH2" > > $szReturnValue .= " face=\"Arial, Helvetica, sans-serif\" size=\"2\">".$key."\n"; > } > > > I'm by no means a PHP programmer, so any tips/tricks would be greatly > appreciated. > Thanks. > > Kevin > > > > > > Steffen Macke > Sent by: maplab-users-bounces@lists.maptools.org > > 09/01/2004 03:42 PM To > maplab-users@lists.maptools.org > cc > Subject > Re: [maplab-users] links from map to jpg > > > > > > > Kevin, > > > I changed the code, but the link still does not work. > > Are you getting any error messages? Please check that you've switched > on as many error and warning messages in php.ini as possible. > > My code snippet had a small problem (I used or instead of ||) > Could you check the snippet below. > > If it's not working and you don't get any error messages, please add some > debug code E.g. > echo($key); > echo($xCell); > > and post the results to the list. > > Steffen > > // loop and add a cell for each result > foreach ( $aRow as $key => $xCell ) { > // $xCell is the attribute value, in this case,when the $key attribute > name > // is equal to "Long_DD" and "Lat_DD" only display the value of > attribute. > if((strcasecmp($key, "Long_DD") == 0) || > (strcasecmp($key, "Lat_DD") == 0 )) { > $szReturnValue .= "". > "". > $xCell."\n"; > } > > // when the attribute name is equal to MS_PATH2, hyperlink according to > the > // value of attribute, the attribute value of MS_PATH2 should be simliar > as > // http://localhost/photoalbum/image.jpg > //photoalbum folder with images is put at your web server. > > else if(strcasecmp($key, "MS_PATH2") == 0) { > $szReturnValue .= " "\"> Click here to document\n"; > } > } > > _______________________________________________ > Maplab-users mailing list > Maplab-users@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/maplab-users > > << Fichier: ATT213247.txt>> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040902/114212cc/attachment.htm From sdteffen at web.de Thu Sep 2 03:58:13 2004 From: sdteffen at web.de (Steffen Macke) Date: Thu Sep 2 03:57:34 2004 Subject: [Fwd: Re: [maplab-users] links from map to jpg] Message-ID: <4136D295.70007@web.de> Kevin, I just see now that you've switched back to the original code you've posted and didn't use my updates: > if (strcasecmp($key, "Long_DD") == > "Long_DD" || > strcasecmp($key, "Lat_DD") == > "Lat_DD"|| > strcasecmp($key, "MS_PATH2") == > "MS_PATH2") > This cannot work. strcasecmp() returns a number which can never be equal to "Long_DD". That's why I changed it. As Franck points out, the parentheses also seem to be wrong. This should also have been fixed in my code. In the original code, $key most probably wasn't initalized probably. I tried to fix this. Steffen From si.geo at free.fr Thu Sep 2 04:02:40 2004 From: si.geo at free.fr (Gilles) Date: Thu Sep 2 04:01:58 2004 Subject: [maplab-users] Re : problem with postgis layer (Alberto Cavalli) Message-ID: <4136D3A0.7080809@free.fr> Hi, I think, Alberto, you are not connecting to the right database - template1 -. You should create a database name MY_DATABASE ex : createdb MY_DATABASE createlang plpgsql MY_DATABASE psql -d MY_DATABASE -f path_to\postgis.sql psql -d MY_DATABASE -f path_to\spatial_ref_sys.sql Then you use shp2pgsql : shp2pgsql -D path_to\my_shape.shp MY_DESTINATION_TABLE MY_DATABASE | psql -U postgres MY_DATABASE If you don't want to have problem with the password of postgres, you can change in *pg_hba.conf* the way the user postgres is connecting to the database : change *md5* in *trust*. And don't forget to change this value when you finished your transactions. In order to see your data with MapServer edit the *CONNECTION* section of your map : CONNECTION "user=postgres password=admin dbname=MY_DATABASE host=localhost" I hope this can help you. Gilles From kgrootendorst at baird.com Thu Sep 2 09:03:22 2004 From: kgrootendorst at baird.com (kgrootendorst@baird.com) Date: Thu Sep 2 09:05:36 2004 Subject: [Fwd: Re: [maplab-users] links from map to jpg] In-Reply-To: <4136D295.70007@web.de> Message-ID: Steffan, Thanks for your help. Now my code displays the query window, and lists the column headings (Long DD, Lat DD, MS PATH2), but does not populate these fields with any attributes. When I echo($key), the value is 'LAYER_INDEX', and when I echo($xCell), the value is '5' The fields Long_DD, Lat_DD, and MS_PATH2 are the only columns in my shapefile, if you don't count the default ESRI columns of FID and shape. Below is the 2 snippets of code I have added to query.phtml to get this far: Snippet 1: //***********ADDED FOR HYPERLINK*************************************************************** // loop and use key for titles // $Key is equal to the attribute name, which is also the header of column foreach ($aRows[0] as $key => $value) { // The purpose of this if loop is to find the only attribute name we want to display if (strcasecmp($key, "Long_DD") == "Long_DD" || strcasecmp($key, "Lat_DD") == "Lat_DD" || strcasecmp($key, "MS_PATH2") == "MS_PATH2") //$szReturnValue .= "".$key."\n"; $szReturnValue = $szReturnValue.""."".$key."\n"; } //********************************************************************************************* Snippet 2: //***********ADDED FOR HYPERLINK*************************************************************** // loop and add a cell for each result foreach ( $aRow as $xCell ) { // $xCell is the attribute value, in this case,when the $key attribute name is equal to "Long_DD" and "Lat_DD" only display the value of attribute. if ((strcasecmp($key, "Long_DD") == 0) || (strcasecmp($key, "Lat_DD") == 0)) {$szReturnValue .= "". $xCell."\n";} //when the attribute name is equal to MS_PATH2, hyperlink according to the value of attribute, the attribute value of MS_PATH2 should be simliar as http://localhost/photoalbum/image.jpg //photoalbum folder with images is put at your web server. else if (strcasecmp($key, "MS_PATH2") == 0) {$szReturnValue .= " Click here to document\n";} } // $szReturnValue .= "\n"; } //********************************************************************************************* Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040902/7c410fd2/attachment-0001.htm From dhiltz at whsun1.wh.whoi.edu Thu Sep 2 10:42:31 2004 From: dhiltz at whsun1.wh.whoi.edu (David Hiltz) Date: Thu Sep 2 10:44:16 2004 Subject: [maplab-users] Mapedit - Inconsistent updating of Object Browser Window Message-ID: <200409021442.i82EgV528801@whsun1.wh.whoi.edu> Environment: Linux Redhat 7.3 Server Apache 1.3.27 Mapserver 4.2.2 Maplab 2.2 PHP 4.3.8 IE6 under Windows and Mozilla 1.5 under Linux When I'm in Mapedit, new objects quite often do not appear in the Object Browser Window on the left. I load my map file Click on the first object "MAP (mymap)" Click on the 'Create New Object..' pulldown and pick 'Layer Object' I click the "+" to the right and no visual update is made to the Object Browser Window on the left and no error is indicated in the upper right. I have logging turned on with Maplab. This is what appears in the 'action_mapedit.log' file. [Thu.Sep.02.2004.10:12:39] initializing MapEditApp [Thu.Sep.02.2004.10:12:39] ../../config/mapserv_40.xml [Thu.Sep.02.2004.10:12:39] invalid object (gApp). [Thu.Sep.02.2004.10:12:39] creating new gApp [Thu.Sep.02.2004.10:12:39] EnumerationType : Error 0 - Invalid value () for TYPE should be one of POINTLINECIRCLEPOLYGONANNOTATIONRASTERQUERY [Thu.Sep.02.2004.10:12:39] MapEditApp : map object not initialized in getObjByIndex() [Thu.Sep.02.2004.10:12:39] MapEditApp : map object not initialized in getObjByIndex() [Thu.Sep.02.2004.10:12:39] writing object to /tmp/sess_41372a2a6b001/93931208741372a57ee1162.20913507 [Thu.Sep.02.2004.10:12:39] wrote 114965 to /tmp/sess_41372a2a6b001/93931208741372a57ee1162.20913507 [Thu.Sep.02.2004.10:12:39] returning . Also, sometimes the yellow warning triangle will appear showing this: Description Invalid value () for TYPE should be one of POINTLINECIRCLEPOLYGONANNOTATIONRASTERQUERY in /maplab/mapedit/edittitle.phtml From kgrootendorst at baird.com Thu Sep 2 11:43:57 2004 From: kgrootendorst at baird.com (kgrootendorst@baird.com) Date: Thu Sep 2 11:44:21 2004 Subject: [Fwd: Re: [maplab-users] links from map to jpg] In-Reply-To: <200409021818.16121.sdteffen@web.de> Message-ID: Steffan, Changing the 'for each' statement worked!!! The attributes were displayed and I was able to click on the link and see the right photo. However, when I query other layers, I do not receive any attributes for them. As I side note, how can you modify it so that the picture automatically appears in the query window by itself when the feature is clicked (eg. the user does not have to click on a link in the query results window to see the photo)? Using var_dump($aRow) I get the following: array(7) { ["Id"]=> string(1) "0" ["Long_DD"]=> string(19) "-7.90000000000e+001" ["Lat_DD"]=> string(18) "4.30000000000e+001" ["MS_PATH2"]=> string(40) "http://localhost/photoalbum/DSCN4329.JPG" ["SHAPE_INDEX"]=> int(0) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(5) } array(7) { ["Id"]=> string(1) "0" ["Long_DD"]=> string(19) "-7.90000000000e+001" ["Lat_DD"]=> string(18) "4.30000000000e+001" ["MS_PATH2"]=> string(40) "http://localhost/photoalbum/DSCN4329.JPG" ["SHAPE_INDEX"]=> int(0) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(5) } array(7) { ["Id"]=> string(1) "0" ["Long_DD"]=> string(19) "-7.90000000000e+001" ["Lat_DD"]=> string(18) "4.30000000000e+001" ["MS_PATH2"]=> string(40) "http://localhost/photoalbum/DSCN4329.JPG" ["SHAPE_INDEX"]=> int(0) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(5) } array(7) { ["Id"]=> string(1) "0" ["Long_DD"]=> string(19) "-7.90000000000e+001" ["Lat_DD"]=> string(18) "4.30000000000e+001" ["MS_PATH2"]=> string(40) "http://localhost/photoalbum/DSCN4329.JPG" ["SHAPE_INDEX"]=> int(0) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(5) } array(7) { ["Id"]=> string(1) "0" ["Long_DD"]=> string(19) "-7.90000000000e+001" ["Lat_DD"]=> string(18) "4.30000000000e+001" ["MS_PATH2"]=> string(40) "http://localhost/photoalbum/DSCN4329.JPG" ["SHAPE_INDEX"]=> int(0) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(5) } array(7) { ["Id"]=> string(1) "0" ["Long_DD"]=> string(19) "-7.90000000000e+001" ["Lat_DD"]=> string(18) "4.30000000000e+001" ["MS_PATH2"]=> string(40) "http://localhost/photoalbum/DSCN4329.JPG" ["SHAPE_INDEX"]=> int(0) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(5) } array(7) { ["Id"]=> string(1) "0" ["Long_DD"]=> string(19) "-7.90000000000e+001" ["Lat_DD"]=> string(18) "4.30000000000e+001" ["MS_PATH2"]=> string(40) "http://localhost/photoalbum/DSCN4329.JPG" ["SHAPE_INDEX"]=> int(0) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(5) } Using var_dump($aRows) I get this: array(1) { [0]=> array(7) { ["Id"]=> string(1) "0" ["Long_DD"]=> string(19) "-7.90000000000e+001" ["Lat_DD"]=> string(18) "4.30000000000e+001" ["MS_PATH2"]=> string(40) "http://localhost/photoalbum/DSCN4329.JPG" ["SHAPE_INDEX"]=> int(0) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(5) } } array(1) { [0]=> array(7) { ["Id"]=> string(1) "0" ["Long_DD"]=> string(19) "-7.90000000000e+001" ["Lat_DD"]=> string(18) "4.30000000000e+001" ["MS_PATH2"]=> string(40) "http://localhost/photoalbum/DSCN4329.JPG" ["SHAPE_INDEX"]=> int(0) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(5) } } array(1) { [0]=> array(7) { ["Id"]=> string(1) "0" ["Long_DD"]=> string(19) "-7.90000000000e+001" ["Lat_DD"]=> string(18) "4.30000000000e+001" ["MS_PATH2"]=> string(40) "http://localhost/photoalbum/DSCN4329.JPG" ["SHAPE_INDEX"]=> int(0) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(5) } } array(1) { [0]=> array(7) { ["Id"]=> string(1) "0" ["Long_DD"]=> string(19) "-7.90000000000e+001" ["Lat_DD"]=> string(18) "4.30000000000e+001" ["MS_PATH2"]=> string(40) "http://localhost/photoalbum/DSCN4329.JPG" ["SHAPE_INDEX"]=> int(0) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(5) } } array(1) { [0]=> array(7) { ["Id"]=> string(1) "0" ["Long_DD"]=> string(19) "-7.90000000000e+001" ["Lat_DD"]=> string(18) "4.30000000000e+001" ["MS_PATH2"]=> string(40) "http://localhost/photoalbum/DSCN4329.JPG" ["SHAPE_INDEX"]=> int(0) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(5) } } array(1) { [0]=> array(7) { ["Id"]=> string(1) "0" ["Long_DD"]=> string(19) "-7.90000000000e+001" ["Lat_DD"]=> string(18) "4.30000000000e+001" ["MS_PATH2"]=> string(40) "http://localhost/photoalbum/DSCN4329.JPG" ["SHAPE_INDEX"]=> int(0) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(5) } } array(1) { [0]=> array(7) { ["Id"]=> string(1) "0" ["Long_DD"]=> string(19) "-7.90000000000e+001" ["Lat_DD"]=> string(18) "4.30000000000e+001" ["MS_PATH2"]=> string(40) "http://localhost/photoalbum/DSCN4329.JPG" ["SHAPE_INDEX"]=> int(0) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(5) } } When I select another a non-hyperlinking feature (such as a county) and use var_dum($aRow) I get this: array(8) { ["PROV"]=> string(2) "ON" ["NAME"]=> string(6) "Halton" ["POP1996"]=> string(6) "339875" ["DWELL1996"]=> string(6) "118405" ["SHORE_AREA"]=> string(9) "970.10185" ["SHAPE_INDEX"]=> int(40) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(0) } array(8) { ["PROV"]=> string(2) "ON" ["NAME"]=> string(6) "Halton" ["POP1996"]=> string(6) "339875" ["DWELL1996"]=> string(6) "118405" ["SHORE_AREA"]=> string(9) "970.10185" ["SHAPE_INDEX"]=> int(40) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(0) } array(8) { ["PROV"]=> string(2) "ON" ["NAME"]=> string(6) "Halton" ["POP1996"]=> string(6) "339875" ["DWELL1996"]=> string(6) "118405" ["SHORE_AREA"]=> string(9) "970.10185" ["SHAPE_INDEX"]=> int(40) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(0) } array(8) { ["PROV"]=> string(2) "ON" ["NAME"]=> string(6) "Halton" ["POP1996"]=> string(6) "339875" ["DWELL1996"]=> string(6) "118405" ["SHORE_AREA"]=> string(9) "970.10185" ["SHAPE_INDEX"]=> int(40) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(0) } array(8) { ["PROV"]=> string(2) "ON" ["NAME"]=> string(6) "Halton" ["POP1996"]=> string(6) "339875" ["DWELL1996"]=> string(6) "118405" ["SHORE_AREA"]=> string(9) "970.10185" ["SHAPE_INDEX"]=> int(40) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(0) } array(8) { ["PROV"]=> string(2) "ON" ["NAME"]=> string(6) "Halton" ["POP1996"]=> string(6) "339875" ["DWELL1996"]=> string(6) "118405" ["SHORE_AREA"]=> string(9) "970.10185" ["SHAPE_INDEX"]=> int(40) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(0) } array(8) { ["PROV"]=> string(2) "ON" ["NAME"]=> string(6) "Halton" ["POP1996"]=> string(6) "339875" ["DWELL1996"]=> string(6) "118405" ["SHORE_AREA"]=> string(9) "970.10185" ["SHAPE_INDEX"]=> int(40) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(0) } array(8) { ["PROV"]=> string(2) "ON" ["NAME"]=> string(6) "Halton" ["POP1996"]=> string(6) "339875" ["DWELL1996"]=> string(6) "118405" ["SHORE_AREA"]=> string(9) "970.10185" ["SHAPE_INDEX"]=> int(40) ["TILE_INDEX"]=> int(-1) ["LAYER_INDEX"]=> int(0) } As I mentioned before, attributes for this layer are not displayed in the query window. Thanks for your help! Kevin Steffen Macke Sent by: sdteffen@web.de 09/02/2004 11:18 AM To kgrootendorst@baird.com cc Subject Re: [Fwd: Re: [maplab-users] links from map to jpg] Kevin, the first snippet is using strcasecmp() in the wrong way. In the second one, $key is not initialized. Change foreach ( $aRow as $xCell ) to foreach ( $aRow as $key => $xCell ) I would also like to draw your attention that there's a difference between $aRow and $aRows[0] Could you tell us what var_dump($aRow); and var_dump($aRow); give as output? - you should add this inside the loop over all rows. You should also check whether there are any rows retrieved at all. Steffen -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040902/626e83e8/attachment.htm From kgrootendorst at baird.com Thu Sep 2 12:11:45 2004 From: kgrootendorst at baird.com (kgrootendorst@baird.com) Date: Thu Sep 2 12:12:07 2004 Subject: [Fwd: Re: [maplab-users] links from map to jpg] In-Reply-To: <200409021900.59973.sdteffen@web.de> Message-ID: Yes, finally progress! Thanks for all your help!!! My other layers do not have the MS_PATH2 attribute, but they're not supposed too since they don't have any photos associated with them. If I want their attributes displayed, do they have to have the MS_PATH2 column? What if I don't want certain attributes displayed? E.g. what if I just want the MS_PATH2 attribute displayed, and not the Lat_DD and Long_DD fields? Kevin Steffen Macke Sent by: sdteffen@web.de 09/02/2004 12:00 PM To kgrootendorst@baird.com cc Subject Re: [Fwd: Re: [maplab-users] links from map to jpg] Kevin, nice to hear that you're making progress. It looks like your other layers (like country) are lacking the MS_PATH2 column that contains the image url (That's what I can see from the var_dump() output). To have the image displayed directly instead of having a link, just change the tag to an tag: Change $szReturnValue .= " Click here to document\n"; to $szReturnValue .= " \n"; Steffen -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040902/df265b88/attachment.htm From sdteffen at web.de Thu Sep 2 12:36:36 2004 From: sdteffen at web.de (Steffen Macke) Date: Thu Sep 2 12:32:48 2004 Subject: [Fwd: Re: [maplab-users] links from map to jpg] In-Reply-To: References: Message-ID: <200409021936.36007.sdteffen@web.de> Kevin, > My other layers do not have the MS_PATH2 attribute, but they're not > supposed too since they don't have any photos associated with them. > If I want their attributes displayed, do they have to have the MS_PATH2 > column? Not necessarily. You may have to adjust your code. Look at the if statement for Lat_DD and Long_DD - add additional fields for display to this statement. There'll be another if statement for the table headers - you'll have to add the additional fields there as well (if you want table headers displayed). > What if I don't want certain attributes displayed? E.g. what if I just > want the MS_PATH2 attribute displayed, and not the Lat_DD and Long_DD > fields? Change the if statements accordingly. Eventually you should explain how much of the statements you understand so that we can help you better to understand the rest. Steffen From kgrootendorst at baird.com Thu Sep 2 13:16:42 2004 From: kgrootendorst at baird.com (kgrootendorst@baird.com) Date: Thu Sep 2 13:16:56 2004 Subject: [Fwd: Re: [maplab-users] links from map to jpg] In-Reply-To: <200409021936.36007.sdteffen@web.de> Message-ID: Steffen Thanks for your help. I'll brush up on my php knowledge before posting any more questions. Kevin Steffen Macke Sent by: maplab-users-bounces@lists.maptools.org 09/02/2004 12:36 PM To maplab-users@lists.maptools.org cc Subject Re: [Fwd: Re: [maplab-users] links from map to jpg] Kevin, > My other layers do not have the MS_PATH2 attribute, but they're not > supposed too since they don't have any photos associated with them. > If I want their attributes displayed, do they have to have the MS_PATH2 > column? Not necessarily. You may have to adjust your code. Look at the if statement for Lat_DD and Long_DD - add additional fields for display to this statement. There'll be another if statement for the table headers - you'll have to add the additional fields there as well (if you want table headers displayed). > What if I don't want certain attributes displayed? E.g. what if I just > want the MS_PATH2 attribute displayed, and not the Lat_DD and Long_DD > fields? Change the if statements accordingly. Eventually you should explain how much of the statements you understand so that we can help you better to understand the rest. Steffen _______________________________________________ Maplab-users mailing list Maplab-users@lists.maptools.org http://lists.maptools.org/mailman/listinfo/maplab-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040902/8c7d6a07/attachment.htm From alberto.cavalli at sintranet.it Fri Sep 3 09:33:32 2004 From: alberto.cavalli at sintranet.it (Alberto Cavalli) Date: Fri Sep 3 09:40:10 2004 Subject: [maplab-users] popstgis and maplab zoom problem Message-ID: <5C364C28DF05D611A03200E01832693FC6816F@sintraweb.sintranet.it> I've a very strange problem using mapserver with postgis and postgressql 8.0 beta1 and when I try to connect with my db all works fine except the zoomin(this one works like a zoomout) and zoomout. Can someone tell me what is the problem? thanks a lot I'm working on apache 2.0.46 php 4.3.3 mapserver 4.0 win 2000 professional bye alberto From kgrootendorst at baird.com Tue Sep 7 09:11:12 2004 From: kgrootendorst at baird.com (kgrootendorst@baird.com) Date: Tue Sep 7 09:11:31 2004 Subject: [maplab-users] Display query results on Map, not new window Message-ID: Hello List, By default, querying a feature results in a new window opening up and displaying the attributes. For my site, I want to have these results displayed in a table cell on my webpage. Does anybody know the code to do this? I know that I need to put it in my *_contents.php file, but I'm not sure of the exact syntax for calling the 'formatqueryresults' function. Can anybody help me out? Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040907/b91fc714/attachment.htm From chengcharlie2003 at yahoo.ca Wed Sep 8 13:59:30 2004 From: chengcharlie2003 at yahoo.ca (charley cheng) Date: Wed Sep 8 13:59:51 2004 Subject: [maplab-users] raster layer does not show Message-ID: <20040908175930.54638.qmail@web14825.mail.yahoo.com> Dear Lists, I georeferenced the tiff file in ArcGIS, after georeferenced, there are four files: medicine.tif, medicine.aux, medicine.rrd, medicine.tfw. The coordinate system is long/lat, NAD83. However, the raster image does not show up in Maplab 2.2 and no error message. The following is my mapfile. Are there anything wrong in my mapfile? MAP NAME "imagetest" STATUS ON EXTENT -113 49 -109 52 SIZE 400 300 SHAPEPATH "./data" SYMBOLSET "./etc/symbols.sym" FONTSET "./etc/fonts.txt" IMAGETYPE PNG IMAGECOLOR 255 255 255 UNITS METERS WEB MINSCALE 5000 MAXSCALE 51773916 IMAGEPATH "C:/ms4w/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" END PROJECTION "init=epsg:4269" END LAYER NAME "medince image" STATUS ON DATA "./medicine.tif" TYPE RASTER UNITS METERS SIZEUNITS PIXELS MINSCALE 5000 MAXSCALE 51773916 PROJECTION "init=epsg:4269" END END END Thank you very much for all your time. Charlie --------------------------------- Post your free ad now! Yahoo! Canada Personals -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040908/4300a7d6/attachment.htm From si.geo at free.fr Thu Sep 9 14:20:27 2004 From: si.geo at free.fr (Gilles) Date: Thu Sep 9 14:18:58 2004 Subject: [maplab-users] RE : raster layer does not show (charley cheng) Message-ID: <41409EEB.10705@free.fr> An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040909/35e90593/attachment.htm From chengcharlie2003 at yahoo.ca Thu Sep 9 17:21:03 2004 From: chengcharlie2003 at yahoo.ca (charley cheng) Date: Thu Sep 9 17:21:32 2004 Subject: [maplab-users] raster layer show up now, thank you In-Reply-To: <41409EEB.10705@free.fr> Message-ID: <20040909212103.55728.qmail@web14826.mail.yahoo.com> Hello! Thanks Gilles and Zak! My raster image showed, the problem is still unknown. In fact, Mapserver read .tfw with .tiff file. Nothing changed ! after I defined the projection of tiff image again in ArcCatelog, the raster image showed. Really strange! Thank you very much! Charlie Gilles wrote: Hi, You only need two files : medicine.tfw and medicine.tiff. They must be in the same directory. To see your TIFF you just have to change the extension of medicine.tfw in medicine.wld and you should see your georeferenced TIFF. I hope this will help you. Gilles. _______________________________________________ Maplab-users mailing list Maplab-users@lists.maptools.org http://lists.maptools.org/mailman/listinfo/maplab-users --------------------------------- Post your free ad now! Yahoo! Canada Personals -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040909/f966cdf1/attachment.htm From hennessy at goemsi.com Thu Sep 9 13:32:30 2004 From: hennessy at goemsi.com (Hennessy, John) Date: Thu Sep 9 17:58:16 2004 Subject: [maplab-users] GMAP problem - Lots of undefined things in gmap75.php3 Message-ID: <6D427BA550B9FE4D854A7854539554D203028A2E@srv3.thejanusgroup.com> I've successfully installed Mapserver on an IIS server. I've modified the Itasca demo and it runs fine. I have my apps stored in a virtual directory called msapps. I put gmap in here and tried to run it. I get the interface and the map of Canada. The only missing functionality is the information button doesn't work. My problem is I get lots of error codes above the map. I don't know how to get rid of them. Any suggestions on fixing these errors. Some examples are: Notice: Use of undefined constant MS_GIF - assumed 'MS_GIF' in C:\msapps\gmap\htdocs\gmap75.php3 on line 53 Notice: Use of undefined constant MS_GIF - assumed 'MS_GIF' in C:\msapps\gmap\htdocs\gmap75.php3 on line 54 Notice: Undefined index: MAP_NAME in C:\msapps\gmap\htdocs\gmap75.phtml on line 68 Notice: Use of undefined constant road - assumed 'road' in C:\msapps\gmap\htdocs\gmap75.php3 on line 95 Notice: Undefined index: road in C:\msapps\gmap\htdocs\gmap75.php3 on line 96 Notice: Use of undefined constant rail - assumed 'rail' in C:\msapps\gmap\htdocs\gmap75.php3 on line 101 Notice: Undefined index: rail in C:\msapps\gmap\htdocs\gmap75.php3 on line 102 Notice: Use of undefined constant drainage - assumed 'drainage' in C:\msapps\gmap\htdocs\gmap75.php3 on line 107 Notice: Use of undefined constant drain_fn - assumed 'drain_fn' in C:\msapps\gmap\htdocs\gmap75.php3 on line 113 Notice: Use of undefined constant park - assumed 'park' in C:\msapps\gmap\htdocs\gmap75.php3 on line 119 Notice: Use of undefined constant popplace - assumed 'popplace' in C:\msapps\gmap\htdocs\gmap75.php3 on line 131 Notice: Use of undefined constant prov_bound - assumed 'prov_bound' in C:\msapps\gmap\htdocs\gmap75.php3 on line 137 Notice: Use of undefined constant fedlimit - assumed 'fedlimit' in C:\msapps\gmap\htdocs\gmap75.php3 on line 144 Notice: Use of undefined constant land_fn - assumed 'land_fn' in C:\msapps\gmap\htdocs\gmap75.php3 on line 150 Notice: Use of undefined constant grid - assumed 'grid' in C:\msapps\gmap\htdocs\gmap75.php3 on line 156 Notice: Undefined index: grid in C:\msapps\gmap\htdocs\gmap75.php3 on line 157 Notice: Undefined index: KEYMAP_x in C:\msapps\gmap\htdocs\gmap75.php3 on line 205 Notice: Undefined index: redraw_x in C:\msapps\gmap\htdocs\gmap75.php3 on line 308 Notice: Undefined index: INPUT_TYPE in C:\msapps\gmap\htdocs\gmap75.php3 on line 349 Notice: Use of undefined constant mainmap_x - assumed 'mainmap_x' in C:\msapps\gmap\htdocs\gmap75.php3 on line 425 Notice: Use of undefined constant mainmap_y - assumed 'mainmap_y' in C:\msapps\gmap\htdocs\gmap75.php3 on line 426 Notice: Use of undefined constant JavaOn_x - assumed 'JavaOn_x' in C:\msapps\gmap\htdocs\gmap75.phtml on line 116 Notice: Undefined index: JavaOn_x in C:\msapps\gmap\htdocs\gmap75.phtml on line 116 Notice: Use of undefined constant JavaOff_x - assumed 'JavaOff_x' in C:\msapps\gmap\htdocs\gmap75.phtml on line 119 Notice: Undefined index: JavaOff_x in C:\msapps\gmap\htdocs\gmap75.phtml on line 119 Thanks, John Hennessy Director, GIS and Data Analysis The Janus Group 200 Centennial Ave, Suite 203 Piscataway, NJ 08854 (732) 980-0505 ext. 157 www.thejanusgroup.com www.mediaprints.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040909/24462b0f/attachment.htm From zak-ms at hoppsan.org Fri Sep 10 09:06:41 2004 From: zak-ms at hoppsan.org (Zak James) Date: Fri Sep 10 09:06:52 2004 Subject: [maplab-users] GMAP problem - Lots of undefined things in gmap75.php3 In-Reply-To: <6D427BA550B9FE4D854A7854539554D203028A2E@srv3.thejanusgroup.com> References: <6D427BA550B9FE4D854A7854539554D203028A2E@srv3.thejanusgroup.com> Message-ID: <41DF739F-032A-11D9-8165-000D933576F4@hoppsan.org> John, Those notices are mostly harmless and are occurring because gmap hasn't been updated for changes in mapserver 4.x. You can suppress display of the notices in your window by adding the line display_errors=off to your system's php.ini file. You might want to look at using the ms4w package (www.maptools.org/ms4w) which I believe has an updated version of gmap. If necessary, you can modify an installed ms4w to use IIS instead of the included apache server. Note that this is the maplab-users list. You may get more help on the mapserver-users list. zak -- Zak James Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca On Sep 9, 2004, at 1:32 PM, Hennessy, John wrote: > I've successfully installed Mapserver on an IIS server. I've modified > the > Itasca demo and it runs fine. I have my apps stored in a virtual > directory > called msapps. I put gmap in here and tried to run it. I get the > interface > and the map of Canada. The only missing functionality is the > information > button doesn't work. My problem is I get lots of error codes above > the map. > I don't know how to get rid of them. Any suggestions on fixing these > errors. Some examples are: > > Notice: Use of undefined constant MS_GIF - assumed 'MS_GIF' in > C:\msapps\gmap\htdocs\gmap75.php3 on line 53 > Notice: Use of undefined constant MS_GIF - assumed 'MS_GIF' in > C:\msapps\gmap\htdocs\gmap75.php3 on line 54 > Notice: Undefined index: MAP_NAME in > C:\msapps\gmap\htdocs\gmap75.phtml on > line 68 > Notice: Use of undefined constant road - assumed 'road' in > C:\msapps\gmap\htdocs\gmap75.php3 on line 95 > Notice: Undefined index: road in C:\msapps\gmap\htdocs\gmap75.php3 on > line > 96 > Notice: Use of undefined constant rail - assumed 'rail' in > C:\msapps\gmap\htdocs\gmap75.php3 on line 101 > Notice: Undefined index: rail in C:\msapps\gmap\htdocs\gmap75.php3 on > line > 102 > Notice: Use of undefined constant drainage - assumed 'drainage' in > C:\msapps\gmap\htdocs\gmap75.php3 on line 107 > Notice: Use of undefined constant drain_fn - assumed 'drain_fn' in > C:\msapps\gmap\htdocs\gmap75.php3 on line 113 > Notice: Use of undefined constant park - assumed 'park' in > C:\msapps\gmap\htdocs\gmap75.php3 on line 119 > Notice: Use of undefined constant popplace - assumed 'popplace' in > C:\msapps\gmap\htdocs\gmap75.php3 on line 131 > Notice: Use of undefined constant prov_bound - assumed 'prov_bound' in > C:\msapps\gmap\htdocs\gmap75.php3 on line 137 > Notice: Use of undefined constant fedlimit - assumed 'fedlimit' in > C:\msapps\gmap\htdocs\gmap75.php3 on line 144 > Notice: Use of undefined constant land_fn - assumed 'land_fn' in > C:\msapps\gmap\htdocs\gmap75.php3 on line 150 > Notice: Use of undefined constant grid - assumed 'grid' in > C:\msapps\gmap\htdocs\gmap75.php3 on line 156 > Notice: Undefined index: grid in C:\msapps\gmap\htdocs\gmap75.php3 on > line > 157 > Notice: Undefined index: KEYMAP_x in C:\msapps\gmap\htdocs\gmap75.php3 > on > line 205 > Notice: Undefined index: redraw_x in C:\msapps\gmap\htdocs\gmap75.php3 > on > line 308 > Notice: Undefined index: INPUT_TYPE in > C:\msapps\gmap\htdocs\gmap75.php3 on > line 349 > Notice: Use of undefined constant mainmap_x - assumed 'mainmap_x' in > C:\msapps\gmap\htdocs\gmap75.php3 on line 425 > Notice: Use of undefined constant mainmap_y - assumed 'mainmap_y' in > C:\msapps\gmap\htdocs\gmap75.php3 on line 426 > Notice: Use of undefined constant JavaOn_x - assumed 'JavaOn_x' in > C:\msapps\gmap\htdocs\gmap75.phtml on line 116 > Notice: Undefined index: JavaOn_x in > C:\msapps\gmap\htdocs\gmap75.phtml on > line 116 > Notice: Use of undefined constant JavaOff_x - assumed 'JavaOff_x' in > C:\msapps\gmap\htdocs\gmap75.phtml on line 119 > Notice: Undefined index: JavaOff_x in > C:\msapps\gmap\htdocs\gmap75.phtml on > line 119 > > Thanks, > > John Hennessy > Director, GIS and Data Analysis > The Janus Group > 200 Centennial Ave, Suite 203 > Piscataway, NJ 08854 > (732) 980-0505 ext. 157 > www.thejanusgroup.com > www.mediaprints.com > > > _______________________________________________ > Maplab-users mailing list > Maplab-users@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/maplab-users From dmorissette at dmsolutions.ca Fri Sep 10 09:30:03 2004 From: dmorissette at dmsolutions.ca (Daniel Morissette) Date: Fri Sep 10 09:30:12 2004 Subject: [maplab-users] GMAP problem - Lots of undefined things in gmap75.php3 In-Reply-To: <41DF739F-032A-11D9-8165-000D933576F4@hoppsan.org> References: <6D427BA550B9FE4D854A7854539554D203028A2E@srv3.thejanusgroup.com> <41DF739F-032A-11D9-8165-000D933576F4@hoppsan.org> Message-ID: <4141AC5B.9000905@dmsolutions.ca> There is a GMap updated for MapServer 4.x at http://maptools.org/dl/gmap-ms40.zip Daniel Zak James wrote: > John, > > Those notices are mostly harmless and are occurring because gmap hasn't > been updated for changes in mapserver 4.x. You can suppress display of > the notices in your window by adding the line > display_errors=off > to your system's php.ini file. > > You might want to look at using the ms4w package (www.maptools.org/ms4w) > which I believe has an updated version of gmap. If necessary, you can > modify an installed ms4w to use IIS instead of the included apache server. > > Note that this is the maplab-users list. You may get more help on the > mapserver-users list. > > zak > -- > Zak James > Applications and Software Development > DM Solutions Group Inc. > http://www.dmsolutions.ca > > > On Sep 9, 2004, at 1:32 PM, Hennessy, John wrote: > >> I've successfully installed Mapserver on an IIS server. I've modified >> the >> Itasca demo and it runs fine. I have my apps stored in a virtual >> directory >> called msapps. I put gmap in here and tried to run it. I get the >> interface >> and the map of Canada. The only missing functionality is the information >> button doesn't work. My problem is I get lots of error codes above >> the map. >> I don't know how to get rid of them. Any suggestions on fixing these >> errors. Some examples are: >> >> Notice: Use of undefined constant MS_GIF - assumed 'MS_GIF' in >> C:\msapps\gmap\htdocs\gmap75.php3 on line 53 >> Notice: Use of undefined constant MS_GIF - assumed 'MS_GIF' in >> C:\msapps\gmap\htdocs\gmap75.php3 on line 54 >> Notice: Undefined index: MAP_NAME in >> C:\msapps\gmap\htdocs\gmap75.phtml on >> line 68 >> Notice: Use of undefined constant road - assumed 'road' in >> C:\msapps\gmap\htdocs\gmap75.php3 on line 95 >> Notice: Undefined index: road in C:\msapps\gmap\htdocs\gmap75.php3 on >> line >> 96 >> Notice: Use of undefined constant rail - assumed 'rail' in >> C:\msapps\gmap\htdocs\gmap75.php3 on line 101 >> Notice: Undefined index: rail in C:\msapps\gmap\htdocs\gmap75.php3 on >> line >> 102 >> Notice: Use of undefined constant drainage - assumed 'drainage' in >> C:\msapps\gmap\htdocs\gmap75.php3 on line 107 >> Notice: Use of undefined constant drain_fn - assumed 'drain_fn' in >> C:\msapps\gmap\htdocs\gmap75.php3 on line 113 >> Notice: Use of undefined constant park - assumed 'park' in >> C:\msapps\gmap\htdocs\gmap75.php3 on line 119 >> Notice: Use of undefined constant popplace - assumed 'popplace' in >> C:\msapps\gmap\htdocs\gmap75.php3 on line 131 >> Notice: Use of undefined constant prov_bound - assumed 'prov_bound' in >> C:\msapps\gmap\htdocs\gmap75.php3 on line 137 >> Notice: Use of undefined constant fedlimit - assumed 'fedlimit' in >> C:\msapps\gmap\htdocs\gmap75.php3 on line 144 >> Notice: Use of undefined constant land_fn - assumed 'land_fn' in >> C:\msapps\gmap\htdocs\gmap75.php3 on line 150 >> Notice: Use of undefined constant grid - assumed 'grid' in >> C:\msapps\gmap\htdocs\gmap75.php3 on line 156 >> Notice: Undefined index: grid in C:\msapps\gmap\htdocs\gmap75.php3 on >> line >> 157 >> Notice: Undefined index: KEYMAP_x in C:\msapps\gmap\htdocs\gmap75.php3 on >> line 205 >> Notice: Undefined index: redraw_x in C:\msapps\gmap\htdocs\gmap75.php3 on >> line 308 >> Notice: Undefined index: INPUT_TYPE in >> C:\msapps\gmap\htdocs\gmap75.php3 on >> line 349 >> Notice: Use of undefined constant mainmap_x - assumed 'mainmap_x' in >> C:\msapps\gmap\htdocs\gmap75.php3 on line 425 >> Notice: Use of undefined constant mainmap_y - assumed 'mainmap_y' in >> C:\msapps\gmap\htdocs\gmap75.php3 on line 426 >> Notice: Use of undefined constant JavaOn_x - assumed 'JavaOn_x' in >> C:\msapps\gmap\htdocs\gmap75.phtml on line 116 >> Notice: Undefined index: JavaOn_x in >> C:\msapps\gmap\htdocs\gmap75.phtml on >> line 116 >> Notice: Use of undefined constant JavaOff_x - assumed 'JavaOff_x' in >> C:\msapps\gmap\htdocs\gmap75.phtml on line 119 >> Notice: Undefined index: JavaOff_x in >> C:\msapps\gmap\htdocs\gmap75.phtml on >> line 119 >> >> Thanks, >> >> John Hennessy >> Director, GIS and Data Analysis >> The Janus Group >> 200 Centennial Ave, Suite 203 >> Piscataway, NJ 08854 >> (732) 980-0505 ext. 157 >> www.thejanusgroup.com >> www.mediaprints.com >> >> From ASWENSON at Indygov.org Mon Sep 13 17:35:17 2004 From: ASWENSON at Indygov.org (Andrew Swenson) Date: Mon Sep 13 17:35:45 2004 Subject: [maplab-users] maplab install Windows XP Message-ID: I've installed ms4w under C:\ and have it running. I've downloaded maplab.zip and have been attempting to use WinZip to extract the file. I'm getting a maplab directory where I direct the extract, but am not getting the new directory within /ms4w/apps or any new httpd_*.comf file at /ms4w/httpd.d/httpd_*.comf. I'll add versions if necessary, but I've been using latest ms4w and maplab. I'm having the same problems with Chameleon. Any ideas? Feeling a bit rudimentary here. Andrew D. Swenson, Principal Planner City of Indianapolis, DMD Planning 200 E. Washington St., Suite 1821 Indianapolis, IN 46204 317-327-5132 From jrivard at connect.carleton.ca Mon Sep 13 20:40:15 2004 From: jrivard at connect.carleton.ca (Joel Rivard) Date: Mon Sep 13 20:40:23 2004 Subject: [maplab-users] maplab install Windows XP Message-ID: <5642078.1095122415704.JavaMail.jrivard@connect.carleton.ca> Hey Andrew, I think that you mean to download the ms4w package of maplab and chameleon. You can find it at: http://maptools.org/ms4w/index.phtml?page=downloads.html When you extract maplab or chameleon, simply extract it to your C:/ drive and everything should work fine. It will put all of the files where they are suppose to be. Cheers, Joel Andrew Swenson wrote: >I've installed ms4w under C:\ and have it running. I've downloaded maplab.zip and have been attempting to use WinZip to extract the file. I'm getting a maplab directory where I direct the extract, but am not getting the new directory within /ms4w/apps or any new httpd_*.comf file at /ms4w/httpd.d/httpd_*.comf. I'll add versions if necessary, but I've been using latest ms4w and maplab. I'm having the same problems with Chameleon. > >Any ideas? Feeling a bit rudimentary here. > > > > >Andrew D. Swenson, Principal Planner >City of Indianapolis, DMD Planning >200 E. Washington St., Suite 1821 >Indianapolis, IN 46204 >317-327-5132 > > >_______________________________________________ >Maplab-users mailing list >Maplab-users@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/maplab-users > From ASWENSON at Indygov.org Tue Sep 14 18:15:32 2004 From: ASWENSON at Indygov.org (Andrew Swenson) Date: Tue Sep 14 18:15:59 2004 Subject: [maplab-users] maplab install Windows XP Message-ID: Thanks to Joel for the quick reply. I have been unzipping the maplab.zip file that I downloaded to C:\ from the site Joel mentioned. I'm not getting the expected results (as listed in the documentation). Has anyone else experienced this? I'm wondering if I need to set some sort of parameter in Winzip, or some sort of directory read/write parameter. I checked the c:\ms4w folder and discovered that it and all subdirectories under ms4w are read-only. Tried to change that property and XP wouldn't let me do it. Any ideas? ---------------------------------------------------------------------- Message: 1 Date: Mon, 13 Sep 2004 16:35:17 -0500 From: "Andrew Swenson" Subject: [maplab-users] maplab install Windows XP To: Message-ID: Content-Type: text/plain; charset=US-ASCII I've installed ms4w under C:\ and have it running. I've downloaded maplab.zip and have been attempting to use WinZip to extract the file. I'm getting a maplab directory where I direct the extract, but am not getting the new directory within /ms4w/apps or any new httpd_*.comf file at /ms4w/httpd.d/httpd_*.comf. I'll add versions if necessary, but I've been using latest ms4w and maplab. I'm having the same problems with Chameleon. Any ideas? Feeling a bit rudimentary here. Andrew D. Swenson, Principal Planner City of Indianapolis, DMD Planning 200 E. Washington St., Suite 1821 Indianapolis, IN 46204 317-327-5132 ------------------------------ Message: 2 Date: Mon, 13 Sep 2004 20:40:15 -0400 (EDT) From: Joel Rivard Subject: Re: [maplab-users] maplab install Windows XP To: Andrew Swenson Cc: maplab-users@lists.maptools.org Message-ID: <5642078.1095122415704.JavaMail.jrivard@connect.carleton.ca> Content-Type: text/plain Hey Andrew, I think that you mean to download the ms4w package of maplab and chameleon. You can find it at: http://maptools.org/ms4w/index.phtml?page=downloads.html When you extract maplab or chameleon, simply extract it to your C:/ drive and everything should work fine. It will put all of the files where they are suppose to be. Cheers, Joel From jfournier at dmsolutions.ca Tue Sep 14 18:36:31 2004 From: jfournier at dmsolutions.ca (Jason Fournier) Date: Tue Sep 14 18:35:36 2004 Subject: [maplab-users] maplab install Windows XP In-Reply-To: References: Message-ID: <4147726F.1020208@dmsolutions.ca> Andrew, My MS4W installation is set to read-only as well, however, I am able to write throughtout the folder. Have you made sure that 'Use Folder Names' is checked when unzipping (this should be on the 'Extract' dialog)? hth, Jason Andrew Swenson wrote: > Thanks to Joel for the quick reply. > > I have been unzipping the maplab.zip file that I downloaded to C:\ from the site Joel mentioned. I'm not getting the expected results (as listed in the documentation). Has anyone else experienced this? I'm wondering if I need to set some sort of parameter in Winzip, or some sort of directory read/write parameter. > > I checked the c:\ms4w folder and discovered that it and all subdirectories under ms4w are read-only. Tried to change that property and XP wouldn't let me do it. Any ideas? > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 13 Sep 2004 16:35:17 -0500 > From: "Andrew Swenson" > Subject: [maplab-users] maplab install Windows XP > To: > Message-ID: > Content-Type: text/plain; charset=US-ASCII > > I've installed ms4w under C:\ and have it running. I've downloaded maplab.zip and have been attempting to use WinZip to extract the file. I'm getting a maplab directory where I direct the extract, but am not getting the new directory within /ms4w/apps or any new httpd_*.comf file at /ms4w/httpd.d/httpd_*.comf. I'll add versions if necessary, but I've been using latest ms4w and maplab. I'm having the same problems with Chameleon. > > Any ideas? Feeling a bit rudimentary here. > > > > > Andrew D. Swenson, Principal Planner > City of Indianapolis, DMD Planning > 200 E. Washington St., Suite 1821 > Indianapolis, IN 46204 > 317-327-5132 > > > > > ------------------------------ > > Message: 2 > Date: Mon, 13 Sep 2004 20:40:15 -0400 (EDT) > From: Joel Rivard > Subject: Re: [maplab-users] maplab install Windows XP > To: Andrew Swenson > Cc: maplab-users@lists.maptools.org > Message-ID: > <5642078.1095122415704.JavaMail.jrivard@connect.carleton.ca> > Content-Type: text/plain > > Hey Andrew, > > I think that you mean to download the ms4w package of maplab and > chameleon. > > You can find it at: > > http://maptools.org/ms4w/index.phtml?page=downloads.html > > When you extract maplab or chameleon, simply extract it to your C:/ > drive and everything should work fine. It will put all of the files > where they are suppose to be. > > Cheers, > > Joel > > > > > > > _______________________________________________ > Maplab-users mailing list > Maplab-users@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/maplab-users > -- _____________________________ Jason Fournier Applications Development DM Solutions Group Inc. jfournier@dmsolutions.ca www.dmsolutions.ca 613.565.5056 x18 From ikeivy2000 at hotmail.com Tue Sep 14 22:04:27 2004 From: ikeivy2000 at hotmail.com (ISAAC KWADWO NTI) Date: Tue Sep 14 22:21:43 2004 Subject: [maplab-users] Query Retains no Value Message-ID: An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040915/8bece6bd/attachment.htm From lambangnugroho at telkom.net Wed Sep 15 19:31:42 2004 From: lambangnugroho at telkom.net (Lambang) Date: Wed Sep 15 19:32:03 2004 Subject: [maplab-users] Maplab Install Problem Message-ID: I have install maplab in freebsd-5.2.1 then receive this message when running index.phtml Fatal error: Call to undefined function: session_set_save_handler() in /usr/local/www/data-dist/maplab/htdocs/common/session/session.php on line 388 Help please... Thx Lambang lambangnugroho@telkom.net ============================================= Netkuis Instan untuk wilayah Bandung (kode area 022) - SD,SMP,SMA Berhadiah total puluhan juta rupiah... periode I dimulai 1 April 2004 ============================================= From ikeivy2000 at hotmail.com Wed Sep 15 12:49:50 2004 From: ikeivy2000 at hotmail.com (ISAAC KWADWO NTI) Date: Wed Sep 15 23:24:35 2004 Subject: [maplab-users] Data Query Yields No Results Message-ID: An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040915/f31e2ec8/attachment.htm From chengcharlie2003 at yahoo.ca Thu Sep 16 10:53:29 2004 From: chengcharlie2003 at yahoo.ca (charley cheng) Date: Thu Sep 16 10:53:40 2004 Subject: [maplab-users] Re: [ms4w-users] Data Query Yields No Results In-Reply-To: Message-ID: <20040916145329.44452.qmail@web14825.mail.yahoo.com> Hi! Isaac, I met the same problem before. When you use the query icon i, draw a squre box around the feature in the map, it will return the value. Charlie ISAAC KWADWO NTI wrote: Hello, I have installed ms4w and its working, I have this also installed maplab applcation and all are working perfectly. I have a littile problem with querying data.I am using the tutorial data of Canada.When I try to make query by using the icon rosa it returns no value. Please I would like to know if I am doing the right querying and if so how can i link the dbf data to the shp files. Hoping to hear from you. That which persist in doing becomes easier - not that the task has changed but our ability to do it has increased. Isaac Kwadwo Nti Kaiser Str.19, 76131 Karlsruhe Germany. Home Tel: +497213529267 Mobile : +491798846336 --------------------------------- Add photos to your messages with MSN 8. Get 2 months FREE*. _______________________________________________ ms4w-users mailing list ms4w-users@lists.maptools.org http://lists.maptools.org/mailman/listinfo/ms4w-users --------------------------------- Post your free ad now! Yahoo! Canada Personals -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040916/80a8edd5/attachment.htm From ikeivy2000 at hotmail.com Thu Sep 16 12:12:04 2004 From: ikeivy2000 at hotmail.com (ISAAC KWADWO NTI) Date: Thu Sep 16 12:50:03 2004 Subject: [maplab-users] Re: [ms4w-users] Data Query Yields No Results Message-ID: An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040916/79bcd451/attachment.htm From chengcharlie2003 at yahoo.ca Thu Sep 16 18:37:12 2004 From: chengcharlie2003 at yahoo.ca (charley cheng) Date: Thu Sep 16 18:37:21 2004 Subject: [maplab-users] Re: [ms4w-users] Data Query Yields No Results In-Reply-To: Message-ID: <20040916223712.13809.qmail@web14825.mail.yahoo.com> Hi! Issac, I just dowloaded the maplab_ms4w-2.2. In tutorial.map, only the class (cities) of layer popplace have been given template value, so only the box drawn around the popplace(cities) will return value. If you put template value ( any value ttt etc) in class of prov_bunday layer, land_fn layer, ..., those features will return attribute information. I tried it,, it worked. What did the query.phtml say? "The following layers did not return any value? "or just page can not be found, if it were later, you might need to set the internet explore allow the popup window. Charlie ISAAC KWADWO NTI wrote: Hi Charlie, I have done that but the window that pops up returns no value so I really dont know what is happen whether I have to write a codes to incorporate the dbf files. Hi! Isaac, I met the same problem before. When you use the query icon i, draw a squre box around the feature in the map, it will return the value. Charlie That which persist in doing becomes easier - not that the task has changed but our ability to do it has increased. Isaac Kwadwo Nti Kaiser Str.19, 76131 Karlsruhe Germany. Home Tel: +497213529267 Mobile : +491798846336 --------------------------------- MSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*. --------------------------------- Post your free ad now! Yahoo! Canada Personals -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040916/30c2015c/attachment.htm From lambangnugroho at telkom.net Fri Sep 17 13:03:33 2004 From: lambangnugroho at telkom.net (Lambang) Date: Fri Sep 17 13:03:56 2004 Subject: [maplab-users] maplab install problem Message-ID: Nobody care about my problem? I have install maplab in freebsd-5.2.1 then receive this message when running index.phtml Fatal error: Call to undefined function: session_set_save_handler() in /usr/local/www/data-dist/maplab/htdocs/common/session/session.php on line 388 Onve again. Help me please... Thx Lambang lambangnugroho@telkom.net ============================================= Netkuis Instan untuk wilayah Bandung (kode area 022) - SD,SMP,SMA Berhadiah total puluhan juta rupiah... periode I dimulai 1 April 2004 ============================================= From fosters4all at beer.com Fri Sep 17 13:51:28 2004 From: fosters4all at beer.com (Mark M) Date: Fri Sep 17 14:15:48 2004 Subject: [maplab-users] maplab install problem Message-ID: <20040917175128.41E7423C18@ws5-3.us4.outblaze.com> I care. :) But I may not be able to answer. I'm not using freebsd but my guess is that some config paths are not set appropriately. I suggest you carefully work through each of the xml files in the config directory. Hope that helps, Mark ----- Original Message ----- From: "Lambang" Date: Sat, 18 Sep 2004 00:03:33 +0700 To: maplab-users@lists.maptools.org Subject: [maplab-users] maplab install problem > Nobody care about my problem? > > I have install maplab in freebsd-5.2.1 then receive this > message when running index.phtml > > Fatal error: Call to undefined function: > session_set_save_handler() in > /usr/local/www/data-dist/maplab/htdocs/common/session/session.php > on line 388 > > Onve again. Help me please... > > Thx > > Lambang > lambangnugroho@telkom.net > ============================================= > Netkuis Instan untuk wilayah Bandung (kode area 022) - SD,SMP,SMA > Berhadiah total puluhan juta rupiah... periode I dimulai 1 April 2004 > ============================================= > _______________________________________________ > Maplab-users mailing list > Maplab-users@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/maplab-users 42 -- _______________________________________________ The coolest e-mail address on the web and it?s FREE! Sign-up today for Beer Mail @ beer.com. From ikeivy2000 at hotmail.com Fri Sep 17 21:30:54 2004 From: ikeivy2000 at hotmail.com (ISAAC KWADWO NTI) Date: Fri Sep 17 21:31:06 2004 Subject: [maplab-users] Chameleon Widgets In Maplab Message-ID: Hello, I would like to know if I could add some of the chameleon widgets into maplab and if so how is it possible? I would like to add the XML widgets and also the measure distance.If any one can help you assistance is welcome. Thank you --- That which persist in doing becomes easier - not that the task has changed but our ability to do it has increased. Isaac Kwadwo Nti Kaiser Str.19, 76131 Karlsruhe Germany. Home Tel: +497213529267 Mobile : +491798846336 _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From stenhh at anastazia.homelinux.com Sat Sep 18 10:08:42 2004 From: stenhh at anastazia.homelinux.com (Sten Helge Henriksen) Date: Sat Sep 18 10:08:50 2004 Subject: [maplab-users] No images appear when using maplab-2.2 in a FC2 installation. Message-ID: <46248.192.168.1.4.1095516522.squirrel@192.168.1.3> Hi there! I have a fresh installation of maplab-2.2, using FC2 as the OS. When trying to open the tutorial, no maps appear. My httpd logfile write this; ..... [Sat Sep 18 15:41:29 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/var, referer: http://localhost/maplab-2.2/htdocs/mapbrowser/map.phtml?mainmap. x=178&mainmap.y=111&ROSA_CMD=ZOOM_IN&maxy=3840000&minx=-2598687. 3333333&maxx=3471487.3333333&miny=-712631¢rex=436400¢rey= 1563684.5&NotFirstLoad=1&PrevStateKey=1095514887-8512&SetCustView=& SetMaxExtent=&QueryLayer=&QueryString=&MapWidth=400&MapHeight=300&RosaMode= HTML&sid=414c35a1d63f3&INPUT_TYPE=&INPUT_COORD= ..... My tmp and ms_tmp files are located at /var/www/html/. Does anyone have a clue what could cause this? Sten-Helge Henriksen stenhh@anastazia.homelinux.com From dhiltz at whsun1.wh.whoi.edu Sat Sep 18 10:33:47 2004 From: dhiltz at whsun1.wh.whoi.edu (David Hiltz) Date: Sat Sep 18 10:34:30 2004 Subject: [maplab-users] No images appear when using maplab-2.2 in a FC2 In-Reply-To: <46248.192.168.1.4.1095516522.squirrel@192.168.1.3> from "Sten Helge Henriksen" at Sep 18, 2004 04:08:42 PM Message-ID: <200409181433.i8IEXlX01328@whsun1.wh.whoi.edu> Check the apache logs. The default error log is usually: /var/log/httpd/error_log > I have a fresh installation of maplab-2.2, using FC2 as the OS. When > trying to open the tutorial, no maps appear. > My httpd logfile write this; > > ..... > [Sat Sep 18 15:41:29 2004] [error] [client 127.0.0.1] File does not exist: > /var/www/html/var, referer: > http://localhost/maplab-2.2/htdocs/mapbrowser/map.phtml?mainmap. > x=178&mainmap.y=111&ROSA_CMD=ZOOM_IN&maxy=3840000&minx=-2598687. > 3333333&maxx=3471487.3333333&miny=-712631¢rex=436400¢rey= > 1563684.5&NotFirstLoad=1&PrevStateKey=1095514887-8512&SetCustView=& > SetMaxExtent=&QueryLayer=&QueryString=&MapWidth=400&MapHeight=300&RosaMode= > HTML&sid=414c35a1d63f3&INPUT_TYPE=&INPUT_COORD= > ..... > > My tmp and ms_tmp files are located at /var/www/html/. > Does anyone have a clue what could cause this? > > Sten-Helge Henriksen > stenhh@anastazia.homelinux.com > > > _______________________________________________ > Maplab-users mailing list > Maplab-users@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/maplab-users > From ikeivy2000 at hotmail.com Mon Sep 20 12:30:30 2004 From: ikeivy2000 at hotmail.com (ISAAC KWADWO NTI) Date: Mon Sep 20 12:34:57 2004 Subject: [maplab-users] Choropleth maps/Classification of data/Bar & Pie Charts ...-codes Message-ID: An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040920/b06504fa/attachment.htm From ikeivy2000 at hotmail.com Mon Sep 20 12:28:35 2004 From: ikeivy2000 at hotmail.com (ISAAC KWADWO NTI) Date: Mon Sep 20 12:41:30 2004 Subject: [maplab-users] Choropleth maps-codes Message-ID: An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040920/6ac394c4/attachment.htm From wbronsema at dmsolutions.ca Tue Sep 21 07:16:45 2004 From: wbronsema at dmsolutions.ca (William Bronsema) Date: Tue Sep 21 07:16:58 2004 Subject: [maplab-users] Chameleon Widgets In Maplab In-Reply-To: References: Message-ID: <41500D9D.7080904@dmsolutions.ca> Hi Isaac, When you say "add some...widgets" I assume you mean to an application you have created using GMapFactory? Currently it is not possible to marry these two technologies directly without some substantial additions to the application created by GMapFactory. Having said that, it is fairly simple to build the eqivalent application in Chameleon as produced by GMapFactory. Just use one of the sample Chameleon applications as a starting point. Regards, Bill ISAAC KWADWO NTI wrote: > Hello, > I would like to know if I could add some of the chameleon widgets into > maplab and if so how is it possible? > I would like to add the XML widgets and also the measure distance.If any > one can help you assistance is welcome. > Thank you > --- > > That which persist in doing becomes easier - not that the task has > changed but our ability to do it has increased. > Isaac Kwadwo Nti > Kaiser Str.19, > 76131 Karlsruhe > Germany. > Home Tel: +497213529267 > Mobile : +491798846336 > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > Maplab-users mailing list > Maplab-users@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/maplab-users > -- William A. Bronsema, C.E.T. Applications Developer, DM Solutions Group Inc. e-mail: wbronsema@dmsolutions.ca Web : http://www.dmsolutions.ca Phone : (613) 565-5056 ext.25 Fax : (613) 565-0925 ________________________________________________ From wbronsema at dmsolutions.ca Tue Sep 21 07:30:34 2004 From: wbronsema at dmsolutions.ca (William Bronsema) Date: Tue Sep 21 07:30:48 2004 Subject: [maplab-users] maplab install problem In-Reply-To: References: Message-ID: <415010DA.8040609@dmsolutions.ca> Lambang, We do care, I'm not too sure if there are a lot of Freebsd users on this list. I personally have never used it and only dabble a bit with Fedora Core 2 myself. Perhaps if you could supply us with a little more information on your configuration? Which version of PHP, Mapserver/PHPMapscript, Apache, etc are you running? session_set_save_handler() is a php function and should be defined. Have you checked the web for details on the function? (http://ca.php.net/manual/en/function.session-set-save-handler.php) to see if there is a known issue that might be the cause? Is session support enabled in your version of PHP? It should be there by default, and is only disabled by the --disable-session option. Regards, Bill Lambang wrote: > Nobody care about my problem? > > I have install maplab in freebsd-5.2.1 then receive this message when > running index.phtml > > Fatal error: Call to undefined function: session_set_save_handler() in > /usr/local/www/data-dist/maplab/htdocs/common/session/session.php on > line 388 > > Onve again. Help me please... > > Thx > > Lambang > lambangnugroho@telkom.net > ============================================= > Netkuis Instan untuk wilayah Bandung (kode area 022) - SD,SMP,SMA > Berhadiah total puluhan juta rupiah... periode I dimulai 1 April 2004 > ============================================= > _______________________________________________ > Maplab-users mailing list > Maplab-users@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/maplab-users > -- William A. Bronsema, C.E.T. Applications Developer, DM Solutions Group Inc. e-mail: wbronsema@dmsolutions.ca Web : http://www.dmsolutions.ca Phone : (613) 565-5056 ext.25 Fax : (613) 565-0925 ________________________________________________ From cthorne at dmsolutions.ca Wed Sep 22 10:22:51 2004 From: cthorne at dmsolutions.ca (Christopher R. Thorne) Date: Wed Sep 22 10:23:34 2004 Subject: [maplab-users] Re: [ms4w-users] Choropleth maps/Classification of data/Bar & Pie Charts ...-codes In-Reply-To: References: Message-ID: <41518ABB.10007@dmsolutions.ca> Issac, You need to give more details to a specific problem you are having, otherwise it is difficult for anyone to answer properly. You may risk in getting your question answered incorrectly. ;) MapLab, cannot produce bar, pie charts, tables, or even animation. I am not a code expert to help you write php that does what you want to do. But there maybe a widget found in Chameleon that can lead you in the right direction. (suggested widgets Table, OWTChart maybe). Chris ISAAC KWADWO NTI wrote: > Please I am trying to use ms4w and maplab to map and publish > Choropleth maps/Classification of data/Bar & Pie Charts/3D > graphics/animations, using the tutorial data of canada. > > Could any one help me with sample codes? > > > /That which persist in doing becomes easier - not that the task has > changed but our ability to do it has increased/. > Isaac Kwadwo Nti > Kaiser Str.19, > 76131 Karlsruhe > Germany. > Home Tel: +497213529267 > Mobile : +491798846336 > > ------------------------------------------------------------------------ > MSN 8 helps ELIMINATE E-MAIL VIRUSES. > Get 2 months FREE*. > >------------------------------------------------------------------------ > >_______________________________________________ >ms4w-users mailing list >ms4w-users@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/ms4w-users > > -- --------------------- Christopher R. Thorne GIS Product Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca Email: cthorne@dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 From chengcharlie2003 at yahoo.ca Thu Sep 23 01:03:43 2004 From: chengcharlie2003 at yahoo.ca (charley cheng) Date: Thu Sep 23 01:04:11 2004 Subject: [maplab-users] Help! how can the website work under https:// Message-ID: <20040923050343.63752.qmail@web14823.mail.yahoo.com> Hi! Dear lists, Since the information on website produced by maplab is confidential, I am planning to put website produced by maplab work under https:// ( secure version of http). I tried it, but did not work. First, the map did not show, second, any click, the url will break. The website is working fine under http:// My platform is window 2000 server, IIS 5.0, Maplab2.2, php/mapscript Another question is how to set security for website produced by Maplab normally. Any suggestions will be highly appreciated. Thank you very much! Charlie --------------------------------- Post your free ad now! Yahoo! Canada Personals -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040923/5115e773/attachment.htm From wbronsema at dmsolutions.ca Thu Sep 23 07:39:00 2004 From: wbronsema at dmsolutions.ca (William Bronsema) Date: Thu Sep 23 07:39:35 2004 Subject: [maplab-users] Help! how can the website work under https:// In-Reply-To: <20040923050343.63752.qmail@web14823.mail.yahoo.com> References: <20040923050343.63752.qmail@web14823.mail.yahoo.com> Message-ID: <4152B5D4.9050600@dmsolutions.ca> Hi Charlie, Unfortunately when MapLab was originally written https was not considered. As a result there are a number of places in the code where "http" is assumed and hard coded. A quick fix for this would be to replace all hard coded "http" instances with "https". I did a quick search for "http:" and it appears that there are not too many instances of this in the actual code & template files (ignoring examples and how-to docs). This is not the most elegant solution, but should serve your purpose. HTH. Regards, Bill charley cheng wrote: > Hi! Dear lists, > > Since the information on website produced by maplab is confidential, I > am planning to put website produced by maplab work under https:// ( > secure version of http). I tried it, but did not work. First, the map > did not show, second, any click, the url will break. The website is > working fine under http:// > My platform is window 2000 server, IIS 5.0, Maplab2.2, php/mapscript > > Another question is how to set security for website produced by Maplab > normally. > > Any suggestions will be highly appreciated. > > Thank you very much! > > Charlie > > > > ------------------------------------------------------------------------ > Post your free ad now! *Yahoo! Canada Personals* > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Maplab-users mailing list > Maplab-users@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/maplab-users -- William A. Bronsema, C.E.T. Applications Developer, DM Solutions Group Inc. e-mail: wbronsema@dmsolutions.ca Web : http://www.dmsolutions.ca Phone : (613) 565-5056 ext.25 Fax : (613) 565-0925 ________________________________________________ From ikeivy2000 at hotmail.com Fri Sep 24 17:39:08 2004 From: ikeivy2000 at hotmail.com (ISAAC KWADWO NTI) Date: Fri Sep 24 17:52:06 2004 Subject: [maplab-users] Map does not show Message-ID: An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040924/23108e02/attachment.htm From zak-ms at hoppsan.org Fri Sep 24 19:29:19 2004 From: zak-ms at hoppsan.org (Zak James) Date: Fri Sep 24 19:29:32 2004 Subject: [maplab-users] Map does not show In-Reply-To: References: Message-ID: <8EBA13DC-0E81-11D9-BE46-000D933576F4@hoppsan.org> Isaac, Can you provide an example of a map file that fails? Have you tried turning on the error logging in the configuration panel and checking the maplab error logs for messages? zak -- Zak James Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca On Sep 24, 2004, at 5:39 PM, ISAAC KWADWO NTI wrote: > Hello, > > I have installed maplab-2.2 and its so wonderful.I have worked with > the tutorial data and I really like how it works. > > I have a problem now and that is, any other mapfile that I try opening > or working in maplab does not open the map but the legend scale and > ROSA works perfectly only the the map does not show.When I work > outside maplab with the same files they show the map. > > I would like to know what is the error and if anyone could help > me.Thank you very much hoping to hear from you. > > Isaac > > > That which persist in doing becomes easier - not that the task has > changed but our ability to do it has increased. > Isaac Kwadwo Nti > Kaiser Str.19, > 76131 Karlsruhe > Germany. > Home Tel: +497213529267 > Mobile??? : +491798846336 > > Add photos to your messages with MSN 8. Get 2 months > FREE*._______________________________________________ > Maplab-users mailing list > Maplab-users@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/maplab-users From chengcharlie2003 at yahoo.ca Mon Sep 27 17:32:33 2004 From: chengcharlie2003 at yahoo.ca (charley cheng) Date: Mon Sep 27 17:33:03 2004 Subject: [maplab-users] Help! how can the website work under https:// In-Reply-To: <4152B5D4.9050600@dmsolutions.ca> Message-ID: <20040927213233.70889.qmail@web14823.mail.yahoo.com> Hi! William, I try your suggestion today, it works. Thank you very much! Charlie William Bronsema wrote: Hi Charlie, Unfortunately when MapLab was originally written https was not considered. As a result there are a number of places in the code where "http" is assumed and hard coded. A quick fix for this would be to replace all hard coded "http" instances with "https". I did a quick search for "http:" and it appears that there are not too many instances of this in the actual code & template files (ignoring examples and how-to docs). This is not the most elegant solution, but should serve your purpose. HTH. Regards, Bill charley cheng wrote: > Hi! Dear lists, > > Since the information on website produced by maplab is confidential, I > am planning to put website produced by maplab work under https:// ( > secure version of http). I tried it, but did not work. First, the map > did not show, second, any click, the url will break. The website is > working fine under http:// > My platform is window 2000 server, IIS 5.0, Maplab2.2, php/mapscript > > Another question is how to set security for website produced by Maplab > normally. > > Any suggestions will be highly appreciated. > > Thank you very much! > > Charlie > > > > ------------------------------------------------------------------------ > Post your free ad now! *Yahoo! Canada Personals* > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Maplab-users mailing list > Maplab-users@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/maplab-users -- William A. Bronsema, C.E.T. Applications Developer, DM Solutions Group Inc. e-mail: wbronsema@dmsolutions.ca Web : http://www.dmsolutions.ca Phone : (613) 565-5056 ext.25 Fax : (613) 565-0925 ________________________________________________ --------------------------------- Post your free ad now! Yahoo! Canada Personals -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040927/3b0f2138/attachment.htm From ikeivy2000 at hotmail.com Wed Sep 29 12:40:33 2004 From: ikeivy2000 at hotmail.com (ISAAC KWADWO NTI) Date: Wed Sep 29 13:00:10 2004 Subject: [maplab-users] Only other mapfiles cant open only the tutorial map file Message-ID: An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040929/630c1d7c/attachment.htm From gmamorim at yahoo.com Thu Sep 30 13:15:43 2004 From: gmamorim at yahoo.com (Gustavo amorim) Date: Thu Sep 30 13:17:20 2004 Subject: [maplab-users] doubts in using databases In-Reply-To: <200409301600.i8UG0YGx006602@www.maptools.org> Message-ID: <20040930171543.76394.qmail@web20421.mail.yahoo.com> hello! Well, just for u to know. I am working with the following distro: Gis - Knoppix (Debian distro, Knoppix with mapserver 3.6 and maplab 2.0.rc5 installed). i installed it on my hd and goes right. I made a test with my maps (shapes) and it worked very well too, displaying them exactly the way i want. Now i would like to get the information about the maps or points i click on. The tutorial shows everything, but i was unable to understand how the iformation is added and displayed by it. Could anyone of the group spend some time and explain it to me in single words: How can i link a database(the kinds) into my maps? _______________________________________________________ Yahoo! Acesso Gr?tis - Internet r?pida e gr?tis. Instale o discador agora! http://br.acesso.yahoo.com/ From cthorne at dmsolutions.ca Thu Sep 30 16:59:11 2004 From: cthorne at dmsolutions.ca (Christopher R. Thorne) Date: Thu Sep 30 17:00:32 2004 Subject: [maplab-users] Only other mapfiles cant open only the tutorial map file In-Reply-To: References: Message-ID: <415C739F.9080709@dmsolutions.ca> Issac, what project is your data in? what is the proj4 epsg code you plan to us? Your EXTENT object is it the right coordinates for the projection you are using? Make sure when you define the extent of your map that the coordinates are ordered. min x, min y, max x, max y. It would also help you that you define your projection in your mapfile. MAP .... # Lat/Long projection PROJECTION "init=epsg:4326" END LAYER .... END .... END #End of Mapfile Chris ISAAC KWADWO NTI wrote: > Hello, > > I am using maplab and it is so nice and easy to use.I have written some > mapfiles but the maplab cant open it.I shows all the other features with > the exception of the display of the map itself, but the tutorial mapfile > is working perfectly. > > I would like to know if there is any idea of viewing the map or if there > is other things I have to do.Need help.Below is an example of my mapfile > -- --------------------- Christopher R. Thorne GIS Product Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca Email: cthorne@dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 -------------- next part -------------- # # Start of german.map file # # MAP NAME "GERMAN" STATUS ON EXTENT -2200000 -712631 3072800 3840000 SIZE 400 300 SHAPEPATH "./data" SYMBOLSET "./etc/symbols.sym" FONTSET "./etc/fonts.txt" IMAGETYPE PNG IMAGECOLOR 255 255 255 UNITS METERS # # Start of web interface definition # WEB MINSCALE 2e+06 MAXSCALE 5e+07 # # On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root # of the drive where the .MAP file resides. # IMAGEPATH "/ms4w/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" END # # Start of reference object (keymap) # # REFERENCE # STATUS ON # IMAGE "images/keymap.png" # SIZE 100 75 # EXTENT -2.2e+06 -712631 3.0728e+06 3.84e+06 # COLOR -1 -1 -1 # OUTLINECOLOR 255 0 0 # MINBOXSIZE 3 # MAXBOXSIZE 0 # MARKER 0 # MARKERSIZE 0 # END # # Start of querymap object # QUERYMAP STATUS OFF SIZE -1 -1 COLOR 255 0 0 STYLE HILITE END # # Start of legend object # LEGEND STATUS ON IMAGECOLOR 255 255 255 POSITION LL KEYSIZE 18 12 KEYSPACING 5 5 TEMPLATE "ttt" LABEL TYPE BITMAP SIZE MEDIUM OFFSET 0 0 BUFFER 0 MINDISTANCE -1 MINFEATURESIZE -1 COLOR 0 0 89 PARTIALS TRUE FORCE FALSE END END # # Start of scalebar object # SCALEBAR STATUS ON COLOR 255 255 255 OUTLINECOLOR 0 0 0 BACKGROUNDCOLOR 0 0 0 IMAGECOLOR 255 255 255 UNITS KILOMETERS INTERVALS 5 SIZE 150 5 STYLE 0 POSITION LL LABEL TYPE BITMAP SIZE SMALL OFFSET 0 0 BUFFER 0 MINDISTANCE -1 MINFEATURESIZE -1 COLOR 0 0 0 PARTIALS TRUE FORCE FALSE END END # # Start of OutputFormat object # OUTPUTFORMAT NAME "png" MIMETYPE "image/png" DRIVER "GD/PNG" EXTENSION "png" IMAGEMODE PC256 TRANSPARENT FALSE END # # Start of layer definitions # LAYER NAME "deu_city" STATUS ON DATA "deu_city" TYPE POINT UNITS METERS SIZEUNITS PIXELS TOLERANCE 0 TOLERANCEUNITS PIXELS METADATA "DESCRIPTION" "German Cities" END END # Layer END # MAPFILE