Opened 21 years ago

Closed 20 years ago

Last modified 20 years ago

#290 closed enhancement (fixed)

Allow shapeindex in mapserver expressions

Reported by: palle@… Owned by: sdlime
Priority: high Milestone:
Component: MapServer CGI Version: 4.0
Severity: minor Keywords:
Cc:

Description

[shapeindex] (or [shpidx] or [recno]) should be allowed in mapserver 
expressions to allow query on multiple shapeindices. Here is my original mail 
to the mapserver-users list, and Stephen Lime's answer:

Fra:  "Steve Lime" <steve.lime@dnr.state.mn.us>  
Til:  <mapserver-users@lists.gis.umn.edu>, <palle@mail-online.dk> 
Dato:  05/03/2003 16:52 
Emne:  Re: [Mapserver-users] INDEXNQUERY 


The best way to implement would be by allowing you to query by index.
That is treat the index as a normal column in MapServer expressions.
That way you'd just use the itemquery and itemnquery modes.  That's a
lot easier to add then a totally new query mode.

Please file this as a feature enhancement and I'll add it to 3.7.

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> "Palle Due Larsen" <palle@mail-online.dk> 03/05/03 09:02AM >>>
Hi all,

What I really would like is the INDEXNQUERY mode. This would allow me
to
find and display multiple shapes by index. However, this does not
exist.
I guess I could achieve the same result with a filter, but I am afraid
that performance wouldn't be up to standards. 
Does anyone have a suggestion regarding how to implement this? I am
normally using PERL mapscript for advanced purposes, but I would
prefer
a normal CGI solution.

Best regards

Palle Due Larsen, Carl Bro GIS&IT

Change History (4)

comment:1 by dmorissette, 21 years ago

Resolution: duplicate
Status: newclosed

*** This bug has been marked as a duplicate of 85 ***

comment:2 by palle@…, 20 years ago

Resolution: duplicate
Status: closedreopened
Whatever happened to this one? I see it's marked as duplicate, but there is no
reference to the bug it duplicates. I have tried all the below options
([shapeindex] and [shpidx] and [recno]) with filter as well as expression, to no
avail. 

comment:3 by palle@…, 20 years ago

Resolution: fixed
Status: reopenedclosed

comment:4 by palle@…, 20 years ago

I reopened the above bug, because I couldn't find any info about what had
happened to it. It turned out to be my fault, I just didn't look in the
right place. I've tried to close it again, but don't know if I did it right.

Sorry about the commotion.

Best regards

-- 
Palle Due Larsen, Carl Bro GIS&IT
Granskoven 8, 2600 Glostrup
Direkte telefon: 4348 6026 
Note: See TracTickets for help on using tickets.