Mark,

By using the OGR SQL syntax you can utilize various `summarization
operators` like MIN and MAX for example:
http://www.gdal.org/ogr/ogr_sql.html

You can use -sql commandline option of ogrinfo to invoke the SQL based query.

Best regards,

Tamas




2008/6/17 Mark Brooks <[EMAIL PROTECTED]>:
> We have a shapefile of type 'point'.  Is there a way to find the maximum
> value of all points in this shapefile?  It would be cool to be able to
> do this in the mapfile.  We're using PHP mapscript and want to create a
> dynamic color ramp based on the max/min values of the shapefile.
>
> Mark
>
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to