tileindex: sequence of attributes in individual shapefiles matter s

Bart van den Eijnden (OSGIS) bartvde at XS4ALL.NL
Wed Mar 29 07:53:30 PST 2006


Hi Jeff,

no error using ogrtindex, but it's not that there is a different field, 
it's just the sequence of fields which differs.

Best regards,
Bart

Jeff McKenna wrote:

> and no error was thrown when generating the index?  I swear I've hit 
> this same problem when one dbf had a different field, and an error was 
> displayed.
>
> jeff
>
>
>
> Eijnden, B. van den (Bart) wrote:
>
>> Hi list,
>>
>> today we encountered that the sequence of attributes of the individual
>> shapefiles which were used in a tile-index are important. In 3 out of 4
>> shapefiles the CLASSITEM column was the 3rd column, but in the 4th 
>> shapefile
>> it was the 4th column, so that one did not show up in the map ....
>>
>> Apparently Mapserver fetches attribute values based on a column 
>> index? Would
>> it be better to fetch by name? Otherwise I think this requirement 
>> should be
>> documented somewhere.
>>
>> Best regards,
>> Bart
>>
>
>
>


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl



More information about the MapServer-users mailing list