Opened 8 years ago

Closed 8 years ago

#1630 closed defect (fixed)

rasterio command line tool missing

Reported by: darkblueb Owned by: kalxas
Priority: major Milestone: OSGeoLive9.5
Component: OSGeoLive Keywords: python, rasterio
Cc: live-demo@…

Description

Change history (8)

comment:2 by Bas Couwenberg, 8 years ago

The rasterio Debian package renames the rio command to rasterio, because /usr/bin/rio is already provided by another package. See:

0001-Rename-rio-to-rasterio-Closes-788463.patch

comment:3 by sgillies, 8 years ago

Yes, I noticed the name conflict before I wrote the CLI. Debian's rio program is a command line tool for the discontinued Diamond Rio MP3 player. Assuming you don't provide support for this ancient MP3 player in OSGeoLive, you can safely leave rasterio's tool as rio.

I'm grateful that you're working on including it!

comment:4 by darkblueb, 8 years ago

which rasterio also returns nothing here .. not installed ?

I say we go to rio -- this is an important tool in our community and all the online docs and tutorials say rio

comment:5 by Bas Couwenberg, 8 years ago

There seems to be no bin/install_rasterio.sh script, which leads me to think that the python-rasterio package is just installed as a dependency of another package.

Some grepping confirms that bin/install_jupyter.sh installs python-rasterio, but not the rasterio package which includes /usr/bin/rasterio.

Likewise it installs python-fiona but not the fiona package for /usr/bin/fiona.

in reply to:  4 comment:6 by Bas Couwenberg, 8 years ago

Replying to darkblueb:

I say we go to rio -- this is an important tool in our community and all the online docs and tutorials say rio

The online docs could make users on Debian, Ubuntu and other derivatives aware that the rasterio & fiona commands are used for the Debian packages, because both /usr/bin/rio & /usr/bin/fio are already used by other packages included in the distribution.

If you want to go with rio & fio for the OSGeo-Live package you need to drop the renaming patch and related packaging changes in an osgeo branch.

comment:7 by kalxas, 8 years ago

Cc: live-demo@… added
Owner: changed from live-demo@… to kalxas
Type: enhancementdefect

Thank you all for the feedback, I will assign this to myself.

Note: See TracTickets for help on using tickets.