Download maps from the Deptment of Prime Industries for use in R license activites.
Project description
DPI Maps
Retrieve maps and species reports from the Department of Prime Industries
Setup
pip install dpi-maps
To login you will need to provide either an environment variable, or use the flags.
Environment variables which can be set to login:
DPI_USERNAME
and DPI_PASSWORD
.
Alternatively, use --username
and --password
flag for each invocation of the command.
By default, all maps and report are downloaded to /tmp/dpi
. Use --directory
or DPI_DIRECTORY
to override this behaviour.
Usage
To view the available commands run dpi-maps
Retrieve all maps
dpi-maps scrape
will retrieve all the most recent maps available.
This will get both kmz
and pdf
. Use --map-type=pdf
or --map-type=kmz
to get only that type.
Get the latest species report
dpi-maps reports
will collect the latest species report.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.