[mapserver-users] Possible to sort in a QueryByAttributes?
Steve Lime
Steve.Lime at dnr.state.mn.us
Fri Nov 6 08:48:05 PST 2009
You'd need to store the results in a intermediate data structure and then sort that within
PHP. If you're using a database backend you can do the sort right in the DATA statement.
Steve
>>> On 11/5/2009 at 4:22 PM, in message
<4EFF8BB964547748A07CA32961810C0415F32A0E at SOM-TEAQASMAIL1.som.w2k.state.me.us>,
"Bistrais, Bob" <Bob.Bistrais at maine.gov> wrote:
> I'm working on a PHP script which will populate an HTML select list with
> the results of an attribute query. The intent is to populate the select
> list with the values of an item in a data layer. I sort of have it
> working. But I'd like to sort my query results in ascending order, so
> they appear alphabetically in the select list. Is there a way to do
> this in Mapscript?
More information about the MapServer-users
mailing list