Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm authored Aug 29, 2023
1 parent 5602a4f commit 10b26b3
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ and [GeoJSON.jl](https://github.com/JuliaGeo/GeoJSON.jl), or
(down)loaded from the internet using the
[GADM.jl](https://github.com/JuliaGeo/GADM.jl) package.

## Supported formats

- .shapefile
- .geojson
- .gpkg
- .kml

## Usage

### Loading/saving data from/to disk
Expand All @@ -27,9 +34,7 @@ table = GeoIO.load("file.shp")
GeoIO.save("file.geojson", table)
```

Additional keyword arguments can be passed to `load` and `save` functions. Valid
arguments are those accepted by `GeoJSON.read`, `GeoJSON.write`, `Shapefile.Table`,
`Shapefile.write` and `ArchGDAL.read`. See below some examples:
Additional keyword arguments are forwarded to the backends:

```julia
# read `.geojson` geometries with Float64 precision
Expand Down

0 comments on commit 10b26b3

Please sign in to comment.