Ticket #3618 (new defect)
Opened 2 years ago
postgis layer with USING UNIQUE and queries
| Reported by: | assefa | Owned by: | sdlime |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | MapServer C Library | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: | assefa |
Description
I run into an issue where the DATA definition is like this
DATA "wkb_geometry from folie001_test USING UNIQUE objnr"
when a getshape is called, It end up being translated into a postgis query the would end up like:
...from folie001_test where "objnr" = 0
0 being the shape index asked. This would generate errors.
Removing the USING UNIQUE objnr gives the correct result.
Note: See
TracTickets for help on using
tickets.
