[mapserver-users] msShapefileOpen(): Unable to access file
Hi, I am publishing DGN data using tile option. I am getting error msShapefileOpen(): Unable to access file. Following are the details of Input data, steps executed and error log. Please, if anyone can help in resolving the issue. Source files are DGN D:\Tile\DGN\Final\1.dgn D:\Tile\DGN\Final\3.dgn D:\Tile\DGN\Final\5.dgn D:\Tile\DGN\Final\7.dgn D:\Tile\DGN\Final\9.dgn Step1)- Creation of Index tile ogrtindex.exe d:\Tile\DGN\Final\index_dgn.shp d:\Tile\DGN\Final\*.dgn Ogrtindex created index_dgn.shp index file Step2)- Map file EXTENT 699218.75297987 2251967.57943806 755021.241547886 2291053.54827586 SHAPEPATH D:\Tile\DGN\Final . LAYER NAME DGN STATUS ON TILEINDEX index_dgn TILEITEM location TYPE LINE UNITS METERS CLASS NAME DGN STYLE ANGLE 360 COLOR 240 215 209 SYMBOL LineDash WIDTH 1 END END END Error 7/12/2011 4:21:33 PM|msDrawMap(): Image handling error. Failed to draw layer named 'DGN'.;msTiledSHPOpenFile(): Shapefile error. Unable to open a single tile to use as a template in layer DGN.;msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0) 7/12/2011 4:21:33 PM| at OSGeo.MapServer.mapObj.draw() at MapCreator.Controls.MapControl.RefreshMap() In the Layer Tag if I add following line CONNECTIONTYPE OGR the error is 7/12/2011 4:29:20 PM|msDrawMap(): Image handling error. Failed to draw layer named 'DGN'.;msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `DGN'. File not found or unsupported format. 7/12/2011 4:29:20 PM| at OSGeo.MapServer.mapObj.draw() at MapCreator.Controls.MapControl.RefreshMap() ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] msShapefileOpen(): Unable to access file
Hi, I guess that Mapserver is seaching for shapefiles as default. Read the document http://mapserver.org/input/vector/ogr.html and have a try with CONNECTIONTYPE=OGR. -Jukka Rahkonen Dave Chetan wrote: Hi, I am publishing DGN data using tile option. I am getting error msShapefileOpen(): Unable to access file. Following are the details of Input data, steps executed and error log. Please, if anyone can help in resolving the issue. Source files are DGN D:\Tile\DGN\Final\1.dgn D:\Tile\DGN\Final\3.dgn D:\Tile\DGN\Final\5.dgn D:\Tile\DGN\Final\7.dgn D:\Tile\DGN\Final\9.dgn Step1)- Creation of Index tile ogrtindex.exe d:\Tile\DGN\Final\index_dgn.shp d:\Tile\DGN\Final\*.dgn Ogrtindex created index_dgn.shp index file Step2)- Map file EXTENT 699218.75297987 2251967.57943806 755021.241547886 2291053.54827586 SHAPEPATH D:\Tile\DGN\Final . LAYER NAME DGN STATUS ON TILEINDEX index_dgn TILEITEM location TYPE LINE UNITS METERS CLASS NAME DGN STYLE ANGLE 360 COLOR 240 215 209 SYMBOL LineDash WIDTH 1 END END END Error 7/12/2011 4:21:33 PM|msDrawMap(): Image handling error. Failed to draw layer named 'DGN'.;msTiledSHPOpenFile(): Shapefile error. Unable to open a single tile to use as a template in layer DGN.;msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0) 7/12/2011 4:21:33 PM| at OSGeo.MapServer.mapObj.draw() at MapCreator.Controls.MapControl.RefreshMap() In the Layer Tag if I add following line CONNECTIONTYPE OGR the error is 7/12/2011 4:29:20 PM|msDrawMap(): Image handling error. Failed to draw layer named 'DGN'.;msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `DGN'. File not found or unsupported format. 7/12/2011 4:29:20 PM| at OSGeo.MapServer.mapObj.draw() at MapCreator.Controls.MapControl.RefreshMap() ___ 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
Re: [mapserver-users] msShapefileOpen(): Unable to access file
Hi Rahkonen, Thanks for the prompt reply..!! If I add CONNECTIONTYPE OGR in the Layer Tag, then the error is 7/12/2011 4:29:20 PM|msDrawMap(): Image handling error. Failed to draw layer named 'DGN'.;msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `DGN'. File not found or unsupported format. 7/12/2011 4:29:20 PM| at OSGeo.MapServer.mapObj.draw() at MapCreator.Controls.MapControl.RefreshMap() Regards, Dave C. On 7/12/11, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, I guess that Mapserver is seaching for shapefiles as default. Read the document http://mapserver.org/input/vector/ogr.html and have a try with CONNECTIONTYPE=OGR. -Jukka Rahkonen Dave Chetan wrote: Hi, I am publishing DGN data using tile option. I am getting error msShapefileOpen(): Unable to access file. Following are the details of Input data, steps executed and error log. Please, if anyone can help in resolving the issue. Source files are DGN D:\Tile\DGN\Final\1.dgn D:\Tile\DGN\Final\3.dgn D:\Tile\DGN\Final\5.dgn D:\Tile\DGN\Final\7.dgn D:\Tile\DGN\Final\9.dgn Step1)- Creation of Index tile ogrtindex.exe d:\Tile\DGN\Final\index_dgn.shp d:\Tile\DGN\Final\*.dgn Ogrtindex created index_dgn.shp index file Step2)- Map file EXTENT 699218.75297987 2251967.57943806 755021.241547886 2291053.54827586 SHAPEPATH D:\Tile\DGN\Final . LAYER NAME DGN STATUS ON TILEINDEX index_dgn TILEITEM location TYPE LINE UNITS METERS CLASS NAME DGN STYLE ANGLE 360 COLOR 240 215 209 SYMBOL LineDash WIDTH 1 END END END Error 7/12/2011 4:21:33 PM|msDrawMap(): Image handling error. Failed to draw layer named 'DGN'.;msTiledSHPOpenFile(): Shapefile error. Unable to open a single tile to use as a template in layer DGN.;msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0) 7/12/2011 4:21:33 PM| at OSGeo.MapServer.mapObj.draw() at MapCreator.Controls.MapControl.RefreshMap() In the Layer Tag if I add following line CONNECTIONTYPE OGR the error is 7/12/2011 4:29:20 PM|msDrawMap(): Image handling error. Failed to draw layer named 'DGN'.;msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `DGN'. File not found or unsupported format. 7/12/2011 4:29:20 PM| at OSGeo.MapServer.mapObj.draw() at MapCreator.Controls.MapControl.RefreshMap() ___ 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
Re: [mapserver-users] msShapefileOpen(): Unable to access file
Hi, I have never played with DGN files with Mapserver. I would blindly follow the documents and try first with just one DGN file as in http://mapserver.org/input/vector/dgn.html and forward next to ogrtileindex as in http://mapserver.org/input/vector/ogr.html Perhaps there is something important in the syntax of TILEINDEX given in the following example. LAYER NAME ogr_points TYPE POINT CONNECTIONTYPE OGR TILEINDEX PIP_ogr_tiles.shp,0 -Jukka Rahkonen- Lähettäjä: Dave Chetan [csdav...@gmail.com] Lähetetty: 12. heinäkuuta 2011 14:58 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] msShapefileOpen(): Unable to access file Hi Rahkonen, Thanks for the prompt reply..!! If I add CONNECTIONTYPE OGR in the Layer Tag, then the error is 7/12/2011 4:29:20 PM|msDrawMap(): Image handling error. Failed to draw layer named 'DGN'.;msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `DGN'. File not found or unsupported format. 7/12/2011 4:29:20 PM| at OSGeo.MapServer.mapObj.draw() at MapCreator.Controls.MapControl.RefreshMap() Regards, Dave C. On 7/12/11, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, I guess that Mapserver is seaching for shapefiles as default. Read the document http://mapserver.org/input/vector/ogr.html and have a try with CONNECTIONTYPE=OGR. -Jukka Rahkonen Dave Chetan wrote: Hi, I am publishing DGN data using tile option. I am getting error msShapefileOpen(): Unable to access file. Following are the details of Input data, steps executed and error log. Please, if anyone can help in resolving the issue. Source files are DGN D:\Tile\DGN\Final\1.dgn D:\Tile\DGN\Final\3.dgn D:\Tile\DGN\Final\5.dgn D:\Tile\DGN\Final\7.dgn D:\Tile\DGN\Final\9.dgn Step1)- Creation of Index tile ogrtindex.exe d:\Tile\DGN\Final\index_dgn.shp d:\Tile\DGN\Final\*.dgn Ogrtindex created index_dgn.shp index file Step2)- Map file EXTENT 699218.75297987 2251967.57943806 755021.241547886 2291053.54827586 SHAPEPATH D:\Tile\DGN\Final . LAYER NAME DGN STATUS ON TILEINDEX index_dgn TILEITEM location TYPE LINE UNITS METERS CLASS NAME DGN STYLE ANGLE 360 COLOR 240 215 209 SYMBOL LineDash WIDTH 1 END END END Error 7/12/2011 4:21:33 PM|msDrawMap(): Image handling error. Failed to draw layer named 'DGN'.;msTiledSHPOpenFile(): Shapefile error. Unable to open a single tile to use as a template in layer DGN.;msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0) 7/12/2011 4:21:33 PM| at OSGeo.MapServer.mapObj.draw() at MapCreator.Controls.MapControl.RefreshMap() In the Layer Tag if I add following line CONNECTIONTYPE OGR the error is 7/12/2011 4:29:20 PM|msDrawMap(): Image handling error. Failed to draw layer named 'DGN'.;msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `DGN'. File not found or unsupported format. 7/12/2011 4:29:20 PM| at OSGeo.MapServer.mapObj.draw() at MapCreator.Controls.MapControl.RefreshMap() ___ 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
Re: [mapserver-users] msShapefileOpen(): Unable to access file
Dear Jukka, Yes, I am able to publish single DGN. But when I go for tiled dgn, I have error. Regards, Dave C. On 7/12/11, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, I have never played with DGN files with Mapserver. I would blindly follow the documents and try first with just one DGN file as in http://mapserver.org/input/vector/dgn.html and forward next to ogrtileindex as in http://mapserver.org/input/vector/ogr.html Perhaps there is something important in the syntax of TILEINDEX given in the following example. LAYER NAME ogr_points TYPE POINT CONNECTIONTYPE OGR TILEINDEX PIP_ogr_tiles.shp,0 -Jukka Rahkonen- Lähettäjä: Dave Chetan [csdav...@gmail.com] Lähetetty: 12. heinäkuuta 2011 14:58 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] msShapefileOpen(): Unable to access file Hi Rahkonen, Thanks for the prompt reply..!! If I add CONNECTIONTYPE OGR in the Layer Tag, then the error is 7/12/2011 4:29:20 PM|msDrawMap(): Image handling error. Failed to draw layer named 'DGN'.;msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `DGN'. File not found or unsupported format. 7/12/2011 4:29:20 PM| at OSGeo.MapServer.mapObj.draw() at MapCreator.Controls.MapControl.RefreshMap() Regards, Dave C. On 7/12/11, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, I guess that Mapserver is seaching for shapefiles as default. Read the document http://mapserver.org/input/vector/ogr.html and have a try with CONNECTIONTYPE=OGR. -Jukka Rahkonen Dave Chetan wrote: Hi, I am publishing DGN data using tile option. I am getting error msShapefileOpen(): Unable to access file. Following are the details of Input data, steps executed and error log. Please, if anyone can help in resolving the issue. Source files are DGN D:\Tile\DGN\Final\1.dgn D:\Tile\DGN\Final\3.dgn D:\Tile\DGN\Final\5.dgn D:\Tile\DGN\Final\7.dgn D:\Tile\DGN\Final\9.dgn Step1)- Creation of Index tile ogrtindex.exe d:\Tile\DGN\Final\index_dgn.shp d:\Tile\DGN\Final\*.dgn Ogrtindex created index_dgn.shp index file Step2)- Map file EXTENT 699218.75297987 2251967.57943806 755021.241547886 2291053.54827586 SHAPEPATH D:\Tile\DGN\Final . LAYER NAME DGN STATUS ON TILEINDEX index_dgn TILEITEM location TYPE LINE UNITS METERS CLASS NAME DGN STYLE ANGLE 360 COLOR 240 215 209 SYMBOL LineDash WIDTH 1 END END END Error 7/12/2011 4:21:33 PM|msDrawMap(): Image handling error. Failed to draw layer named 'DGN'.;msTiledSHPOpenFile(): Shapefile error. Unable to open a single tile to use as a template in layer DGN.;msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0) 7/12/2011 4:21:33 PM| at OSGeo.MapServer.mapObj.draw() at MapCreator.Controls.MapControl.RefreshMap() In the Layer Tag if I add following line CONNECTIONTYPE OGR the error is 7/12/2011 4:29:20 PM|msDrawMap(): Image handling error. Failed to draw layer named 'DGN'.;msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `DGN'. File not found or unsupported format. 7/12/2011 4:29:20 PM| at OSGeo.MapServer.mapObj.draw() at MapCreator.Controls.MapControl.RefreshMap() ___ 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
[mapserver-users] Re: I need help with mapserver and windows 2003
On Tue, Jul 12, 2011 at 4:48 AM, dmorales...@gmail.com wrote: I have a problem. Calling the mapserv.exe cgi I get an error message from memory. The application failed to start properly error (0xc0150002). The server operating system is 2003 and service pack 2 What other requirements necessary to run the CGI mapserver on this server Windows 2003? thank you very much dmoralesnet - It's best to post your question to the MapServer Users mailing list. You can join the list here: http://www.mapserver.org/community/lists.html and I have included the list in my reply. If you can use Apache instead of IIS I recommend that based on personal preference, but if that is not an option, here are my notes on setting up mapserver on Windows 2003. I had particular difficulty where the Windows 2003 server was also a domain server, so there are steps in the notes below that you may omit. Short version: Create a Web Service Extension mapserver Add mapserv.exe and all .dll Create Virtual Directory Assign Application Name: mapserver Domain Security Policy or??? Domain Controller Security Policy Local Policies User Rights Assignment Adjust Memory Quotas for a process Replace a process level token Reboot! http://www.derkeiler.com/Newsgroups/microsoft.public.inetserver.iis.security/2003-10/0178.html Longer version: Configuring User Rights for Nondefault Identities to Run CGI Processes (IIS 6.0) IIS 6.0 worker processes use the CreateProcessAsUser API to start CGI processes. The CreateProcessAsUser API must have the SE_ASSIGNPRIMARYTOKEN_NAME and SE_INCREASE_QUOTA_NAME user rights to succeed. The Network Service, Local Service, and LocalSystem user accounts have these user rights. If you change the identity of a worker process and want to run CGI processes, ensure that the new identity has these two user rights. To assign user rights to an account on the local computer 1. From the Start menu, point to Administrative Tools, and then click Local Security Policy. 2. In the Local Security Settings dialog box, double-click Local Policies, and then double-click User Rights Assignment. 3. In the details pane, double-click Adjust memory quotas for a process. This is the SE_INCREASE_QUOTA_NAME user right. 4. Click Add User or Group, and, in the Enter the object names to select box, type the user or group name to which you want to assign the user right, and then click OK. 5. Click OK again, and then, in the details pane, double-click Replace a process level token. This is the SE_ASSIGNPRIMARYTOKEN_NAME user right. 6. Click Add User or Group, and, in the Enter the object names to select box, type the user or group name to which you want to assign the user right, and then click OK. http://www.beamartyr.net/articles/iisperl.html http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/bc0c4729-e892-4871-b8f3-fcbf489f2f09.mspx?mfr=true -- Richard Greenwood richard.greenw...@gmail.com www.greenwoodmap.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] how to create from xyz file poloygon and display as layer
i have xyz file contain lat , lon and height and i want to draw a layer in mapserver Best VB programmer , Azz. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] MapWindow and MapServer output
Hello all, I would like to hear feedback from the MapServer community on the status of the MapWindow project and its support for exporting to MapServer .map files. (aside: I am a long-time QGIS user and lover, but a potential project could involve MapWindow indirectly) I see that a MapServer Project Generator plugin does exist (http://www.mapwindow.org/downloads/index.php?show_details=27), created in the year 2007; but I am wondering if it is still actively maintained (such as: is MapServer 6.0 supported?) If anyone has any experience or advice before I travel down this path please share your thoughts :) Thanks! -jeff -- Jeff McKenna MapServer 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] msShapefileOpen(): Unable to access file
Dave, I've had good success rendering DGN files referenced in a TILEINDEX (http://lists.osgeo.org/pipermail/mapserver-users/2010-December/067444.html). Try adding .shp to the end of your TILEINDEX: TILEINDEX index_dg.shp as OGR handles the files differently than Mapserver's native shapefile mechanism. Best Regards, Brent Fraser On 7/12/2011 6:25 AM, Dave Chetan wrote: Dear Jukka, Yes, I am able to publish single DGN. But when I go for tiled dgn, I have error. Regards, Dave C. On 7/12/11, Rahkonen Jukkajukka.rahko...@mmmtike.fi wrote: Hi, I have never played with DGN files with Mapserver. I would blindly follow the documents and try first with just one DGN file as in http://mapserver.org/input/vector/dgn.html and forward next to ogrtileindex as in http://mapserver.org/input/vector/ogr.html Perhaps there is something important in the syntax of TILEINDEX given in the following example. LAYER NAME ogr_points TYPE POINT CONNECTIONTYPE OGR TILEINDEX PIP_ogr_tiles.shp,0 -Jukka Rahkonen- Lähettäjä: Dave Chetan [csdav...@gmail.com] Lähetetty: 12. heinäkuuta 2011 14:58 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] msShapefileOpen(): Unable to access file Hi Rahkonen, Thanks for the prompt reply..!! If I add CONNECTIONTYPE OGR in the Layer Tag, then the error is 7/12/2011 4:29:20 PM|msDrawMap(): Image handling error. Failed to draw layer named 'DGN'.;msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `DGN'. File not found or unsupported format. 7/12/2011 4:29:20 PM| at OSGeo.MapServer.mapObj.draw() at MapCreator.Controls.MapControl.RefreshMap() Regards, Dave C. On 7/12/11, Rahkonen Jukkajukka.rahko...@mmmtike.fi wrote: Hi, I guess that Mapserver is seaching for shapefiles as default. Read the document http://mapserver.org/input/vector/ogr.html and have a try with CONNECTIONTYPE=OGR. -Jukka Rahkonen Dave Chetan wrote: Hi, I am publishing DGN data using tile option. I am getting error msShapefileOpen(): Unable to access file. Following are the details of Input data, steps executed and error log. Please, if anyone can help in resolving the issue. Source files are DGN D:\Tile\DGN\Final\1.dgn D:\Tile\DGN\Final\3.dgn D:\Tile\DGN\Final\5.dgn D:\Tile\DGN\Final\7.dgn D:\Tile\DGN\Final\9.dgn Step1)- Creation of Index tile ogrtindex.exe d:\Tile\DGN\Final\index_dgn.shp d:\Tile\DGN\Final\*.dgn Ogrtindex created index_dgn.shp index file Step2)- Map file EXTENT 699218.75297987 2251967.57943806 755021.241547886 2291053.54827586 SHAPEPATH D:\Tile\DGN\Final . LAYER NAME DGN STATUS ON TILEINDEX index_dgn TILEITEM location TYPE LINE UNITS METERS CLASS NAME DGN STYLE ANGLE 360 COLOR 240 215 209 SYMBOL LineDash WIDTH 1 END END END Error 7/12/2011 4:21:33 PM|msDrawMap(): Image handling error. Failed to draw layer named 'DGN'.;msTiledSHPOpenFile(): Shapefile error. Unable to open a single tile to use as a template in layer DGN.;msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\9.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\7.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\5.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\3.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0);msShapefileOpen(): Unable to access file. (d:\Tile\DGN\Final\1.dgn,0) 7/12/2011 4:21:33 PM| at OSGeo.MapServer.mapObj.draw() at MapCreator.Controls.MapControl.RefreshMap() In the Layer Tag if I add following line CONNECTIONTYPE OGR the error is 7/12/2011 4:29:20 PM|msDrawMap(): Image handling error. Failed to draw layer named 'DGN'.;msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `DGN'. File not found or unsupported format. 7/12/2011 4:29:20 PM| at OSGeo.MapServer.mapObj.draw() at MapCreator.Controls.MapControl.RefreshMap() ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___
Re: [mapserver-users] how to create from xyz file poloygon and display as layer
Zakaria, You can do it with a Virtual Data Source. Take a look at http://www.mapserver.org/input/vector/VirtualSpatialData.html Cheers from México IC Carlos Ruiz From: Amr Zakaria amrzakari...@hotmail.com To: mapserver mapserver-users@lists.osgeo.org Sent: Tuesday, July 12, 2011 8:23 AM Subject: [mapserver-users] how to create from xyz file poloygon and display as layer i have xyz file contain lat , lon and height and i want to draw a layer in mapserver Best VB programmer , Azz. ___ 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
[mapserver-users] Unable to load php_mascript.so
After upgrading to Mapserver 6.0.0, I am unable to load the new php_mapscript.so extension either from php.ini or my php file where I use mapscript. The attempt produces the following error output: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/php_mapscript.so' - /usr/lib/php/modules/php_mapscript.so: undefined symbol: zval_set_isref_p in Unknown on line 0 Removing the zval_set_isref_p references in php_mapscript_util.c and php_mapscript_util.h helps with loading the extension, but then GetMap requests end up with missing tiles in OpenLayers. The environment is CentOS 4 with PHP Version 5.2.0, and Apache 2.0 Any ideas? Thanks in advance, Alex ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Run Time Substitution and Mapscript questions
I am attempting to use python mapscript to generate some maps, however I am running up against some problems. My mapfile layer has a CONNECTION of http://127.0.0.1/cgi-bin/wms/rs/seacoos_rs_test?TIME_OFFSET_HOURS=%time_offset_hours%; My mapscript test script has an OWSRequest that has a setParameter(TIME_OFFSET_HOURS, 2) When checking the web logs, I see the request come in, however the substitution is not being made, I see /cgi-bin/wms/rs/seacoos_rs_test?TIME_OFFSET_HOURS=%time_offset_hours% Are these types of substitutions still possible? Thanks, Dan -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Run-Time-Substitution-and-Mapscript-questions-tp6576363p6576363.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users