[mapguide-users] Sorting FeatureReaders [No Viruses detected]

Haris Kurtagic haris at sl-king.com
Tue Nov 14 08:01:48 EST 2006


Hi,
I think you are doing it in right way. SDF provider doesn't support
ordering option.

For providers which support ordering it would be the way to do it.

Haris

-----Original Message-----
From: Tom Chadwin [mailto:tom.chadwin at nnpa.org.uk] 
Sent: Tuesday, November 14, 2006 1:56 PM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Sorting FeatureReaders [No Viruses detected]

Hello all

I am trying to sort a FeatureReader as follows:

$stringCollection = new MgStringCollection();
$stringCollection->Add("NNPA_REF");
$queryOptions->SetOrderingFilter($stringCollection,
MgOrderingOption::Ascending);

The feature source is SDF, and I am getting the error:

Feature Service exception - Ordering Option is not supported by provider

Is there a way of sorting the FeatureReader?

Thanks

Tom


Tom Chadwin
ICT & Web Development Officer
Telephone: 01434 611530
Mobile: 
Fax: 01434 611677
Email: tom.chadwin at nnpa.org.uk
Web : www.Northumberland-national-park.org.uk
<http://www.Northumberland-national-park.org.uk>

<http://www.northumberland-national-park.org.uk/> 
 
________________________________________________________________________
____
IMPORTANT NOTICE - Disclaimer - November 14, 2006 - REF
Email-200611-00044994.

If you have received this e-mail in error or wish to read our e-mail
disclaimer statement and monitoring policy, please refer to the
statement below or contact the sender. 
This communication is from Northumberland National Park Authority
(NNPA).The Authority's head office and principal place of business is
Eastburn, South Park, Hexham, Northumberland, NE46 1BS, United
Kingdom.This communication and any attachments contain information which
is confidential and may also be privileged. It is for the exclusive use
of users at mapguide.osgeo.org. If you are not the intended recipient(s)
please note that any form of disclosure, distribution, copying or use of
this communication or the information in it or in any attachments is
strictly prohibited and may be unlawful. If you have received this
communication in error, please return it with the title "received in
error" to "it.security at nnpa.org.uk" then delete the email and destroy
any copies of it. 
E-mail communications cannot be guaranteed to be secure or error free,
as information could be intercepted, corrupted, amended, lost,
destroyed, arrive late or incomplete, or contain viruses. We do not
accept liability for any such matters or their consequences. Anyone who
communicates with us by e-mail is taken to accept the risks in doing so.

Any views or opinions presented are solely those of the author and do
not necessarily represent those of NNPA.Contractors or potential
contractors are reminded that a formal Order or Contract is needed for
NNPA to be bound by any offer or acceptance of terms for the supply of
goods or services Although this email and any attachments are believed
to be free of any virus or other defects which might affect any computer
or IT system into which they are received, no responsibility is accepted
by the NNPA for any loss or damage arising in any way from the receipt
or use thereof. Computer systems of this Authority may be monitored and
communications carried out on them recorded, to secure the effective
operation of the system and for other lawful purposes.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org





More information about the Mapguide-users mailing list