| 48 | When developing a new OGR driver, you can test its consistency on a given data file. |
| 49 | |
| 50 | {{{ |
| 51 | % cd apps |
| 52 | % make test_ogrsf |
| 53 | % ./test_ogrsf your_data_file |
| 54 | }}} |
| 55 | |
| 56 | A report like this will be generated if everything is OK : |
| 57 | |
| 58 | {{{ |
| 59 | INFO: Open of `../../../sample.gpx' using driver `GPX' successful. |
| 60 | INFO: Testing layer waypoints. |
| 61 | INFO: Feature count verified. |
| 62 | INFO: Feature/layer spatial ref. consistency verified. |
| 63 | INFO: Spatial filter inclusion seems to work. |
| 64 | INFO: Spatial filter exclusion seems to work. |
| 65 | INFO: Testing layer routes. |
| 66 | INFO: Feature count verified. |
| 67 | INFO: Feature/layer spatial ref. consistency verified. |
| 68 | INFO: Spatial filter inclusion seems to work. |
| 69 | INFO: Spatial filter exclusion seems to work. |
| 70 | INFO: Testing layer tracks. |
| 71 | INFO: Feature count verified. |
| 72 | INFO: Feature/layer spatial ref. consistency verified. |
| 73 | INFO: Spatial filter inclusion seems to work. |
| 74 | INFO: Spatial filter exclusion seems to work. |
| 75 | }}} |