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

Packaging policy for shapefiles



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

Attachment: signature.asc
Description: PGP signature


Reply to: