Re: RE: RE: [mapserver-users] White screen after editing mapfile
Robert, I make the hole mapserver on my local machine under windows. I tested it with a local apache server. Then I make some edits to the mapfile (e.g. imagepath) and put it on the internet server (virtual server under linux). It runs fine. I want to do my changes on the local machine and put the updates via ftp to the internet server. The mystery is, that that mapserver works fine at one moment, but without doing edits on the mapfile, just deleting and copiing again to internet server, it crashes. Could there be a link between the mapserver (or some other process or file) and the mapfile, which is cut when deleting the mapfile. I thought that, the mapfile is read new by the mapserver everytime a new map is build. Constanze Original-Nachricht > Datum: Thu, 13 Nov 2008 10:18:22 -0500 > Von: "Burgholzer,Robert" <[EMAIL PROTECTED]> > An: "Constanze Blübaum" <[EMAIL PROTECTED]>, mapserver-users@lists.osgeo.org > Betreff: RE: RE: [mapserver-users] White screen after editing mapfile > I'm sorry, I got the impression from your original posting that you were > having trouble when adding a second shapefile to your map, thus I assumed > your problem was with adding a second LAYER, or with the second shapefile. > Now, it seems as if you are suggesting that simply editing the file, and > making NO changes will cause a crash? > > Perhaps you are running into a problem with Unix and Windows file types? > > Please, more info, > > What system did you create your "original" file on? > What system are you performing your edits on? > > r.b. > > Robert W. Burgholzer > Surface Water Modeler > Office of Water Supply and Planning > Virginia Department of Environmental Quality > [EMAIL PROTECTED] > 804-698-4405 > Open Source Modeling Tools: > http://sourceforge.net/projects/npsource/ > > -Original Message- > From: "Constanze Blübaum" [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2008 10:02 AM > To: Burgholzer,Robert; mapserver-users@lists.osgeo.org > Subject: Re: RE: [mapserver-users] White screen after editing mapfile > > Hello, > > thanks for your response. I attatched the mapfile. > > But I don´t think somethings wrong with the mapfile. Everything runs > fine, then I delete the mapfile from the server and copy the same mapfile to > the server again. Everything is identical, but the mapserver crashes. > > Constanze > > Original-Nachricht ---- > > Datum: Thu, 13 Nov 2008 09:22:37 -0500 > > Von: "Burgholzer,Robert" <[EMAIL PROTECTED]> > > An: "Constanze Blübaum" <[EMAIL PROTECTED]>, > mapserver-users@lists.osgeo.org > > Betreff: RE: [mapserver-users] White screen after editing mapfile > > > Gonna have to post the mapfile I think, otherwise it is hard to see what > > you are doing wrong. > > > > Robert W. Burgholzer > > Surface Water Modeler > > Office of Water Supply and Planning > > Virginia Department of Environmental Quality > > [EMAIL PROTECTED] > > 804-698-4405 > > Open Source Modeling Tools: > > http://sourceforge.net/projects/npsource/ > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of "Constanze > Blübaum" > > Sent: Thursday, November 13, 2008 8:57 AM > > To: mapserver-users@lists.osgeo.org > > Subject: [mapserver-users] White screen after editing mapfile > > > > Hello list, > > > > I´m very new to mapserver and all his tricks. > > I run a mapserver together with the pmapper software on a virtual server > > (1&1 in Germany) in Linux. For testing I load one shapefile into the map > and > > everything runs fine. But when I try to edit the mapfile to show a > second > > shapefile my screen is white and nothing happens. > > I copied the running file to the server and everything runs fine. > > To test, if my edits caused the crash, I deleted to mapfile from server > > and copied it to the server again. Even the file is the same as before > (same > > contents, same savingdate, ...) the screen remains white and the > mapserver > > does nothing. > > It´s a mystery. > > > > Has anyone the experience? Or can point me a way to solve this problem? > > > > Any suggestions are helpful. > > Thanks in advance > > Constanze > > -- > > Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL > > für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a > > ___ > > mapserver-users mailing lis
RE: RE: [mapserver-users] White screen after editing mapfile
I'm sorry, I got the impression from your original posting that you were having trouble when adding a second shapefile to your map, thus I assumed your problem was with adding a second LAYER, or with the second shapefile. Now, it seems as if you are suggesting that simply editing the file, and making NO changes will cause a crash? Perhaps you are running into a problem with Unix and Windows file types? Please, more info, What system did you create your "original" file on? What system are you performing your edits on? r.b. Robert W. Burgholzer Surface Water Modeler Office of Water Supply and Planning Virginia Department of Environmental Quality [EMAIL PROTECTED] 804-698-4405 Open Source Modeling Tools: http://sourceforge.net/projects/npsource/ -Original Message- From: "Constanze Blübaum" [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2008 10:02 AM To: Burgholzer,Robert; mapserver-users@lists.osgeo.org Subject: Re: RE: [mapserver-users] White screen after editing mapfile Hello, thanks for your response. I attatched the mapfile. But I don´t think somethings wrong with the mapfile. Everything runs fine, then I delete the mapfile from the server and copy the same mapfile to the server again. Everything is identical, but the mapserver crashes. Constanze Original-Nachricht > Datum: Thu, 13 Nov 2008 09:22:37 -0500 > Von: "Burgholzer,Robert" <[EMAIL PROTECTED]> > An: "Constanze Blübaum" <[EMAIL PROTECTED]>, mapserver-users@lists.osgeo.org > Betreff: RE: [mapserver-users] White screen after editing mapfile > Gonna have to post the mapfile I think, otherwise it is hard to see what > you are doing wrong. > > Robert W. Burgholzer > Surface Water Modeler > Office of Water Supply and Planning > Virginia Department of Environmental Quality > [EMAIL PROTECTED] > 804-698-4405 > Open Source Modeling Tools: > http://sourceforge.net/projects/npsource/ > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of "Constanze Blübaum" > Sent: Thursday, November 13, 2008 8:57 AM > To: mapserver-users@lists.osgeo.org > Subject: [mapserver-users] White screen after editing mapfile > > Hello list, > > I´m very new to mapserver and all his tricks. > I run a mapserver together with the pmapper software on a virtual server > (1&1 in Germany) in Linux. For testing I load one shapefile into the map and > everything runs fine. But when I try to edit the mapfile to show a second > shapefile my screen is white and nothing happens. > I copied the running file to the server and everything runs fine. > To test, if my edits caused the crash, I deleted to mapfile from server > and copied it to the server again. Even the file is the same as before (same > contents, same savingdate, ...) the screen remains white and the mapserver > does nothing. > It´s a mystery. > > Has anyone the experience? Or can point me a way to solve this problem? > > Any suggestions are helpful. > Thanks in advance > Constanze > -- > Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL > für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: RE: [mapserver-users] White screen after editing mapfile
Hello, thanks for your response. I attatched the mapfile. But I don´t think somethings wrong with the mapfile. Everything runs fine, then I delete the mapfile from the server and copy the same mapfile to the server again. Everything is identical, but the mapserver crashes. Constanze Original-Nachricht > Datum: Thu, 13 Nov 2008 09:22:37 -0500 > Von: "Burgholzer,Robert" <[EMAIL PROTECTED]> > An: "Constanze Blübaum" <[EMAIL PROTECTED]>, mapserver-users@lists.osgeo.org > Betreff: RE: [mapserver-users] White screen after editing mapfile > Gonna have to post the mapfile I think, otherwise it is hard to see what > you are doing wrong. > > Robert W. Burgholzer > Surface Water Modeler > Office of Water Supply and Planning > Virginia Department of Environmental Quality > [EMAIL PROTECTED] > 804-698-4405 > Open Source Modeling Tools: > http://sourceforge.net/projects/npsource/ > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of "Constanze Blübaum" > Sent: Thursday, November 13, 2008 8:57 AM > To: mapserver-users@lists.osgeo.org > Subject: [mapserver-users] White screen after editing mapfile > > Hello list, > > I´m very new to mapserver and all his tricks. > I run a mapserver together with the pmapper software on a virtual server > (1&1 in Germany) in Linux. For testing I load one shapefile into the map and > everything runs fine. But when I try to edit the mapfile to show a second > shapefile my screen is white and nothing happens. > I copied the running file to the server and everything runs fine. > To test, if my edits caused the crash, I deleted to mapfile from server > and copied it to the server again. Even the file is the same as before (same > contents, same savingdate, ...) the screen remains white and the mapserver > does nothing. > It´s a mystery. > > Has anyone the experience? Or can point me a way to solve this problem? > > Any suggestions are helpful. > Thanks in advance > Constanze > -- > Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL > für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a stade_boden.map Description: Binary data ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] White screen after editing mapfile
Constanze Blübaum wrote: Hello list, I´m very new to mapserver and all his tricks. I run a mapserver together with the pmapper software on a virtual server (1&1 in Germany) in Linux. For testing I load one shapefile into the map and everything runs fine. But when I try to edit the mapfile to show a second shapefile my screen is white and nothing happens. I copied the running file to the server and everything runs fine. To test, if my edits caused the crash, I deleted to mapfile from server and copied it to the server again. Even the file is the same as before (same contents, same savingdate, ...) the screen remains white and the mapserver does nothing. It´s a mystery. Has anyone the experience? Or can point me a way to solve this problem? Any suggestions are helpful. Thanks in advance Constanze My thoughts: - use the MapServer commandline utility 'shp2img' to debug your mapfile (see http://mapserver.gis.umn.edu/docs/reference/utilityreference/shp2img) - try removing all layers but the one problem layer and then try shp2img with that tiny mapfile - make sure the EXTENT parameter matches that extents of that one layer - do some reading on the PROJECTION object, as you could be using 2 data layers in difference projections: http://mapserver.gis.umn.edu/docs/reference/mapfile/projection -- Jeff McKenna FOSS4G Consulting and Training Services http://www.gatewaygeomatics.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] White screen after editing mapfile
Gonna have to post the mapfile I think, otherwise it is hard to see what you are doing wrong. Robert W. Burgholzer Surface Water Modeler Office of Water Supply and Planning Virginia Department of Environmental Quality [EMAIL PROTECTED] 804-698-4405 Open Source Modeling Tools: http://sourceforge.net/projects/npsource/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "Constanze Blübaum" Sent: Thursday, November 13, 2008 8:57 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] White screen after editing mapfile Hello list, I´m very new to mapserver and all his tricks. I run a mapserver together with the pmapper software on a virtual server (1&1 in Germany) in Linux. For testing I load one shapefile into the map and everything runs fine. But when I try to edit the mapfile to show a second shapefile my screen is white and nothing happens. I copied the running file to the server and everything runs fine. To test, if my edits caused the crash, I deleted to mapfile from server and copied it to the server again. Even the file is the same as before (same contents, same savingdate, ...) the screen remains white and the mapserver does nothing. It´s a mystery. Has anyone the experience? Or can point me a way to solve this problem? Any suggestions are helpful. Thanks in advance Constanze -- Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users