Ticket #4467 (closed enhancement: wontfix)

Opened 16 months ago

Last modified 6 months ago

OGR_SQL feature request: OGR_GEOM_LENGTH

Reported by: peifer Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

It would be helpful to have an OGR_GEOM_LENGTH special field returning the length of line features (in analogy to OGR_GEOM_AREA, which returns a feature's area).

Change History

Changed 16 months ago by rouault

My feeling is that we should not go on adding those special fields that are more or less hacks. A better (but more complicated) approach would be to implement a subset of SQL/MM, so as to be able to use a standardized syntax like ST_Length(geom), ST_Area(geom), etc...

Changed 6 months ago by rouault

  • status changed from new to closed
  • resolution set to wontfix

This is now possibly by using SQLite SQL dialect with Spatialite :  http://gdal.org/ogr/ogr_sql_sqlite.html

Note: See TracTickets for help on using tickets.