[mapserver-dev] MapServer 5.2 Beta 3 Available

Paul Ramsey pramsey at cleverelephant.ca
Fri Jun 27 16:35:13 EDT 2008


This doesn't seem right to me:

      msBuildPath3(szPath, tiFileAbsDir, layer->map->shapepath, filename);

If shapepath isn't set, you get the right answer, but if it *is* set,
you get something very odd indeed.

P.

On Fri, Jun 27, 2008 at 12:50 PM, Jeff McKenna
<jmckenna at gatewaygeomatics.com> wrote:
> Jim,
>
> There was indeed a change in beta3 regarding TILEINDEX layers, but it should
> not affect any existing indexes with SHAPEPATH set, which is your case.  I
> can duplicate your error with a file structure exactly like yours: with
> beta2 no error, with beta3 i get your exact errors.  Would you mind
> reporting this in the associated ticket?
> http://trac.osgeo.org/mapserver/ticket/2369  Also please include what OS you
> are testing on (I am testing on Windows).
>
> Good find!
>
>
>
> ---
> Jeff McKenna
> FOSS4G Consulting and Training Services
> http://www.gatewaygeomatics.com/
>
>
>
>
>
> On 27-Jun-08, at 11:54 AM, Jim Klassen wrote:
>
>> All,
>>
>> Beta3 seems to have broken my tiled raster layers. These layers all worked
>> fine up through 5.2.0-beta2. Is there something I need to change in my
>> config?
>>
>> The error I get is "msDrawMap(): Image handling error. Failed to draw
>> layer named 'L10'. msDrawRaster(): Unable to access file.
>> L10/512000_0-1024000_512000.jpg using full path
>> L10/512000_0-1024000_512000.jpg"
>>
>> In map I have SHAPEPATH set to "PWTS/2006_00"
>> In the layers I have TILEINDEX "L10/TILEINDEX"
>> In the tileindex I have Locations such as
>> "L10/512000_0-1024000_512000.jpg"
>>
>> The file system layout is:
>>
>> ./AERIAL_2006/ramsey_2006.map
>> ./AERIAL_2006/PWTS/2006_00/L10/TILEINDEX.{shp,shx,dbf}
>> ./AERIAL_2006/PWTS/2006_00/L10/*.jpg
>>
>> Jim Klassen
>> City of St. Paul
>>
>>>>> "Steve Lime" <Steve.Lime at dnr.state.mn.us> 06/26/08 10:00 PM >>>
>>
>>
>> - mapshape.c: Applied patch to make the location of tiled data relative to
>> the
>>  tileindex directory if SHAPEPATH is not set. (#2369)
>>
>>
>> _______________________________________________
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>


More information about the mapserver-dev mailing list