[Geomoose-users] sort query or identify results in shapefiles

Brian Fischer bfischer at houstoneng.com
Wed May 20 12:28:23 EDT 2009


Or you would have to write a php service that utilizes mapscript and do the sorting by brut force which would be a little slow.  Dan is write the database is the best way to go.  Another trick I have used is to sort your shapefile ahead of time and duplicate it so it is sorted one way for pin and another for names.  There is a mapserver utility to sort the shapefile on a field.  http://mapserver.org/utilities/sortshp.html A bit of a hack but it would work.

From: Dan Little [mailto:danlittle at yahoo.com]
Sent: Wednesday, May 20, 2009 8:47 AM
To: Mark Volz; geomoose-users at lists.sourceforge.net
Subject: Re: [Geomoose-users] sort query or identify results in shapefiles

Not without using a database ... using a database you can use the "order by" sql directive to sort results.

________________________________
From: Mark Volz <MarkVolz at co.lyon.mn.us>
To: geomoose-users at lists.sourceforge.net
Sent: Tuesday, May 19, 2009 1:48:55 PM
Subject: [Geomoose-users] sort query or identify results in shapefiles
Is there a way to sort query and identify results for shapefiles?  I would like parcel searches to be sorted by pin number for parcel number searches and alphabetically for name searches.


Mark Volz
GIS Specialist
Lyon County, MN

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090520/4e4bd9f3/attachment.html


More information about the Geomoose-users mailing list