[mapserver-users] Using OGR with a TILEINDEX layer

Brent Fraser bfraser at geoanalytic.com
Fri Dec 3 12:39:54 EST 2010


I used ogrtindex to create a tileindex shapefile with absolute paths but 
get an error in mapserver v5.6.1 when attempting to use it:

msDrawMap(): Image handling error. Failed to draw layer named 
'LINE'.
msOGRFileOpen(): OGR error. Open failed for OGR connection in layer 
`LINE'.  File not found or unsupported format

   LAYER
     NAME "index_west"
     TYPE TILEINDEX
     DATA "G:\GeoData\1_250k\Alberta\AltaLIS\250k_west.shp"
   END


   LAYER # LINE
     NAME 'LINE'
     STATUS on
     TYPE LINE
     TILEINDEX "index_west"
     CONNECTIONTYPE OGR
#    CONNECTION 'G:\GeoData\1_250k\Alberta\AltaLIS\82opos.dgn' # entities'

     INCLUDE "AltaLIS_250k_render_inc.map"
   END

Does OGR work when referencing a TILEINDEX?

-- 
Best Regards,
Brent Fraser




More information about the mapserver-users mailing list