An open API service indexing awesome lists of open source software.

https://github.com/consbio/simple-lpk

Simple tool for creating an ArcGIS layer package from a shapefile
https://github.com/consbio/simple-lpk

Last synced: about 2 months ago
JSON representation

Simple tool for creating an ArcGIS layer package from a shapefile

Awesome Lists containing this project

README

          

# simple-lpk
Simple tool for creating an ArcGIS layer package from a shapefile.

This tool simply applies pre-created layer files to a shapefile, and adds them to a zip file with the appropriate
folder layout.

This tool is intended for content contributors to [Data Basin](http://databasin.org/) who are otherwise unable to create layer packages (one of the few supported upload formats at this time).

The pre-generated styles are:
* red dots for point shapefiles
* black lines for line shapefiles
* black outlines for polygon shapefiles

## Installation:
* Make sure you have [pip](https://pip.pypa.io/en/stable/installing.html#pip-included-with-python) installed first
* Download this repository
* From the source directory, run ```pip install -e .```

## Example Usage:

```console
> pkg_lpk in.shp
```

creates a file called `in.lpk`

Wildcards are allowed:

```console
> pkg_lpk *.shp
```

## See Also:
For full-featured GIS and creation of layer packages, we encourage you to obtain [ArcGIS Desktop](http://www.esri.com/software/arcgis/arcgis-for-desktop/pricing). Nonprofit and discount licenses are also available.

### Note:
ArcGIS is a registered trademark owned by ESRI, and is used in this project simply to provide reference to appropriate ESRI technologies.