From schut@gissrv.iend.wau.nl Mon Jul 1 16:11:41 2002 From: schut@gissrv.iend.wau.nl (Vincent Schut) Date: Mon, 1 Jul 2002 17:11:41 +0200 Subject: [maplab-users] fatal error: xml_parser_create() Message-ID: <200207011711.41092.schut@gissrv.iend.wau.nl> Hi all, I tried installing maplab, but I encountered a problem when I try to load the initial index.phtml file. I get the following error displayed in my browser (at 3 places on the page): Fatal error: Call to undefined function: xml_parser_create() in /var/www/html/maplab/maplab-2.0rc1/common/appcontext/appcontext.php on line 163 I tried with konqueror and with mozilla 1.0. Both give me the same result. I do not get messages in the apache logs. Or do I have to edit the xml config files manually before I will be able to load any maplab files? I didn't try that till now... Any clues???? Thanks, Vincent Schut SarVision BV. From pgs@magma.ca Tue Jul 2 04:11:37 2002 From: pgs@magma.ca (Paul Spencer) Date: Mon, 01 Jul 2002 23:11:37 -0400 Subject: [maplab-users] fatal error: xml_parser_create() References: <200207011711.41092.schut@gissrv.iend.wau.nl> Message-ID: <3D2119E9.2090509@magma.ca> Vincent, I am assuming that your server is a Linux-based system. It seems that your PHP doesn't have expat support compiled in. I just checked my system and it seems that XML support is enabled by default (I didn't add it to my configure). When I check my phpinfo output, I have an XML section that lists: XML Support: active XML Namespace Support: active Expat Version: 1.95.2 can you check your phpinfo to see if you have an XML section and that it is enabled. Also, did you compile PHP yourself or use a pre-packaged one (pls give vendor and version). I suspect that we may need to update the install docs for Linux to ensure that XML support is enabled. Cheers, Paul Vincent Schut wrote: >Hi all, > >I tried installing maplab, but I encountered a problem when I try to load the >initial index.phtml file. I get the following error displayed in my browser >(at 3 places on the page): > >Fatal error: Call to undefined function: xml_parser_create() in >/var/www/html/maplab/maplab-2.0rc1/common/appcontext/appcontext.php on line >163 > >I tried with konqueror and with mozilla 1.0. Both give me the same result. I >do not get messages in the apache logs. > >Or do I have to edit the xml config files manually before I will be able to >load any maplab files? I didn't try that till now... > >Any clues???? > >Thanks, >Vincent Schut >SarVision BV. >_______________________________________________ >Maplab-users mailing list >Maplab-users@dmsolutions.ca >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > From mahmoudtsh@hotmail.com Tue Jul 2 17:23:44 2002 From: mahmoudtsh@hotmail.com (mahmoud tavakoli) Date: Tue, 02 Jul 2002 16:23:44 +0000 Subject: [maplab-users] few problems trying to configure maplab Message-ID:
hello,
 
I am trying to set up the maplap for the webserver for the department of land conservationa and developement, however there are a few problems that I can't solve and was hoping maybe you could help me. 
 
in the installation information section, everything appears to be alright and checked,
however, I get these error messages when trying to work with maplab:
 
-----------------------------------------------------------------------------
when trying to edit the XML Files throught the web,
the following warning shows up and the changes don't take place:
Warning: fopen("maplab.xml", "w") -
Permission denied in C:\Inetpub\wwwroot\CoastalAtlas\tools\maplab\maplab-2.0rc1\common\appcontext\appcontext.php on line 550
 
when trying to create a new map file, the following error message shows up,
it appears that the program somehow puts an extra / before test.map
Error Parsing test.map
Description
error saving map to C:/Inetpub/wwwroot/CoastalAtlas/tools/maplab/maplab-2.0rc1//test.map in /tools/maplab/maplab-2.0rc1/htdocs/mapedit/action.phtml
 
when trying to preview the demo map I get the following warning: (however, I see the tools and the preview)
 
Warning: Unlink failed (Permission denied) in C:\Inetpub\wwwroot\CoastalAtlas\tools\maplab\maplab-2.0rc1\htdocs\mapedit\preview.php on line 264
-----------------------------------------------------------------------------
The permission to the appropriate directories are set to be read and writable.
 
Any help/suggestion from you will be greatly appreciated.
 
thank you,
 
Mike Tavakoli
 


Join the world’s largest e-mail service with MSN Hotmail. Click Here
From sctweedy@NRCan.gc.ca Tue Jul 2 19:32:13 2002 From: sctweedy@NRCan.gc.ca (Tweedy, Scott) Date: Tue, 2 Jul 2002 14:32:13 -0400 Subject: [maplab-users] GMapFactory Message-ID: <5ACEEE96F4F9D41190790002A528B51E027404D9@s0-ott-x11.nrn.nrcan.gc.ca> I've run into some issues with the colour picker when using GMapFactory. I'm using a PWS server on a Windows NT machine. I've tested this in Netscape 4.79 and 4.75 and in IE Version 6.0.26. In Netscape: When I click on an icon to bring up the colour picker, the window opens fine. When I choose a colour and click on OK or apply I get 2 different results: 1 - Nothing happens or 2 - Netscape hangs and I have to use the Task Manager to End the operation. In IE: When I click on an icon to bring up the colour picker a child window opens and I get the following message inside that window: Exception:java.lang.NoClassDefFoundError: ImageBrightnessPalette along with that I get a message box with the message: Runtime error - Line 12 Object doesn't support this property or method. Any ideas/suggestions? st From sctweedy@NRCan.gc.ca Tue Jul 2 19:34:59 2002 From: sctweedy@NRCan.gc.ca (Tweedy, Scott) Date: Tue, 2 Jul 2002 14:34:59 -0400 Subject: [maplab-users] GMapFactory - IE Message-ID: <5ACEEE96F4F9D41190790002A528B51E027404DA@s0-ott-x11.nrn.nrcan.gc.ca> I have another question about GMapFactory. Whenever I initially load a .map file into GMapFactory using IE 6.0.26 I get an error in the map window. I get a java exception: Exception: java.lang.ClassNotFoundException: Rosa2000 If I make some changes to the project like move the map face or the legend for example then the map seems to render correctly. It's only in the initial loading of GMapFactory that I get this error. Thanks in advance, st From sctweedy@NRCan.gc.ca Tue Jul 2 19:38:49 2002 From: sctweedy@NRCan.gc.ca (Tweedy, Scott) Date: Tue, 2 Jul 2002 14:38:49 -0400 Subject: [maplab-users] PNG files and MapLab in Netscape Message-ID: <5ACEEE96F4F9D41190790002A528B51E027404DB@s0-ott-x11.nrn.nrcan.gc.ca> I've generally been using MapLab in Netscape 4.7x. After I've created .map files and I use the Preview Map function, images that are created as PNG files don't display. If I put the same images in a PHP or HTML file and display them they're fine. I can't seem to get them to display in the Preview Map window though. Thanks in advance, st From maplab-users Tue Jul 2 20:26:20 2002 From: maplab-users (Jeff McKenna) Date: Tue, 02 Jul 2002 15:26:20 -0400 Subject: [maplab-users] few problems trying to configure maplab References: Message-ID: <3D21FE5C.73B2848E@dmsolutions.ca> Hi Mike, Can you verify that you have read&write permissions set for the webserver user? I was trying to duplicate your problems on a win2k-iis machine and could not. It sounds like the user-account that is accessing that directory does not have read&write permissions. Jeff mahmoud tavakoli wrote: > > hello, > > I am trying to set up the maplap for the webserver for the department of land > conservationa and developement, however there are a few problems that I can't > solve and was hoping maybe you could help me. > > in the installation information section, everything appears to be alright and > checked, > however, I get these error messages when trying to work with maplab: > > ----------------------------------------------------------------------------- > when trying to edit the XML Files throught the web, > the following warning shows up and the changes don't take place: > Warning: fopen("maplab.xml", "w") - > Permission denied in > C:\Inetpub\wwwroot\CoastalAtlas\tools\maplab\maplab-2.0rc1\common\appcontext\appcontext.php > on line 550 > > when trying to create a new map file, the following error message shows up, > it appears that the program somehow puts an extra / before test.map > Error Parsing test.map > Description > error saving map to > C:/Inetpub/wwwroot/CoastalAtlas/tools/maplab/maplab-2.0rc1//test.map in > /tools/maplab/maplab-2.0rc1/htdocs/mapedit/action.phtml > > when trying to preview the demo map I get the following warning: (however, > I see the tools and the preview) > > Warning: Unlink failed (Permission denied) in > C:\Inetpub\wwwroot\CoastalAtlas\tools\maplab\maplab-2.0rc1\htdocs\mapedit\preview.php > on line 264 > ----------------------------------------------------------------------------- > The permission to the appropriate directories are set to be read and writable. > > Any help/suggestion from you will be greatly appreciated. > > thank you, > > Mike Tavakoli -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca/ From assefa@dmsolutions.ca Tue Jul 2 20:40:09 2002 From: assefa@dmsolutions.ca (Yewondwossen Assefa) Date: Tue, 02 Jul 2002 15:40:09 -0400 Subject: [maplab-users] GMapFactory - IE References: <5ACEEE96F4F9D41190790002A528B51E027404DA@s0-ott-x11.nrn.nrcan.gc.ca> Message-ID: <3D220199.F6BEE8D3@dmsolutions.ca> Hi Scott, Is it possible to tell me the steps that you are doing. I am trying to reporduce it here withe the same version of IE but without sucess. Later, "Tweedy, Scott" wrote: > I have another question about GMapFactory. Whenever I initially load a .map > file into GMapFactory using IE 6.0.26 I get an error in the map window. I > get a java exception: > > Exception: java.lang.ClassNotFoundException: Rosa2000 > > If I make some changes to the project like move the map face or the legend > for example then the map seems to render correctly. It's only in the > initial loading of GMapFactory that I get this error. > > Thanks in advance, > st > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa@dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 (ext 14) Fax: (613) 565-0925 ---------------------------------------------------------------- From mahmoudtsh@yahoo.com Wed Jul 3 17:46:08 2002 From: mahmoudtsh@yahoo.com (mahmoud tavakoli) Date: Wed, 3 Jul 2002 09:46:08 -0700 (PDT) Subject: [maplab-users] few problems trying to configure maplab In-Reply-To: <3D21FE5C.73B2848E@dmsolutions.ca> Message-ID: <20020703164608.99596.qmail@web9503.mail.yahoo.com> Hi Jeff, thank to your help I fixed the permissions, however I still get this error message every time I go to map browser, every thing apparently works fine in the map browser, but on the top I get this error message: Warning: Unlink failed (Permission denied) in C:\Inetpub\wwwroot\CoastalAtlas\tools\maplab\maplab-2.0rc1\htdocs\mapedit\preview.php on line 264 thnx for your help Mike --- Jeff McKenna wrote: > Hi Mike, > > Can you verify that you have read&write permissions > set for the webserver user? > I was trying to duplicate your problems on a > win2k-iis machine and could not. > It sounds like the user-account that is accessing > that directory does not have > read&write permissions. > > Jeff > > > > > mahmoud tavakoli wrote: > > > > hello, > > > > I am trying to set up the maplap for the webserver > for the department of land > > conservationa and developement, however there are > a few problems that I can't > > solve and was hoping maybe you could help me. > > > > in the installation information section, > everything appears to be alright and > > checked, > > however, I get these error messages when trying to > work with maplab: > > > > > ----------------------------------------------------------------------------- > > when trying to edit the XML Files throught the > web, > > the following warning shows up and the changes > don't take place: > > Warning: fopen("maplab.xml", "w") - > > Permission denied in > > > C:\Inetpub\wwwroot\CoastalAtlas\tools\maplab\maplab-2.0rc1\common\appcontext\appcontext.php > > on line 550 > > > > when trying to create a new map file, the > following error message shows up, > > it appears that the program somehow puts an extra > / before test.map > > Error Parsing test.map > > Description > > error saving map to > > > C:/Inetpub/wwwroot/CoastalAtlas/tools/maplab/maplab-2.0rc1//test.map > in > > > /tools/maplab/maplab-2.0rc1/htdocs/mapedit/action.phtml > > > > when trying to preview the demo map I get the > following warning: (however, > > I see the tools and the preview) > > > > Warning: Unlink failed (Permission denied) in > > > C:\Inetpub\wwwroot\CoastalAtlas\tools\maplab\maplab-2.0rc1\htdocs\mapedit\preview.php > > on line 264 > > > ----------------------------------------------------------------------------- > > The permission to the appropriate directories are > set to be read and writable. > > > > Any help/suggestion from you will be greatly > appreciated. > > > > thank you, > > > > Mike Tavakoli > > > -- > > Jeff McKenna > GIS Specialist > DM Solutions Group Inc. > http://www.dmsolutions.ca/ > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From woodbri@swoodbridge.com Wed Jul 3 18:43:10 2002 From: woodbri@swoodbridge.com (Stephen Woodbridge) Date: Wed, 03 Jul 2002 13:43:10 -0400 Subject: [maplab-users] Question about Legends and Layers Message-ID: <3D2337AE.6D762402@swoodbridge.com> Hi all, I have a guestion regarding Layers and Legends. History, I used maplab and gmap factory to create an application starting point then, the resulting files were modified by hand to integrate other features - mention this because it is possible that I broke something. I have two Roads layers where the only difference is that they render as different scale factors with different characteristics. In my HTML legend I always get 2 Roads lines showing one for each rendering style. What I would like to get it only one line where the icon changes based on the scale factor of the applied map since the two layer are mutually exclusive. To generalize this, I would like legend entries that can't be seen because of the scale factor to not be rendered in the legend. Why should we confused the user with a lot of extraneous legend entries that are not rendered because they are out of scale. I also tried to make the Roads layer into a group hoping that it would only show the group name in the legend, but that didn't work either :( I have a similar thing happening with ANNOTATION layers. It would be nice if I could specify what items I WANT in the legend and/or what I would like EXCLUDED from the legend. Also, if I don't NAME the layer I get a bunch of [if ... ] that looks like code in my legend. Any suggestions or ideas? -Steve From morissette@dmsolutions.ca Wed Jul 3 19:05:08 2002 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Wed, 03 Jul 2002 14:05:08 -0400 Subject: [maplab-users] Question about Legends and Layers References: <3D2337AE.6D762402@swoodbridge.com> Message-ID: <3D233CD4.38B27702@dmsolutions.ca> Stephen, I can't tell about the way GMapFactory apps deal with the legend specifically (if there are any exceptions to be aware of?), but I think you should be able to control layer visibility based on scale via the legend template. See the HTML legend docs for the full details: http://mapserver.gis.umn.edu/doc36/html-legend-howto.html Look at the opt_flag value in the [leg_layer_html] tag (or leg_group_html?) and unset bit '1' in the value (e.g. if it's opt_flag=15 then set opt_flag=14).. this will restore the default behavior which is to hide layers that are currently out of scale. About the [if ...] tags that remain there if your layer has no name, that's the intended behavior of the HTML legend template so that if you type a value that's never set in an [if...] (or do a typo) then it's not just treated as being false by default. Whether this is a good thing or not is arguable, but we thought that doing things this way would make things easier to debug. I hope that helps, Daniel Stephen Woodbridge wrote: > > Hi all, > > I have a guestion regarding Layers and Legends. > History, I used maplab and gmap factory to create an application > starting point then, the resulting files were modified by hand to > integrate other features - mention this because it is possible that I > broke something. > > I have two Roads layers where the only difference is that they render as > different scale factors with different characteristics. In my HTML > legend I always get 2 Roads lines showing one for each rendering style. > What I would like to get it only one line where the icon changes based > on the scale factor of the applied map since the two layer are mutually > exclusive. > > To generalize this, I would like legend entries that can't be seen > because of the scale factor to not be rendered in the legend. Why should > we confused the user with a lot of extraneous legend entries that are > not rendered because they are out of scale. > > I also tried to make the Roads layer into a group hoping that it would > only show the group name in the legend, but that didn't work either :( > > I have a similar thing happening with ANNOTATION layers. It would be > nice if I could specify what items I WANT in the legend and/or what I > would like EXCLUDED from the legend. > > Also, if I don't NAME the layer I get a bunch of [if ... ] that looks > like code in my legend. > > Any suggestions or ideas? > > -Steve > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users From woodbri@swoodbridge.com Wed Jul 3 20:28:28 2002 From: woodbri@swoodbridge.com (Stephen Woodbridge) Date: Wed, 03 Jul 2002 15:28:28 -0400 Subject: [maplab-users] Question about Legends and Layers References: <3D2337AE.6D762402@swoodbridge.com> <3D233CD4.38B27702@dmsolutions.ca> Message-ID: <3D23505C.2B249E22@swoodbridge.com> Daniel Morissette wrote: > I can't tell about the way GMapFactory apps deal with the legend > specifically (if there are any exceptions to be aware of?), but I think > you should be able to control layer visibility based on scale via the > legend template. > > See the HTML legend docs for the full details: > http://mapserver.gis.umn.edu/doc36/html-legend-howto.html > > Look at the opt_flag value in the [leg_layer_html] tag (or > leg_group_html?) and unset bit '1' in the value (e.g. if it's > opt_flag=15 then set opt_flag=14).. this will restore the default > behavior which is to hide layers that are currently out of scale. Oh, this works great - very cool! On more semi related question. As I zoom in on the map and a layer becomes "IN SCALE" it shows on the legend but it is always selected OFF! How do I get it to default to ON, it is set to STATUS ON in the map file, and I tried to set it to STATUS DEFAULT but it is not selected ON when you zoom into scale. You have to select if on and refresh the map which is a pain if you have a lot of layers that do this. -Steve From woodbri@swoodbridge.com Wed Jul 3 20:41:51 2002 From: woodbri@swoodbridge.com (Stephen Woodbridge) Date: Wed, 03 Jul 2002 15:41:51 -0400 Subject: [maplab-users] legend template and default layer status Message-ID: <3D23537F.841AD301@swoodbridge.com> I investigated a little more and it seem like the problem is cause by something like this scenario: 1) in the legend template I turn off out-of-scale layers 2) this means that they do not show up in the layers[] form variable if they are out of scale 3) so when the zoom in command changes scale to activate a layer it gets added to the list, but because of the following code: /* ==================================================================== * Process the layer status. * ==================================================================== */ if ( $http_form_vars["NotFirstLoad"] ) updateLayerStatus( $oMapSession->oMap, $http_form_vars ); it does not get turned on because it is not in the layers[] list and the code is not smart enough to know that it is the first time that this layer has been loaded. Does this seem right? Is there a patch or work-a-round to this problem? -Steve From pgs@magma.ca Wed Jul 3 23:16:32 2002 From: pgs@magma.ca (Paul Spencer) Date: Wed, 03 Jul 2002 18:16:32 -0400 Subject: [maplab-users] legend template and default layer status References: <3D23537F.841AD301@swoodbridge.com> Message-ID: <3D2377C0.10203@magma.ca> Stephen, I will log this as a bug for GMapFactory. There is no patch or work-around at this point. We will address it in an upcoming release hopefully. Cheers, Paul -- Paul Spencer Applications and Software Development DM Solutions Group Stephen Woodbridge wrote: >I investigated a little more and it seem like the problem is cause by >something like this scenario: > >1) in the legend template I turn off out-of-scale layers >2) this means that they do not show up in the layers[] form variable if >they are out of scale >3) so when the zoom in command changes scale to activate a layer it gets >added to the list, but because of the following code: > >/* ==================================================================== > * Process the layer status. > * ==================================================================== >*/ >if ( $http_form_vars["NotFirstLoad"] ) > updateLayerStatus( $oMapSession->oMap, $http_form_vars ); > >it does not get turned on because it is not in the layers[] list and the >code is not smart enough to know that it is the first time that this >layer has been loaded. > >Does this seem right? >Is there a patch or work-a-round to this problem? > >-Steve >_______________________________________________ >Maplab-users mailing list >Maplab-users@dmsolutions.ca >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > From pgs@magma.ca Thu Jul 4 00:27:24 2002 From: pgs@magma.ca (Paul Spencer) Date: Wed, 3 Jul 2002 19:27:24 -0400 Subject: FW: [maplab-users] few problems trying to configure maplab Message-ID: <000101c222e9$2fe33920$a600a8c0@trinity> Forgot the list, sorry. > -----Original Message----- > From: Paul Spencer [mailto:pgs@magma.ca] > Sent: Wednesday, July 03, 2002 7:27 PM > To: 'mahmoud tavakoli' > Cc: (pagameba@magma.ca) > Subject: RE: [maplab-users] few problems trying to configure maplab > > > Mike, > > Can you also add 'delete' permissions for this user to the > temporary directory pls? > > Cheers, > > Paul > -- > Paul Spencer > Applications and Software Development > DM Solutions Group > > > -----Original Message----- > > From: maplab-users-admin@dmsolutions.ca > > [mailto:maplab-users-admin@dmsolutions.ca] On Behalf Of > > mahmoud tavakoli > > Sent: Wednesday, July 03, 2002 12:46 PM > > To: maplab-users > > Subject: Re: [maplab-users] few problems trying to configure maplab > > > > > > Hi Jeff, > > thank to your help I fixed the permissions, however I > > still get this error message every time I go to map > > browser, every thing apparently works fine in the map > browser, but on > > the top I get this error message: > > > > > > Warning: Unlink failed (Permission denied) in > > C:\Inetpub\wwwroot\CoastalAtlas\tools\maplab\maplab-2.0rc1\htd > > ocs\mapedit\preview.php > > on line 264 > > > > thnx for your help > > > > Mike > > > > --- Jeff McKenna wrote: > > > Hi Mike, > > > > > > Can you verify that you have read&write permissions > > > set for the webserver user? > > > I was trying to duplicate your problems on a > > > win2k-iis machine and could not. > > > It sounds like the user-account that is accessing > > > that directory does not have > > > read&write permissions. > > > > > > Jeff > > > > > > > > > > > > > > > mahmoud tavakoli wrote: > > > > > > > > hello, > > > > > > > > I am trying to set up the maplap for the webserver > > > for the department of land > > > > conservationa and developement, however there are > > > a few problems that I can't > > > > solve and was hoping maybe you could help me. > > > > > > > > in the installation information section, > > > everything appears to be alright and > > > > checked, > > > > however, I get these error messages when trying to > > > work with maplab: > > > > > > > > > > > > > -------------------------------------------------------------- > > --------------- > > > > when trying to edit the XML Files throught the > > > web, > > > > the following warning shows up and the changes > > > don't take place: > > > > Warning: fopen("maplab.xml", "w") - > > > > Permission denied in > > > > > > > > > C:\Inetpub\wwwroot\CoastalAtlas\tools\maplab\maplab-2.0rc1\com > > mon\appcontext\appcontext.php > > > > on line 550 > > > > > > > > when trying to create a new map file, the > > > following error message shows up, > > > > it appears that the program somehow puts an extra > > > / before test.map > > > > Error Parsing test.map > > > > Description > > > > error saving map to > > > > > > > > > C:/Inetpub/wwwroot/CoastalAtlas/tools/maplab/maplab-2.0rc1//test.map > > > in > > > > > > > > > /tools/maplab/maplab-2.0rc1/htdocs/mapedit/action.phtml > > > > > > > > when trying to preview the demo map I get the > > > following warning: (however, > > > > I see the tools and the preview) > > > > > > > > Warning: Unlink failed (Permission denied) in > > > > > > > > > C:\Inetpub\wwwroot\CoastalAtlas\tools\maplab\maplab-2.0rc1\htd > > ocs\mapedit\preview.php > > > > on line 264 > > > > > > > > > -------------------------------------------------------------- > > --------------- > > > > The permission to the appropriate directories are > > > set to be read and writable. > > > > > > > > Any help/suggestion from you will be greatly > > > appreciated. > > > > > > > > thank you, > > > > > > > > Mike Tavakoli > > > > > > > > > -- > > > > > > Jeff McKenna > > > GIS Specialist > > > DM Solutions Group Inc. > > > http://www.dmsolutions.ca/ > > > _______________________________________________ > > > Maplab-users mailing list > > > Maplab-users@dmsolutions.ca > > > > > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > > > > __________________________________________________ > > Do You Yahoo!? > > Sign up for SBC Yahoo! Dial - First Month Free > > http://sbc.yahoo.com > > _______________________________________________ > > Maplab-users mailing list > > Maplab-users@dmsolutions.ca > > http://lists.dmsolutions.ca/mailman/listinfo/m> aplab-users > > > From maplab-users Fri Jul 5 14:31:46 2002 From: maplab-users (Jeff McKenna) Date: Fri, 05 Jul 2002 09:31:46 -0400 Subject: [maplab-users] few problems trying to configure maplab References: <20020703164608.99596.qmail@web9503.mail.yahoo.com> Message-ID: <3D259FC2.4E67F89B@dmsolutions.ca> Hi Mike, I can't help you with this one, some sort of permissions issue again but I haven't seen that error here. Maybe someone else on this list who's using IIS has. Sorry. Jeff mahmoud tavakoli wrote: > > Hi Jeff, > thank to your help I fixed the permissions, however I > still get this error message every time I go to map > browser, every thing apparently works fine in the map > browser, but on the top I get this error message: > > Warning: Unlink failed (Permission denied) in > C:\Inetpub\wwwroot\CoastalAtlas\tools\maplab\maplab-2.0rc1\htdocs\mapedit\preview.php > on line 264 > > thnx for your help > > Mike -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca/ From maplab-users Fri Jul 5 15:31:04 2002 From: maplab-users (Jeff McKenna) Date: Fri, 05 Jul 2002 10:31:04 -0400 Subject: [maplab-users] few problems trying to configure maplab References: <20020703164608.99596.qmail@web9503.mail.yahoo.com> Message-ID: <3D25ADA8.D31774CD@dmsolutions.ca> Mike, For the next release this error message will be suppressed (it will appear in the right-hand corner with the other warnings), however it is still a configuration issue with your machine - the web server user does not have delete permissions for that folder. Jeff mahmoud tavakoli wrote: > > Hi Jeff, > thank to your help I fixed the permissions, however I > still get this error message every time I go to map > browser, every thing apparently works fine in the map > browser, but on the top I get this error message: > > Warning: Unlink failed (Permission denied) in > C:\Inetpub\wwwroot\CoastalAtlas\tools\maplab\maplab-2.0rc1\htdocs\mapedit\preview.php > on line 264 > > thnx for your help > > Mike -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca/ From schut@gissrv.iend.wau.nl Mon Jul 8 10:46:33 2002 From: schut@gissrv.iend.wau.nl (Vincent Schut) Date: Mon, 8 Jul 2002 11:46:33 +0200 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? Message-ID: <200207081146.33946.schut@gissrv.iend.wau.nl> Got things running - a bit. Now I stumbled into the following error: in the info window, after configuring all things 'properly', in the MapScript Information section, I get the following error: MapScript Not Found - configuration problem? However, later on it says that the mapscript extension was loaded correctly into php. I tried filling in the entire path to the extension instead of just php_mapscript.so in the config field for maplab, without any difference. Should I have (a copy of) mapscript in a special place to run maplab? Or is something else wrong? All other values are OK (green crosses), except everything in the ms information section. The image types in this section (of course) also show a red cross. System is mandrake linux, php 4.1.2 (as cgi), mapserver 3.6. From pgs@magma.ca Mon Jul 8 12:39:34 2002 From: pgs@magma.ca (Paul Spencer) Date: Mon, 08 Jul 2002 07:39:34 -0400 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? References: <200207081146.33946.schut@gissrv.iend.wau.nl> Message-ID: <3D2979F6.3030602@magma.ca> Vincent, thanks for trying out MapLab. Please note that for PHP 4.1.2 there is a bug in the ImageTypes() call that causes PHP not to return GIF as a valid image format even if your GD library was built with GIF support. Apparently GIF will work. This bug is fixed in PHP 4.2.1 along with several others of relevance to the next release of MapLab. You are encouraged to upgrade to 4.2.1 if possible and practical. php_mapscript.so needs to be copied into the PHP extensions directory. You can determine this by typing `php-config --extension-dir` at a shell prompt. One caveat. This gives you the default path that PHP looks for. This can be changed in your php.ini file (likely in /etc/httpd/conf but you can see the php.ini that is being used if you load a phpinfo page), so you can also check there to see if you have a line similar to `extension_dir = /some/path`. If this line is in your php.ini and not commented out, then you should place mapscript there. In your configuration file, you should just put the name php_mapscript.so. No path is required and in fact it won't work if you do. For MapServer, you should upgrade to 3.6.2 if possible. If you are using mapserver from cvs, you can get it using cvs update -r rel-3-6-0-beta1 (yes, this is the branch name), otherwise you may have to wait for a formal release of 3.6.2. (Version 3.6.1 will work with your current version of MapLab, the new version is required for the latest MapLab to be released today I hope). A simple test for determining if MapScript is set up properly is to create a new php page somewhere in your web root: When you access this page, you should see no errors at the top and a MapScript section about 2/3rds of the way down. Please try this and get back to us. Cheers, Paul Spencer Applications and Software Development DM Solutions Group Vincent Schut wrote: >Got things running - a bit. Now I stumbled into the following error: in the >info window, after configuring all things 'properly', in the MapScript >Information section, I get the following error: MapScript Not Found - >configuration problem? However, later on it says that the mapscript extension >was loaded correctly into php. I tried filling in the entire path to the >extension instead of just php_mapscript.so in the config field for maplab, >without any difference. Should I have (a copy of) mapscript in a special >place to run maplab? Or is something else wrong? >All other values are OK (green crosses), except everything in the ms >information section. The image types in this section (of course) also show a >red cross. > >System is mandrake linux, php 4.1.2 (as cgi), mapserver 3.6. >_______________________________________________ >Maplab-users mailing list >Maplab-users@dmsolutions.ca >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > From morissette@dmsolutions.ca Mon Jul 8 14:47:13 2002 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Mon, 08 Jul 2002 09:47:13 -0400 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? References: <200207081146.33946.schut@gissrv.iend.wau.nl> <3D2979F6.3030602@magma.ca> Message-ID: <3D2997E1.5ED6EB43@dmsolutions.ca> Paul Spencer wrote: > > A simple test for determining if MapScript is set up properly is to > create a new php page somewhere in your web root: > > dl("MapScript"); > phpinfo(); > ?> > You probably meant: -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From maplab-users Tue Jul 9 21:19:30 2002 From: maplab-users (Jeff McKenna) Date: Tue, 09 Jul 2002 16:19:30 -0400 Subject: [maplab-users] MapLab v2.0 release candidate 2 released Message-ID: <3D2B4552.651CBC4B@dmsolutions.ca> Hello everyone, We are pleased to announce that we have released MapLab 2.0 release candidate 2. It is available on our download page at: http://www2.dmsolutions.ca/webtools/maplab/maplab_dl.html This release also includes a MapLab tutorial/getting-started manual, which can also be viewed on the MapLab documentation page at: http://www2.dmsolutions.ca/webtools/maplab/maplab_docs.html This is a big improvement from the 2.0rc1 release, and we need to thank everyone for their continued feedback. That said, it is still in the "release candidate" stage and several issues remain to be dealt with. We hope you will continue sending us your problems, questions, and suggestions. Thanks again. Jeff -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca/ From gvaldes@conama.cl Tue Jul 9 22:35:21 2002 From: gvaldes@conama.cl (=?iso-8859-1?Q?Gonzalo_Vald=E9s?=) Date: Tue, 9 Jul 2002 17:35:21 -0400 Subject: [maplab-users] MapServer Error in msSaveImage() Message-ID: Hi, I have configure Map Server last week and takes me a while to understand the map file structure (I'm new at GIS as well) but I put it to work. So, when i find out MapLab I want to tray it a.s.p.. I'm working in a Linux RedHat 7.2 machine, and i had apache copiled from the source whith php 4.2.1 (static) so I recompile my PHP source whith the options: ---------------------------------------------------------------------------- ------- './configure' '--with-system-regex' '--with-gd' '--enable-shared' '--with-ttf' '--enable-gd-native-ttf' '--enable-force-cgi-redirect' '--enable-dbase' '--with-xml' '--with-mysql=/usr/local/mysql' ---------------------------------------------------------------------------- ------- Install the CGI executable and get reconfigured my httpd.conf so PHP is now run as a CGI. Then I recompiled my mapserver source and install the php_mapscrip.so and every thing looks ok. whith the mapscript part when I run: phpinfo_mapscript.phtml ---------------------------------------------------------------------------- ------------- MapScript MapScript Version ($Revision: 1.104.2.1 $ $Date: 2002/06/03 14:19:53 $) MapServer version 3.6.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE ---------------------------------------------------------------------------- ------------ Then I install MapLab and try to configure it from the index.phtml but at ferst it sed somthin like "This is a only read file can not be modify......" So I chance the permissions on all files on the config directory so make them writable as well as the projects and data directory. The tmp directory is 777 so I didn't change anything. Then the interface to configure MapLab seems ok, (showing enviromet variables proposed for seting) but it didn't write the changes. (I don't know if any body had this same problem. I'm using: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513, but after I tray from IE and work find) So I edit the files manually and then thins looks like ok, I can get into the MapEdit and load a map file, but when i tray to make a preview, I get the masage: ---------------------------------------------------------------------------- ---- Warning: MapServer Error in msSaveImage(): (set in index.html1026249072259701.gif) in /home/www/mapas/maplab/htdocs/mapedit/preview.php on line 374 Fatal error: Failed writing image to set in index.html1026249072259701.gif in /home/www/mapas/maplab/htdocs/mapedit/preview.php on line 374 ---------------------------------------------------------------------------- ---- I notice a .gif formatin this (and my image_type is PNG) so I went to line 374 and find: ---------------------------------------------------------------------------- ---- //if (!session_is_registered("gszImageType")) $urlMainMap = $imgMainMap->saveWebImage(MS_GIF, 0, 0, -1); //else // eval("\$urlMainMap = \$imgMainMap->saveWebImage(MS_".$gszImageType.", 0, 0, -1);"); ---------------------------------------------------------------------------- ---- So I tray to uncoment this lines but still get errors: ---------------------------------------------------------------------------- ---- Warning: MapServer Error in msSaveImage(): (set in index.html1026249407259801.png) in /home/www/mapas/maplab/htdocs/mapedit/preview.php(376) : eval()'d code on line 1 Fatal error: Failed writing image to set in index.html1026249407259801.png in /home/www/mapas/maplab/htdocs/mapedit/preview.php(376) : eval()'d code on line 1 ---------------------------------------------------------------------------- ---- So I coment this lines again, and decide to ask for help. I thougth it may be some permissions promblems, but I'm using the same tmp directory than my mapserver script and it works. I will thanks any help, (...........and please......... forgive my Inglish) Gonzalo Valdes M. Santiago CHILE From pgs@magma.ca Wed Jul 10 02:46:19 2002 From: pgs@magma.ca (Paul Spencer) Date: Tue, 9 Jul 2002 21:46:19 -0400 Subject: [maplab-users] MapServer Error in msSaveImage() In-Reply-To: Message-ID: <002601c227b3$96980690$a700a8c0@trinity> Gonzalo, can you pls send me your maplab.xml file (directly to me is okay) I think it may be a configuration problem. Cheers, Paul Spencer Applications and Software Development DM Solutions Group > -----Original Message----- > From: maplab-users-admin@dmsolutions.ca > [mailto:maplab-users-admin@dmsolutions.ca] On Behalf Of Gonzalo Valdés > Sent: Tuesday, July 09, 2002 5:35 PM > To: 'maplab-users@dmsolutions.ca' > Subject: [maplab-users] MapServer Error in msSaveImage() > > > Hi, I have configure Map Server last week and takes me a > while to understand the map file structure (I'm new at GIS as > well) but I put it to work. So, when i find out MapLab I want > to tray it a.s.p.. > I'm working in a Linux RedHat 7.2 machine, and i had apache > copiled from the source whith php 4.2.1 (static) so I > recompile my PHP source whith the > options: > -------------------------------------------------------------- > -------------- > ------- > './configure' '--with-system-regex' '--with-gd' > '--enable-shared' '--with-ttf' '--enable-gd-native-ttf' > '--enable-force-cgi-redirect' '--enable-dbase' '--with-xml' > '--with-mysql=/usr/local/mysql' > -------------------------------------------------------------- > -------------- > ------- > Install the CGI executable and get reconfigured my > httpd.conf so PHP is now run as a CGI. > > Then I recompiled my mapserver source and install the > php_mapscrip.so and every thing looks ok. > whith the mapscript part when I run: phpinfo_mapscript.phtml > -------------------------------------------------------------- > -------------- > ------------- > MapScript > > MapScript Version ($Revision: 1.104.2.1 $ $Date: 2002/06/03 > 14:19:53 $) > MapServer version 3.6.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP > SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE > -------------------------------------------------------------- > -------------- > ------------ > > Then I install MapLab and try to configure it from the > index.phtml but at ferst it sed somthin like "This is a only > read file can not be modify......" > > So I chance the permissions on all files on the config > directory so make them writable as well as the projects and > data directory. The tmp directory is 777 so I didn't change anything. > Then the interface to configure MapLab seems ok, (showing > enviromet variables proposed for seting) but it didn't write > the changes. (I don't know if any body had this same problem. > I'm using: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) > Gecko/20020513, but after I tray from IE and work find) > > So I edit the files manually and then thins looks like ok, I > can get into the MapEdit and load a map file, but when i tray > to make a preview, I get the masage: > -------------------------------------------------------------- > -------------- > ---- > Warning: MapServer Error in msSaveImage(): (set in > index.html1026249072259701.gif) in > /home/www/mapas/maplab/htdocs/mapedit/preview.php on line 374 > > Fatal error: Failed writing image to set in > index.html1026249072259701.gif in > /home/www/mapas/maplab/htdocs/mapedit/preview.php on line 374 > -------------------------------------------------------------- > -------------- > ---- > > I notice a .gif formatin this (and my image_type is PNG) so I > went to line 374 and find: > -------------------------------------------------------------- > -------------- > ---- > //if (!session_is_registered("gszImageType")) > $urlMainMap = $imgMainMap->saveWebImage(MS_GIF, 0, 0, -1); > //else > // eval("\$urlMainMap = > \$imgMainMap->saveWebImage(MS_".$gszImageType.", > 0, 0, -1);"); > -------------------------------------------------------------- > -------------- > ---- > > So I tray to uncoment this lines but still get errors: > -------------------------------------------------------------- > -------------- > ---- > > Warning: MapServer Error in msSaveImage(): (set in > index.html1026249407259801.png) in > /home/www/mapas/maplab/htdocs/mapedit/preview.php(376) : > eval()'d code on line 1 > > Fatal error: Failed writing image to set in > index.html1026249407259801.png in > /home/www/mapas/maplab/htdocs/mapedit/preview.php(376) : > eval()'d code on line 1 > -------------------------------------------------------------- > -------------- > ---- > > So I coment this lines again, and decide to ask for help. > > I thougth it may be some permissions promblems, but I'm using > the same tmp directory than my mapserver script and it works. > > I will thanks any help, (...........and please......... > forgive my Inglish) > > Gonzalo Valdes M. > Santiago > CHILE > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/m> aplab-users > From pgs@magma.ca Thu Jul 11 03:34:13 2002 From: pgs@magma.ca (Paul Spencer) Date: Wed, 10 Jul 2002 22:34:13 -0400 Subject: [maplab-users] RE: MapServer Error in msSaveImage() In-Reply-To: Message-ID: <003301c22883$72413ca0$a700a8c0@trinity> Gonzalo, you probably haven’t set an IMAGETYPE property in your Map object. If IMAGETYPE is not set then it will default to GIF. Your mapscript doesn't support GIF output, so you need to set this to PNG or JPEG .... But ROSA doesn't support PNG in most browsers except very new IE and perhaps Netscape (depends on Java runtime version), so you will likely need to choose JPEG or add GIF support (if legal) to your mapscript (there are many references to this on the mapserver list). Cheers, Paul > -----Original Message----- > From: Gonzalo Valdés [mailto:gvaldes@conama.cl] > Sent: Wednesday, July 10, 2002 6:36 PM > To: 'Paul Spencer ' > Subject: RE: MapServer Error in msSaveImage() > > > Paul, thanks a lot. It finally work. > > But i have find some problem you problaly want to see > After I change my map file to set the values right there (I > have the rights values configured in the template.html file > and a reference in my map file, just like the one in the demo: > > IMAGEPATH "set in demo_init.html" > IMAGEURL "set in demo_init.html" > > But when i did the changes, a ERROR like this shows up: > ---------------------------------- > Warning: MapServer Error in msSaveImage(): GIF output is not > available. in > /home/www/mapas/maplab/htdocs/mapedit/preview.php on line 374 > > Fatal error: Failed writing image to > /home/www/mapas/tmp/10263402653171.gif > in /home/www/mapas/maplab/htdocs/mapedit/preview.php on line 374 > ---------------------------------- > > So I went to line 374 and uncoment the lines arround it and > it works OK. > > Thank, and congratulation for your development and good weel > to answer every body questions. > > Gonzalo Valdes. > Santiago > CHILE > > > -----Original Message----- > From: Paul Spencer > To: 'Gonzalo Valdés' > Cc: pagameba@magma.ca > Sent: 7/10/02 5:45 PM > Subject: RE: MapServer Error in msSaveImage() > > Okay, your map file needs to be in sync with your maplab.xml > file. You need to have a web object in the map file. If you > check this web object, there are two parameters that relate > to this problem. These are probably set to their default > values (if they are there): > > IMAGEPATH "/tmp/ms_tmp/" > IMAGEURL "/ms_tmp/" > > However, in your maplab.xml file you have > > /home/www/mapas/tmp/ > > for the image path, so in the map file, your map file should > have IMAGEPATH "/home/www/mapas/tmp/" > > And you have > > http://sinia.cl/mapas/tmp/ > > for the image url, this should be changed to /mapas/tmp/, and > in your map file, you will need IMAGEURL "/mapas/tmp/" > > I hope this is the problem. If not, can you send me the map > file you are trying to use. > > Cheers, > > Paul > > > > > > > From Peter.Bruton@CCRS.NRCan.gc.ca Fri Jul 12 17:04:28 2002 From: Peter.Bruton@CCRS.NRCan.gc.ca (Bruton, Peter) Date: Fri, 12 Jul 2002 12:04:28 -0400 Subject: [maplab-users] dropdown list and direct value entry Message-ID: <7CDD7B94357FD5119E800002A537C46EB0FC9D@s5-ccr-r1.ccrs.nrcan.gc.ca> Hello; There seems to be a problem with property specification for those properties that have both a drop-down list of preset values and direct entry through a text entry box. I added a Label object to a class. When I specified the Size property I selected one of the options (SMALL) from the drop-down list. I decided to change the Size value by entering an integer value in the text entry box (20). After clicking on the Apply Changes button, the integer value was not saved. SMALL appeared in the text entry box. All properties that have both the drop-down list and direct entry in the Label object form have the same behavior. A work around does exist. Integer values for Size can be entered directly in the map file via the Edit Source button. After entering the Size value in integer format and pressing the Apply button, the Size in integers appears in the Label object's Size property. Peter Bruton GeoAccess Division Canada Centre for Remote Sensing 615 Booth Street, Room 650 Ottawa, Ontario, K1A 0E9, Canada telephone 1-613-947-0465 fax 1-613-947-2410 From pgs@magma.ca Fri Jul 12 19:07:10 2002 From: pgs@magma.ca (Paul Spencer) Date: Fri, 12 Jul 2002 14:07:10 -0400 Subject: [maplab-users] dropdown list and direct value entry References: <7CDD7B94357FD5119E800002A537C46EB0FC9D@s5-ccr-r1.ccrs.nrcan.gc.ca> Message-ID: <3D2F1ACE.9050206@magma.ca> Thanks Peter, I've entered this as a bug and we will address it soon. Cheers, Paul -- Paul Spencer Applications and Software Development DM Solutions Group Bruton, Peter wrote: >Hello; > >There seems to be a problem with property specification for those properties >that have both a drop-down list of preset values and direct entry through a >text entry box. > >I added a Label object to a class. When I specified the Size property I >selected one of the options (SMALL) from the drop-down list. I decided to >change the Size value by entering an integer value in the text entry box >(20). After clicking on the Apply Changes button, the integer value was not >saved. SMALL appeared in the text entry box. > >All properties that have both the drop-down list and direct entry in the >Label object form have the same behavior. > >A work around does exist. Integer values for Size can be entered directly >in the map file via the Edit Source button. After entering the Size value >in integer format and pressing the Apply button, the Size in integers >appears in the Label object's Size property. > >Peter Bruton >GeoAccess Division >Canada Centre for Remote Sensing >615 Booth Street, Room 650 >Ottawa, Ontario, K1A 0E9, Canada >telephone 1-613-947-0465 >fax 1-613-947-2410 > >_______________________________________________ >Maplab-users mailing list >Maplab-users@dmsolutions.ca >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > From Mike.Adair@CCRS.NRCan.gc.ca Tue Jul 16 14:54:39 2002 From: Mike.Adair@CCRS.NRCan.gc.ca (Adair, Mike) Date: Tue, 16 Jul 2002 09:54:39 -0400 Subject: [maplab-users] configuration trouble Message-ID: <7CDD7B94357FD5119E800002A537C46E22C8DB@s5-ccr-r1.ccrs.nrcan.gc.ca> Hi I'm having a little trouble getting MapLab configured correctly. The symptoms are: - config Info reports all green checkmarks (except for GIF support) - when I try to do MapEdit, all buttons except "openMap" are greyed out - when I click on OpenMap, it points to the directory c:/maplab/common/file_browser, which isn't the directory I specified in the config as file browser root ("c:\") and I can't browse the directory either. I am working on Win2k workstation with IIS. I suspect it is a permission problem but I am having trouble tracking it down. Any ideas? Michael Adair Canada Centre for Remote Sensing email: mike.adair@ccrs.nrcan.gc.ca phone: (613)947-1342 Try out the Quicklook Swath Browser: http://ceocat.ccrs.nrcan.gc.ca/quicklook From woodbri@swoodbridge.com Tue Jul 16 15:44:19 2002 From: woodbri@swoodbridge.com (woodbri@swoodbridge.com) Date: Tue, 16 Jul 2002 10:44:19 -0400 Subject: [maplab-users] Rosa vs HTML mode Message-ID: <3D33F903.4440.86119A5@localhost> Hi all, Question on Rosa vs HTML mode maps. 1) will GmapFactory support generating apps the can be switched between Rosa and HTML by the web user? 2) looking at the code for .php in function drawMainMap() there is an if ( $nRosa ... block and in the else section you have: // otherwise draw a regular map printf ( "", $oMap->width, $oMap->height ); printf ( "", $PrevStateKey, $oMap->width, $oMap->height ); It seems strange that you call drawmap.php here instead of say drawmap.phtml as your convention seems to be that *.php files are includes and *.phtml files are files that get executed directly. -Steve From pgs@magma.ca Tue Jul 16 16:08:05 2002 From: pgs@magma.ca (Paul Spencer) Date: Tue, 16 Jul 2002 11:08:05 -0400 Subject: [maplab-users] Rosa vs HTML mode References: <3D33F903.4440.86119A5@localhost> Message-ID: <3D3436D5.1030203@magma.ca> Steve, GMapFactory will provide an option for switching shortly, we couldn't squeeze it in for the last release. It will also have an option for adding a 'Map Size' box to the generated application. With regards to the php/phtml thing, the convention we use is that .php files normally contain only PHP code (but the code can create HTML) and are not referenced directly by a user in the address bar, .phtml files are loaded directly by a browser. We 'try' to stick to this but some cases, it's a difficult call. For drawmap.php, it isn't referenced directly and doesn't generate any HTML output, just an image, hence the .php name. Hope that helps you make sense of our code, Cheers, Paul -- Paul Spencer Applications and Software Development DM Solutions Group woodbri@swoodbridge.com wrote: >Hi all, > >Question on Rosa vs HTML mode maps. > >1) will GmapFactory support generating apps the can be switched >between Rosa and HTML by the web user? > >2) looking at the code for .php in function >drawMainMap() there is an if ( $nRosa ... block and in the else >section you have: > > // otherwise draw a regular map > printf ( "height=\"%d\">", $oMap->width, $oMap->height ); > printf ( "src=\"drawmap.php?PrevStateKey=%s\" border=0 width=\"%d\" >height=\"%d\" name=\"mainmap\">", $PrevStateKey, $oMap->width, >$oMap->height ); > >It seems strange that you call drawmap.php here instead of say >drawmap.phtml as your convention seems to be that *.php files are >includes and *.phtml files are files that get executed directly. > >-Steve >_______________________________________________ >Maplab-users mailing list >Maplab-users@dmsolutions.ca >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > From woodbri@swoodbridge.com Tue Jul 16 16:37:44 2002 From: woodbri@swoodbridge.com (woodbri@swoodbridge.com) Date: Tue, 16 Jul 2002 11:37:44 -0400 Subject: [maplab-users] Some new ideas for maplab Message-ID: <3D340588.29406.892012B@localhost> Hi all, I have an idea for a significant feature(s) for maplab that would make it easier to integrate application addons into maplab created applications. The idea would be to define a/some API that a developer could build an addon to that could then be added directly into maplab when building an application. For example, adding a control to the page that would allow the user to select items from a multiple select box that would dynamically generate layers and add them to the map. Addon developer would need to supply: 1) a php snippet to generate the html form element 2) a php snippet that would generate the layers and add them to the map based on input from the form element 3) other stuff ?? then maplab could request a directory for the addon, merge the snippets with existing maplab code and gmapfactory could control the position of the html form element. There may be additional php snippets required to handle queries and/or query results. Another example would integrating an address lookup application where: 1) there is an html form element to enter the address information 2) there is a URL that will regenerate the map at a new location based on adding x=&y=&dx=&dy= or minx=&miny=&maxx=&maxy= 3) a php snippet that takes the form input and does the address lookup and if errors occur generates appropriate user error messages or does a redirect to a new map for the looked up address. The cool thing about this would be that you would start an industry or at least a collection of addons that would increase the overall value of the maplab by making it easy to add things like customized database or geocoding or routing applications that third parties might develop. It would make it easy to merge multiple addons into a single application. It would make it easier to upgrade to new mapedit features over time and to reintegrate addons when upgrading. Yes, this is a little self-serving because I have application that I could integrate, but I think others do also and the value to the end users would be faster time to market and a great array of options and applications that can easily be integrated. So food for thought! and I would be willing to work with you one something like this. -Steve From maplab-users Tue Jul 16 17:05:27 2002 From: maplab-users (Jeff McKenna) Date: Tue, 16 Jul 2002 12:05:27 -0400 Subject: [maplab-users] configuration trouble References: <7CDD7B94357FD5119E800002A537C46E22C8DB@s5-ccr-r1.ccrs.nrcan.gc.ca> Message-ID: <3D344447.58C05EA9@dmsolutions.ca> Hi Mike, I am testing on a Win2K-IIS machine as well. In the configuration editor, if I don't change the parameter "maplab.xml path:" in the MapEdit tab and leave it as "MUST CHANGE" I get your problems - all icons greyed out except "Open Map File", and the file browser opens to c:/.../common/file_browser. Can you verify that you have set the maplab.xml path in the MapEdit tab? Thanks. In my case if I set the maplab.xml path to c:/msapps/maplab-2.0rc2/config/maplab.xml the problems go away. Jeff "Adair, Mike" wrote: > > Hi > > I'm having a little trouble getting MapLab configured correctly. The > symptoms are: > - config Info reports all green checkmarks (except for GIF support) > - when I try to do MapEdit, all buttons except "openMap" are greyed out > - when I click on OpenMap, it points to the directory > c:/maplab/common/file_browser, which isn't the directory I specified in the > config as file browser root ("c:\") and I can't browse the directory either. > > I am working on Win2k workstation with IIS. > > I suspect it is a permission problem but I am having trouble tracking it > down. Any ideas? > > Michael Adair > Canada Centre for Remote Sensing > email: mike.adair@ccrs.nrcan.gc.ca > phone: (613)947-1342 > Try out the Quicklook Swath Browser: > http://ceocat.ccrs.nrcan.gc.ca/quicklook > -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca/ From Mike.Adair@CCRS.NRCan.gc.ca Tue Jul 16 17:27:03 2002 From: Mike.Adair@CCRS.NRCan.gc.ca (Adair, Mike) Date: Tue, 16 Jul 2002 12:27:03 -0400 Subject: [maplab-users] configuration trouble Message-ID: <7CDD7B94357FD5119E800002A537C46E22C8DD@s5-ccr-r1.ccrs.nrcan.gc.ca> Hi Jeff, Thanks. Changed the path to maplab.xml to the full path (it was set as just "maplab.xml") and it now seems to be working for me. The strange thing is that I could swear I had tried that except I was getting php errors about opening some files. Thanks for the help. Mike -----Original Message----- From: Jeff McKenna [mailto:mckenna@dmsolutions.ca] Sent: Tuesday, July 16, 2002 12:05 PM To: Adair, Mike Cc: maplab-users Subject: Re: [maplab-users] configuration trouble Hi Mike, I am testing on a Win2K-IIS machine as well. In the configuration editor, if I don't change the parameter "maplab.xml path:" in the MapEdit tab and leave it as "MUST CHANGE" I get your problems - all icons greyed out except "Open Map File", and the file browser opens to c:/.../common/file_browser. Can you verify that you have set the maplab.xml path in the MapEdit tab? Thanks. In my case if I set the maplab.xml path to c:/msapps/maplab-2.0rc2/config/maplab.xml the problems go away. Jeff "Adair, Mike" wrote: > > Hi > > I'm having a little trouble getting MapLab configured correctly. The > symptoms are: > - config Info reports all green checkmarks (except for GIF support) > - when I try to do MapEdit, all buttons except "openMap" are greyed out > - when I click on OpenMap, it points to the directory > c:/maplab/common/file_browser, which isn't the directory I specified in the > config as file browser root ("c:\") and I can't browse the directory either. > > I am working on Win2k workstation with IIS. > > I suspect it is a permission problem but I am having trouble tracking it > down. Any ideas? > > Michael Adair > Canada Centre for Remote Sensing > email: mike.adair@ccrs.nrcan.gc.ca > phone: (613)947-1342 > Try out the Quicklook Swath Browser: > http://ceocat.ccrs.nrcan.gc.ca/quicklook > -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca/ From schut@gissrv.iend.wau.nl Wed Jul 17 11:47:49 2002 From: schut@gissrv.iend.wau.nl (Vincent Schut) Date: Wed, 17 Jul 2002 12:47:49 +0200 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? In-Reply-To: <3D2979F6.3030602@magma.ca> References: <200207081146.33946.schut@gissrv.iend.wau.nl> <3D2979F6.3030602@magma.ca> Message-ID: <200207171247.49236.schut@gissrv.iend.wau.nl> This is a multi-part message in MIME format... ------------=_1026913677-17412-44 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Recompiled, installed etc. new php (4.2.1) and mapserver/mapscript.=0D However, the problem of the undetected mapscript by maplab appeared to be = =0D something different. After recompiling etc. mapscript still was not detecte= d =0D by maplab, till I removed the '!' from line 74 of the info.php file. This = =0D line now looks like this:=0D =0D if (extension_loaded("MapScript"))=0D =0D instead of:=0D =0D if !(extension_loaded("MapScript"))=0D =0D Now mapscript gets detected properly.=0D =0D So this might be some kind of bug (or feature :-))=0D =0D maybe because I do load mapscript from my php.ini, and not with dl() in a = =0D separate php file?=0D =0D Well, now things seem to work I'll start testing maplab... :)=0D =0D Cheers,=0D Vincent.=0D =0D On Monday 08 July 2002 13:39, Paul Spencer wrote:=0D > Vincent, thanks for trying out MapLab.=0D >=0D > Please note that for PHP 4.1.2 there is a bug in the ImageTypes() call=0D > that causes PHP not to return GIF as a valid image format even if your=0D > GD library was built with GIF support. Apparently GIF will work. This= =0D > bug is fixed in PHP 4.2.1 along with several others of relevance to the= =0D > next release of MapLab. You are encouraged to upgrade to 4.2.1 if=0D > possible and practical.=0D >=0D > php_mapscript.so needs to be copied into the PHP extensions directory.=0D > You can determine this by typing `php-config --extension-dir` at a=0D > shell prompt. One caveat. This gives you the default path that PHP=0D > looks for. This can be changed in your php.ini file (likely in=0D > /etc/httpd/conf but you can see the php.ini that is being used if you=0D > load a phpinfo page), so you can also check there to see if you have a=0D > line similar to `extension_dir =3D /some/path`. If this line is in your= =0D > php.ini and not commented out, then you should place mapscript there.=0D >=0D > In your configuration file, you should just put the name=0D > php_mapscript.so. No path is required and in fact it won't work if you d= o.=0D >=0D > For MapServer, you should upgrade to 3.6.2 if possible. If you are=0D > using mapserver from cvs, you can get it using cvs update -r=0D > rel-3-6-0-beta1 (yes, this is the branch name), otherwise you may have=0D > to wait for a formal release of 3.6.2. (Version 3.6.1 will work with=0D > your current version of MapLab, the new version is required for the=0D > latest MapLab to be released today I hope).=0D >=0D > A simple test for determining if MapScript is set up properly is to=0D > create a new php page somewhere in your web root:=0D >=0D > dl("MapScript");=0D > phpinfo();=0D > ?>=0D >=0D > When you access this page, you should see no errors at the top and a=0D > MapScript section about 2/3rds of the way down.=0D >=0D > Please try this and get back to us.=0D >=0D > Cheers,=0D >=0D > Paul Spencer=0D > Applications and Software Development=0D > DM Solutions Group=0D >=0D > Vincent Schut wrote:=0D > >Got things running - a bit. Now I stumbled into the following error: in= =0D > > the info window, after configuring all things 'properly', in the=0D > > MapScript Information section, I get the following error: MapScript Not= =0D > > Found - configuration problem? However, later on it says that the=0D > > mapscript extension was loaded correctly into php. I tried filling in t= he=0D > > entire path to the extension instead of just php_mapscript.so in the=0D > > config field for maplab, without any difference. Should I have (a copy= =0D > > of) mapscript in a special place to run maplab? Or is something else=0D > > wrong?=0D > >All other values are OK (green crosses), except everything in the ms=0D > >information section. The image types in this section (of course) also sh= ow=0D > > a red cross.=0D > >=0D > >System is mandrake linux, php 4.1.2 (as cgi), mapserver 3.6.=0D > >_______________________________________________=0D > >Maplab-users mailing list=0D > >Maplab-users@dmsolutions.ca=0D > >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users=0D =0D --- Stichting BOS kleurt de wereld GROEN!=20 Kleur mee op http://www.stichtingbos.nl/ ------------=_1026913677-17412-44-- From schut@gissrv.iend.wau.nl Wed Jul 17 13:59:13 2002 From: schut@gissrv.iend.wau.nl (Vincent Schut) Date: Wed, 17 Jul 2002 14:59:13 +0200 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? In-Reply-To: <3D2979F6.3030602@magma.ca> References: <200207081146.33946.schut@gissrv.iend.wau.nl> <3D2979F6.3030602@magma.ca> Message-ID: <200207171459.13783.schut@gissrv.iend.wau.nl> This is a multi-part message in MIME format... ------------=_1026921560-17412-55 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline hmmm=0D =0D refering my last mail about the mapscript detection being solved... This = =0D doesn't work anymore in the RC2 version I just installed...=0D Any clue?=0D mapscript is loaded in php.ini=0D the phpinfo.php shows a mapscript section=0D tht php section in the maplab info.phtml says that mapscript was loaded int= o =0D php=0D but mapscript is *not* detected in the maplab section...=0D whyowhyowhy???=0D =0D Cheers Vincent.=0D =0D On Monday 08 July 2002 13:39, Paul Spencer wrote:=0D > Vincent, thanks for trying out MapLab.=0D >=0D > Please note that for PHP 4.1.2 there is a bug in the ImageTypes() call=0D > that causes PHP not to return GIF as a valid image format even if your=0D > GD library was built with GIF support. Apparently GIF will work. This= =0D > bug is fixed in PHP 4.2.1 along with several others of relevance to the= =0D > next release of MapLab. You are encouraged to upgrade to 4.2.1 if=0D > possible and practical.=0D >=0D > php_mapscript.so needs to be copied into the PHP extensions directory.=0D > You can determine this by typing `php-config --extension-dir` at a=0D > shell prompt. One caveat. This gives you the default path that PHP=0D > looks for. This can be changed in your php.ini file (likely in=0D > /etc/httpd/conf but you can see the php.ini that is being used if you=0D > load a phpinfo page), so you can also check there to see if you have a=0D > line similar to `extension_dir =3D /some/path`. If this line is in your= =0D > php.ini and not commented out, then you should place mapscript there.=0D >=0D > In your configuration file, you should just put the name=0D > php_mapscript.so. No path is required and in fact it won't work if you d= o.=0D >=0D > For MapServer, you should upgrade to 3.6.2 if possible. If you are=0D > using mapserver from cvs, you can get it using cvs update -r=0D > rel-3-6-0-beta1 (yes, this is the branch name), otherwise you may have=0D > to wait for a formal release of 3.6.2. (Version 3.6.1 will work with=0D > your current version of MapLab, the new version is required for the=0D > latest MapLab to be released today I hope).=0D >=0D > A simple test for determining if MapScript is set up properly is to=0D > create a new php page somewhere in your web root:=0D >=0D > dl("MapScript");=0D > phpinfo();=0D > ?>=0D >=0D > When you access this page, you should see no errors at the top and a=0D > MapScript section about 2/3rds of the way down.=0D >=0D > Please try this and get back to us.=0D >=0D > Cheers,=0D >=0D > Paul Spencer=0D > Applications and Software Development=0D > DM Solutions Group=0D >=0D > Vincent Schut wrote:=0D > >Got things running - a bit. Now I stumbled into the following error: in= =0D > > the info window, after configuring all things 'properly', in the=0D > > MapScript Information section, I get the following error: MapScript Not= =0D > > Found - configuration problem? However, later on it says that the=0D > > mapscript extension was loaded correctly into php. I tried filling in t= he=0D > > entire path to the extension instead of just php_mapscript.so in the=0D > > config field for maplab, without any difference. Should I have (a copy= =0D > > of) mapscript in a special place to run maplab? Or is something else=0D > > wrong?=0D > >All other values are OK (green crosses), except everything in the ms=0D > >information section. The image types in this section (of course) also sh= ow=0D > > a red cross.=0D > >=0D > >System is mandrake linux, php 4.1.2 (as cgi), mapserver 3.6.=0D > >_______________________________________________=0D > >Maplab-users mailing list=0D > >Maplab-users@dmsolutions.ca=0D > >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users=0D =0D --- Stichting BOS kleurt de wereld GROEN!=20 Kleur mee op http://www.stichtingbos.nl/ ------------=_1026921560-17412-55-- From pgs@magma.ca Wed Jul 17 14:32:47 2002 From: pgs@magma.ca (Paul Spencer) Date: Wed, 17 Jul 2002 09:32:47 -0400 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? References: <200207081146.33946.schut@gissrv.iend.wau.nl> <3D2979F6.3030602@magma.ca> <200207171459.13783.schut@gissrv.iend.wau.nl> Message-ID: <3D3571FF.804@magma.ca> Vincent ... can you try removing mapscript from the php.ini and see what happens? I suspect this is the problem and we will work to correct it. Cheers Paul Spencer Applications and Software Development DM Solutions Group Vincent Schut wrote: >hmmm > > > >refering my last mail about the mapscript detection being solved... This > >doesn't work anymore in the RC2 version I just installed... > >Any clue? > >mapscript is loaded in php.ini > >the phpinfo.php shows a mapscript section > >tht php section in the maplab info.phtml says that mapscript was loaded into > >php > >but mapscript is *not* detected in the maplab section... > >whyowhyowhy??? > > > >Cheers Vincent. > > > >On Monday 08 July 2002 13:39, Paul Spencer wrote: > > > >>Vincent, thanks for trying out MapLab. >> >> > > > > > > >>Please note that for PHP 4.1.2 there is a bug in the ImageTypes() call >> >> > > > >>that causes PHP not to return GIF as a valid image format even if your >> >> > > > >>GD library was built with GIF support. Apparently GIF will work. This >> >> > > > >>bug is fixed in PHP 4.2.1 along with several others of relevance to the >> >> > > > >>next release of MapLab. You are encouraged to upgrade to 4.2.1 if >> >> > > > >>possible and practical. >> >> > > > > > > >>php_mapscript.so needs to be copied into the PHP extensions directory. >> >> > > > >> You can determine this by typing `php-config --extension-dir` at a >> >> > > > >>shell prompt. One caveat. This gives you the default path that PHP >> >> > > > >>looks for. This can be changed in your php.ini file (likely in >> >> > > > >>/etc/httpd/conf but you can see the php.ini that is being used if you >> >> > > > >>load a phpinfo page), so you can also check there to see if you have a >> >> > > > >>line similar to `extension_dir = /some/path`. If this line is in your >> >> > > > >>php.ini and not commented out, then you should place mapscript there. >> >> > > > > > > >>In your configuration file, you should just put the name >> >> > > > >>php_mapscript.so. No path is required and in fact it won't work if you do. >> >> > > > > > > >>For MapServer, you should upgrade to 3.6.2 if possible. If you are >> >> > > > >>using mapserver from cvs, you can get it using cvs update -r >> >> > > > >>rel-3-6-0-beta1 (yes, this is the branch name), otherwise you may have >> >> > > > >>to wait for a formal release of 3.6.2. (Version 3.6.1 will work with >> >> > > > >>your current version of MapLab, the new version is required for the >> >> > > > >>latest MapLab to be released today I hope). >> >> > > > > > > >>A simple test for determining if MapScript is set up properly is to >> >> > > > >>create a new php page somewhere in your web root: >> >> > > > > > > >>> >> > > > >>dl("MapScript"); >> >> > > > >>phpinfo(); >> >> > > > >>?> >> >> > > > > > > >>When you access this page, you should see no errors at the top and a >> >> > > > >>MapScript section about 2/3rds of the way down. >> >> > > > > > > >>Please try this and get back to us. >> >> > > > > > > >>Cheers, >> >> > > > > > > >>Paul Spencer >> >> > > > >>Applications and Software Development >> >> > > > >>DM Solutions Group >> >> > > > > > > >>Vincent Schut wrote: >> >> > > > >>>Got things running - a bit. Now I stumbled into the following error: in >>> >>> > > > >>>the info window, after configuring all things 'properly', in the >>> >>> > > > >>>MapScript Information section, I get the following error: MapScript Not >>> >>> > > > >>>Found - configuration problem? However, later on it says that the >>> >>> > > > >>>mapscript extension was loaded correctly into php. I tried filling in the >>> >>> > > > >>>entire path to the extension instead of just php_mapscript.so in the >>> >>> > > > >>>config field for maplab, without any difference. Should I have (a copy >>> >>> > > > >>>of) mapscript in a special place to run maplab? Or is something else >>> >>> > > > >>>wrong? >>> >>> > > > >>>All other values are OK (green crosses), except everything in the ms >>> >>> > > > >>>information section. The image types in this section (of course) also show >>> >>> > > > >>>a red cross. >>> >>> > > > > > > >>>System is mandrake linux, php 4.1.2 (as cgi), mapserver 3.6. >>> >>> > > > >>>_______________________________________________ >>> >>> > > > >>>Maplab-users mailing list >>> >>> > > > >>>Maplab-users@dmsolutions.ca >>> >>> > > > >>>http://lists.dmsolutions.ca/mailman/listinfo/maplab-users >>> >>> > > > > >--- >Stichting BOS kleurt de wereld GROEN! >Kleur mee op http://www.stichtingbos.nl/ > > From Peter.Bruton@CCRS.NRCan.gc.ca Wed Jul 17 18:34:52 2002 From: Peter.Bruton@CCRS.NRCan.gc.ca (Bruton, Peter) Date: Wed, 17 Jul 2002 13:34:52 -0400 Subject: [maplab-users] symbol picker in MapEdit Message-ID: <7CDD7B94357FD5119E800002A537C46EB0FCC3@s5-ccr-r1.ccrs.nrcan.gc.ca> Hello; As I understand it, once a user clicks on a specific symbol in the symbol picker, the symbol "number" is written to the map file. Would MapEdit not be more robust if the symbol "name" was written to the map file? Writing the symbol "name" as opposed to the symbol "number" allows for the addition and deletion of symbols in MapServer's symbol file, while not "mixing" up symbol location for maps previously authored. For example. Let's say a symbol file has 15 symbols. Symbols 1 to 5 are point symbols, symbols 6 - 10 are line symbols, and symbols 11 to 15 are polygon symbols. A map file has a polygon layer that uses symbol 11. There is a need to add a new point symbol to the symbol file. Since it makes sense to group all point symbols together, the new point symbol is inserted into the sixth position in the symbol file. As a result what previously was a polygon symbol in position number 11 is now a line symbol. Now the map file cannot render correctly because it is trying to use a line symbol to represent a polygon feature. Peter Bruton GeoAccess Division Canada Centre for Remote Sensing 615 Booth Street, Room 650 Ottawa, Ontario, K1A 0E9, Canada telephone 1-613-947-0465 fax 1-613-947-2410 From pgs@magma.ca Wed Jul 17 18:58:18 2002 From: pgs@magma.ca (Paul Spencer) Date: Wed, 17 Jul 2002 13:58:18 -0400 Subject: [maplab-users] symbol picker in MapEdit References: <7CDD7B94357FD5119E800002A537C46EB0FCC3@s5-ccr-r1.ccrs.nrcan.gc.ca> Message-ID: <3D35B03A.2090508@magma.ca> Peter, you are correct. There are a couple of technical limitations that prevent this from working. First, symbol names are optional in the symbol file, so we aren't guaranteed to have it available and this makes it a little tricky in figuring out what to use. Second, MapServer doesn't provide the capability to return symbol names for a given index value so there is no way of knowing what symbol names are actually available. We have discussed adding this kind of functionality to MapServer but it is very low priority since MapEdit is the only application that would use this. Perhaps if someone were to offer funding ... ;) Cheers, Paul Spencer Applications and Software Development DM Solutions Group Bruton, Peter wrote: >Hello; > >As I understand it, once a user clicks on a specific symbol in the symbol >picker, the symbol "number" is written to the map file. Would MapEdit not >be more robust if the symbol "name" was written to the map file? > >Writing the symbol "name" as opposed to the symbol "number" allows for the >addition and deletion of symbols in MapServer's symbol file, while not >"mixing" up symbol location for maps previously authored. > >For example. Let's say a symbol file has 15 symbols. Symbols 1 to 5 are >point symbols, symbols 6 - 10 are line symbols, and symbols 11 to 15 are >polygon symbols. A map file has a polygon layer that uses symbol 11. There >is a need to add a new point symbol to the symbol file. Since it makes >sense to group all point symbols together, the new point symbol is inserted >into the sixth position in the symbol file. As a result what previously was >a polygon symbol in position number 11 is now a line symbol. Now the map >file cannot render correctly because it is trying to use a line symbol to >represent a polygon feature. > >Peter Bruton >GeoAccess Division >Canada Centre for Remote Sensing >615 Booth Street, Room 650 >Ottawa, Ontario, K1A 0E9, Canada >telephone 1-613-947-0465 >fax 1-613-947-2410 > >_______________________________________________ >Maplab-users mailing list >Maplab-users@dmsolutions.ca >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > From maplab-users Wed Jul 17 20:16:06 2002 From: maplab-users (Jeff McKenna) Date: Wed, 17 Jul 2002 15:16:06 -0400 Subject: [maplab-users] dropdown list and direct value entry References: <7CDD7B94357FD5119E800002A537C46EB0FC9D@s5-ccr-r1.ccrs.nrcan.gc.ca> Message-ID: <3D35C276.B63DA542@dmsolutions.ca> Hi Peter, This issue has been dealt with in the development version (http://www2.dmsolutions.ca/webtools/maplab/maplab_dl.html). This is what is listed in the mapfile reference for the SIZE property of the LABEL object: > SIZE [integer]|[tiny|small|medium|large|giant] > Text size. Use "integer" to give the size in pixels of your TrueType font based > label, or any of the other 5 listed keywords to bitmap fonts. Our interface uses [integer] for the textbox, and [tiny|small|medium|large|giant] for the drop-down list. So we've rearranged the LABEL object's interface in MapEdit so that the following is displayed for the SIZE property: Font size:[textbox](integer) Or Bitmap size:[dropdown] We've also added javascript so that when a user selects from the dropdown and applies the changes the textbox value is removed. If a user then enters a value in the textbox the dropdown value is removed. Keep in mind that the textbox is for truetype fonts and the dropdown-list is for Bitmap fonts. I hope these changes make some sense to you and everyone else. Jeff "Bruton, Peter" wrote: > > Hello; > > There seems to be a problem with property specification for those properties > that have both a drop-down list of preset values and direct entry through a > text entry box. > > I added a Label object to a class. When I specified the Size property I > selected one of the options (SMALL) from the drop-down list. I decided to > change the Size value by entering an integer value in the text entry box > (20). After clicking on the Apply Changes button, the integer value was not > saved. SMALL appeared in the text entry box. > > All properties that have both the drop-down list and direct entry in the > Label object form have the same behavior. > > A work around does exist. Integer values for Size can be entered directly > in the map file via the Edit Source button. After entering the Size value > in integer format and pressing the Apply button, the Size in integers > appears in the Label object's Size property. > > Peter Bruton > GeoAccess Division > Canada Centre for Remote Sensing > 615 Booth Street, Room 650 > Ottawa, Ontario, K1A 0E9, Canada > telephone 1-613-947-0465 > fax 1-613-947-2410 > -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca/ From schut@gissrv.iend.wau.nl Thu Jul 18 08:30:48 2002 From: schut@gissrv.iend.wau.nl (Vincent Schut) Date: Thu, 18 Jul 2002 09:30:48 +0200 Subject: [maplab-users] test... Message-ID: <200207180930.48473.schut@gissrv.iend.wau.nl> This is a multi-part message in MIME format... ------------=_1026988248-17412-120 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have serious reasons to think this list is not properly working (at least= =0D not for me), therefore a test-mail...=0D Sorry for the inconvenience when it appears to work for you and all of you = see =0D this spam...=0D =0D Vincent.=0D --- Stichting BOS kleurt de wereld GROEN!=20 Kleur mee op http://www.stichtingbos.nl/ ------------=_1026988248-17412-120-- From schut@gissrv.iend.wau.nl Thu Jul 18 09:15:13 2002 From: schut@gissrv.iend.wau.nl (Vincent Schut) Date: Thu, 18 Jul 2002 10:15:13 +0200 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? In-Reply-To: <3D2979F6.3030602@magma.ca> References: <200207081146.33946.schut@gissrv.iend.wau.nl> <3D2979F6.3030602@magma.ca> Message-ID: <200207181015.13053.schut@gissrv.iend.wau.nl> This is a multi-part message in MIME format... ------------=_1026990912-17412-132 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Paul,=0D =0D I fixed it the other way around. Added a else statement after the if that = =0D checks wether ms has been loaded, which sets the boolean var on true when t= he =0D if fails. This works.=0D Now I can get maplab running, and mapedit. However, the next issue comes = =0D peeping around the corner...:=0D I can start a new mapfile, but when I try to open an existing mapfile =0D (tutorial, or mapfiless I created with maplab, I get an error. ('Internal = =0D Server Error'). The apache logs say:=0D php: relocation error: /usr/lib/php/extensions/php_mapscript.so: undefined = =0D symbol: msTokenizeMap=0D [Thu Jul 18 10:06:04 2002] [error] [client 127.0.0.1] Premature end of scri= pt =0D headers: /var/www/cgi-bin/php=0D =0D So there seems to be a call to an undefined procedure (msTokenizeMap) and = =0D after that the php cgi crashes (that seems logic to me).=0D =0D Is this a bug in the (linux) maplab code?=0D =0D System:=0D Mandrake linux 8.2=0D apache 1.3.26 (mandrake rpm)=0D php 4.2.1 (config: --enable-force-cgi-redirect' '--with-gd' =0D '--enable-gd-native-ttf' '--with-ttf' '--with-regex=3Dsystem' =0D '--with-mysql=3D/usr' '--with-config-file-path=3D/etc' '--enable-dbase' =0D '--disable-xml' '--with-expat-dir=3D/usr/lib' '--with-dom' '--with-zlib')= =0D mapserver: cvs of july 12=0D maplab: 2.0RC2=0D =0D btw There seems to be something wrong with this list in combination with my= =0D email... I do not receive list mails anymore, I answer you because i did ge= t =0D suspicious about that after some days and checked the list archives. Please= =0D send your answer also to my email and not only to the list.=0D =0D Thanks,=0D Vincent.=0D --- Stichting BOS kleurt de wereld GROEN!=20 Kleur mee op http://www.stichtingbos.nl/ ------------=_1026990912-17412-132-- From pgs@magma.ca Thu Jul 18 12:01:29 2002 From: pgs@magma.ca (Paul Spencer) Date: Thu, 18 Jul 2002 07:01:29 -0400 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? References: <200207081146.33946.schut@gissrv.iend.wau.nl> <3D2979F6.3030602@magma.ca> <200207181015.13053.schut@gissrv.iend.wau.nl> Message-ID: <3D36A009.4060700@magma.ca> Vincent, you need a newer version of mapserver. If you are getting it from cvs, then try cvs update -A cvs update -r rel-3-6-0-beta1 rel-3-6-0-beta1 is really a branch for the 3-6 release. A 3-6-2 was released but hasn't made it onto the web site. it's cvs tag is rel-3-6-2 :) If you are using a tarball, email me and I will make you one. Cheers, Paul Vincent Schut wrote: >Paul, > > > >I fixed it the other way around. Added a else statement after the if that > >checks wether ms has been loaded, which sets the boolean var on true when the > >if fails. This works. > >Now I can get maplab running, and mapedit. However, the next issue comes > >peeping around the corner...: > >I can start a new mapfile, but when I try to open an existing mapfile > >(tutorial, or mapfiless I created with maplab, I get an error. ('Internal > >Server Error'). The apache logs say: > >php: relocation error: /usr/lib/php/extensions/php_mapscript.so: undefined > >symbol: msTokenizeMap > >[Thu Jul 18 10:06:04 2002] [error] [client 127.0.0.1] Premature end of script > >headers: /var/www/cgi-bin/php > > > >So there seems to be a call to an undefined procedure (msTokenizeMap) and > >after that the php cgi crashes (that seems logic to me). > > > >Is this a bug in the (linux) maplab code? > > > >System: > >Mandrake linux 8.2 > >apache 1.3.26 (mandrake rpm) > >php 4.2.1 (config: --enable-force-cgi-redirect' '--with-gd' > >'--enable-gd-native-ttf' '--with-ttf' '--with-regex=system' > >'--with-mysql=/usr' '--with-config-file-path=/etc' '--enable-dbase' > >'--disable-xml' '--with-expat-dir=/usr/lib' '--with-dom' '--with-zlib') > >mapserver: cvs of july 12 > >maplab: 2.0RC2 > > > >btw There seems to be something wrong with this list in combination with my > >email... I do not receive list mails anymore, I answer you because i did get > >suspicious about that after some days and checked the list archives. Please > >send your answer also to my email and not only to the list. > > > >Thanks, > >Vincent. > > >--- >Stichting BOS kleurt de wereld GROEN! >Kleur mee op http://www.stichtingbos.nl/ > > From raghavan@media.osaka-cu.ac.jp Thu Jul 18 12:16:41 2002 From: raghavan@media.osaka-cu.ac.jp (Venkatesh Raghavan) Date: Thu, 18 Jul 2002 18:16:41 +0700 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? References: <200207081146.33946.schut@gissrv.iend.wau.nl> <3D2979F6.3030602@magma.ca> <200207181015.13053.schut@gissrv.iend.wau.nl> <3D36A009.4060700@magma.ca> Message-ID: <3D36A399.9AB70CC3@media.osaka-cu.ac.jp> Hi all, Having exactly the same problem which Vincent described earlier. Also using Mardrake 8.2. Tried using the mapserver3.6.2 made available at http://www2.dmsolutions.ca/webtools/dl/ but am still getting the "undefined symbol: msTokenizeMap" error when running mapedit Paul, is your mapserver3.6.2 different from the one at DMSolutions and does it fix the mapedit problem too? If so could you please send me the tarball Thanks Raghavan Paul Spencer wrote: > Vincent, you need a newer version of mapserver. If you are getting it > from cvs, then try > > cvs update -A > cvs update -r rel-3-6-0-beta1 > > rel-3-6-0-beta1 is really a branch for the 3-6 release. > > A 3-6-2 was released but hasn't made it onto the web site. it's cvs tag > is rel-3-6-2 :) > > If you are using a tarball, email me and I will make you one. > > Cheers, > > Paul > > Vincent Schut wrote: > > >Paul, > > > > > > > >I fixed it the other way around. Added a else statement after the if that > > > >checks wether ms has been loaded, which sets the boolean var on true when the > > > >if fails. This works. > > > >Now I can get maplab running, and mapedit. However, the next issue comes > > > >peeping around the corner...: > > > >I can start a new mapfile, but when I try to open an existing mapfile > > > >(tutorial, or mapfiless I created with maplab, I get an error. ('Internal > > > >Server Error'). The apache logs say: > > > >php: relocation error: /usr/lib/php/extensions/php_mapscript.so: undefined > > > >symbol: msTokenizeMap > > > >[Thu Jul 18 10:06:04 2002] [error] [client 127.0.0.1] Premature end of script > > > >headers: /var/www/cgi-bin/php > > > > > > > >So there seems to be a call to an undefined procedure (msTokenizeMap) and > > > >after that the php cgi crashes (that seems logic to me). > > > > > > > >Is this a bug in the (linux) maplab code? > > > > > > > >System: > > > >Mandrake linux 8.2 > > > >apache 1.3.26 (mandrake rpm) > > > >php 4.2.1 (config: --enable-force-cgi-redirect' '--with-gd' > > > >'--enable-gd-native-ttf' '--with-ttf' '--with-regex=system' > > > >'--with-mysql=/usr' '--with-config-file-path=/etc' '--enable-dbase' > > > >'--disable-xml' '--with-expat-dir=/usr/lib' '--with-dom' '--with-zlib') > > > >mapserver: cvs of july 12 > > > >maplab: 2.0RC2 > > > > > > > >btw There seems to be something wrong with this list in combination with my > > > >email... I do not receive list mails anymore, I answer you because i did get > > > >suspicious about that after some days and checked the list archives. Please > > > >send your answer also to my email and not only to the list. > > > > > > > >Thanks, > > > >Vincent. > > > > > >--- > >Stichting BOS kleurt de wereld GROEN! > >Kleur mee op http://www.stichtingbos.nl/ > > > > > > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users -- --------------------------------------------------- Dr. Venkatesh Raghavan e-mail: raghavan@media.osaka-cu.ac.jp ++Present Address (22 March'02 to 21 March'03) Visiting Associate Professor STAR/SAT, Asian Institute of Technology (AIT) and Department of Survey Engineering Chulalongkorn University, Bangkok Tel(Mon-Fri@AIT):+66-2-524-6488 Tel(Tue-Thu@Chula):+66-2-218-6663 Mobile (Thailand): 092-0303-07 Fax: +66-2-524-6147 +Permanent Address Associate Professor Media Center, Osaka City University 3-3-138 Sugimoto, Sumiyoshi-ku, Osaka 558-8585 Japan Fax: +81-6-6690-2736 ---------------------------------------------------- From schut@gissrv.iend.wau.nl Thu Jul 18 12:18:25 2002 From: schut@gissrv.iend.wau.nl (Vincent Schut) Date: Thu, 18 Jul 2002 13:18:25 +0200 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? In-Reply-To: <3D36A009.4060700@magma.ca> References: <200207081146.33946.schut@gissrv.iend.wau.nl> <200207181015.13053.schut@gissrv.iend.wau.nl> <3D36A009.4060700@magma.ca> Message-ID: <200207181318.25519.schut@gissrv.iend.wau.nl> This is a multi-part message in MIME format... ------------=_1027001908-25259-55 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Kind a stupid... used the wrong (old) cvs tag all the time.=0D Thanks for the help! Rebuilding now...=0D =0D On Thursday 18 July 2002 13:01, Paul Spencer wrote:=0D > Vincent, you need a newer version of mapserver. If you are getting it=0D > from cvs, then try=0D >=0D > cvs update -A=0D > cvs update -r rel-3-6-0-beta1=0D >=0D > rel-3-6-0-beta1 is really a branch for the 3-6 release.=0D >=0D > A 3-6-2 was released but hasn't made it onto the web site. it's cvs tag= =0D > is rel-3-6-2 :)=0D >=0D > If you are using a tarball, email me and I will make you one.=0D >=0D > Cheers,=0D >=0D > Paul=0D >=0D > Vincent Schut wrote:=0D > >Paul,=0D > >=0D > >=0D > >=0D > >I fixed it the other way around. Added a else statement after the if tha= t=0D > >=0D > >checks wether ms has been loaded, which sets the boolean var on true whe= n=0D > > the=0D > >=0D > >if fails. This works.=0D > >=0D > >Now I can get maplab running, and mapedit. However, the next issue comes= =0D > >=0D > >peeping around the corner...:=0D > >=0D > >I can start a new mapfile, but when I try to open an existing mapfile=0D > >=0D > >(tutorial, or mapfiless I created with maplab, I get an error. ('Interna= l=0D > >=0D > >Server Error'). The apache logs say:=0D > >=0D > >php: relocation error: /usr/lib/php/extensions/php_mapscript.so: undefin= ed=0D > >=0D > >symbol: msTokenizeMap=0D > >=0D > >[Thu Jul 18 10:06:04 2002] [error] [client 127.0.0.1] Premature end of= =0D > > script=0D > >=0D > >headers: /var/www/cgi-bin/php=0D > >=0D > >=0D > >=0D > >So there seems to be a call to an undefined procedure (msTokenizeMap) an= d=0D > >=0D > >after that the php cgi crashes (that seems logic to me).=0D > >=0D > >=0D > >=0D > >Is this a bug in the (linux) maplab code?=0D > >=0D > >=0D > >=0D > >System:=0D > >=0D > >Mandrake linux 8.2=0D > >=0D > >apache 1.3.26 (mandrake rpm)=0D > >=0D > >php 4.2.1 (config: --enable-force-cgi-redirect' '--with-gd'=0D > >=0D > >'--enable-gd-native-ttf' '--with-ttf' '--with-regex=3Dsystem'=0D > >=0D > >'--with-mysql=3D/usr' '--with-config-file-path=3D/etc' '--enable-dbase'= =0D > >=0D > >'--disable-xml' '--with-expat-dir=3D/usr/lib' '--with-dom' '--with-zlib'= )=0D > >=0D > >mapserver: cvs of july 12=0D > >=0D > >maplab: 2.0RC2=0D > >=0D > >=0D > >=0D > >btw There seems to be something wrong with this list in combination with= =0D > > my=0D > >=0D > >email... I do not receive list mails anymore, I answer you because i did= =0D > > get=0D > >=0D > >suspicious about that after some days and checked the list archives.=0D > > Please=0D > >=0D > >send your answer also to my email and not only to the list.=0D > >=0D > >=0D > >=0D > >Thanks,=0D > >=0D > >Vincent.=0D > >=0D > >=0D > >---=0D > >Stichting BOS kleurt de wereld GROEN!=0D > >Kleur mee op http://www.stichtingbos.nl/=0D >=0D > _______________________________________________=0D > Maplab-users mailing list=0D > Maplab-users@dmsolutions.ca=0D > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users=0D =0D --- Stichting BOS kleurt de wereld GROEN!=20 Kleur mee op http://www.stichtingbos.nl/ ------------=_1027001908-25259-55-- From schut@gissrv.iend.wau.nl Thu Jul 18 12:28:32 2002 From: schut@gissrv.iend.wau.nl (Vincent Schut) Date: Thu, 18 Jul 2002 13:28:32 +0200 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? In-Reply-To: <3D36A399.9AB70CC3@media.osaka-cu.ac.jp> References: <200207081146.33946.schut@gissrv.iend.wau.nl> <3D36A009.4060700@magma.ca> <3D36A399.9AB70CC3@media.osaka-cu.ac.jp> Message-ID: <200207181328.32555.schut@gissrv.iend.wau.nl> This is a multi-part message in MIME format... ------------=_1027002510-25259-57 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hmmm=0D Rebuilding didn't help much... Still getting the same error.=0D btw, is this 3-6-2 branch *really* a 3.6.2 branch? In my phpinfo the mapscr= ipt =0D sections says the following:=0D =0D MapScript Version ($Revision: 1.104.2.4 $ $Date: 2002/07/08 20:04:58 $)=0D MapServer version 3.6.0 OUTPUT=3DPNG OUTPUT=3DJPEG OUTPUT=3DWBMP SUPPORTS= =3DPROJ =0D SUPPORTS=3DTTF SUPPORTS=3DWMS_SERVER INPUT=3DTIFF INPUT=3DEPPL7 INPUT=3DJPE= G INPUT=3DGDAL =0D INPUT=3DSHAPEFILE=0D =0D Note the mapserver version number... Hasn't this been updated or has someth= ing =0D gone wrong with (my) cvs updates?=0D =0D Paul, If you could send me a tarball of the 3.6.2 version, that would be mo= st =0D helpfull.=0D =0D Cheers,=0D Vincent.=0D =0D =0D On Thursday 18 July 2002 13:16, Venkatesh Raghavan wrote:=0D > Hi all,=0D >=0D > Having exactly the same problem which Vincent described earlier.=0D > Also using Mardrake 8.2. Tried using the mapserver3.6.2 made available=0D > at http://www2.dmsolutions.ca/webtools/dl/ but am still getting the=0D >=0D > "undefined symbol: msTokenizeMap" error when running mapedit=0D >=0D > Paul, is your mapserver3.6.2 different from the one at=0D > DMSolutions and does it fix the mapedit problem too? If so could=0D > you please send me the tarball=0D >=0D > Thanks=0D >=0D > Raghavan=0D >=0D > Paul Spencer wrote:=0D > > Vincent, you need a newer version of mapserver. If you are getting it= =0D > > from cvs, then try=0D > >=0D > > cvs update -A=0D > > cvs update -r rel-3-6-0-beta1=0D > >=0D > > rel-3-6-0-beta1 is really a branch for the 3-6 release.=0D > >=0D > > A 3-6-2 was released but hasn't made it onto the web site. it's cvs ta= g=0D > > is rel-3-6-2 :)=0D > >=0D > > If you are using a tarball, email me and I will make you one.=0D > >=0D > > Cheers,=0D > >=0D > > Paul=0D > >=0D > > Vincent Schut wrote:=0D > > >Paul,=0D > > >=0D > > >=0D > > >=0D > > >I fixed it the other way around. Added a else statement after the if= =0D > > > that=0D > > >=0D > > >checks wether ms has been loaded, which sets the boolean var on true= =0D > > > when the=0D > > >=0D > > >if fails. This works.=0D > > >=0D > > >Now I can get maplab running, and mapedit. However, the next issue com= es=0D > > >=0D > > >peeping around the corner...:=0D > > >=0D > > >I can start a new mapfile, but when I try to open an existing mapfile= =0D > > >=0D > > >(tutorial, or mapfiless I created with maplab, I get an error.=0D > > > ('Internal=0D > > >=0D > > >Server Error'). The apache logs say:=0D > > >=0D > > >php: relocation error: /usr/lib/php/extensions/php_mapscript.so:=0D > > > undefined=0D > > >=0D > > >symbol: msTokenizeMap=0D > > >=0D > > >[Thu Jul 18 10:06:04 2002] [error] [client 127.0.0.1] Premature end of= =0D > > > script=0D > > >=0D > > >headers: /var/www/cgi-bin/php=0D > > >=0D > > >=0D > > >=0D > > >So there seems to be a call to an undefined procedure (msTokenizeMap)= =0D > > > and=0D > > >=0D > > >after that the php cgi crashes (that seems logic to me).=0D > > >=0D > > >=0D > > >=0D > > >Is this a bug in the (linux) maplab code?=0D > > >=0D > > >=0D > > >=0D > > >System:=0D > > >=0D > > >Mandrake linux 8.2=0D > > >=0D > > >apache 1.3.26 (mandrake rpm)=0D > > >=0D > > >php 4.2.1 (config: --enable-force-cgi-redirect' '--with-gd'=0D > > >=0D > > >'--enable-gd-native-ttf' '--with-ttf' '--with-regex=3Dsystem'=0D > > >=0D > > >'--with-mysql=3D/usr' '--with-config-file-path=3D/etc' '--enable-dbase= '=0D > > >=0D > > >'--disable-xml' '--with-expat-dir=3D/usr/lib' '--with-dom' '--with-zli= b')=0D > > >=0D > > >mapserver: cvs of july 12=0D > > >=0D > > >maplab: 2.0RC2=0D > > >=0D > > >=0D > > >=0D > > >btw There seems to be something wrong with this list in combination wi= th=0D > > > my=0D > > >=0D > > >email... I do not receive list mails anymore, I answer you because i d= id=0D > > > get=0D > > >=0D > > >suspicious about that after some days and checked the list archives.= =0D > > > Please=0D > > >=0D > > >send your answer also to my email and not only to the list.=0D > > >=0D > > >=0D > > >=0D > > >Thanks,=0D > > >=0D > > >Vincent.=0D > > >=0D > > >=0D > > >---=0D > > >Stichting BOS kleurt de wereld GROEN!=0D > > >Kleur mee op http://www.stichtingbos.nl/=0D > >=0D > > _______________________________________________=0D > > Maplab-users mailing list=0D > > Maplab-users@dmsolutions.ca=0D > > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users=0D =0D --- Stichting BOS kleurt de wereld GROEN!=20 Kleur mee op http://www.stichtingbos.nl/ ------------=_1027002510-25259-57-- From pgs@magma.ca Thu Jul 18 14:25:07 2002 From: pgs@magma.ca (Paul Spencer) Date: Thu, 18 Jul 2002 09:25:07 -0400 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? References: <200207081146.33946.schut@gissrv.iend.wau.nl> <3D2979F6.3030602@magma.ca> <200207181015.13053.schut@gissrv.iend.wau.nl> <3D36A009.4060700@magma.ca> <3D36A399.9AB70CC3@media.osaka-cu.ac.jp> Message-ID: <3D36C1B3.7040208@magma.ca> Raghavan, the mapserver 3.6.2 tarball at http://www2.dmsolutions.ca/webtools/dl/mapserver-3.6.2.tar.gz does contain the ms_tokenizemap function. You can confirm that this is the version you are running by checking the MapScript section of phpinfo for: MapScript Version ($Revision: 1.104.2.4 $ $Date: 2002/07/08 20:04:58 $) MapServer version 3.6.2-dev .... just to confirm, the error message you receive, does it refer to the function as ms_tokenizemap or mstokenizemap? Cheers, Paul Spencer Applications and Software Development DM Solutions Group Venkatesh Raghavan wrote: >Hi all, > >Having exactly the same problem which Vincent described earlier. >Also using Mardrake 8.2. Tried using the mapserver3.6.2 made available >at http://www2.dmsolutions.ca/webtools/dl/ but am still getting the > > "undefined symbol: msTokenizeMap" error when running mapedit > >Paul, is your mapserver3.6.2 different from the one at >DMSolutions and does it fix the mapedit problem too? If so could >you please send me the tarball > >Thanks > >Raghavan > >Paul Spencer wrote: > > > >>Vincent, you need a newer version of mapserver. If you are getting it >>from cvs, then try >> >>cvs update -A >>cvs update -r rel-3-6-0-beta1 >> >>rel-3-6-0-beta1 is really a branch for the 3-6 release. >> >>A 3-6-2 was released but hasn't made it onto the web site. it's cvs tag >>is rel-3-6-2 :) >> >>If you are using a tarball, email me and I will make you one. >> >>Cheers, >> >>Paul >> >>Vincent Schut wrote: >> >> >> >>>Paul, >>> >>> >>> >>>I fixed it the other way around. Added a else statement after the if that >>> >>>checks wether ms has been loaded, which sets the boolean var on true when the >>> >>>if fails. This works. >>> >>>Now I can get maplab running, and mapedit. However, the next issue comes >>> >>>peeping around the corner...: >>> >>>I can start a new mapfile, but when I try to open an existing mapfile >>> >>>(tutorial, or mapfiless I created with maplab, I get an error. ('Internal >>> >>>Server Error'). The apache logs say: >>> >>>php: relocation error: /usr/lib/php/extensions/php_mapscript.so: undefined >>> >>>symbol: msTokenizeMap >>> >>>[Thu Jul 18 10:06:04 2002] [error] [client 127.0.0.1] Premature end of script >>> >>>headers: /var/www/cgi-bin/php >>> >>> >>> >>>So there seems to be a call to an undefined procedure (msTokenizeMap) and >>> >>>after that the php cgi crashes (that seems logic to me). >>> >>> >>> >>>Is this a bug in the (linux) maplab code? >>> >>> >>> >>>System: >>> >>>Mandrake linux 8.2 >>> >>>apache 1.3.26 (mandrake rpm) >>> >>>php 4.2.1 (config: --enable-force-cgi-redirect' '--with-gd' >>> >>>'--enable-gd-native-ttf' '--with-ttf' '--with-regex=system' >>> >>>'--with-mysql=/usr' '--with-config-file-path=/etc' '--enable-dbase' >>> >>>'--disable-xml' '--with-expat-dir=/usr/lib' '--with-dom' '--with-zlib') >>> >>>mapserver: cvs of july 12 >>> >>>maplab: 2.0RC2 >>> >>> >>> >>>btw There seems to be something wrong with this list in combination with my >>> >>>email... I do not receive list mails anymore, I answer you because i did get >>> >>>suspicious about that after some days and checked the list archives. Please >>> >>>send your answer also to my email and not only to the list. >>> >>> >>> >>>Thanks, >>> >>>Vincent. >>> >>> >>>--- >>>Stichting BOS kleurt de wereld GROEN! >>>Kleur mee op http://www.stichtingbos.nl/ >>> >>> >>> >>> >>_______________________________________________ >>Maplab-users mailing list >>Maplab-users@dmsolutions.ca >>http://lists.dmsolutions.ca/mailman/listinfo/maplab-users >> >> > >-- >--------------------------------------------------- >Dr. Venkatesh Raghavan >e-mail: raghavan@media.osaka-cu.ac.jp >++Present Address (22 March'02 to 21 March'03) >Visiting Associate Professor >STAR/SAT, Asian Institute of Technology (AIT) >and Department of Survey Engineering >Chulalongkorn University, Bangkok >Tel(Mon-Fri@AIT):+66-2-524-6488 >Tel(Tue-Thu@Chula):+66-2-218-6663 >Mobile (Thailand): 092-0303-07 >Fax: +66-2-524-6147 >+Permanent Address >Associate Professor >Media Center, Osaka City University >3-3-138 Sugimoto, Sumiyoshi-ku, Osaka 558-8585 Japan >Fax: +81-6-6690-2736 >---------------------------------------------------- > > >_______________________________________________ >Maplab-users mailing list >Maplab-users@dmsolutions.ca >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > From morissette@dmsolutions.ca Thu Jul 18 14:26:19 2002 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Thu, 18 Jul 2002 09:26:19 -0400 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? References: <200207081146.33946.schut@gissrv.iend.wau.nl> <3D2979F6.3030602@magma.ca> <200207181015.13053.schut@gissrv.iend.wau.nl> Message-ID: <3D36C1FB.60F4230B@dmsolutions.ca> Vincent Schut wrote: > > I can start a new mapfile, but when I try to open an existing mapfile > > (tutorial, or mapfiless I created with maplab, I get an error. ('Internal > > Server Error'). The apache logs say: > > php: relocation error: /usr/lib/php/extensions/php_mapscript.so: undefined > > symbol: msTokenizeMap > This may happen due to conflicting library versions if you previously did 'make install' when you installed mapserver 3.6.0, and then rebuilt 3.6.2. The 'make install' target in the MapServer makefile is useless and only causes problems. If you have a /usr/local/lib/libmap.a then delete it. Also delete /usr/local/include/map.h ... and make sure you do not use 'make install' in the Mapserver directory again. -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From pgs@magma.ca Thu Jul 18 14:34:13 2002 From: pgs@magma.ca (Paul Spencer) Date: Thu, 18 Jul 2002 09:34:13 -0400 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? References: <200207081146.33946.schut@gissrv.iend.wau.nl> <3D36A009.4060700@magma.ca> <3D36A399.9AB70CC3@media.osaka-cu.ac.jp> <200207181328.32555.schut@gissrv.iend.wau.nl> Message-ID: <3D36C3D5.6000105@magma.ca> Vincent, I just tried the following with cvs: cvs update -r rel-3-6-2 make sudo cp mapscript/php3/php_mapscript.so `php-config --extension-dir` and my phpinfo gives me MapScript Version ($Revision: 1.104.2.4 $ $Date: 2002/07/08 20:04:58 $) MapServer version 3.6.2-dev ..... then I did the same with: cvs update -r rel-3-6-0-beta1 make sudo cp mapscript/php3/php_mapscript.so `php-config --extension-dir` and my phpinfo gives me the same thing MapScript Version ($Revision: 1.104.2.4 $ $Date: 2002/07/08 20:04:58 $) MapServer version 3.6.2-dev before both I did a cvs update -A to release sticky tags and make sure that I got the right version. The rel-3-6-2 tag is at the head of the rel-3-6-0-beta1 branch currently, you should get the same mapscript using either (but the rel-3-6-2 will stick but the rel-3-6-0-beta1 will get you the latest code in the branch) You may also have done a 'make install'. Don't use the install target. If you did, you will have to find and remove libmap.a (probably /usr/local/lib/libmap.a) and map.h (probably /usr/local/include/map.h) then reconfigure and make mapserver Cheers, Paul Vincent Schut wrote: >Hmmm > >Rebuilding didn't help much... Still getting the same error. > >btw, is this 3-6-2 branch *really* a 3.6.2 branch? In my phpinfo the mapscript > >sections says the following: > > > >MapScript Version ($Revision: 1.104.2.4 $ $Date: 2002/07/08 20:04:58 $) > >MapServer version 3.6.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ > >SUPPORTS=TTF SUPPORTS=WMS_SERVER INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=GDAL > >INPUT=SHAPEFILE > > > >Note the mapserver version number... Hasn't this been updated or has something > >gone wrong with (my) cvs updates? > > > >Paul, If you could send me a tarball of the 3.6.2 version, that would be most > >helpfull. > > > >Cheers, > >Vincent. > > > > > >On Thursday 18 July 2002 13:16, Venkatesh Raghavan wrote: > > > >>Hi all, >> >> > > > > > > >>Having exactly the same problem which Vincent described earlier. >> >> > > > >>Also using Mardrake 8.2. Tried using the mapserver3.6.2 made available >> >> > > > >>at http://www2.dmsolutions.ca/webtools/dl/ but am still getting the >> >> > > > > > > >> "undefined symbol: msTokenizeMap" error when running mapedit >> >> > > > > > > >>Paul, is your mapserver3.6.2 different from the one at >> >> > > > >>DMSolutions and does it fix the mapedit problem too? If so could >> >> > > > >>you please send me the tarball >> >> > > > > > > >>Thanks >> >> > > > > > > >>Raghavan >> >> > > > > > > >>Paul Spencer wrote: >> >> > > > >>>Vincent, you need a newer version of mapserver. If you are getting it >>> >>> > > > >>>from cvs, then try >>> >>> > > > > > > >>>cvs update -A >>> >>> > > > >>>cvs update -r rel-3-6-0-beta1 >>> >>> > > > > > > >>>rel-3-6-0-beta1 is really a branch for the 3-6 release. >>> >>> > > > > > > >>>A 3-6-2 was released but hasn't made it onto the web site. it's cvs tag >>> >>> > > > >>>is rel-3-6-2 :) >>> >>> > > > > > > >>>If you are using a tarball, email me and I will make you one. >>> >>> > > > > > > >>>Cheers, >>> >>> > > > > > > >>>Paul >>> >>> > > > > > > >>>Vincent Schut wrote: >>> >>> > > > >>>>Paul, >>>> >>>> > > > > > > > > > > > > >>>>I fixed it the other way around. Added a else statement after the if >>>> >>>> > > > >>>>that >>>> >>>> > > > > > > >>>>checks wether ms has been loaded, which sets the boolean var on true >>>> >>>> > > > >>>>when the >>>> >>>> > > > > > > >>>>if fails. This works. >>>> >>>> > > > > > > >>>>Now I can get maplab running, and mapedit. However, the next issue comes >>>> >>>> > > > > > > >>>>peeping around the corner...: >>>> >>>> > > > > > > >>>>I can start a new mapfile, but when I try to open an existing mapfile >>>> >>>> > > > > > > >>>>(tutorial, or mapfiless I created with maplab, I get an error. >>>> >>>> > > > >>>>('Internal >>>> >>>> > > > > > > >>>>Server Error'). The apache logs say: >>>> >>>> > > > > > > >>>>php: relocation error: /usr/lib/php/extensions/php_mapscript.so: >>>> >>>> > > > >>>>undefined >>>> >>>> > > > > > > >>>>symbol: msTokenizeMap >>>> >>>> > > > > > > >>>>[Thu Jul 18 10:06:04 2002] [error] [client 127.0.0.1] Premature end of >>>> >>>> > > > >>>>script >>>> >>>> > > > > > > >>>>headers: /var/www/cgi-bin/php >>>> >>>> > > > > > > > > > > > > >>>>So there seems to be a call to an undefined procedure (msTokenizeMap) >>>> >>>> > > > >>>>and >>>> >>>> > > > > > > >>>>after that the php cgi crashes (that seems logic to me). >>>> >>>> > > > > > > > > > > > > >>>>Is this a bug in the (linux) maplab code? >>>> >>>> > > > > > > > > > > > > >>>>System: >>>> >>>> > > > > > > >>>>Mandrake linux 8.2 >>>> >>>> > > > > > > >>>>apache 1.3.26 (mandrake rpm) >>>> >>>> > > > > > > >>>>php 4.2.1 (config: --enable-force-cgi-redirect' '--with-gd' >>>> >>>> > > > > > > >>>>'--enable-gd-native-ttf' '--with-ttf' '--with-regex=system' >>>> >>>> > > > > > > >>>>'--with-mysql=/usr' '--with-config-file-path=/etc' '--enable-dbase' >>>> >>>> > > > > > > >>>>'--disable-xml' '--with-expat-dir=/usr/lib' '--with-dom' '--with-zlib') >>>> >>>> > > > > > > >>>>mapserver: cvs of july 12 >>>> >>>> > > > > > > >>>>maplab: 2.0RC2 >>>> >>>> > > > > > > > > > > > > >>>>btw There seems to be something wrong with this list in combination with >>>> >>>> > > > >>>>my >>>> >>>> > > > > > > >>>>email... I do not receive list mails anymore, I answer you because i did >>>> >>>> > > > >>>>get >>>> >>>> > > > > > > >>>>suspicious about that after some days and checked the list archives. >>>> >>>> > > > >>>>Please >>>> >>>> > > > > > > >>>>send your answer also to my email and not only to the list. >>>> >>>> > > > > > > > > > > > > >>>>Thanks, >>>> >>>> > > > > > > >>>>Vincent. >>>> >>>> > > > > > > > > > >>>>--- >>>> >>>> > > > >>>>Stichting BOS kleurt de wereld GROEN! >>>> >>>> > > > >>>>Kleur mee op http://www.stichtingbos.nl/ >>>> >>>> > > > > > > >>>_______________________________________________ >>> >>> > > > >>>Maplab-users mailing list >>> >>> > > > >>>Maplab-users@dmsolutions.ca >>> >>> > > > >>>http://lists.dmsolutions.ca/mailman/listinfo/maplab-users >>> >>> > > > > >--- >Stichting BOS kleurt de wereld GROEN! >Kleur mee op http://www.stichtingbos.nl/ > > From morissette@dmsolutions.ca Thu Jul 18 14:54:07 2002 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Thu, 18 Jul 2002 09:54:07 -0400 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? References: <200207081146.33946.schut@gissrv.iend.wau.nl> <3D2979F6.3030602@magma.ca> <200207181015.13053.schut@gissrv.iend.wau.nl> <3D36A009.4060700@magma.ca> <3D36A399.9AB70CC3@media.osaka-cu.ac.jp> Message-ID: <3D36C87F.3005315E@dmsolutions.ca> Venkatesh Raghavan wrote: > > Having exactly the same problem which Vincent described earlier. > Also using Mardrake 8.2. Tried using the mapserver3.6.2 made available > at http://www2.dmsolutions.ca/webtools/dl/ but am still getting the > > "undefined symbol: msTokenizeMap" error when running mapedit > > Paul, is your mapserver3.6.2 different from the one at > DMSolutions and does it fix the mapedit problem too? If so could > you please send me the tarball > The tarball at http://www2.dmsolutions.ca/mapserver/dl/mapserver-3.6.2.tar.gz is what we should all use. I used it again yesterday to setup a server with MapLab, so I know that it is valid. See my previous post on the 'make install' problem in MapServer, that's quite likely what you ran into as well. -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From morissette@dmsolutions.ca Thu Jul 18 15:04:27 2002 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Thu, 18 Jul 2002 10:04:27 -0400 Subject: [maplab-users] test... References: <200207180930.48473.schut@gissrv.iend.wau.nl> Message-ID: <3D36CAEB.C2E8205@dmsolutions.ca> Vincent Schut wrote: > > I have serious reasons to think this list is not properly working (at least > not for me), therefore a test-mail... > > Sorry for the inconvenience when it appears to work for you and all of you see > this spam... > Vincent, Can you please be more specific on the exact problems? Did you ever receive any message? Did you miss only a few? You should have received two copies of my replies to your other questions on this list this morning: one sent to you directly, and one sent by the listserver... did you receive both? I checked the maillog on the list server and it seems that the messages were delivered to you succesfully, at least this morning: Jul 18 09:55:37 www3 sendmail[16083]: g6IDt2m16081: to=, delay=00:00:35, xdelay=00:00:01, mailer=esmtp, pri=591400, relay=net.wau.nl. [137.224.10.12], dsn=2.0.0, stat=Sent (Ok.) If you received duplicates of those messages then all is fine, if not then I would suggest that the problem may be with the relay net.wau.nl, but I may be wrong. Does this relay have any kind of spam filtering that may discard list messages? Also, has anyone else noticed similar problems with this list? -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From pagameba@magma.ca Thu Jul 18 16:21:11 2002 From: pagameba@magma.ca (Paul Spencer) Date: Thu, 18 Jul 2002 11:21:11 -0400 Subject: [maplab-users] Re: [mapserver-users] Php_mapscript_36.dll could not be load? References: <1026963370.3d3637aac1c03@mailserv.ait.ac.th> Message-ID: <3D36DCE7.6040009@magma.ca> Terrayut, you can also use the maplab users mailing list (maplab-users@dmsolutions.ca) for questions concerning MapLab setup and configuration problems. what page where you trying to access when you received this error? Also, you didn't mention which web server you are using. Cheers, Paul Spencer Applications and Software Development DM Solutions Group st018589@ait.ac.th wrote: >Hi > I'm a new coming for MapServer, I try to install "maplab-2.0rc1.zip" fallow >the MapLab Documentation but after install, I get this warning dialog > > "Unable to load dynamic library c:/php/extensions/php_mapscript_36.dll >Yhe specified module couldnot be found" > >I already copy the file into "c:/php/extensions" and check "php.ini" >(use windowsXP pro, php 4.2.1 with MapServer 3.6.1) > >Thanks, >Teerayut. > >---------------------------------------------------------- >This mail sent through AIT WebMail : http://www.ait.ac.th/ > > > From schut@gissrv.iend.wau.nl Fri Jul 19 08:15:03 2002 From: schut@gissrv.iend.wau.nl (Vincent Schut) Date: Fri, 19 Jul 2002 09:15:03 +0200 Subject: [maplab-users] test... In-Reply-To: <3D36CAEB.C2E8205@dmsolutions.ca> References: <200207180930.48473.schut@gissrv.iend.wau.nl> <3D36CAEB.C2E8205@dmsolutions.ca> Message-ID: <200207190915.03363.schut@gissrv.iend.wau.nl> This is a multi-part message in MIME format... ------------=_1027073694-29901-12 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sorry, I guess i did something wrong when i had to confirm my subscribtion.= =0D When I found out I could check the subscribers list, i did and i didn't fin= d =0D my own name there...=0D subscribed again, the list seems to work properly for my now.=0D All people sending double messages to me & list etc.: thanks.=0D =0D Vincent.=0D =0D On Thursday 18 July 2002 16:04, Daniel Morissette wrote:=0D > Vincent Schut wrote:=0D > > I have serious reasons to think this list is not properly working (at= =0D > > least not for me), therefore a test-mail...=0D > >=0D > > Sorry for the inconvenience when it appears to work for you and all of= =0D > > you see this spam...=0D >=0D > Vincent,=0D >=0D > Can you please be more specific on the exact problems? Did you ever=0D > receive any message? Did you miss only a few?=0D >=0D > You should have received two copies of my replies to your other=0D > questions on this list this morning: one sent to you directly, and one=0D > sent by the listserver... did you receive both?=0D > I checked the maillog on the list server and it seems that the messages= =0D > were delivered to you succesfully, at least this morning:=0D >=0D > Jul 18 09:55:37 www3 sendmail[16083]: g6IDt2m16081:=0D > to=3D, delay=3D00:00:35, xdelay=3D00:00:01,= =0D > mailer=3Desmtp, pri=3D591400, relay=3Dnet.wau.nl. [137.224.10.12],=0D > dsn=3D2.0.0, stat=3DSent (Ok.)=0D >=0D > If you received duplicates of those messages then all is fine, if not=0D > then I would suggest that the problem may be with the relay net.wau.nl,= =0D > but I may be wrong. Does this relay have any kind of spam filtering=0D > that may discard list messages?=0D >=0D >=0D > Also, has anyone else noticed similar problems with this list?=0D =0D --- Stichting BOS kleurt de wereld GROEN!=20 Kleur mee op http://www.stichtingbos.nl/ ------------=_1027073694-29901-12-- From schut@gissrv.iend.wau.nl Fri Jul 19 10:29:10 2002 From: schut@gissrv.iend.wau.nl (Vincent Schut) Date: Fri, 19 Jul 2002 11:29:10 +0200 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? In-Reply-To: <3D36C87F.3005315E@dmsolutions.ca> References: <200207081146.33946.schut@gissrv.iend.wau.nl> <3D36A399.9AB70CC3@media.osaka-cu.ac.jp> <3D36C87F.3005315E@dmsolutions.ca> Message-ID: <200207191129.10457.schut@gissrv.iend.wau.nl> This is a multi-part message in MIME format... ------------=_1027081741-1822-10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline An update:=0D Indeed, a long time ago when mapserver was still young and I just started w= ith =0D it, i once did a make install. Then I found out it didn't work, but didn't = =0D realize the harm had already been done. Deleted everything that had =0D connection with old mapservers and make installs, and did a clean new fresh= =0D cvs checkout and update rel-3-6-0-beta1 (Q: Am i right: 3-6-0-beta1 is the = =0D most recent work-in-progress, while 3-6-2 is a branch that doesn't get =0D updated anymore? Or is 3-6-2 even more recent? The names are a bit =0D confusing...)=0D I also tried the tarball from dmsolutions.=0D Still didn't get a 3.6.2 instead of a 3.6.0 in my phpinfo. But: found out t= hat =0D php-config --extension-dir directed to the wrong dir. After changing that, = IT =0D WORKS!=0D =0D Both the tarball and the cvs do work now.=0D Main problem indeed appeared to be the make install question.=0D =0D Thanks everybody who helped me out.=0D Venkatesh, I hope your problem is the same :-)=0D =0D Vincent.=0D =0D On Thursday 18 July 2002 15:54, Daniel Morissette wrote:=0D > Venkatesh Raghavan wrote:=0D > > Having exactly the same problem which Vincent described earlier.=0D > > Also using Mardrake 8.2. Tried using the mapserver3.6.2 made available= =0D > > at http://www2.dmsolutions.ca/webtools/dl/ but am still getting the=0D > >=0D > > "undefined symbol: msTokenizeMap" error when running mapedit=0D > >=0D > > Paul, is your mapserver3.6.2 different from the one at=0D > > DMSolutions and does it fix the mapedit problem too? If so could=0D > > you please send me the tarball=0D >=0D > The tarball at=0D > http://www2.dmsolutions.ca/mapserver/dl/mapserver-3.6.2.tar.gz=0D > is what we should all use. I used it again yesterday to setup a server= =0D > with MapLab, so I know that it is valid.=0D >=0D > See my previous post on the 'make install' problem in MapServer, that's= =0D > quite likely what you ran into as well.=0D =0D --- Stichting BOS kleurt de wereld GROEN!=20 Kleur mee op http://www.stichtingbos.nl/ ------------=_1027081741-1822-10-- From schut@gissrv.iend.wau.nl Fri Jul 19 10:48:32 2002 From: schut@gissrv.iend.wau.nl (Vincent Schut) Date: Fri, 19 Jul 2002 11:48:32 +0200 Subject: [maplab-users] java color-picker Message-ID: <200207191148.32860.schut@gissrv.iend.wau.nl> This is a multi-part message in MIME format... ------------=_1027082902-1822-20 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,=0D the java color-picker is not working for me.=0D Now this doesn't really surprise me as java support at my system has always= =0D been kind of crappy, but still I thought I might ask...=0D =0D I'm using mandrake linux 8.2=0D browser: konqueror=0D java: blackdown 1.3.1=0D the java console says:=0D =0D Java VM version: 1.3.1=0D Java VM vendor: Blackdown Java-Linux Team=0D Unable to load JSSE SSL stream handler, https support not available=0D java.lang.ClassFormatError: netscape/javascript/JSObject (Bad magic number)= =0D at java.lang.ClassLoader.defineClass0(Native Method)=0D at java.lang.ClassLoader.defineClass(ClassLoader.java:493)=0D at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)= =0D at =0D org.kde.kjas.server.KJASAppletClassLoader.findClass(KJASAppletClassLoader.j= ava:314)=0D at =0D org.kde.kjas.server.KJASAppletClassLoader.loadClass(KJASAppletClassLoader.j= ava:335)=0D at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)=0D at colorpicker.init(colorpicker.java:100)=0D at org.kde.kjas.server.KJASAppletStub.initApplet(KJASAppletStub.java:145)= =0D at org.kde.kjas.server.KJASAppletStub$1.run(KJASAppletStub.java:98)=0D at java.lang.Thread.run(Thread.java:484)=0D =0D now this of course isn't really a crasher bug, but still... If someone know= s a =0D solution, it would be nice.=0D =0D Cheers,=0D Vincent.=0D --- Stichting BOS kleurt de wereld GROEN!=20 Kleur mee op http://www.stichtingbos.nl/ ------------=_1027082902-1822-20-- From schut@gissrv.iend.wau.nl Fri Jul 19 11:14:42 2002 From: schut@gissrv.iend.wau.nl (Vincent Schut) Date: Fri, 19 Jul 2002 12:14:42 +0200 Subject: [maplab-users] extremely minor bug Message-ID: <200207191214.42118.schut@gissrv.iend.wau.nl> This is a multi-part message in MIME format... ------------=_1027084471-1822-24 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline in konqueror (not in mozilla), the number in the textbox after 'blue' in a = map =0D object of an open mapfile in mapedit is rendered different (bold or bigger)= =0D than 'red' and 'green'. Of course this is the least significant bug you can= =0D ever submit, but then, if anybody thinks so it will be never submitted and = be =0D there till the end of times...=0D Viewing the generated html, the only difference i can find is that the red = and =0D green form elements have TYPE=3D'TEXT' while the blue one has TYPE=3D'TEXTB= OX'. =0D However, according to w3c the TEXTBOX attribute for TYPE does not exist.=0D (type =3D text|password|checkbox|radio|submit|reset|file|hidden|image|butto= n =0D This attribute specifies the type of control to create. The default value f= or =0D this attribute is "text". See: =0D http://www.w3.org/TR/html401/interact/forms.html#h-17.4)=0D =0D Writing html-standards compliant code enables people to use whatever =0D html-compliant browser, and might save developers a lot of testing on =0D different browsers/platforms... Thus I thought it might be good to file eve= n =0D this 'bug' :-)=0D =0D Cheers,=0D Vincent.=0D --- Stichting BOS kleurt de wereld GROEN!=20 Kleur mee op http://www.stichtingbos.nl/ ------------=_1027084471-1822-24-- From sfournier@dmsolutions.ca Fri Jul 19 13:38:09 2002 From: sfournier@dmsolutions.ca (Sacha Fournier) Date: Fri, 19 Jul 2002 08:38:09 -0400 Subject: [maplab-users] java color-picker In-Reply-To: <200207191148.32860.schut@gissrv.iend.wau.nl> References: <200207191148.32860.schut@gissrv.iend.wau.nl> Message-ID: <200207191233.g6JCX5J02006@xcalibur.dmsolutions.ca> Hi Vincent, Are you experiencing that problem in ROSA too ? On Friday 19 July 2002 05:48 am, Vincent Schut wrote: > Hi, > the java color-picker is not working for me. > Now this doesn't really surprise me as java support at my system has always > been kind of crappy, but still I thought I might ask... > > I'm using mandrake linux 8.2 > browser: konqueror > java: blackdown 1.3.1 > the java console says: > > Java VM version: 1.3.1 > Java VM vendor: Blackdown Java-Linux Team > Unable to load JSSE SSL stream handler, https support not available > java.lang.ClassFormatError: netscape/javascript/JSObject (Bad magic > number) at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:493) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at > org.kde.kjas.server.KJASAppletClassLoader.findClass(KJASAppletClassLoader.j >ava:314) at > org.kde.kjas.server.KJASAppletClassLoader.loadClass(KJASAppletClassLoader.j >ava:335) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) > at colorpicker.init(colorpicker.java:100) > at org.kde.kjas.server.KJASAppletStub.initApplet(KJASAppletStub.java:145) > at org.kde.kjas.server.KJASAppletStub$1.run(KJASAppletStub.java:98) > at java.lang.Thread.run(Thread.java:484) > > now this of course isn't really a crasher bug, but still... If someone > knows a solution, it would be nice. > > Cheers, > Vincent. > > --- > Stichting BOS kleurt de wereld GROEN! > Kleur mee op http://www.stichtingbos.nl/ -- Sacha Fournier sfournier@dmsolutions.ca http://www.dmsolutions.ca tel.: 613.565.5056 fax.: 613.565.0925 From raghavan@media.osaka-cu.ac.jp Fri Jul 19 14:50:35 2002 From: raghavan@media.osaka-cu.ac.jp (Venkatesh Raghavan) Date: Fri, 19 Jul 2002 20:50:35 +0700 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? References: <200207081146.33946.schut@gissrv.iend.wau.nl> <3D36A399.9AB70CC3@media.osaka-cu.ac.jp> <3D36C87F.3005315E@dmsolutions.ca> <200207191129.10457.schut@gissrv.iend.wau.nl> Message-ID: <3D38192B.CB647715@media.osaka-cu.ac.jp> Hi Vincent, Vincent Schut wrote: > Still didn't get a 3.6.2 instead of a 3.6.0 in my phpinfo. But: found out that > > php-config --extension-dir directed to the wrong dir. After changing that, IT > > WORKS! Same problem here. Was racking my brains trying to figure where 3.6.0 came from after i installed 3.6.2. Could you please tell me how do we change the php-config --extension-dir and what change did you make to get mapedit working. Thanks in advance. Venkatesh > Both the tarball and the cvs do work now. > > Main problem indeed appeared to be the make install question. > > Thanks everybody who helped me out. > > Venkatesh, I hope your problem is the same :-) > > Vincent. > > On Thursday 18 July 2002 15:54, Daniel Morissette wrote: > > > Venkatesh Raghavan wrote: > > > > Having exactly the same problem which Vincent described earlier. > > > > Also using Mardrake 8.2. Tried using the mapserver3.6.2 made available > > > > at http://www2.dmsolutions.ca/webtools/dl/ but am still getting the > > > > > > > > "undefined symbol: msTokenizeMap" error when running mapedit > > > > > > > > Paul, is your mapserver3.6.2 different from the one at > > > > DMSolutions and does it fix the mapedit problem too? If so could > > > > you please send me the tarball > > > > > > The tarball at > > > http://www2.dmsolutions.ca/mapserver/dl/mapserver-3.6.2.tar.gz > > > is what we should all use. I used it again yesterday to setup a server > > > with MapLab, so I know that it is valid. > > > > > > See my previous post on the 'make install' problem in MapServer, that's > > > quite likely what you ran into as well. > > --- > Stichting BOS kleurt de wereld GROEN! > Kleur mee op http://www.stichtingbos.nl/ -- --------------------------------------------------- Dr. Venkatesh Raghavan e-mail: raghavan@media.osaka-cu.ac.jp ++Present Address (22 March'02 to 21 March'03) Visiting Associate Professor STAR/SAT, Asian Institute of Technology (AIT) and Department of Survey Engineering Chulalongkorn University, Bangkok Tel(Mon-Fri@AIT):+66-2-524-6488 Tel(Tue-Thu@Chula):+66-2-218-6663 Mobile (Thailand): 092-0303-07 Fax: +66-2-524-6147 +Permanent Address Associate Professor Media Center, Osaka City University 3-3-138 Sugimoto, Sumiyoshi-ku, Osaka 558-8585 Japan Fax: +81-6-6690-2736 ---------------------------------------------------- From schut@gissrv.iend.wau.nl Fri Jul 19 15:06:31 2002 From: schut@gissrv.iend.wau.nl (Vincent Schut) Date: Fri, 19 Jul 2002 16:06:31 +0200 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? In-Reply-To: <3D38192B.CB647715@media.osaka-cu.ac.jp> References: <200207081146.33946.schut@gissrv.iend.wau.nl> <200207191129.10457.schut@gissrv.iend.wau.nl> <3D38192B.CB647715@media.osaka-cu.ac.jp> Message-ID: <200207191606.31149.schut@gissrv.iend.wau.nl> To change the php-config --extension-dir output you'll have to recompile php i'm afraid... Workaround: don't use php-config to automatically get the wrong extension dir, just copy php_mapscript.so to the right dir by hand. Then i did (as root, and in /) a find -name map.h and a find -name libmap.a and deleted every file that was found *and*did*come*from*an*earlier*mapserver*make*install* (this is important as map.h is not a very specific filename, there might be more of them on your system that do not originate from mapserver, look carefully at the directories and eventually creation dates...) Then I deleted all old mapserver versions, including source code directories etc. I did a fresh cvs checkout and update to get the latest 3-6-0-beta1 files ./configure with the options i used before make (you get an error in the mapscript part that tells about an unrecognized option -rdynamic-W3 or something similar, however a working php_mapscript.so is produced; the error originates from a bug in the mapscript makefile; if you want to get rid of it, edit the Makefile in /mapscript/php3/ before you do make, find the option the error message complains about and put a space before the second hyphen ('-'). DO NOT DO make install :-) simply copy the mapserv executable to your cgi-bin directory and the php_mapscript.so to your *real* php extension dir (you can check this in phpinfo, somewhere it tells you your extension dir) restart apache ('service httpd restart') finished. look at the phpinfo, mapscript section, now it should say mapserver version 3.6.2 instead of 3.6.0 :-) Hope i did not forget something. I still have some issues with maplab but these seem to originate from java problems and not build problems. Hope it helps, Vincent. On Friday 19 July 2002 15:50, Venkatesh Raghavan wrote: > Hi Vincent, > > Vincent Schut wrote: > > Still didn't get a 3.6.2 instead of a 3.6.0 in my phpinfo. But: found out > > that > > > > php-config --extension-dir directed to the wrong dir. After changing > > that, IT > > > > WORKS! > > Same problem here. Was racking my brains trying to figure where 3.6.0 came > from after i installed 3.6.2. Could you please tell me how do we change > the php-config --extension-dir and what change did you make to get mapedit > working. > > Thanks in advance. > > Venkatesh > > > Both the tarball and the cvs do work now. > > > > Main problem indeed appeared to be the make install question. > > > > Thanks everybody who helped me out. > > > > Venkatesh, I hope your problem is the same :-) > > > > Vincent. > > > > On Thursday 18 July 2002 15:54, Daniel Morissette wrote: > > > Venkatesh Raghavan wrote: > > > > Having exactly the same problem which Vincent described earlier. > > > > > > > > Also using Mardrake 8.2. Tried using the mapserver3.6.2 made > > > > available > > > > > > > > at http://www2.dmsolutions.ca/webtools/dl/ but am still getting the > > > > > > > > > > > > > > > > "undefined symbol: msTokenizeMap" error when running mapedit > > > > > > > > > > > > > > > > Paul, is your mapserver3.6.2 different from the one at > > > > > > > > DMSolutions and does it fix the mapedit problem too? If so could > > > > > > > > you please send me the tarball > > > > > > The tarball at > > > > > > http://www2.dmsolutions.ca/mapserver/dl/mapserver-3.6.2.tar.gz > > > > > > is what we should all use. I used it again yesterday to setup a server > > > > > > with MapLab, so I know that it is valid. > > > > > > > > > > > > See my previous post on the 'make install' problem in MapServer, that's > > > > > > quite likely what you ran into as well. > > > > --- > > Stichting BOS kleurt de wereld GROEN! > > Kleur mee op http://www.stichtingbos.nl/ From pgs@magma.ca Fri Jul 19 20:17:54 2002 From: pgs@magma.ca (Paul Spencer) Date: Fri, 19 Jul 2002 15:17:54 -0400 Subject: [maplab-users] Error: MapScript Not Found - configuration problem? References: <200207081146.33946.schut@gissrv.iend.wau.nl> <200207191129.10457.schut@gissrv.iend.wau.nl> <3D38192B.CB647715@media.osaka-cu.ac.jp> <200207191606.31149.schut@gissrv.iend.wau.nl> Message-ID: <3D3865E2.3030503@magma.ca> a quick addition on the php-config --extension-dir thing, it returns the value at compile time regardless of what you put in php.ini. If you don't define extension_dir in php.ini then it will work :) However, most people don't like the name (wonder why?) and create their own extension dir ... also useful for multiple versions of php. Anyway, the safest thing is to do as Vicent suggests unless you know that php-config --extension-dir is right Cheers, Paul Spencer Applications and Software Development DM Solutions Group Vincent Schut wrote: >To change the php-config --extension-dir output you'll have to recompile php >i'm afraid... Workaround: don't use php-config to automatically get the wrong >extension dir, just copy php_mapscript.so to the right dir by hand. > >Then i did (as root, and in /) a find -name map.h and a find -name libmap.a >and deleted every file that was found >*and*did*come*from*an*earlier*mapserver*make*install* (this is important as >map.h is not a very specific filename, there might be more of them on your >system that do not originate from mapserver, look carefully at the >directories and eventually creation dates...) >Then I deleted all old mapserver versions, including source code directories >etc. >I did a fresh cvs checkout and update to get the latest 3-6-0-beta1 files >./configure with the options i used before >make >(you get an error in the mapscript part that tells about an unrecognized >option -rdynamic-W3 or something similar, however a working php_mapscript.so >is produced; the error originates from a bug in the mapscript makefile; if >you want to get rid of it, edit the Makefile in /mapscript/php3/ before you >do make, find the option the error message complains about and put a space >before the second hyphen ('-'). >DO NOT DO make install :-) >simply copy the mapserv executable to your cgi-bin directory >and the php_mapscript.so to your *real* php extension dir (you can check this >in phpinfo, somewhere it tells you your extension dir) >restart apache ('service httpd restart') >finished. >look at the phpinfo, mapscript section, now it should say mapserver version >3.6.2 instead of 3.6.0 :-) > >Hope i did not forget something. >I still have some issues with maplab but these seem to originate from java >problems and not build problems. > >Hope it helps, >Vincent. > > >On Friday 19 July 2002 15:50, Venkatesh Raghavan wrote: > > >>Hi Vincent, >> >>Vincent Schut wrote: >> >> >>>Still didn't get a 3.6.2 instead of a 3.6.0 in my phpinfo. But: found out >>>that >>> >>>php-config --extension-dir directed to the wrong dir. After changing >>>that, IT >>> >>>WORKS! >>> >>> >>Same problem here. Was racking my brains trying to figure where 3.6.0 came >>from after i installed 3.6.2. Could you please tell me how do we change >>the php-config --extension-dir and what change did you make to get mapedit >>working. >> >>Thanks in advance. >> >>Venkatesh >> >> >> >>>Both the tarball and the cvs do work now. >>> >>>Main problem indeed appeared to be the make install question. >>> >>>Thanks everybody who helped me out. >>> >>>Venkatesh, I hope your problem is the same :-) >>> >>>Vincent. >>> >>>On Thursday 18 July 2002 15:54, Daniel Morissette wrote: >>> >>> >>>>Venkatesh Raghavan wrote: >>>> >>>> >>>>>Having exactly the same problem which Vincent described earlier. >>>>> >>>>>Also using Mardrake 8.2. Tried using the mapserver3.6.2 made >>>>>available >>>>> >>>>>at http://www2.dmsolutions.ca/webtools/dl/ but am still getting the >>>>> >>>>> >>>>> >>>>> "undefined symbol: msTokenizeMap" error when running mapedit >>>>> >>>>> >>>>> >>>>>Paul, is your mapserver3.6.2 different from the one at >>>>> >>>>>DMSolutions and does it fix the mapedit problem too? If so could >>>>> >>>>>you please send me the tarball >>>>> >>>>> >>>>The tarball at >>>> >>>>http://www2.dmsolutions.ca/mapserver/dl/mapserver-3.6.2.tar.gz >>>> >>>>is what we should all use. I used it again yesterday to setup a server >>>> >>>>with MapLab, so I know that it is valid. >>>> >>>> >>>> >>>>See my previous post on the 'make install' problem in MapServer, that's >>>> >>>>quite likely what you ran into as well. >>>> >>>> >>>--- >>>Stichting BOS kleurt de wereld GROEN! >>>Kleur mee op http://www.stichtingbos.nl/ >>> >>> > >_______________________________________________ >Maplab-users mailing list >Maplab-users@dmsolutions.ca >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > From maplab-users Fri Jul 19 23:08:41 2002 From: maplab-users (Jeff McKenna) Date: Fri, 19 Jul 2002 18:08:41 -0400 Subject: [maplab-users] wmsparse.exe and allow_call_time_pass_reference Message-ID: <3D388DE9.1660B3E3@dmsolutions.ca> Hello all, There was a problem on Windows with the file wmsparse.exe used in MapBrowser when adding WMS servers, and it has been fixed in the 2.0rc3-dev version at: http://www2.dmsolutions.ca/webtools/maplab/maplab_dl.html. If you do not want to upgrade to the rc3-dev version, download the file from http://www2.dmsolutions.ca/netbin/wmsparse.zip and overwrite the file in /maplab/common/wmsparse/win32. The 2.0rc3-dev version also eliminates having to enable allow_call_time_pass_reference in php. Have a good weekend everyone. Jeff -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca/ From maplab-users Fri Jul 19 23:25:54 2002 From: maplab-users (Jeff McKenna) Date: Fri, 19 Jul 2002 18:25:54 -0400 Subject: [maplab-users] extremely minor bug References: <200207191214.42118.schut@gissrv.iend.wau.nl> Message-ID: <3D3891F2.74031981@dmsolutions.ca> Vincent, Thanks for pointing this one out, minor but it still counts. It's fixed in the 2.0rc3-dev version. http://www2.dmsolutions.ca/webtools/maplab/maplab_dl.html Jeff Vincent Schut wrote: > > in konqueror (not in mozilla), the number in the textbox after 'blue' in a map > > object of an open mapfile in mapedit is rendered different (bold or bigger) > > than 'red' and 'green'. Of course this is the least significant bug you can > > ever submit, but then, if anybody thinks so it will be never submitted and be > > there till the end of times... > > Viewing the generated html, the only difference i can find is that the red and > > green form elements have TYPE='TEXT' while the blue one has TYPE='TEXTBOX'. > > However, according to w3c the TEXTBOX attribute for TYPE does not exist. > > (type = text|password|checkbox|radio|submit|reset|file|hidden|image|button > > This attribute specifies the type of control to create. The default value for > > this attribute is "text". See: > > http://www.w3.org/TR/html401/interact/forms.html#h-17.4) > > Writing html-standards compliant code enables people to use whatever > > html-compliant browser, and might save developers a lot of testing on > > different browsers/platforms... Thus I thought it might be good to file even > > this 'bug' :-) > > Cheers, > > Vincent. -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca/ From root@dartagnan.hygeos.com Tue Jul 23 11:00:25 2002 From: root@dartagnan.hygeos.com (root) Date: Tue, 23 Jul 2002 12:00:25 +0200 (CEST) Subject: [maplab-users] php config problem Message-ID: When i try to load the shared object: Warning: Unable to load dynamic library '/usr/local/lib/php_mapscript.so' - libwwwxml.so.0: cannot open shared object file: No such file or directory in /usr/local/httpd/htdocs/tmp/phpinfo.php on line 21 but i have all installed well and libwwwxml.so and (libwwwxml.so.0) are found in /usr/local/lib... I have a lot of problems to resolve this problem... thanks for your help. From morissette@dmsolutions.ca Tue Jul 23 14:16:05 2002 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Tue, 23 Jul 2002 09:16:05 -0400 Subject: [maplab-users] php config problem References: Message-ID: <3D3D5715.A0BB06A2@dmsolutions.ca> The problem is likely that /usr/local/lib is not in your runtime library path. Assuming that you are running Linux, then you can add it by follwing these steps: - Add a line with "/usr/local/lib" to /etc/ld.so.conf if there is not already one - Run /sbin/ldconfig as root to force the system to refresh its cached runtime libpath Daniel root wrote: > > When i try to load the shared object: > > Warning: Unable to load dynamic library '/usr/local/lib/php_mapscript.so' > - libwwwxml.so.0: cannot open shared object file: No such file or > directory in /usr/local/httpd/htdocs/tmp/phpinfo.php on line 21 > > but i have all installed well and libwwwxml.so and (libwwwxml.so.0) are > found in /usr/local/lib... > > I have a lot of problems to resolve this problem... thanks for your help. > > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users From crash@voila.fr Wed Jul 24 11:33:39 2002 From: crash@voila.fr (=?iso-8859-1?Q?CraSh_-_Expert_Glandeur?=) Date: Wed, 24 Jul 2002 12:33:39 +0200 Subject: [maplab-users] (no subject) Message-ID: I've got a problem concerning maplab and mapscript... It worked a little but i can't work on. Fatal error: Call to undefined function: ms_tokenizemap() in /usr/local/httpd/htdocs/maplab/htdocs/mapedit/mapeditapp.php on line 164 But i have installed successfully the components ans the configuration information url says me that it found it well. but i haven't "dl" the component for dbase and i would want to know if it is necessary to do it and if it could be my problem. Thanks a lot. ------------------------------------------ Faites un voeu et puis Voila ! www.voila.fr From andrei@ifree-ore.org Wed Jul 24 14:20:37 2002 From: andrei@ifree-ore.org (Fabrice ANDREI) Date: Wed, 24 Jul 2002 15:20:37 +0200 Subject: [maplab-users] Mapserver current version... Message-ID: <200207241520370803.015C001A@smtp.wanadoo.fr> --=====_102751683741=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hello world. I have to ask you a question : in the installation= Instructions for linux, I read that Maplab can't perform with a mapserver= version before 3.6.2. But on http://mapserver.gis.umn.edu/, the current= version is the 3.6.1. I am french, so maybe I miss an important detail ?= Can someone explain that to me ? Fabrice ANDREI --=====_102751683741=_ Content-Type: text/html; charset="us-ascii"
Hello world. I have to ask you a question : in the installation Instructions for linux, I read that Maplab can't perform with a mapserver version before 3.6.2. But on http://mapserver.gis.umn.edu/, the current version is the 3.6.1. I am french, so maybe I miss an important detail ? Can someone explain that to me ?
 
Fabrice ANDREI
--=====_102751683741=_-- From silke@intevation.de Wed Jul 24 14:39:55 2002 From: silke@intevation.de (Silke Reimer) Date: Wed, 24 Jul 2002 15:39:55 +0200 Subject: [maplab-users] Mapserver current version... In-Reply-To: <200207241520370803.015C001A@smtp.wanadoo.fr> References: <200207241520370803.015C001A@smtp.wanadoo.fr> Message-ID: <20020724133955.GA2293@intevation.de> Fabrice, On Wed, Jul 24, 2002 at 03:20:37PM +0200, Fabrice ANDREI wrote: > Hello world. I have to ask you a question : in the installation Instructions for linux, I read that Maplab can't perform with a mapserver version before 3.6.2. But on http://mapserver.gis.umn.edu/, the current version is the 3.6.1. I am french, so maybe I miss an important detail ? Can someone explain that to me ? > > Fabrice ANDREI > If I am right, version 3.6.2 of the mapserver wasn't an official release of the MapServer but necessary for MapLab. You can download this newest version from the server of DM Solutions: http://www2.dmsolutions.on.ca/mapserver/dl/mapserver-3.6.2.tar.gz Good luck Silke -- Silke Reimer Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From crash@voila.fr Wed Jul 24 14:57:36 2002 From: crash@voila.fr (=?iso-8859-1?Q?CraSh_-_Expert_Glandeur?=) Date: Wed, 24 Jul 2002 15:57:36 +0200 Subject: [maplab-users] =?iso-8859-1?Q?Problem_with_libwww?= Message-ID: Hello, After deleting the files which mapserver have installed during make install, I've tried to install the new mapserver 3.6.2 : ./configure --with-proj --with-wmsclient --with-libwww --with-gdal --enable-runpath --with-php=../php-4.2.1 --without-tiff --with-gd --enable-force-freetype1 make and after a lot of lines : gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS -DUSE_WMS_LYR -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/w3c-libwww -DHAVE_CONFIG_H shp2img.o -Wl,-rpath,/home/ramon/DEGRAEVE/mapserver/mapserver-3.6.2 -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lttf -lpng -lz -ljpeg -lttf -lpng -lz -lproj -ljpeg -L/usr/local/lib -lgdal.1.1 -L/usr/local/lib -lwwwxml -lxmltok -lxmlparse -lwwwinit -lwwwapp -lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl -lm -o shp2img /usr/local/lib/libwwwcore.a(HTWWWStr.o): In function `HTMessageIdStr': /home/ramon/DEGRAEVE/mapserver/LIBWWW/Library/src/HTWWWStr.c:360: the use of `tmpnam' is dangerous, better use `mkstemp' /usr/local/lib/libwwwcore.a(HTInet.o): In function `HTGetTmpFileName': /home/ramon/DEGRAEVE/mapserver/LIBWWW/Library/src/HTInet.c:621: the use of `tempnam' is dangerous, better use `mkstemp' /usr/local/lib/libwwwapp.a(HTInit.o): In function `HTConverterInit': /home/ramon/DEGRAEVE/mapserver/LIBWWW/Library/src/HTInit.c:87: undefined reference to `HTXML_new' /home/ramon/DEGRAEVE/mapserver/LIBWWW/Library/src/HTInit.c:88: undefined reference to `HTXML_new' and it stops. I've looked for HTXML_new but i havent found it. and i have installed expat too because it was talking about xml/libwww and it was without effect... if someone has an idea.. =) Thanks a lot :). Frederic Degraeve ------------------------------------------------ "I dont want to crash my program. Sniffff" Crash > > I've got a problem concerning maplab and mapscript... > It worked a little but i can't work on. > > > Fatal error: Call to undefined function: ms_tokenizemap() in > /usr/local/httpd/htdocs/maplab/htdocs/mapedit/mapeditapp.php on line 164 > > But i have installed successfully the components ans the configuration information url > says me that it found it well. but i haven't "dl" the component for dbase and i would > want to know if it is necessary to do it and if it could be my problem. > > Thanks a lot. > > ------------------------------------------ > > Faites un voeu et puis Voila ! www.voila.fr > ------------------------------------------ Faites un voeu et puis Voila ! www.voila.fr From morissette@dmsolutions.ca Wed Jul 24 16:27:55 2002 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Wed, 24 Jul 2002 11:27:55 -0400 Subject: [maplab-users] (no subject) References: Message-ID: <3D3EC77B.C488C00A@dmsolutions.ca> ms_tokenizemap() was added in MapServer 3.6.2... so you have to build/install MapServer/MapScript 3.6.2 from: http://www2.dmsolutions.ca/mapserver/dl/mapserver-3.6.2.tar.gz Daniel CraSh - Expert Glandeur wrote: > > I've got a problem concerning maplab and mapscript... > It worked a little but i can't work on. > > Fatal error: Call to undefined function: ms_tokenizemap() in > /usr/local/httpd/htdocs/maplab/htdocs/mapedit/mapeditapp.php on line 164 > > But i have installed successfully the components ans the configuration information url > says me that it found it well. but i haven't "dl" the component for dbase and i would > want to know if it is necessary to do it and if it could be my problem. > > Thanks a lot. > > ------------------------------------------ > > Faites un voeu et puis Voila ! www.voila.fr > From morissette@dmsolutions.ca Wed Jul 24 16:52:04 2002 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Wed, 24 Jul 2002 11:52:04 -0400 Subject: [maplab-users] Problem with libwww References: Message-ID: <3D3ECD24.D18319D9@dmsolutions.ca> Humm... this error is really odd... the first thing I would suggest would be to make sure that you do not have two copies of libwww installed on your ssystem: one under /usr/lib, and one under /usr/local/lib. If you have two copies, then remove the copy from /usr/lib (using rpm on RedHat systems). Daniel CraSh - Expert Glandeur wrote: > > Hello, > > After deleting the files which mapserver have installed during make install, I've tried to install the new mapserver 3.6.2 : > ./configure --with-proj --with-wmsclient --with-libwww --with-gdal --enable-runpath --with-php=../php-4.2.1 --without-tiff --with-gd --enable-force-freetype1 > make > and after a lot of lines : > > gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS -DUSE_WMS_LYR -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/w3c-libwww -DHAVE_CONFIG_H shp2img.o -Wl,-rpath,/home/ramon/DEGRAEVE/mapserver/mapserver-3.6.2 -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lttf -lpng -lz -ljpeg > -lttf -lpng -lz -lproj -ljpeg -L/usr/local/lib -lgdal.1.1 -L/usr/local/lib -lwwwxml -lxmltok -lxmlparse -lwwwinit -lwwwapp -lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl -lm -o shp2img > /usr/local/lib/libwwwcore.a(HTWWWStr.o): In function `HTMessageIdStr': > /home/ramon/DEGRAEVE/mapserver/LIBWWW/Library/src/HTWWWStr.c:360: the use of `tmpnam' > is dangerous, better use `mkstemp' > /usr/local/lib/libwwwcore.a(HTInet.o): In function `HTGetTmpFileName': > /home/ramon/DEGRAEVE/mapserver/LIBWWW/Library/src/HTInet.c:621: the use of `tempnam' is dangerous, better use `mkstemp' > /usr/local/lib/libwwwapp.a(HTInit.o): In function `HTConverterInit': > /home/ramon/DEGRAEVE/mapserver/LIBWWW/Library/src/HTInit.c:87: undefined reference to > `HTXML_new' > /home/ramon/DEGRAEVE/mapserver/LIBWWW/Library/src/HTInit.c:88: undefined reference to > `HTXML_new' > > and it stops. I've looked for HTXML_new but i havent found it. and i have installed expat too because it was talking about xml/libwww and it was without effect... if someone has an idea.. =) > > Thanks a lot :). > > Frederic Degraeve > > ------------------------------------------------ > > "I dont want to crash my program. Sniffff" > Crash > > > > I've got a problem concerning maplab and mapscript... > > It worked a little but i can't work on. > > > > > > Fatal error: Call to undefined function: ms_tokenizemap() in > > /usr/local/httpd/htdocs/maplab/htdocs/mapedit/mapeditapp.php on line 164 > > > > But i have installed successfully the components ans the configuration information url > > says me that it found it well. but i haven't "dl" the component for dbase and i would > > want to know if it is necessary to do it and if it could be my problem. > > > > Thanks a lot. > > > > ------------------------------------------ > > > > Faites un voeu et puis Voila ! www.voila.fr > > > > ------------------------------------------ > > Faites un voeu et puis Voila ! www.voila.fr > From maplab-users Wed Jul 24 17:13:33 2002 From: maplab-users (Jeff McKenna) Date: Wed, 24 Jul 2002 12:13:33 -0400 Subject: [maplab-users] (no subject) References: Message-ID: <3D3ED22D.ACACCA87@dmsolutions.ca> About enabling the dbase extension: Currently you must enable the dbase extension to use MapLab, but you have brought up a good point and we have entered a bug to check and load all required extensions. This will hopefully be fixed soon. Jeff CraSh - Expert Glandeur wrote: > > I've got a problem concerning maplab and mapscript... > It worked a little but i can't work on. > > Fatal error: Call to undefined function: ms_tokenizemap() in > /usr/local/httpd/htdocs/maplab/htdocs/mapedit/mapeditapp.php on line 164 > > But i have installed successfully the components ans the configuration information url > says me that it found it well. but i haven't "dl" the component for dbase and i would > want to know if it is necessary to do it and if it could be my problem. > > -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca/ From hi-ono@mn.xdsl.ne.jp Wed Jul 24 18:07:14 2002 From: hi-ono@mn.xdsl.ne.jp (Hisaji ONO) Date: Thu, 25 Jul 2002 02:07:14 +0900 Subject: [maplab-users] About using Rosa on MapLab using non-gif support MapScript.dll Message-ID: <00c801c23334$8ec33930$650202c0@vip> Hello. This is my first message in this mailing list. I use MapLab using non-GIF support MapScript_36.dll compiling from source code of MapServer-3.6.2 on NT4.0 sp 6a. In MapEdit's preview, I couldn't diplay map image, just white blank image on Rosa enable mode . However I could display map on non-Rosa mode. Could you tell me any solution about this? Best Regards. From pgs@magma.ca Wed Jul 24 18:00:24 2002 From: pgs@magma.ca (Paul Spencer) Date: Wed, 24 Jul 2002 13:00:24 -0400 Subject: [maplab-users] About using Rosa on MapLab using non-gif support MapScript.dll References: <00c801c23334$8ec33930$650202c0@vip> Message-ID: <3D3EDD28.1040005@magma.ca> Hisaji, there are two possible causes, the most likely being that a PNG image is being generated. ROSA, being a Java applet, doesn't support PNG in all except the most recent JDK or JRE. If you are not using GIF, then you will need to use JPEG. You can do this by specifying JPEG in the maplab preferences or as the IMAGETYPE in your mapfile. I would think that using IMAGETYPE would be better because it would create the map image in JPEG which would make ROSA happy, but you could then use PNG for other images. Cheers, Paul Spencer Applications and Software Development DM Solutions Group Hisaji ONO wrote: >Hello. > > This is my first message in this mailing list. > > I use MapLab using non-GIF support MapScript_36.dll compiling from source >code of MapServer-3.6.2 on NT4.0 sp 6a. > > In MapEdit's preview, I couldn't diplay map image, just white blank image >on Rosa enable mode . However I could display map on non-Rosa mode. > > Could you tell me any solution about this? > > Best Regards. > > >_______________________________________________ >Maplab-users mailing list >Maplab-users@dmsolutions.ca >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > From hi-ono@mn.xdsl.ne.jp Wed Jul 24 18:33:31 2002 From: hi-ono@mn.xdsl.ne.jp (Hisaji ONO) Date: Thu, 25 Jul 2002 02:33:31 +0900 Subject: [maplab-users] About using Rosa on MapLab using non-gif support MapScript.dll References: <00c801c23334$8ec33930$650202c0@vip> <3D3EDD28.1040005@magma.ca> Message-ID: <00dc01c23338$3b0f7890$650202c0@vip> Thank you for your response, Paul. I set follwing, but sill I got white blank image. Out side of MapLab, for example on gmap, I could use Rosa on same IE. Regards. > Hisaji, there are two possible causes, the most likely being that a PNG > image is being generated. ROSA, being a Java applet, doesn't support PNG > in all except the most recent JDK or JRE. If you are not using GIF, then > you will need to use JPEG. You can do this by specifying JPEG in the > maplab preferences or as the IMAGETYPE in your mapfile. I would think > that using IMAGETYPE would be better because it would create the map > image in JPEG which would make ROSA happy, but you could then use PNG > for other images. > > Cheers, > From woodbri@swoodbridge.com Wed Jul 24 19:00:01 2002 From: woodbri@swoodbridge.com (woodbri@swoodbridge.com) Date: Wed, 24 Jul 2002 14:00:01 -0400 Subject: [maplab-users] What causes this error?? (maplab-beta6) Message-ID: <3D3EB2E1.27857.46B7B01@localhost> Hi all, I have been working with a mapfile that has some projection info in it and I keep getting this error: Fatal error: MapServer Error in msProcessProjection(): projection not named in /home/httpd/html/maplab-beta6/common/wrapper/map_session.php on line 679 The only way to recover from it is to kill all browser instances and restart the browser, then the error doesn't appear for a while until I change something in the mapfile with mapedit. From lists.ahaigh@dsl.pipex.com Wed Jul 24 19:02:13 2002 From: lists.ahaigh@dsl.pipex.com (Andrew Haigh) Date: Wed, 24 Jul 2002 19:02:13 +0100 Subject: [maplab-users] Config. Problem Message-ID: <3D3EEBA5.7080109@dsl.pipex.com> Firstly great software! I've got a small problem (perhaps). I'm using: * Windows 2000 Server SP2 * IIS * PHP 4.2.2 (Build Date: Jul 21 2002 23:51:43) * MapServer 3.6.2 form the dm solutions website * MapScript & Proj loaded in php.ini I'm still sorting out the configuration, when I select 'View installation information' it says under 'MapScript Information' Mapscript not found. However, MapScript is detected under the Required Modules sections. Do I have a problem, or is it just a 'feature'? Many thanks Andrew Haigh From pgs@magma.ca Wed Jul 24 19:09:22 2002 From: pgs@magma.ca (Paul Spencer) Date: Wed, 24 Jul 2002 14:09:22 -0400 Subject: [maplab-users] About using Rosa on MapLab using non-gif support MapScript.dll References: <00c801c23334$8ec33930$650202c0@vip> <3D3EDD28.1040005@magma.ca> <00dc01c23338$3b0f7890$650202c0@vip> Message-ID: <3D3EED52.5010300@magma.ca> Hisaji, can you send me (directly if you wish) your mapfile and your maplab.xml configuration file pls. Paul Spencer Applications and Software Development DM Solutions Group Hisaji ONO wrote: >Thank you for your response, Paul. > > I set follwing, but sill I got white blank image. > > Out side of MapLab, for example on gmap, I could use Rosa on same IE. > > Regards. > > > >>Hisaji, there are two possible causes, the most likely being that a PNG >>image is being generated. ROSA, being a Java applet, doesn't support PNG >>in all except the most recent JDK or JRE. If you are not using GIF, then >>you will need to use JPEG. You can do this by specifying JPEG in the >>maplab preferences or as the IMAGETYPE in your mapfile. I would think >>that using IMAGETYPE would be better because it would create the map >>image in JPEG which would make ROSA happy, but you could then use PNG >>for other images. >> >>Cheers, >> >> >> > > >_______________________________________________ >Maplab-users mailing list >Maplab-users@dmsolutions.ca >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > From woodbri@swoodbridge.com Wed Jul 24 19:11:54 2002 From: woodbri@swoodbridge.com (woodbri@swoodbridge.com) Date: Wed, 24 Jul 2002 14:11:54 -0400 Subject: [maplab-users] RE: [mapserver-users] projection help please In-Reply-To: <13858AA1A74F30419F319ACB66A9D1220E840E@mercator.topozone.com> Message-ID: <3D3EB5AA.15154.4765CD9@localhost> On 24 Jul 2002 at 13:31, Ed McNierney wrote: > Steve - > > I'm not sure about this, but have you tried adding a "datum=NAD83" to the latlong layers? I always include a datum or ellpsoid in all my projection definitions - I'm not sure what would be the default since your output projection specifies a datum and the input latlong layers do not. Good suggestion, but that didn't help. I zoomed way out and it looks like the roads layers are rendering but doing so unprojected! Like mapserver thinks that are already projected and they are being drawn as if the lat/long is in projected feet. Here the mapserver output string: MapScript Version ($Revision: 1.104.2.1 $ $Date: 2002/06/03 14:19:53 $) MapServer version 3.6.1-dev OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -Steve > - Ed > > Ed McNierney > President and Chief Mapmaker > TopoZone.com / Maps a la carte, Inc. > 73 Princeton Street, Suite 305 > North Chelmsford, MA 01863 > ed@topozone.com > (978) 251-4242 > > -----Original Message----- > From: woodbri@swoodbridge.com [mailto:woodbri@swoodbridge.com] > Sent: Wednesday, July 24, 2002 1:07 PM > To: mapserver-users@lists.gis.umn.edu > Subject: [mapserver-users] projection help please > > > Arrrgh! This is my first attempt to work with layers in two different > projections. I can get parcels to display, but not the roads layers > below. The roads display just fine by themselves unprojected. The > parcels show up just fine, they are in FL North state plane > projection #903 and the roads are both latlong projection. > > Any help would be greatly appreciated. > -Steve W. > > > MAP > NAME "gadsden" > STATUS ON > EXTENT 1850043.62398028 512249.445079203 2012425.97125672 > 626430.515528745 > SIZE 400 400 > IMAGECOLOR 255 255 255 > UNITS FEET > IMAGETYPE GIF > WEB > IMAGEPATH "/home/httpd/html/web2/tmp/" > IMAGEURL "/web2/tmp/" > END > PROJECTION > "proj=lcc" > "datum=NAD83" > "lon_0=-84d30" > "lat_1=30d45" > "lat_2=29d35" > "lat_0=29" > "x_0=600000" > "y_0=0" > "no_defs" > END > LEGEND > STATUS ON > END > SCALEBAR > STATUS ON > UNITS MILES > SIZE 400 10 > STYLE 1 > COLOR 0 0 0 > TRANSPARENT ON > END > LAYER > NAME "parcels" > STATUS DEFAULT > DATA "/data/maps/gadpar" > TYPE POLYGON > UNITS FEET > LABELITEM "shortparce" > LABELMAXSCALE 10000 > PROJECTION > "proj=lcc" > "datum=NAD83" > "lon_0=-84d30" > "lat_1=30d45" > "lat_2=29d35" > "lat_0=29" > "x_0=600000" > "y_0=0" > "no_defs" > END > CLASS > COLOR 153 255 204 > OUTLINECOLOR 0 0 0 > LABEL > TYPE BITMAP > SIZE TINY > COLOR 0 0 0 > OUTLINECOLOR 255 255 255 > END > END > END > LAYER > NAME "major roads" > STATUS ON > DATA "/data/maps/majroads" > TYPE LINE > UNITS DD > PROJECTION > "proj=latlong" > END > CLASS > COLOR 255 0 0 > END > END > LAYER > NAME "minroads" > STATUS ON > DATA "/data/maps/minroads" > TYPE LINE > UNITS DD > PROJECTION > "proj=latlong" > END > CLASS > COLOR 0 255 0 > END > END > END > > From pgs@magma.ca Wed Jul 24 19:23:21 2002 From: pgs@magma.ca (Paul Spencer) Date: Wed, 24 Jul 2002 14:23:21 -0400 Subject: [maplab-users] Config. Problem References: <3D3EEBA5.7080109@dsl.pipex.com> Message-ID: <3D3EF099.1070600@magma.ca> Andrew, this may be an unintended feature ;) we'll check it out. If you can get mapedit and mapbrowser to work then it is a bug. Cheers, Paul Spencer Applications and Software Development DM Solutions Group Andrew Haigh wrote: > Firstly great software! > > I've got a small problem (perhaps). > > I'm using: > > * Windows 2000 Server SP2 > * IIS > * PHP 4.2.2 (Build Date: Jul 21 2002 23:51:43) > * MapServer 3.6.2 form the dm solutions website > * MapScript & Proj loaded in php.ini > > > I'm still sorting out the configuration, when I select 'View > installation information' it says under 'MapScript Information' > Mapscript not found. However, MapScript is detected under the Required > Modules sections. > > Do I have a problem, or is it just a 'feature'? > > Many thanks > > Andrew Haigh > > > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > From lists.ahaigh@dsl.pipex.com Wed Jul 24 19:34:35 2002 From: lists.ahaigh@dsl.pipex.com (Andrew Haigh) Date: Wed, 24 Jul 2002 19:34:35 +0100 Subject: [maplab-users] Config. Problem References: <3D3EEBA5.7080109@dsl.pipex.com> <3D3EF099.1070600@magma.ca> Message-ID: <3D3EF33B.4030005@dsl.pipex.com> I can open the tutorial mapfile in mapedit, but when I click on PreviewMap I get a new browser window with the error: *Fatal error*: Call to a member function on a non-object in *C:\Inetpub\wwwroot\maplab-2.0rc2\htdocs\mapedit\preview.php* on line *271* I've edited the IMAGEPATH to "C:/mapserver/genmap" and IMAGEURL "/genmap/" (which is the virtual dir.). Any ideas? Many thanks Andrew and I can display the mapfile Paul Spencer wrote: > Andrew, this may be an unintended feature ;) we'll check it out. If > you can get mapedit and mapbrowser to work then it is a bug. > > Cheers, > > Paul Spencer > Applications and Software Development > DM Solutions Group > > Andrew Haigh wrote: > >> Firstly great software! >> >> I've got a small problem (perhaps). >> >> I'm using: >> >> * Windows 2000 Server SP2 >> * IIS >> * PHP 4.2.2 (Build Date: Jul 21 2002 23:51:43) >> * MapServer 3.6.2 form the dm solutions website >> * MapScript & Proj loaded in php.ini >> >> >> I'm still sorting out the configuration, when I select 'View >> installation information' it says under 'MapScript Information' >> Mapscript not found. However, MapScript is detected under the >> Required Modules sections. >> >> Do I have a problem, or is it just a 'feature'? >> >> Many thanks >> >> Andrew Haigh >> >> >> _______________________________________________ >> Maplab-users mailing list >> Maplab-users@dmsolutions.ca >> http://lists.dmsolutions.ca/mailman/listinfo/maplab-users >> > > > > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > From lists.ahaigh@dsl.pipex.com Wed Jul 24 19:37:34 2002 From: lists.ahaigh@dsl.pipex.com (Andrew Haigh) Date: Wed, 24 Jul 2002 19:37:34 +0100 Subject: [maplab-users] Request For Change Message-ID: <3D3EF3EE.7080304@dsl.pipex.com> Hi, I've got an RFC i'd like to raise, its only a small and and not too important but here we go. In MapEdit, could the MapFile Raw Editor (a.k.a the text editor) be changed so that the textarea which holds the mapfile, so that it resizes when the user resizes the window? Andrew Haigh From pgs@magma.ca Wed Jul 24 20:00:31 2002 From: pgs@magma.ca (Paul Spencer) Date: Wed, 24 Jul 2002 15:00:31 -0400 Subject: [maplab-users] Request For Change In-Reply-To: <3D3EF3EE.7080304@dsl.pipex.com> Message-ID: <000001c23344$627e1ce0$a900a8c0@trinity> Andrew, this is already on our list of desired features ;) Unfortunately given the static nature of HTML it is not so easy to implement. If anyone has any suggestions? Cheers, Paul Spencer Applications and Software Development DM Solutions Group > -----Original Message----- > From: maplab-users-admin@dmsolutions.ca > [mailto:maplab-users-admin@dmsolutions.ca] On Behalf Of Andrew Haigh > Sent: Wednesday, July 24, 2002 2:38 PM > To: MapLab > Subject: [maplab-users] Request For Change > > > Hi, > > I've got an RFC i'd like to raise, its only a small and and not too > important but here we go. > > In MapEdit, could the MapFile Raw Editor (a.k.a the text editor) be > changed so that the textarea which holds the mapfile, so that > it resizes > when the user resizes the window? > > Andrew Haigh > > > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/m> aplab-users > From woodbri@swoodbridge.com Wed Jul 24 20:09:34 2002 From: woodbri@swoodbridge.com (woodbri@swoodbridge.com) Date: Wed, 24 Jul 2002 15:09:34 -0400 Subject: [maplab-users] What causes this error?? (maplab-beta6) In-Reply-To: <3D3EEE38.3060103@magma.ca> Message-ID: <3D3EC32E.3415.4AB28A6@localhost> On 24 Jul 2002 at 14:13, Paul Spencer wrote: > I've seen this before, I think the projection is invalid somehow. Are > you using the latest version of maplab? I think that there were some > issues with mapedit and setting up the projections in some earlier > versions. Also, if you are using mapbrowser If you could send the > mapfile, or at least the projection settings, that might help figure it out. Paul, Mapfile below. I'm using beta6. The mapfile works fine except for this error and the fact that every time I try to run gmapfactory I get a javascript error when I run IE 5.5 - switched to NS 4.79 and the javascript error goes away. -Steve MAP NAME "gadsden" STATUS ON EXTENT 1850043.62398028 512249.445079203 2012425.97125672 626430.515528745 SIZE 400 400 IMAGECOLOR 255 255 255 UNITS FEET IMAGETYPE GIF SYMBOLSET "/home/httpd/html/web2/msapps/map/symbols/symbol.sym" FONTSET "/home/httpd/html/web2/msapps/map/fontset.txt" WEB IMAGEPATH "/home/httpd/html/web2/tmp/" IMAGEURL "/web2/tmp/" END REFERENCE IMAGE "/home/httpd/html/web2/msapps/map/maps-ref.gif" STATUS ON EXTENT 1850043.62398028 512249.445079203 2012425.97125672 626430.515528745 SIZE 100 100 END PROJECTION "proj=lcc" "datum=NAD83" "lon_0=-84d30" "lat_1=30d45" "lat_2=29d35" "lat_0=29" "x_0=600000" "y_0=0" "to_meter=0.3048006096" "no_defs" END LEGEND STATUS ON END SCALEBAR STATUS ON UNITS MILES SIZE 400 10 STYLE 1 COLOR 0 0 0 TRANSPARENT ON END LAYER NAME "parcels" STATUS DEFAULT DATA "/data/maps/gadpar" TYPE POLYGON UNITS FEET LABELITEM "DXF_TEXT" LABELMAXSCALE 10000 PROJECTION "proj=lcc" "datum=NAD83" "lon_0=-84d30" "lat_1=30d45" "lat_2=29d35" "lat_0=29" "x_0=600000" "y_0=0" "to_meter=0.3048006096" "no_defs" END CLASS COLOR 153 255 204 OUTLINECOLOR 0 0 0 LABEL TYPE BITMAP SIZE TINY COLOR 0 0 0 OUTLINECOLOR 255 255 255 END END END LAYER NAME "major roads" STATUS ON DATA "/data/maps/majroads" TYPE LINE UNITS DD PROJECTION "proj=latlong" "datum=NAD27" "" END CLASS SYMBOL 8 COLOR 255 0 0 SIZE 2 END END LAYER NAME "minroads" STATUS ON DATA "/data/maps/minroads" TYPE LINE UNITS DD PROJECTION "proj=latlong" "datum=NAD27" "" END CLASS COLOR 0 255 0 END END END From assefa@dmsolutions.ca Wed Jul 24 20:19:33 2002 From: assefa@dmsolutions.ca (Yewondwossen Assefa) Date: Wed, 24 Jul 2002 15:19:33 -0400 Subject: [maplab-users] About using Rosa on MapLab using non-gif supportMapScript.dll References: <00c801c23334$8ec33930$650202c0@vip> <3D3EDD28.1040005@magma.ca> Message-ID: <3D3EFDC5.9239F000@dmsolutions.ca> Hi There, Just a note on ROSA and PNG support : the latest version (developpment version) distributed on http://www2.dmsolutions.ca/webtools/rosa/rosa_downloads.html include the support of PNG through the inclusion of the sixlegs library. Note that the inclusion of this library expanded the size of the applet from ~40k to ~100K. Best Regards, Paul Spencer wrote: > Hisaji, there are two possible causes, the most likely being that a PNG > image is being generated. ROSA, being a Java applet, doesn't support PNG > in all except the most recent JDK or JRE. If you are not using GIF, then > you will need to use JPEG. You can do this by specifying JPEG in the > maplab preferences or as the IMAGETYPE in your mapfile. I would think > that using IMAGETYPE would be better because it would create the map > image in JPEG which would make ROSA happy, but you could then use PNG > for other images. > > Cheers, > > Paul Spencer > Applications and Software Development > DM Solutions Group > > Hisaji ONO wrote: > > >Hello. > > > > This is my first message in this mailing list. > > > > I use MapLab using non-GIF support MapScript_36.dll compiling from source > >code of MapServer-3.6.2 on NT4.0 sp 6a. > > > > In MapEdit's preview, I couldn't diplay map image, just white blank image > >on Rosa enable mode . However I could display map on non-Rosa mode. > > > > Could you tell me any solution about this? > > > > Best Regards. > > > > > >_______________________________________________ > >Maplab-users mailing list > >Maplab-users@dmsolutions.ca > >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > > > > > > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa@dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 (ext 14) Fax: (613) 565-0925 ---------------------------------------------------------------- From hi-ono@mn.xdsl.ne.jp Wed Jul 24 23:04:50 2002 From: hi-ono@mn.xdsl.ne.jp (Hisaji ONO) Date: Thu, 25 Jul 2002 07:04:50 +0900 Subject: [maplab-users] Changing font in legend References: <00c801c23334$8ec33930$650202c0@vip> <3D3EDD28.1040005@magma.ca> <3D3EFDC5.9239F000@dmsolutions.ca> Message-ID: <016101c2335e$222be680$650202c0@vip> Hi. In MapEdit, I used Japanese charcters in legend using GIF & Japanese support MapScript.dll compiled by myself . But in spite of setting true type font and Japanese double byte font correctly in legend object's label object, legend coudn't display Japanese characters correctly in preview map. I browse preview map's html source, legend's table tag's coding like this. Japanese Characters ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ In MapBrowser and GMapFactory, this font was used in legend tag. Can I change this font or delete this setting in MapLab? Regards. From hi-ono@mn.xdsl.ne.jp Wed Jul 24 23:53:50 2002 From: hi-ono@mn.xdsl.ne.jp (Hisaji ONO) Date: Thu, 25 Jul 2002 07:53:50 +0900 Subject: [maplab-users] Changing font in legend References: <00c801c23334$8ec33930$650202c0@vip> <3D3EDD28.1040005@magma.ca> <3D3EFDC5.9239F000@dmsolutions.ca> <016101c2335e$222be680$650202c0@vip> Message-ID: <017401c23364$fa45a690$650202c0@vip> Hi. I tried to delete "CHARSET=ISO-8859-1" in follwing files' meta tag. " preview.html" in mapedit "legend.phtml" in mapbrowser But I couldn't find defing meta tag's code in spite of deleting this in MapBroweser's phtmls & phps. Could you give any suggestion about this ? Regards. From andrei@ifree-ore.org Thu Jul 25 10:03:15 2002 From: andrei@ifree-ore.org (Fabrice ANDREI) Date: Thu, 25 Jul 2002 11:03:15 +0200 Subject: [maplab-users] Fatal error ! Message-ID: <200207251103150789.03C5C47B@smtp.wanadoo.fr> --=====_102758779518467=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hello ! I have a problem when I try to run maplab. Each page contain errors= in php. For example, http://fabrice/maplab/config/edit_xml_frameset.phtml return the following= error : Fatal error: Call to undefined function: xml_parser_create() in= /var/www/html/maplab/common/appcontext/appcontext.php on line 163 Maybe be I forgot a detail, but I don't know which one... I have installed= all the components which are necessary ... HELP ! --=====_102758779518467=_ Content-Type: text/html; charset="us-ascii"
Hello ! I have a problem when I try to run maplab. Each page contain errors in php. For example,
Fatal error: Call to undefined function: xml_parser_create() in /var/www/html/maplab/common/appcontext/appcontext.php on line 163
 
Maybe be I forgot a detail, but I don't know which one... I have installed all the components which are necessary ... HELP !
--=====_102758779518467=_-- From schut@sarvision.nl Thu Jul 25 12:47:41 2002 From: schut@sarvision.nl (Vincent Schut) Date: Thu, 25 Jul 2002 11:47:41 +0000 Subject: [maplab-users] Fatal error ! References: <200207251103150789.03C5C47B@smtp.wanadoo.fr> Message-ID: <3D3FE55D.4060302@sarvision.nl> Fabrice, see a previous thread in this list (browse the archives), with subject: fatal error: xml_parser_create(). It is about exactly the same problem, and gives the solution. succes, Vincent. Fabrice ANDREI wrote: > Hello ! I have a problem when I try to run maplab. Each page contain > errors in php. For example, > http://fabrice/maplab/config/edit_xml_frameset.phtml return the > following error : > *Fatal error*: Call to undefined function: xml_parser_create() in > */var/www/html/maplab/common/appcontext/appcontext.php* on line *163* > > Maybe be I forgot a detail, but I don't know which one... I have > installed all the components which are necessary ... HELP ! From crash@voila.fr Thu Jul 25 10:55:18 2002 From: crash@voila.fr (=?iso-8859-1?Q?CraSh?=) Date: Thu, 25 Jul 2002 11:55:18 +0200 Subject: [maplab-users] =?iso-8859-1?Q?GIF_Problem_for_mapbrowser_and__odd_faults_for_mapfactory?= Message-ID: Hello, I m near to have a full-functionnal maplab but only mapedit seems to functionnate full. In my configuration panel it shows that gif and dbase are not activated how can i activate it ? because it do an error when i want to use mapbrowser : Fatal error: MapServer Error in msDrawReferenceMap(): Unable to load GIF reference image. in /usr/local/httpd/htdocs/maplab/htdocs/mapbrowser/map.php on line 654 (I've tried to use a gd with gif but it seems to have no result...) and for gmapfactory : Warning: MapServer Error in msGetLabelSize(): Could not find/open font in /usr/local/httpd/htdocs/maplab/projects/gmf_apps/tut/tut.php on line 254 Fatal error: Call to a member function on a non-object in /usr/local/httpd/htdocs/maplab/projects/gmf_apps/tut/tut.php on line 258 I have no idea of these faults... Thanks for your help again... =) Frederic Degraeve ------------------------------------------ Faites un voeu et puis Voila ! www.voila.fr From crash@voila.fr Thu Jul 25 11:00:30 2002 From: crash@voila.fr (=?iso-8859-1?Q?CraSh?=) Date: Thu, 25 Jul 2002 12:00:30 +0200 Subject: [maplab-users] =?iso-8859-1?Q?Re:_[maplab-users]_(no_subject)?= Message-ID: Hello, Do you know where can i find a free dbase shared object and how can i activate it? Because i have configured it in my php.ini but i have no result on the conf panel... Fred > About enabling the dbase extension: > > Currently you must enable the dbase extension to use MapLab, but you have > brought up a good point and we have entered a bug to check and load all required > extensions. This will hopefully be fixed soon. > > Jeff > > > > > CraSh - Expert Glandeur wrote: > > > > I've got a problem concerning maplab and mapscript... > > It worked a little but i can't work on. > > > > Fatal error: Call to undefined function: ms_tokenizemap() in > > /usr/local/httpd/htdocs/maplab/htdocs/mapedit/mapeditapp.php on line 164 > > > > But i have installed successfully the components ans the configuration information url > > says me that it found it well. but i haven't "dl" the component for dbase and i would > > want to know if it is necessary to do it and if it could be my problem. > > > > > > -- > > Jeff McKenna > GIS Specialist > DM Solutions Group Inc. > http://www.dmsolutions.ca/ > ------------------------------------------ Faites un voeu et puis Voila ! www.voila.fr From schut@sarvision.nl Thu Jul 25 13:07:42 2002 From: schut@sarvision.nl (Vincent Schut) Date: Thu, 25 Jul 2002 12:07:42 +0000 Subject: [maplab-users] Fatal error ! References: <200207251103150789.03C5C47B@smtp.wanadoo.fr> <3D3FE55D.4060302@sarvision.nl> <200207251157110492.03F723F2@smtp.wanadoo.fr> Message-ID: <3D3FEA0E.7030008@sarvision.nl> Fabrice ANDREI wrote: >I am a new suscribed on this list... Where can I found the archives ? > >*********** REPLY SEPARATOR *********** > Well you should have had a 'welcome to the maplab users mailing list' message after subscribing... This messages gives you the following adress: http://lists.dmsolutions.ca/mailman/listinfo/maplab-users Here you can click on a 'search the maplab mailing list' or go to the archive and browse trough it. However, the search facility seems to be broken, so you should just go to the archives. To make things easy, you find the message with the question and the answer at: http://lists.dmsolutions.ca/pipermail/maplab-users/2002-July/000049.html Vincent. > >On 25/07/2002 at 11:47 Vincent Schut wrote: > > > >>Fabrice, >> >>see a previous thread in this list (browse the archives), with subject: >>fatal error: xml_parser_create(). >>It is about exactly the same problem, and gives the solution. >> >>succes, >>Vincent. >> >>Fabrice ANDREI wrote: >> >> >> >>>Hello ! I have a problem when I try to run maplab. Each page contain >>>errors in php. For example, >>>http://fabrice/maplab/config/edit_xml_frameset.phtml return the >>>following error : >>>*Fatal error*: Call to undefined function: xml_parser_create() in >>>*/var/www/html/maplab/common/appcontext/appcontext.php* on line *163* >>> >>>Maybe be I forgot a detail, but I don't know which one... I have >>>installed all the components which are necessary ... HELP ! >>> >>> >> >> >>_______________________________________________ >>Maplab-users mailing list >>Maplab-users@dmsolutions.ca >>http://lists.dmsolutions.ca/mailman/listinfo/maplab-users >> >> > > > > > > From morissette@dmsolutions.ca Thu Jul 25 14:22:09 2002 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Thu, 25 Jul 2002 09:22:09 -0400 Subject: [maplab-users] Re: [maplab-users] (no subject) References: Message-ID: <3D3FFB81.D1808079@dmsolutions.ca> CraSh wrote: > > Do you know where can i find a free dbase shared object and how can i activate it? > Because i have configured it in my php.ini but i have no result on the conf panel... > On Unix/Linux, the dbase extension is not available as a .so file (or not in a default setup anyway)... you have to build statically it into your PHP executable. Reconfigure PHP after adding the --enable-dbase configure option, and recompile and dbase will be available. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From crash@voila.fr Thu Jul 25 17:05:00 2002 From: crash@voila.fr (=?iso-8859-1?Q?CraSh?=) Date: Thu, 25 Jul 2002 18:05:00 +0200 Subject: [maplab-users] =?iso-8859-1?Q?msGetLabelSize()/font_problem_?= Message-ID: Hello, I have always this error although all is green on my information panel except for the gif support of gd. I don't see what i can do... have i forgotten to install something? to configure ? please all ideas are welcome.. for mapbrowser : Warning: MapServer Error in msGetLabelSize(): Could not find/open font in /usr/local/httpd/htdocs/maplab/htdocs/mapbrowser/map.php on line 459 Fatal error: Call to a member function on a non-object in /usr/local/httpd/htdocs/maplab/htdocs/mapbrowser/map.php on line 461 for mapfactory : Warning: MapServer Error in msGetLabelSize(): Could not find/open font in /usr/local/httpd/htdocs/maplab/projects/gmf_apps/tut/tut.php on line 254 Fatal error: Call to a member function on a non-object in /usr/local/httpd/htdocs/maplab/projects/gmf_apps/tut/tut.php on line 258 Frederic. > Frederic, > > you need to build both PHP and MapScript against your patched GD to get > it to work properly ... it's a very tricky thing to get right > apparently. You can search the mapserver FAQ and mailing list archives > at http://mapserver.gis.umn.edu/support.html, I am sure you will find > some help there. > > Alternately, you should be able to use PNG and JPEG. > > The last error is also related to image type I think ... again, try PNG > for an image type in the maplab configuration. > > Cheers, > > Paul Spencer > Applications and Software Development > DM Solutions Group > > CraSh wrote: > > >Hello, > > > >I m near to have a full-functionnal maplab but only mapedit seems to functionnate full. > > > >In my configuration panel it shows that gif and dbase are not activated how can i > >activate it ? > >because it do an error when i want to use mapbrowser : > > > >Fatal error: MapServer Error in msDrawReferenceMap(): Unable to load GIF reference > >image. in /usr/local/httpd/htdocs/maplab/htdocs/mapbrowser/map.php on line 654 > > > >(I've tried to use a gd with gif but it seems to have no result...) > > > >and for gmapfactory : > > > >Warning: MapServer Error in msGetLabelSize(): Could not find/open font in > >/usr/local/httpd/htdocs/maplab/projects/gmf_apps/tut/tut.php on line 254 > > > >Fatal error: Call to a member function on a non-object in > >/usr/local/httpd/htdocs/maplab/projects/gmf_apps/tut/tut.php on line 258 > >I have no idea of these faults... > > > >Thanks for your help again... =) > > > >Frederic Degraeve > > > >------------------------------------------ > > > >Faites un voeu et puis Voila ! www.voila.fr > > > >_______________________________________________ > >Maplab-users mailing list > >Maplab-users@dmsolutions.ca > >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > > > > > > > > ------------------------------------------ Faites un voeu et puis Voila ! www.voila.fr From sfournier@dmsolutions.ca Thu Jul 25 20:35:33 2002 From: sfournier@dmsolutions.ca (Sacha Fournier) Date: Thu, 25 Jul 2002 15:35:33 -0400 Subject: [maplab-users] Problem with mailling list search engine. Message-ID: <200207251929.g6PJTwJ04031@xcalibur.dmsolutions.ca> Hi all, We had a problem with our mailling list search engine recently. We fixed the problem and everything should works fine. We hope it did'nt cause you too much problem. Regards, -- Sacha Fournier sfournier@dmsolutions.ca http://www.dmsolutions.ca tel.: 613.565.5056 fax.: 613.565.0925 From sfournier@dmsolutions.ca Thu Jul 25 22:47:13 2002 From: sfournier@dmsolutions.ca (Sacha Fournier) Date: Thu, 25 Jul 2002 17:47:13 -0400 Subject: [maplab-users] New Maplab WIKI page Message-ID: <200207252141.g6PLfbJ05144@xcalibur.dmsolutions.ca> Hi all, We added a new WIKI page for Maplab applications suite. At this momment, there's not much info in it. Our team here will work on that. But as you probably already know, you can contribute to this WIKI content. Feel free to put your contribution in it. You can reach the wiki server at this address: http://www2.dmsolutions.ca/pub_phpwiki/?WIKI_NAME=maplab -- Sacha Fournier sfournier@dmsolutions.ca http://www.dmsolutions.ca tel.: 613.565.5056 fax.: 613.565.0925 From bronsema@dmsolutions.ca Fri Jul 26 12:45:21 2002 From: bronsema@dmsolutions.ca (William A. Bronsema, C.E.T.) Date: Fri, 26 Jul 2002 07:45:21 -0400 Subject: [maplab-users] Changing font in legend In-Reply-To: <017401c23364$fa45a690$650202c0@vip> Message-ID: Hisaji, >Can I change this font or delete this setting in MapLab? Unfortunately there is no current setting in MapLab to globally change the fonts used in MapLab. I'll add it to the list of possible enhancements. > But I couldn't find defing meta tag's code in spite of deleting this in >MapBroweser's phtmls & phps. >Could you give any suggestion about this ? The legends in MapLab are generated using legend templates. The font tags that you are looking for are contained in those legend template files. For MapEdit the file is: ...htdocs/mapedit/legend_template.html. For MapBrowser the file is: ...htdocs/mapbrowser/legend_template.html. GMapFactory is handled a bit differently. If the legend template is set in the mapfile, then that is the template file that will be used. If it is not set or is invalid then the template will be created by GMapFactory using one of the following two files as a base: ...htdocs/gmapfactory/templates/app_legend_template.html or ...htdocs/gmapfactory/templates/app_legend_template_grp.html When GMapFactory creates a new project it will copy either of these two base files to the new project directory as "legend_template.html" depending if a grouped legend is required or not. So you will need to update both of these base files in order for your GMapFactory projects to be produced with the correct font tags in their legend template. I hope this helps. Regards, Bill =========================================================== William A. Bronsema, C.E.T. Applications Developer DM Solutions Group Inc. 72 Chamberlain Avenue, 3rd Floor Ottawa Ontario Canada K1S 1V9 =========================================================== - you cannot win the game, you can only play it - From Mark.Balman@birdlife.org.uk Fri Jul 26 15:20:53 2002 From: Mark.Balman@birdlife.org.uk (Mark Balman) Date: Fri, 26 Jul 2002 15:20:53 +0100 Subject: [maplab-users] maplab configuration Message-ID: Hi I have successfully installed, built and run an application using Mapserver 3.6 on Win 98 / Apache platform and would like to try using maplab to spruce it up. I have successfully installed php 4.2.1 and 3.62 mapscript dll. I have installed this according to the instructions and maplab into c:\apache\apache\htdocs\maplab. I can get to the maplab index page ok. I have tried to open the tutorial map file in mapedit which displays all the parameters but when I try and open the page in mapbrowser everything goes wrong i.e.MapServer Error in msSaveImage() /tutorial/tmp *.gif with Failed writing image to /tutorial/tmp *.gif . I think this might be my paths settings.. can anyone enlighten me as to where these should be pointing? is c:\apache\apache\htdocs\maplab\tutorial\tmp\ the correct path to show for the map/image/urls??? thanks in advance Mark From dgraham@i3.com Fri Jul 26 22:05:17 2002 From: dgraham@i3.com (David Graham) Date: Fri, 26 Jul 2002 15:05:17 -0600 Subject: [maplab-users] Php/CGI - MapLab problem Message-ID: <3D41B98D.8030801@i3.com> Just installed the latest MapLab but now having problems with Php. Here is the details Php 4.1.2 MapScript Version ($Revision: 1.113 $ $Date: 2002/07/08 21:28:57 $) MapServer version 3.7 (development) OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE Apache 1.3.23 Linux version 2.4.18-3 (bhcompile@porky.devel.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 Thu Apr 18 07:32:41 EDT 2002 I am not a Php person, but I have done a lot of work with mapscript. I installed MapLab and everything was working great, until I tried to render things. Then I got a page generated by Mapscript that refrenced a threading problem at http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI. So I endevered to install the CGI version of PHP. I first found that Red Hat ships with one in /usr/bin.| root@host# cp /usr/bin/php /var/www/cgi-bin/. root@host# vi /etc/httpd/conf/httpd.conf | I found the section for the php4 module. It looked like: | AddType application/x-httpd-php .php .php4 .php3 .phtml AddType application/x-httpd-php-source .phps AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps AddType application/x-httpd-php .phtml | I remove the .phtml type from the php4 section. Then add the following lines below the php module definitions. | Action phtml-script /cgi-bin/php AddHandler phtml-script .phtml | I restarted the Http Server and went back to the maplab/htdocs/index.phtml page and this is what I got: *Warning*: Unexpected character in input: '' (ASCII=4) state=1 in */var/www/cgi-bin/php* on line *6081* *Warning*: Unexpected character in input: ' in */var/www/cgi-bin/php* on line *6082* *Warning*: Unexpected character in input: '' (ASCII=4) state=1 in */var/www/cgi-bin/php* on line *6082* *Warning*: Unexpected character in input: '' (ASCII=4) state=1 in */var/www/cgi-bin/php* on line *6083* *Warning*: Unexpected character in input: '' (ASCII=28) state=1 in */var/www/cgi-bin/php* on line *6084* *Parse error*: parse error in */var/www/cgi-bin/php* on line *6084* My question is - What have I done wrong! Things worked well before I made the switch to CGI (with the exception that mapscript did not want to work). Any help anyone can give would be aprecieated. Dave -- David W. Graham Director of Geospatial Applications Development information integration and imaging, LLC 201 Linden St, Third Floor Fort Collins, CO 80524 (970) 482-4400 dgraham@i3.com http://www.i3.com From pgs@magma.ca Fri Jul 26 22:36:03 2002 From: pgs@magma.ca (Paul Spencer) Date: Fri, 26 Jul 2002 17:36:03 -0400 Subject: [maplab-users] Php/CGI - MapLab problem References: <3D41B98D.8030801@i3.com> Message-ID: <3D41C0C3.3040603@magma.ca> David, as you have surmised, MapScript will not work reliably as a module, only cgi. Assuming that you are compiling php421, you could can modify the httpd.conf file: AddType application/x-httpd-php .php .php4 .php3 .phtml Action phtml-script /cgi-bin/php421 and copy your php to /var/www/cgi-bin/php421 Change the rest of your configuration back to the way it was and then comment out the for mod_php4 and mod_php3 (and any other php-related options Oh, one other change, you may want to add index.phtml as a valid default page in David Graham wrote: > Just installed the latest MapLab but now having problems with Php. > Here is the details > > Php 4.1.2 > > MapScript Version ($Revision: 1.113 $ $Date: 2002/07/08 21:28:57 $) > MapServer version 3.7 (development) OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP > SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER INPUT=EPPL7 INPUT=JPEG > INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > > Apache 1.3.23 > > Linux version 2.4.18-3 (bhcompile@porky.devel.redhat.com) (gcc version > 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 Thu Apr 18 07:32:41 EDT > 2002 > > I am not a Php person, but I have done a lot of work with mapscript. > I installed MapLab and everything was working great, until I tried to > render things. Then I got a page generated by Mapscript that > refrenced a threading problem at > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI. > > So I endevered to install the CGI version of PHP. I first found that > Red Hat ships with one in /usr/bin.| > > root@host# cp /usr/bin/php /var/www/cgi-bin/. > root@host# vi /etc/httpd/conf/httpd.conf | > > I found the section for the php4 module. It looked like: > > | > AddType application/x-httpd-php .php .php4 .php3 .phtml > AddType application/x-httpd-php-source .phps > > > AddType application/x-httpd-php3 .php3 > AddType application/x-httpd-php3-source .phps > > > AddType application/x-httpd-php .phtml > | > > I remove the .phtml type from the php4 section. Then add the following > lines below the php module definitions. > > | Action phtml-script /cgi-bin/php > AddHandler phtml-script .phtml | > > I restarted the Http Server and went back to the > maplab/htdocs/index.phtml page and this is what I got: > > *Warning*: Unexpected character in input: '' (ASCII=4) state=1 in > */var/www/cgi-bin/php* on line *6081* > *Warning*: Unexpected character in input: ' in > */var/www/cgi-bin/php* on line *6082* > *Warning*: Unexpected character in input: '' (ASCII=4) state=1 in > */var/www/cgi-bin/php* on line *6082* > *Warning*: Unexpected character in input: '' (ASCII=4) state=1 in > */var/www/cgi-bin/php* on line *6083* > *Warning*: Unexpected character in input: '' (ASCII=28) state=1 in > */var/www/cgi-bin/php* on line *6084* > *Parse error*: parse error in */var/www/cgi-bin/php* on line *6084* > > My question is - What have I done wrong! > > Things worked well before I made the switch to CGI (with the exception > that mapscript did not want to work). Any help anyone can give would > be aprecieated. > > Dave > From pgs@magma.ca Mon Jul 29 13:55:41 2002 From: pgs@magma.ca (Paul Spencer) Date: Mon, 29 Jul 2002 08:55:41 -0400 Subject: [maplab-users] maplab configuration References: Message-ID: <3D453B4D.2080701@magma.ca> Mark, the tutorial.map file has no IMAGETYPE set, so by default MapScript will attempt to produce the output image in GIF format. I suspect you are using precompiled binaries for Windows and these probably don't have GIF support. You can modify the map file to use an IMAGETYPE of PNG - this setting is part of the Map object in MapEdit. For the tmp stuff, the location of the tmp directories is controlled by a couple of settings in the Web object of your map file. The tutorial map file is set up to conform to our (DM Solutions Group) convention which is: IMAGEPATH "/tmp/ms_tmp/ " #absolute path to temp directory for mapscript files IMAGEURL "/ms_tmp/" #url to access files in the IMAGE_PATH This means that there is a tmp directory in the root of the drive that you installed apache/mapscript in, in this case c:\ I think. So you would need to have c:\tmp\ms_tmp created. The IMAGEURL means that your apache configuration understands that the path http:///ms_tmp/ maps to c:\tmp\ms_tmp, normally on windows you would do this using an Alias /ms_tmp/ "c:\tmp\ms_tmp\" in your httpd.conf file. You can set up any "ms_tmp" directory and url, but you will need to make sure that your map file and you httpd.conf file are set up correctly. Your maplab configuration files have a TMP_IMG_PATH and a TMP_MAP_PATH setting. These are somewhat independent of the mapfile settings but we do expect that the paths exist. Normally, I would set these two values to be c:\tmp. Be aware that MapLab saves temporary copies of your mapfile while you are working on it, and if you put TMP_MAP_PATH in a web-accessible directory then there is a potential for someone to access a copy of your mapfile and use that to guess path information on your computer, this may be a potential security problem. Cheers, Paul Mark Balman wrote: >Hi > >I have successfully installed, built and run an application using Mapserver >3.6 on Win 98 / Apache platform and would like to try using maplab to spruce >it up. I have successfully installed php 4.2.1 and 3.62 mapscript dll. I >have installed this according to the instructions and maplab into >c:\apache\apache\htdocs\maplab. I can get to the maplab index page ok. I >have tried to open the tutorial map file in mapedit which displays all the >parameters but when I try and open the page in mapbrowser everything goes >wrong i.e.MapServer Error in msSaveImage() /tutorial/tmp *.gif with Failed >writing image to /tutorial/tmp *.gif . I think this might be my paths >settings.. can anyone enlighten me as to where these should be pointing? is >c:\apache\apache\htdocs\maplab\tutorial\tmp\ the correct path to show for >the map/image/urls??? > >thanks in advance > >Mark > >_______________________________________________ >Maplab-users mailing list >Maplab-users@dmsolutions.ca >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > From hi-ono@mn.xdsl.ne.jp Mon Jul 29 16:36:41 2002 From: hi-ono@mn.xdsl.ne.jp (Hisaji ONO) Date: Tue, 30 Jul 2002 00:36:41 +0900 Subject: [maplab-users] Can't display "Manage Servers"'s info in tutorial map References: Message-ID: <008e01c23715$bcbc67a0$650202c0@vip> Hi. I finished MapEdit in MapLab's tutorial manual using MapLab . I tried to learn MapBrowser. After Map and other infos were displayed in MapBrowser. I pushed "Manage Servers" button. But I couldn't see any info in "Manage Servers" window, although in Data Stores three sites were displayed. Could you tell me this situation? Best Regards. From sctweedy@NRCan.gc.ca Mon Jul 29 16:48:39 2002 From: sctweedy@NRCan.gc.ca (Tweedy, Scott) Date: Mon, 29 Jul 2002 11:48:39 -0400 Subject: [maplab-users] displaying raster file types in dialog box Message-ID: <5ACEEE96F4F9D41190790002A528B51E027406AB@s0-ott-x11.nrn.nrcan.gc.ca> I'm not sure if I have a filter turned on or something. When I go to add layers to a .map file and I use the dialog box to add layers, the window that opens and displays filenames only displays vector datasets (.shp files for me). Even if I type a TIFF or ECW filename into this box in the Filename text box and click OK, the name isn't put in the text box in the mapedit application. Is this normal? If it is, can we get raster datatypes to display in this "Open existing file" child window. Thanks, st From EDUARDOPK@vcp.com.br Mon Jul 29 17:30:06 2002 From: EDUARDOPK@vcp.com.br (EDUARDO PATTO KANEGAE) Date: Mon, 29 Jul 2002 13:30:06 -0300 Subject: [maplab-users] Cannot run MapEdit Message-ID: <0066FEFC20B1D411AB4600805F8540C403AC1A51@LA02VCP> i´m currently using Apache2 for Windows and mapserver 3.6.2( from mapserver-3.6.2-dev-win32-php4.2.1-libwww-ecw.zip at DM Solutions download) , i can access MapEdit app but when i click at the button CLASSITEM, i got only this error: " Warning: MapServer Error in loadLayer(): Layer type not set. in D:\ApacheRoot\maplab\common\picker\shape_file_attr.php on line 123 Fatal error: Failed to open map file D:/ApacheRoot/tmp/3d456ca25626d.map in D:\ApacheRoot\maplab\common\picker\shape_file_attr.php on line 123 " does anyone know bout this error tks Eduardo Patto Kanegae eduardopk@vcp.com.br Time Planejamento - UNIDADE LA - Ramal 9126 eduardo@scopotecnologia.com.br http://www.scopotecnologia.com.br From bronsema@dmsolutions.ca Mon Jul 29 17:29:43 2002 From: bronsema@dmsolutions.ca (William A. Bronsema, C.E.T.) Date: Mon, 29 Jul 2002 12:29:43 -0400 Subject: [maplab-users] Can't display "Manage Servers"'s info in tutorial map In-Reply-To: <008e01c23715$bcbc67a0$650202c0@vip> Message-ID: Hisaji, This is a known issue in MapLab. To fix this problem you need to enable the dbase extension in PHP. To do that for a Windows PHP install, you need to edit you php.ini file to include the following line: extension=php_dbase.dll Your windows installation of PHP should come with the php_dbase.dll by default. For Linux you will need to compile PHP with the dbase extension option enabled. There is a MapLab bug filed about this issue. Hope this helps. Regards, Bill =========================================================== William A. Bronsema, C.E.T. Applications Developer DM Solutions Group Inc. 72 Chamberlain Avenue, 3rd Floor Ottawa Ontario Canada K1S 1V9 =========================================================== - you cannot win the game, you can only play it - -----Original Message----- From: maplab-users-admin@dmsolutions.ca [mailto:maplab-users-admin@dmsolutions.ca] On Behalf Of Hisaji ONO Sent: July 29, 2002 11:37 AM To: maplab-users@dmsolutions.ca Subject: [maplab-users] Can't display "Manage Servers"'s info in tutorial map Hi. I finished MapEdit in MapLab's tutorial manual using MapLab . I tried to learn MapBrowser. After Map and other infos were displayed in MapBrowser. I pushed "Manage Servers" button. But I couldn't see any info in "Manage Servers" window, although in Data Stores three sites were displayed. Could you tell me this situation? Best Regards. _______________________________________________ Maplab-users mailing list Maplab-users@dmsolutions.ca http://lists.dmsolutions.ca/mailman/listinfo/maplab-users From hi-ono@mn.xdsl.ne.jp Mon Jul 29 18:14:48 2002 From: hi-ono@mn.xdsl.ne.jp (Hisaji ONO) Date: Tue, 30 Jul 2002 02:14:48 +0900 Subject: [maplab-users] Can't display "Manage Servers"'s info in tutorial map References: Message-ID: <010001c23723$717f5af0$650202c0@vip> Thank you very much, Mr. Bronsema. > extension=php_dbase.dll I could display "Manage Servers" window. I type "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?" in URL field and tried to access. But I failed. I got following error message. Adding server [GMap WMS Demo Server ] to list....OK Testing server [GMap WMS Demo Server ]....OK Refreshing server [GMap WMS Demo Server ]....Failed Building treemenu file....OK Building server list....OK The following errors occurred: 1) Parser returned 1 2) The output was: 3) An error occurred parsing capabilities. 4) Parser returned 1 5) The output was: 6) An error occurred parsing capabilities. 7) Parser returned 1 8) The output was: 9) An error occurred parsing capabilities. 10) Parser returned 1 11) The output was: 12) An error occurred parsing capabilities. *** Execution complete - Errors Occurred *** Could you tell me this situation? Best Regards. From hi-ono@mn.xdsl.ne.jp Mon Jul 29 19:21:11 2002 From: hi-ono@mn.xdsl.ne.jp (Hisaji ONO) Date: Tue, 30 Jul 2002 03:21:11 +0900 Subject: [maplab-users] Error of Projection Object in MapBrowser. References: <3D453B4D.2080701@magma.ca> Message-ID: <011401c2372c$b7dd7d70$650202c0@vip> Hello. This is my second question about MapBrowser's section of MapLab tutorial. Following instruction of this tutorial, I created Projection Object in MapEdit and save. And returned to MapBrowser, I got following error message. Warning: MapServer Error in msProcessProjection(): no system list, errno: 2 in c:\Program Files\Apache Group\Apache\htdocs\maplab-2.0rc3-dev\common\wrapper\map_session.php on line 271 Fatal error: Failed to open map file d:/temp/1027966242-9512.map in c:\Program Files\Apache Group\Apache\htdocs\maplab-2.0rc3-dev\common\wrapper\map_session.php on line 271 Could you teach this reason? Best Regard. From pgs@magma.ca Mon Jul 29 19:44:18 2002 From: pgs@magma.ca (Paul Spencer) Date: Mon, 29 Jul 2002 14:44:18 -0400 Subject: [maplab-users] Can't display "Manage Servers"'s info in tutorial map References: <010001c23723$717f5af0$650202c0@vip> Message-ID: <3D458D02.7010605@magma.ca> Hisaji, this is a known issue with the version of maplab that you are using, you need an update, see: http://lists.dmsolutions.ca/pipermail/maplab-users/2002-July/000106.html for instructions Cheers, Paul Spencer Applications and Software Development DM Solutions Group Hisaji ONO wrote: >Thank you very much, Mr. Bronsema. > > > >>extension=php_dbase.dll >> >> > > I could display "Manage Servers" window. > > I type "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?" in URL field and >tried to access. But I failed. I got following error message. > >Adding server [GMap WMS Demo Server ] to list....OK >Testing server [GMap WMS Demo Server ]....OK >Refreshing server [GMap WMS Demo Server ]....Failed >Building treemenu file....OK >Building server list....OK >The following errors occurred: >1) Parser returned 1 >2) The output was: >3) An error occurred parsing capabilities. >4) Parser returned 1 >5) The output was: >6) An error occurred parsing capabilities. >7) Parser returned 1 >8) The output was: >9) An error occurred parsing capabilities. >10) Parser returned 1 >11) The output was: >12) An error occurred parsing capabilities. > >*** Execution complete - Errors Occurred *** > > Could you tell me this situation? > > Best Regards. > >_______________________________________________ >Maplab-users mailing list >Maplab-users@dmsolutions.ca >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > From pgs@magma.ca Mon Jul 29 19:54:35 2002 From: pgs@magma.ca (Paul Spencer) Date: Mon, 29 Jul 2002 14:54:35 -0400 Subject: [maplab-users] displaying raster file types in dialog box References: <5ACEEE96F4F9D41190790002A528B51E027406AB@s0-ott-x11.nrn.nrcan.gc.ca> Message-ID: <3D458F6B.6050402@magma.ca> Scott, this is a known issue with the current file browser, it was originally designed for shape files only. We have plans to extend it to allow multiple filters which would then fix this problem. For now, you'll need to type the name manually. Cheers, Paul Spencer Applications and Software Development DM Solutions Group Tweedy, Scott wrote: >I'm not sure if I have a filter turned on or something. When I go to add >layers to a .map file and I use the dialog box to add layers, the window >that opens and displays filenames only displays vector datasets (.shp files >for me). Even if I type a TIFF or ECW filename into this box in the >Filename text box and click OK, the name isn't put in the text box in the >mapedit application. Is this normal? If it is, can we get raster datatypes >to display in this "Open existing file" child window. > >Thanks, >st >_______________________________________________ >Maplab-users mailing list >Maplab-users@dmsolutions.ca >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > From hi-ono@mn.xdsl.ne.jp Mon Jul 29 20:08:56 2002 From: hi-ono@mn.xdsl.ne.jp (Hisaji ONO) Date: Tue, 30 Jul 2002 04:08:56 +0900 Subject: [maplab-users] Can't display "Manage Servers"'s info in tutorial map References: <010001c23723$717f5af0$650202c0@vip> <3D458D02.7010605@magma.ca> Message-ID: <014a01c23733$636ca700$650202c0@vip> Thank you, Mr. Spencer. > > this is a known issue with the version of maplab that you are using, you > need an update, see: > > http://lists.dmsolutions.ca/pipermail/maplab-users/2002-July/000106.html > But My MapLab's version is 2.03rc-3.dev. Best Regards From pgs@magma.ca Mon Jul 29 19:58:18 2002 From: pgs@magma.ca (Paul Spencer) Date: Mon, 29 Jul 2002 14:58:18 -0400 Subject: [maplab-users] Error of Projection Object in MapBrowser. References: <3D453B4D.2080701@magma.ca> <011401c2372c$b7dd7d70$650202c0@vip> Message-ID: <3D45904A.6040506@magma.ca> Hisaji, I think you are missing the proj definitions. You need to create c:\proj and copy the file from the following location to this directory (it MUST be called c:\proj) http://www2.dmsolutions.ca/mapserver/dl/proj4-epsg-with-42xxx.zip cheers, Paul Spencer Applications and Software Development DM Solutions Group Hisaji ONO wrote: >Hello. > > This is my second question about MapBrowser's section of MapLab tutorial. > > Following instruction of this tutorial, I created Projection Object in >MapEdit and save. And returned to MapBrowser, I got following error message. > > >Warning: MapServer Error in msProcessProjection(): no system list, errno: 2 >in c:\Program Files\Apache >Group\Apache\htdocs\maplab-2.0rc3-dev\common\wrapper\map_session.php on line >271 > >Fatal error: Failed to open map file d:/temp/1027966242-9512.map in >c:\Program Files\Apache >Group\Apache\htdocs\maplab-2.0rc3-dev\common\wrapper\map_session.php on line >271 > > > Could you teach this reason? > > Best Regard. > > >_______________________________________________ >Maplab-users mailing list >Maplab-users@dmsolutions.ca >http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > > From morissette@dmsolutions.ca Mon Jul 29 20:20:02 2002 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Mon, 29 Jul 2002 15:20:02 -0400 Subject: [maplab-users] Php/CGI - MapLab problem References: <3D41B98D.8030801@i3.com> Message-ID: <3D459562.576DB6F8@dmsolutions.ca> Hi David, Another user on the MapServer-users list ran into the same thing and it turned out that the source of the problem was that he was using the 'php' executable shipped by RedHat. Even accessing regular PHP pages probably won't work either with this php executable. The solution in his case was to recompile a new PHP executable (there are step by step instructions in the Wiki)... I would recommend that you get the latest PHP version 4.2.2. Then re-run configure for MapServer while pointing it to the PHP4.2.2 source, copy the new php_mapscript.so to your extension_dir and you should be running. I hope that helps, Daniel David Graham wrote: > > Just installed the latest MapLab but now having problems with Php. Here > is the details > > Php 4.1.2 > > MapScript Version ($Revision: 1.113 $ $Date: 2002/07/08 21:28:57 $) > MapServer version 3.7 (development) OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP > SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER INPUT=EPPL7 INPUT=JPEG > INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > > Apache 1.3.23 > > Linux version 2.4.18-3 (bhcompile@porky.devel.redhat.com) (gcc version > 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 Thu Apr 18 07:32:41 EDT 2002 > > I am not a Php person, but I have done a lot of work with mapscript. I > installed MapLab and everything was working great, until I tried to > render things. Then I got a page generated by Mapscript that refrenced > a threading problem at > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI. > > So I endevered to install the CGI version of PHP. I first found that > Red Hat ships with one in /usr/bin.| > > root@host# cp /usr/bin/php /var/www/cgi-bin/. > root@host# vi /etc/httpd/conf/httpd.conf | > > I found the section for the php4 module. It looked like: > > | > AddType application/x-httpd-php .php .php4 .php3 .phtml > AddType application/x-httpd-php-source .phps > > > AddType application/x-httpd-php3 .php3 > AddType application/x-httpd-php3-source .phps > > > AddType application/x-httpd-php .phtml > | > > I remove the .phtml type from the php4 section. Then add the following > lines below the php module definitions. > > | Action phtml-script /cgi-bin/php > AddHandler phtml-script .phtml | > > I restarted the Http Server and went back to the maplab/htdocs/index.phtml page and this is what I got: > > *Warning*: Unexpected character in input: '' (ASCII=4) state=1 in */var/www/cgi-bin/php* on line *6081* > *Warning*: Unexpected character in input: ' in */var/www/cgi-bin/php* on line *6082* > *Warning*: Unexpected character in input: '' (ASCII=4) state=1 in */var/www/cgi-bin/php* on line *6082* > *Warning*: Unexpected character in input: '' (ASCII=4) state=1 in */var/www/cgi-bin/php* on line *6083* > *Warning*: Unexpected character in input: '' (ASCII=28) state=1 in */var/www/cgi-bin/php* on line *6084* > *Parse error*: parse error in */var/www/cgi-bin/php* on line *6084* > > My question is - What have I done wrong! > > Things worked well before I made the switch to CGI (with the exception that mapscript did not want to work). Any help anyone can give would be aprecieated. > > Dave > > -- > David W. Graham > Director of Geospatial Applications Development > information integration and imaging, LLC > 201 Linden St, Third Floor > Fort Collins, CO 80524 > (970) 482-4400 > dgraham@i3.com > http://www.i3.com > > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users From kevin@peoplegis.com Mon Jul 29 21:58:15 2002 From: kevin@peoplegis.com (Kevin Flanders) Date: Mon, 29 Jul 2002 16:58:15 -0400 Subject: [maplab-users] Windows XP config Message-ID: I am moving my mapserver projects to a new Windows XP machine...and am nearly there, but there is a problem. First, an error occured which stated that my php_xslt.dll file could not be found....the specific module could not be loaded. The funny thing is, it is there under c:\php\extensions..... So, I commented xslt out of my php.ini file, and the project works....but now I get no map or overview or scalebar...! Suggestions? Kevin From kevin@peoplegis.com Mon Jul 29 22:12:42 2002 From: kevin@peoplegis.com (Kevin Flanders) Date: Mon, 29 Jul 2002 17:12:42 -0400 Subject: [maplab-users] PWS on Windows 98 Message-ID: I am setting up mapserver on a Windows 98 machine....but am new to PWS....how do I set the executables/extensions for php in my virtual directory? Kevin From morissette@dmsolutions.ca Mon Jul 29 22:53:01 2002 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Mon, 29 Jul 2002 17:53:01 -0400 Subject: [maplab-users] Windows XP config References: Message-ID: <3D45B93D.8F080C41@dmsolutions.ca> Kevin Flanders wrote: > > I am moving my mapserver projects to a new Windows XP machine...and am > nearly there, but there is a problem. First, an error occured which stated > that my php_xslt.dll file could not be found....the specific module could > not be loaded. The funny thing is, it is there under c:\php\extensions..... > > So, I commented xslt out of my php.ini file, and the project works....but > now I get no map or overview or scalebar...! Suggestions? > > Kevin > These issues have been resolved outside of the list, but just for the benefit of other readers who may run into the same thing: - The xslt module shouldn't be required by MapLab any more (Paul, please correct me if I'm wrong) - About the missing map, scalebar, etc. it was the /ms_tmp/ virtual directory (or Alias in Apache terms) that was missing. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From pgs@magma.ca Mon Jul 29 23:08:13 2002 From: pgs@magma.ca (Paul Spencer) Date: Mon, 29 Jul 2002 18:08:13 -0400 Subject: [maplab-users] Windows XP config References: <3D45B93D.8F080C41@dmsolutions.ca> Message-ID: <3D45BCCD.5040405@magma.ca> Daniel, you are correct, there is no longer a dependency on xslt. Cheers Paul Daniel Morissette wrote: >Kevin Flanders wrote: > > >>I am moving my mapserver projects to a new Windows XP machine...and am >>nearly there, but there is a problem. First, an error occured which stated >>that my php_xslt.dll file could not be found....the specific module could >>not be loaded. The funny thing is, it is there under c:\php\extensions..... >> >>So, I commented xslt out of my php.ini file, and the project works....but >>now I get no map or overview or scalebar...! Suggestions? >> >>Kevin >> >> >> > > >These issues have been resolved outside of the list, but just for the >benefit of other readers who may run into the same thing: > >- The xslt module shouldn't be required by MapLab any more (Paul, please >correct me if I'm wrong) > >- About the missing map, scalebar, etc. it was the /ms_tmp/ virtual >directory (or Alias in Apache terms) that was missing. > >Daniel > > From assefa@dmsolutions.ca Tue Jul 30 14:21:03 2002 From: assefa@dmsolutions.ca (Yewondwossen Assefa) Date: Tue, 30 Jul 2002 09:21:03 -0400 Subject: [maplab-users] PWS on Windows 98 References: Message-ID: <3D4692BF.A9549EC6@dmsolutions.ca> Kevin, Here is a ling to a PHP sitre where you can find the instructions to setup the executable and the extensions : http://www.php.net/manual/en/install.iis.php Later, Kevin Flanders wrote: > I am setting up mapserver on a Windows 98 machine....but am new to > PWS....how do I set the executables/extensions for php in my virtual > directory? > > Kevin > > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa@dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 (ext 14) Fax: (613) 565-0925 ---------------------------------------------------------------- From kevin@peoplegis.com Tue Jul 30 21:46:44 2002 From: kevin@peoplegis.com (Kevin Flanders) Date: Tue, 30 Jul 2002 16:46:44 -0400 Subject: [maplab-users] error reading classitem Message-ID: I am trying to add a layer in MapEdit, and clicking the Class Item option....but getting the following error: Warning: MapServer Error in loadLayer(): Layer type not set. in C:\msapps\maplab-2.0rc2\common\picker\shape_file_attr.php on line 123 Fatal error: Failed to open map file c:/tmp/3d46fad8a820c.map in C:\msapps\maplab-2.0rc2\common\picker\shape_file_attr.php on line 123 I get this sometimes, for certain shapefiles. Any ideas? Kevin Flanders From maplab-users Tue Jul 30 23:29:08 2002 From: maplab-users (Jeff McKenna) Date: Tue, 30 Jul 2002 18:29:08 -0400 Subject: [maplab-users] Cannot run MapEdit References: Message-ID: <3D471334.51ACC232@dmsolutions.ca> Eduardo, The problem is that you currently have to specify the layer TYPE before accessing its CLASSITEM. This has been filed as a bug and in the future we will prevent users from trying to acess CLASSITEM before setting the layer's TYPE by a javascript alert such as "The type of this layer is not set or hasn't been saved. Please choose an appropriate layer type for your data and click Apply Changes". Jeff > i´m currently using Apache2 for Windows and mapserver 3.6.2( from > mapserver-3.6.2-dev-win32-php4.2.1-libwww-ecw.zip at DM Solutions download) > , i can access MapEdit app but when i click at the button CLASSITEM, i > got only this error: > " >Warning: MapServer Error in loadLayer(): Layer type not set. in > D:\ApacheRoot\maplab\common\picker\shape_file_attr.php on line 123 > Fatal error: Failed to open map file D:/ApacheRoot/tmp/3d456ca25626d.map in > D:\ApacheRoot\maplab\common\picker\shape_file_attr.php on line 123 > " > does anyone know bout this error > tks -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca/ From maplab-users Tue Jul 30 23:30:47 2002 From: maplab-users (Jeff McKenna) Date: Tue, 30 Jul 2002 18:30:47 -0400 Subject: [maplab-users] error reading classitem References: Message-ID: <3D471397.A9CEA0BC@dmsolutions.ca> Kevin, (copied from a response I just sent to another user) The problem is that you currently have to specify the layer TYPE before accessing its CLASSITEM. This has been filed as a bug and in the future we will prevent users from trying to acess CLASSITEM before setting the layer's TYPE by a javascript alert such as "The type of this layer is not set or hasn't been saved. Please choose an appropriate layer type for your data and click Apply Changes". Jeff Kevin Flanders wrote: > > I am trying to add a layer in MapEdit, and clicking the Class Item > option....but getting the following error: > > Warning: MapServer Error in loadLayer(): Layer type not set. in > C:\msapps\maplab-2.0rc2\common\picker\shape_file_attr.php on line 123 > > Fatal error: Failed to open map file c:/tmp/3d46fad8a820c.map in > C:\msapps\maplab-2.0rc2\common\picker\shape_file_attr.php on line 123 > > I get this sometimes, for certain shapefiles. Any ideas? > -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca/ From kevin@peoplegis.com Tue Jul 30 23:53:26 2002 From: kevin@peoplegis.com (Kevin Flanders) Date: Tue, 30 Jul 2002 18:53:26 -0400 Subject: [maplab-users] error reading classitem In-Reply-To: <3D471397.A9CEA0BC@dmsolutions.ca> Message-ID: Thanks Jeff....what are you still doing at work? Kevin -----Original Message----- From: maplab-users-admin@dmsolutions.ca [mailto:maplab-users-admin@dmsolutions.ca]On Behalf Of Jeff McKenna Sent: Tuesday, July 30, 2002 6:31 PM To: maplab-users Subject: Re: [maplab-users] error reading classitem Kevin, (copied from a response I just sent to another user) The problem is that you currently have to specify the layer TYPE before accessing its CLASSITEM. This has been filed as a bug and in the future we will prevent users from trying to acess CLASSITEM before setting the layer's TYPE by a javascript alert such as "The type of this layer is not set or hasn't been saved. Please choose an appropriate layer type for your data and click Apply Changes". Jeff Kevin Flanders wrote: > > I am trying to add a layer in MapEdit, and clicking the Class Item > option....but getting the following error: > > Warning: MapServer Error in loadLayer(): Layer type not set. in > C:\msapps\maplab-2.0rc2\common\picker\shape_file_attr.php on line 123 > > Fatal error: Failed to open map file c:/tmp/3d46fad8a820c.map in > C:\msapps\maplab-2.0rc2\common\picker\shape_file_attr.php on line 123 > > I get this sometimes, for certain shapefiles. Any ideas? > -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca/ _______________________________________________ Maplab-users mailing list Maplab-users@dmsolutions.ca http://lists.dmsolutions.ca/mailman/listinfo/maplab-users From kevin@peoplegis.com Tue Jul 30 23:55:22 2002 From: kevin@peoplegis.com (Kevin Flanders) Date: Tue, 30 Jul 2002 18:55:22 -0400 Subject: [maplab-users] annotation Message-ID: I am having trouble with annotation layers...I have items for text angle and size, but I get nothing from this mapfile entry below... Kevin Flanders LAYER NAME "Base Map Labels" STATUS ON DATA "base_map_annotation_point" TYPE ANNOTATION UNITS METERS SIZEUNITS PIXELS MAXSCALE 5000 SYMBOLSCALE 3000 LABELITEM "TEXTSTRING" LABELSIZEITEM "TEXT_SIZE" LABELANGLEITEM "TEXT_ANGLE" METADATA "DESCRIPTION" "Base Map Labels" END CLASS NAME "Base Map Labels" LABEL FONT "fritqat-italic" TYPE TRUETYPE POSITION UC OFFSET 0 0 #ANGLE 0.000000 #SIZE 6 #MINSIZE 4 #MAXSIZE 256 BUFFER 0 MINDISTANCE 5 MINFEATURESIZE 1 COLOR 0 0 0 OUTLINECOLOR 255 255 255 ANTIALIAS TRUE PARTIALS FALSE #FORCE FALSE END END END From Mark.Balman@birdlife.org.uk Wed Jul 31 09:41:59 2002 From: Mark.Balman@birdlife.org.uk (Mark Balman) Date: Wed, 31 Jul 2002 09:41:59 +0100 Subject: [maplab-users] No image displayed Message-ID: Thanks for the advice Paul I changed the paths and now when I try and display the tutorial map in mab browser I have blank images where the map and reference images should be. I checked the /tmp directory and .map files have been written, and in /ms_tmp .gif images have been written for the reference and map objects even though I have tried changing the image type to png and even jpg. I am slightly confused by this.. any further advice would be most welcomed. Cheers Mark Balman From EDUARDOPK@vcp.com.br Wed Jul 31 12:02:48 2002 From: EDUARDOPK@vcp.com.br (EDUARDO PATTO KANEGAE) Date: Wed, 31 Jul 2002 08:02:48 -0300 Subject: RES: [maplab-users] error reading classitem Message-ID: <0066FEFC20B1D411AB4600805F8540C403AC1A8E@LA02VCP> hello kevin i´ve got the same error and i´ve already tried "to specify the layer TYPE before accessing its CLASSITEM" but it doesn´t work -----Mensagem original----- De: Jeff McKenna [mailto:mckenna@dmsolutions.ca] Enviada em: terça-feira, 30 de julho de 2002 19:31 Para: maplab-users Assunto: Re: [maplab-users] error reading classitem Kevin, (copied from a response I just sent to another user) The problem is that you currently have to specify the layer TYPE before accessing its CLASSITEM. This has been filed as a bug and in the future we will prevent users from trying to acess CLASSITEM before setting the layer's TYPE by a javascript alert such as "The type of this layer is not set or hasn't been saved. Please choose an appropriate layer type for your data and click Apply Changes". Jeff Kevin Flanders wrote: > > I am trying to add a layer in MapEdit, and clicking the Class Item > option....but getting the following error: > > Warning: MapServer Error in loadLayer(): Layer type not set. in > C:\msapps\maplab-2.0rc2\common\picker\shape_file_attr.php on line 123 > > Fatal error: Failed to open map file c:/tmp/3d46fad8a820c.map in > C:\msapps\maplab-2.0rc2\common\picker\shape_file_attr.php on line 123 > > I get this sometimes, for certain shapefiles. Any ideas? > -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca/ _______________________________________________ Maplab-users mailing list Maplab-users@dmsolutions.ca http://lists.dmsolutions.ca/mailman/listinfo/maplab-users From bronsema@dmsolutions.ca Wed Jul 31 13:02:30 2002 From: bronsema@dmsolutions.ca (William A. Bronsema, C.E.T.) Date: Wed, 31 Jul 2002 08:02:30 -0400 Subject: [maplab-users] No image displayed In-Reply-To: Message-ID: Mark, There was a bug in both MapBrowser and GMapFactory that prevented them from using the configuration settings for both the IMAGEPATH and IMAGEURL. I have fixed the problem for the next release. If this is indeed your problem, you will have the following conditions: 1) Your mapfile does not have the IMAGEPATH and/or IMAGEURL properties set in the WEB object. 2) The tmp_img_path and tmp_web_img_path properties are set and correct in the MapLab configuration. Note: tmp_img_path is the physical path to the temp directory on the server and the tmp_web_img_path is the URL corresponding to the tmp_img_path. 3) You can preview the mapfile in MapEdit but can't view the mapfile in MapBrowser or GMapFactory. I hope this helps. Regards, Bill =========================================================== William A. Bronsema, C.E.T. Applications Developer DM Solutions Group Inc. 72 Chamberlain Avenue, 3rd Floor Ottawa Ontario Canada K1S 1V9 =========================================================== - you cannot win the game, you can only play it - -----Original Message----- From: maplab-users-admin@dmsolutions.ca [mailto:maplab-users-admin@dmsolutions.ca] On Behalf Of Mark Balman Sent: July 31, 2002 4:42 AM To: 'maplab-users@dmsolutions.ca' Subject: [maplab-users] No image displayed Thanks for the advice Paul I changed the paths and now when I try and display the tutorial map in mab browser I have blank images where the map and reference images should be. I checked the /tmp directory and .map files have been written, and in /ms_tmp .gif images have been written for the reference and map objects even though I have tried changing the image type to png and even jpg. I am slightly confused by this.. any further advice would be most welcomed. Cheers Mark Balman _______________________________________________ Maplab-users mailing list Maplab-users@dmsolutions.ca http://lists.dmsolutions.ca/mailman/listinfo/maplab-users From maplab-users Wed Jul 31 14:04:35 2002 From: maplab-users (Jeff McKenna) Date: Wed, 31 Jul 2002 09:04:35 -0400 Subject: RES: [maplab-users] error reading classitem References: <0066FEFC20B1D411AB4600805F8540C403AC1A8E@LA02VCP> Message-ID: <3D47E063.969735E0@dmsolutions.ca> Eduardo, Sorry I should have been more specific. When you add a new layer in MapEdit, before you can access CLASSITEM you have to specify DATA & TYPE and apply these changes. I admit this is a pain, so we'll look at this for the next release. Jeff EDUARDO PATTO KANEGAE wrote: > > hello kevin > > i´ve got the same error and i´ve already tried > "to specify the layer TYPE before > accessing its CLASSITEM" > > but it doesn´t work > > -----Mensagem original----- > De: Jeff McKenna [mailto:mckenna@dmsolutions.ca] > Enviada em: terça-feira, 30 de julho de 2002 19:31 > Para: maplab-users > Assunto: Re: [maplab-users] error reading classitem > > Kevin, > > (copied from a response I just sent to another user) > > The problem is that you currently have to specify the layer TYPE before > accessing its CLASSITEM. This has been filed as a bug and in the future we > will > prevent users from trying to acess CLASSITEM before setting the layer's TYPE > by > a javascript alert such as "The type of this layer is not set or hasn't been > saved. Please choose an > appropriate layer type for your data and click Apply Changes". > > Jeff > > Kevin Flanders wrote: > > > > I am trying to add a layer in MapEdit, and clicking the Class Item > > option....but getting the following error: > > > > Warning: MapServer Error in loadLayer(): Layer type not set. in > > C:\msapps\maplab-2.0rc2\common\picker\shape_file_attr.php on line 123 > > > > Fatal error: Failed to open map file c:/tmp/3d46fad8a820c.map in > > C:\msapps\maplab-2.0rc2\common\picker\shape_file_attr.php on line 123 > > > > I get this sometimes, for certain shapefiles. Any ideas? > > -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca/ From dgraham@i3.com Wed Jul 31 15:43:24 2002 From: dgraham@i3.com (David Graham) Date: Wed, 31 Jul 2002 08:43:24 -0600 Subject: [maplab-users] Php/CGI - MapLab problem References: <3D41B98D.8030801@i3.com> <3D459562.576DB6F8@dmsolutions.ca> Message-ID: <3D47F78C.3030200@i3.com> Dear Daniel and others: I have actually solved the problem with the Php executable shipped with RedHat. I am not sure exactly if this was a configuration problem when the Php was compiled or if it is simply an Apache configuration problem. But anyone is having a similar issue here is how to solve it. Add the following cgi to your cgi-bin and use it to run php. -------------------------------------- #!/bin/bash export SCRIPT_FILENAME=$PATH_TRANSLATED /usr/bin/php -------------------------------------- It appears that when Apache executes the RedHat php cgi it passes SCRIPT_FILENAME as /var/www/cgi-bin/php and PATH_TRANSLATED is the name of the php script /var/www/maplab/htdocs/index.phtml. The php cgi on the other hand does not execute against PATH_TRANSLTED it executes against SCRIPT_FILENAME. The result is if you use the RedHat Apache/Php-CGI in the default configuration, every time the Php CGI executes, it uses itself (a binary file) as the input file to translate. And then it spews garbage because it is trying to parse a binary file. This seems to work to get the PHP going. I now seem to have some problems with mapscript segfaulting but I suspect that has more to do with my use of MapScript 3.7 alpha with 24bit output than with the MapLab code. Dave Graham -- David W. Graham Director of Geospatial Applications Development information integration and imaging, LLC 201 Linden St, Third Floor Fort Collins, CO 80524 (970) 482-4400 dgraham@i3.com http://www.i3.com From maplab-users Wed Jul 31 22:49:17 2002 From: maplab-users (Jeff McKenna) Date: Wed, 31 Jul 2002 17:49:17 -0400 Subject: [maplab-users] What causes this error?? (maplab-beta6) References: <3D3EB2E1.27857.46B7B01@localhost> Message-ID: <3D485B5D.6E33FB6F@dmsolutions.ca> Steve, I tested with your mapfile and data, and I could not reproduce any errors. As Paul mentioned there were some projection issues early on that we dealt with, and maybe it was fixed magically along the way. I tested on IE 6 and Netscape 4.79, and I used the latest dev version from the MapLab download page (http://www2.dmsolutions.ca/webtools/maplab/maplab_dl.html). So hopefully by upgrading to the latest development version your problems will disappear. Let us know how it goes. Jeff woodbri@swoodbridge.com wrote: > > Hi all, > > I have been working with a mapfile that has some projection info in > it and I keep getting this error: > > Fatal error: MapServer Error in msProcessProjection(): projection not > named in /home/httpd/html/maplab-beta6/common/wrapper/map_session.php > on line 679 > > The only way to recover from it is to kill all browser instances and > restart the browser, then the error doesn't appear for a while until > I change something in the mapfile with mapedit. ... > I'm using beta6. The mapfile works fine except for > this error and the fact that every time I try to run gmapfactory I > get a javascript error when I run IE 5.5 - switched to NS 4.79 and > the javascript error goes away. -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca/ From morissette@dmsolutions.ca Wed Jul 31 23:02:44 2002 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Wed, 31 Jul 2002 18:02:44 -0400 Subject: [maplab-users] What causes this error?? (maplab-beta6) References: <3D3EB2E1.27857.46B7B01@localhost> <3D485B5D.6E33FB6F@dmsolutions.ca> Message-ID: <3D485E84.1EB76825@dmsolutions.ca> > woodbri@swoodbridge.com wrote: > > > > I have been working with a mapfile that has some projection info in > > it and I keep getting this error: > > > > Fatal error: MapServer Error in msProcessProjection(): projection not > > named in /home/httpd/html/maplab-beta6/common/wrapper/map_session.php > > on line 679 > > Does this mapfile work (i.e produce a map) if you use it with MapServer outside of MapLab... this looks to me like an invalid projection definition, so the error would really have nothing to do with MapLab. Which version of PROJ do you use? Or if you use a precompiled Win32 binary then where does it come from? Could you reproduce this with the 3.6.2 executables on our download site? Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow.