Opened 13 years ago
#3861 new defect
Unable to use database table as TILEIDEX for shapefiles
Reported by: | bfraser | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapServer C Library | Version: | 6.0 |
Severity: | normal | Keywords: | TILEINDEX |
Cc: |
Description
While it is possible to use a database table for a TILEINDEX for raster files, attempting to use a database table as a TILEINDEX for shapefiles results in an error: msTiledSHPOpenFile(): SDE error. Tileindex layer must be a shapefile.
Using OGR has similar problems. I was able to use PostGIS thru OGR, but the syntax is very picky (and too limiting):
LAYER
NAME 'Landfast' TYPE LINE STATUS DEFAULT
CONNECTIONTYPE OGR TILEINDEX "PG:dbname='PN2010_0911' host='thinkcentre1' port='5432' user='PN2010_0911' password='PN2010_0911',images" TILEITEM "location_landfast"
The key points are:
- No DATA object allowed.
- No spaces before table name (at the end of the connection string of the TILEINDEX)
Note:
See TracTickets
for help on using tickets.