Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add markdown syntax specifiers #37

Merged
merged 1 commit into from
Nov 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This package does not have a dependency on ArcPy, which means that you can safel

#### Installing from PyPI

```
```bash
# Recommended: Install globally using pipx
pipx install fgdb-to-gpkg

Expand All @@ -33,13 +33,13 @@ pip install fgdb-to-gpkg

To use from the command line, simply call the `fgdb-to-gpkg` command with the path to the input File GeoDatabase and the path to the output GeoPackage:

```
```bash
fgdb-to-gpkg <input_fgdb_path> <output_gpkg_path>
```

See the help menu for more details:

```
```bash
fgdb-to-gpkg --help
```

Expand Down Expand Up @@ -68,28 +68,28 @@ help(fgdb_to_gpkg)

Unit tests can be performed by the developers of this package using the following command:

```
```bash
poetry run pytest tests
```

Test coverage can be assessed using the following command:

```
```bash
poetry run pytest --cov=fgdb_to_gpkg --cov-report term-missing
```

#### Handling the Fiona GDAL compilation error

The unit tests within this package depend on `gdal=^3.6.0`, but the current version of `fiona` ships with `gdal=3.5.3`. The fiona package must be installed using the `--no-binary` flag to test this package. If this is not configured properly, then you will see the following error:

```python
```bash
poetry run pytest tests
# fiona.errors.DriverError: OpenFileGDB driver requires at least GDAL 3.6.0 for mode 'w', Fiona was compiled against: 3.5.3
```

The `poetry.toml` file should contain all of the config needed to tell poetry how to handle this issue. However, if `poetry install` does not resolve the issue, then try the following:

```python
```bash
poetry run pip install --force-reinstall fiona --no-binary fiona
```

Expand Down
Loading