[mapserver-dev] Possible to use PostGIS as a TILEINDEX to
shapefiles?
Brent Fraser
bfraser at geoanalytic.com
Wed Apr 27 20:42:00 EDT 2011
I've used a PostGIS layer as a TILEINDEX to raster files, but it doesn't
seem to work for pointing to shapefiles.
And looking at mapshape.c at line 1901 it checks:
tlp = (GET_LAYER(layer->map, tSHP->tilelayerindex));
if(tlp->connectiontype != MS_SHAPEFILE) {
msSetError(MS_SDEERR, "Tileindex layer must be a shapefile.",
"msTiledSHPOpenFile()");
return(MS_FAILURE);
}
mapraster.c has some logic around line 410 that seems more generic.
I wonder if it would be possible to fix this for 6.0, or is it too late
now that rc1 is out?
--
Best Regards,
Brent Fraser
More information about the mapserver-dev
mailing list