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

Paul Spencer pagameba at magma.ca
Thu Jun 3 19:59:05 EDT 2004


Okay, I understand now.  For the record, I am going to update the MS4W 
package to include the contents of the gdal data directory from gdal 1.2 
  and set an environment variable in the apache configuration file so 
that you won't have to do this in the future.

http://www.maptools.org/bugzilla/show_bug.cgi?id=436

Cheers,

Paul

Tyler Mitchell wrote:

> 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
> 
> 
> _______________________________________________
> 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/|
  -----------------------------------------------------------------




More information about the Gdal-dev mailing list