[Gdal-dev] Re: [ms4w-users] s57 support

Tyler Mitchell TMitchell at lignum.com
Thu Jun 3 19:10:21 EDT 2004


Just for the sake of the mailing list record, it did appear to have s57 
support and it does indeed work.
The problem was that mapserv couldn't find the gdal/data/s57attributes.csv 
file.  I didn't know it used anything like that, so it was a good lesson 
on inter-dependencies :)   We solved the problem by using the nifty new 
CONFIG parameter in the map file.

CONFIG GDAL_DATA=C:\ms4w\apps\OpenEV_FW\data

Worked like a charm. 

Tyler

gdal-dev-admin at remotesensing.org wrote on 05/28/2004 06:37:17 PM:

> Tyler,
> 
> I am pretty sure that I don't add s57 support to my windows builds, and 
> since I got them from Assefa, I doubt they are in the downloads from our 

> site, including ms4w.
> 
> Please contact either myself or Assefa directly if you are interesting 
> in having us do this for you ...
> 
> Paul
> 
> Tyler Mitchell wrote:
> > Does anyone know if s57 via ogr support is built into the latest ms4w. 
I 
> > got it working last night on linux but can't seem to get it working at 
all 
> > on a windows environment.
> > 
> > Error looks like the following, as opposed to the file not found 
error:
> > 
> > msDrawMap(): Image handling error. Failed to draw layer named 's57'. 
> > msOGRFileOpen(): OGR error. GetLayer( 9) failed for OGR connection 
> > `data/s57/US1PO02M.000, 9'. 
> > msAddImageSymbol(): Unable to access file. Error opening image file 
> > /ms4w/apache/htdocs/mapserver/workshop/ogr-pen-6. 
> > msAddImageSymbol(): Unable to access file. Error opening image file 
> > /ms4w/apache/htdocs/mapserver/workshop/mapinfo-pen-14. 
> > msAddImageSymbol(): Unable to access file. Error opening image file 
> > /ms4w/apache/htdocs/mapserver/workshop/default-circle
> > _______________________________________________
> > ms4w-users mailing list
> > ms4w-users at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/ms4w-users
> > 
> 
> -- 
>   -----------------------------------------------------------------
> |Paul Spencer                           pspencer at dmsolutions.ca   |
> |-----------------------------------------------------------------|
> |Applications & Software Development                              |
> |DM Solutions Group Inc                 http://www.dmsolutions.ca/|
>   -----------------------------------------------------------------
> 
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at remotesensing.org
> http://remotesensing.org/mailman/listinfo/gdal-dev



More information about the ms4w-users mailing list