Opened 11 years ago

Closed 10 years ago

#1179 closed task (fixed)

Link python-gisdata to Live data dir

Reported by: darkblueb Owned by: ingenieroariel
Priority: normal Milestone: OSGeoLive8.0
Component: OSGeoLive Keywords: data, geonode
Cc: live-demo@…


package python-gisdata, bearing the mysterious name ingenieroariel, is installed, which places these files:

user@live-b495:~$ du -sh /usr/share/pyshared/gisdata
11M	/usr/share/pyshared/gisdata
user@live-b495:~$ du -sh /usr/lib/python2.7/dist-packages/gisdata
1.1M	/usr/lib/python2.7/dist-packages/gisdata

Our practice on the Live is to link directories with common data in them, to an entry in /usr/local/share/data .

Change history (12)

comment:1 by hamish, 11 years ago

Keywords: geonode added

"apt-cache policy" shows that the python-gisdata package comes from GeoNode, who's python-geonode package Depends on it. (I suspect it would be better to have it be Recommends'd instead in the control file, so it can be removed without removing all of geonode with it)

I'd like to remind everyone that we are still a couple hundred MB over budget and the part where we/I mercilessly go through and throw anything non-essential overboard hasn't happened yet, but it is coming very soon.

So to avoid later pain to the translators, please be sure to use the standard datasets for your quickstarts.

fwiw the convention is that each installer script links its own data into /usr/local/share/data/ as needed. If it's generic shapefiles or geotiffs link it into vector/ or raster/.

thanks, Hamish

comment:2 by kalxas, 11 years ago

I agree with Brian that these files have to be linked in shared data.

It would be a very bad idea to remove this package, which includes an excellent set of metadata files to use in GeoNetwork, pycsw and deegree catalogues.

I propose to discuss this to the next meeting (as a first agenda item) and make a list of what is to be removed.

comment:4 by kalxas, 11 years ago

Brian, /usr/lib/python2.7/dist-packages/gisdata folder has links to /usr/share/pyshared/gisdata

I guess we could just remove the data part and simlink metadata to our common folder.

There is also the solution to have 2 packages, one for the data part and one for the metadata part of the gisdata deb package.


in reply to:  4 comment:5 by hamish, 11 years ago

Replying to kalxas:

There is also the solution to have 2 packages, one for the data part and one for the metadata part of the gisdata deb package.

it's so small I don't think it justifies breaking it up into multiple packages. a more generic name and not being hard-depended on would be nice though.


comment:6 by hamish, 11 years ago

fwiw the change is done in the debian/control file. Add a line like

Recommends: python-gisdata

then remove it from the Depends: line.


comment:7 by ingenieroariel, 11 years ago

Owner: changed from live-demo@… to ingenieroariel
Status: newassigned

I have made the changes in the GeoNode repo and will be published to the PPA on the next release. (Due before 7.0rc1)

comment:8 by kalxas, 11 years ago

Milestone: OSGeoLive7.0OSGeoLive7.5

comment:9 by hamish, 10 years ago

Cc: live-demo@… added

comment:10 by kalxas, 10 years ago

Milestone: OSGeoLive7.9OSGeoLive8.0

comment:11 by hamish, 10 years ago


comment:12 by ingenieroariel, 10 years ago

Resolution: fixed
Status: assignedclosed

python-gisdata is listed as recommended now instead of required.

Note: See TracTickets for help on using tickets.