https://github.com/shenyih0ng/ovr2shp
ERDAS Imagine Annotation Layer (.ovr) to Shapefile (.shp) converter
https://github.com/shenyih0ng/ovr2shp
erdas-hfa fileformat shapefile
Last synced: 8 months ago
JSON representation
ERDAS Imagine Annotation Layer (.ovr) to Shapefile (.shp) converter
- Host: GitHub
- URL: https://github.com/shenyih0ng/ovr2shp
- Owner: shenyih0ng
- Created: 2021-01-31T16:03:25.000Z (over 4 years ago)
- Default Branch: dev
- Last Pushed: 2023-12-06T05:03:04.000Z (almost 2 years ago)
- Last Synced: 2025-01-01T17:13:34.690Z (10 months ago)
- Topics: erdas-hfa, fileformat, shapefile
- Language: C++
- Homepage:
- Size: 1.11 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ovr2shp
A project that helps convert ERDAS HFA Annotation Layer (`.ovr`) to Shapefile(`.shp`)/GeoJSON(`.geojson`). To understand how ERDAS HFA file format works, I looked into how GDAL implements the conversion from ERDAS HFA Raster Format (`.img`) to `.tif`.
ERDAS also provided a detailed documentation explaining the internals of HFA structure. Although it details mainly on the raster `.img` format, `.ovr` follows the same file structure described in the documentation.
## Development
**Details of setting up `ovr2shp` for development can be found [here](https://shenyih0ng.github.io/ovr2shp/)**
[gnuplot](http://www.gnuplot.info/) is used in the linux build to visualize the geometries/shape extracted from `.ovr` files. [Gnuplot-Iostream Interface](https://github.com/dstahlke/gnuplot-iostream) is used to interface with the `gnuplot` binary.
## Prebuilt binaries
- [`v0.1.0`](https://github.com/shenyih0ng/ovr2shp/releases/tag/v0.1.0)
- `win-x86`
- `win-x64`
### References
[img2tif](http://web.archive.org/web/20130730133056/http://home.gdal.org/projects/imagine/hfa_index.html)
[Detail Documentation](/docs/hfa.pdf)
[Sample Data](https://download.hexagongeospatial.com/en/downloads/imagine/erdas-imagine-remote-sensing-example-data)