[mapserver-users] DNC's

2008-08-19 Thread Derek Bain
Hi I am trying to get the color for each symbol/layer within a DNC. Using ogrinfo I can get the f_code for each layer however I cannot find the symbol number stored anywhere. Using document MIL-DTL-89045 I can get a table of symbol number mapped to color. However I need, if possible, to find a

[mapserver-users] DNC - msOGRFileOpen(): OGR error

2008-08-14 Thread Derek Bain
Hi I am back to trying to fix my DNC problem. If I run the shp2img within FWTools, then the generated .png file contains my DNC image. However running the shp2img supplied with MapServer gives the following error msDrawMap(): Image handling error. Failed to draw layer named 'hydarea_hyd_area'

[mapserver-users] Re WFS server error. Incomplete WFS request:SERVICE parameter missing

2008-08-14 Thread Derek Bain
EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: Derek Bain <[EMAIL PROTECTED]> Cc: mapserver-users@lists.osgeo.org Sent: Thursday, 14 August, 2008 11:01:43 Subject: Re: [mapserver-users] Re WFS server error. Incomplete WFS request:SERVICE parameter missing Hi Derek, I can confirm th

[mapserver-users] Re WFS server error. Incomplete WFS request:SERVICE parameter missing

2008-08-14 Thread Derek Bain
Hi I tried removing the ampesand as suggested by Jukka but that made no difference. I downloaded an http debugger tool and checked the getmap request, here it is split up over a number of lines for readability. I checked with the WMS 1.1.1 spec and it complies with GetMap. It does not require a

[mapserver-users] Re WFS server error. Incomplete WFS request: SERVICE parameter missing

2008-08-13 Thread Derek Bain
I use world wind's Tool > Import WMS url to Layer menu option. This worked okay on v5.0.2. The url i use is http://localhost:8082/cgi-bin/mapserv.exe?&SERVICE=wms&VERSION=1.1.1&map=d:/MyTestData/Shapes.map Derek Send instant messages to your online friends http://uk.messenger.yahoo.com

[mapserver-users] WFS server error. Incomplete WFS request: SERVICE parameter missing

2008-08-13 Thread Derek Bain
Hi I need some help to clear the following problem When I try to download my map i get the following error [Wed Aug 13 15:40:35 2008].156000 msWFSDispatch(): WFS server error. Incomplete WFS request: SERVICE parameter missing [Wed Aug 13 15:40:35 2008].156000 mapserv request processing time (m

[mapserver-users] 5.2 Problems

2008-08-12 Thread Derek Bain
Hi Jukka This is what i get back. I should be using WMS. I have defined WMS as the connectiontype in the map file. All worked okay on the previous version of ms4w. I also tried using shp2img on my map file and it returned saying that i need to define WEB.IMAGEPATH in my map file which i did not

[mapserver-users] 5.2 Problems

2008-08-12 Thread Derek Bain
Hi I updated ms4w using the 2.2.8 installer. Now I get this error in ms_error.txt "msWFSDispatch(): WFS server error. Incomplete WFS request: SERVICE parameter missing". I added the service parameter and i still get the error. Here is my onlineresource "wms_onlineresource" "h

[mapserver-users] 5.2.0 and 5.02 differences and previous OGR problems post

2008-07-25 Thread Derek Bain
Hi I found the 5.2 windows binary udate using google. I installed it and now the ms_debug output shows [Fri Jul 25 11:19:15 2008].437000 msWFSDispatch(): WFS server error. Incomplete WFS request: SERVICE parameter missing [Fri Jul 25 11:19:15 2008].437000 mapserv request processing time (msLoadM

[mapserver-users] OGR problems

2008-07-25 Thread Derek Bain
Hi My problem with DNC's were traced to the use of the extents. I use a top level map file with the extents set to the whole world and INCLUDE other map files which define the extents for each layer. This worked okay until I used DNC's. I created a seperate map file for DNC's and had to set the

[mapserver-users] shp2img problem

2008-07-24 Thread Derek Bain
Hi I am using shp2img to test my mapfile.. The functions runs and returns no error to the console window but the output image file generated is only 1K in size and shows a vertical line 2x1 pixels, not the expected output. Can anyone give me some help in getting this to work Derek This is my co

[mapserver-users] More info on DCN problem and possible gdal/ogr problem

2008-07-23 Thread Derek Bain
Hi If I run the command ogrinfo -ro -summary gltp:/vrf/c:/ms4w/apps/seetrack_missions/data/DNC13/H1316030 "[EMAIL PROTECTED](*)_area" from C:\Program Files\FWTools2.2.0\bin i get INFO: Open of `gltp:/vrf/c:/ms4w/apps/seetrack_missions/data/DNC13/H1316030' using driver `OGDI' successful

[mapserver-users] DCN / Mapfile problems

2008-07-23 Thread Derek Bain
Hi I now get this from shp2img, any ideas. I know on the command line for ogrinfo, the parameter [EMAIL PROTECTED](*)_area must be in double quotes or it does not work. For some reason, single quotes suppresses the output. Any ideas on how to further debug this. Note: I am running on Windows X

[mapserver-users] More info on DNC problem

2008-07-22 Thread Derek Bain
Hi I used the command ogrinfo -ro -summary gltp:/vrf/c:/ms4w/apps/some_folder/data/DNC13/H1316030 on a folder containing digital nautical charts to get the listing below. I then created the map file using the info for layer 14 ( [EMAIL PROTECTED](*)_area (Polygon) ) and using the extents fro

[mapserver-users] Digital Nautical Charts (DNC)

2008-07-22 Thread Derek Bain
Hi Jeff, thanks for help on my previous post. My installation of ms4w must have been corrupted. I reinstalled and all works ok. I had installed ER Mapper SDK etc and this may have been the problem. Not sure, just happy its working :) Anyway, has anyone any experience using Digital Nautical Char

[mapserver-users] ECW Problems

2008-07-18 Thread Derek Bain
Hi I cannot get ecw files to work in Mapserver. I have updated my map file (see below). Is there any configuration that I have to do to enable this or is ecw by default. I am using ms4w beta 5.2. My client is WorldWind and I am using the "Import to WMS Url Layer" option. It would appear tha

[mapserver-users] WMS Client setup

2008-07-08 Thread Derek Bain
Hi I now have the demo application running. I am trying to add MapServer to the list of WMS Servers in World Wind. I tried adding the following to the wms_server_list.xml file Map Server http://localhost:8081/cgi-bin/mapserv 5.0 Map Server However this

[mapserver-users] Map Demo Setup Help Required

2008-07-07 Thread Derek Bain
Hi I am new to MapServer and I am having problems correctly setting the changes required to Index.html. MapServer is running locally on Windows XP and is located in c:\program files\ms4w and is listening on port 8081 and http://localhost:8081/cgi-bin/mapserv.exe works okay. I have installed the