Opened 15 years ago

#3116 new enhancement

spatial oblogation per layer basis

Reported by: mko Owned by: mko
Priority: normal Milestone:
Component: MapServer C Library Version: 5.4
Severity: normal Keywords: spatial obligation
Cc:

Description

MapServer is missing capabilities to spatially filter a layer (spatial obligations/restrictions). This is necessary for datasets (vector and raster data sources) where only limited (here: spatial) access is granted to individuals.

The supplied patch uses another layer (similar to an tileindex layer) as spatial obligation. Draft only.

Attachments (2)

ms541-spatial-obligation.zip (2.8 KB ) - added by mko 15 years ago.
ms542-spatial_obligation.patch (7.3 KB ) - added by mko 15 years ago.
Patch adds a new key RESTRICTION to the layer object which can point to a layer representing the area where access is allowed. Works for raster output only. Data outside the given area is removed from output. Open issues: code clean up, handling of map background color, limiting queries/gerfeatureinfos to the area given in restriction layer.

Download all attachments as: .zip

Change History (2)

by mko, 15 years ago

by mko, 15 years ago

Patch adds a new key RESTRICTION to the layer object which can point to a layer representing the area where access is allowed. Works for raster output only. Data outside the given area is removed from output. Open issues: code clean up, handling of map background color, limiting queries/gerfeatureinfos to the area given in restriction layer.

Note: See TracTickets for help on using tickets.