[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging policy for shapefiles



Hi David,

Have you started building the packages for this?

If you have could they be uploaded to git.debian.org? I'm interested
to use them and help out with packaging or testing if you like.

On Fri, Dec 30, 2011 at 9:59 PM, David Paleino <dapal@debian.org> wrote:
> Hello people,
> I intend to package some shapefiles available from NaturalEarth [0] (they
> mostly are public domain) and from OpenStreetMap (which are under CC-BY-SA,
> atm), which might come handy both as package Recommends, and as stand-alone
> shapefiles (for use with things like qgis and grass, or even proprietary
> applications one might use)
>
>  [0]: http://www.naturalearthdata.com/
>
> Before uploading things to NEW, and then going through the hassle of renaming
> packages and changing everything, I'd like to establish some sort of policy
> about the package names, and file locations.
>
> Here's my proposal:
>
> - package name: shapefile-<provider>-<name>(-<scale>?)
>
>  Example:
>    - shapefile-naturalearth-countries-{large,medium,small}
>
>  That package name would correspond to, respectively,
>  10m-admin-0-countries, 50m-admin-0-countries and 110m-admin-0-countries.
>  We could also decide that "large", "medium" and "small" are too generic, and
>  therefore we could use the scale in the package name (i.e. 1:10.000 would be
>  "10m"):
>
>    - shapefile-naturalearth-countries-10m
>
>  I don't know what other providers look like, and if we don't know the scale
>  we could just drop it from the package name (say, like the openstreetmap
>  coastlines shapefiles).
>
> - file location
>  I'd suggest using /usr/share/shapefiles/<provider>/<name>/.
>  In the example of NE's "countries" above, we would have the following tree:
>
>  /usr/share/shapefiles/
>  \ -- naturalearth/
>       \ -- countries/
>            | -- 10m-admin-0-countries.{shp,...}
>            | -- 50m-admin-0-countries.{shp,...}
>            \ -- 110m-admin-0-countries.{shp,...}
>
> What do you think about all this?
>
> Have a nice day,
> David
>
> --
>  . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
>  : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
>  `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
>   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174


Reply to: