Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/earelin/administrative-levels-gz


https://github.com/earelin/administrative-levels-gz

Last synced: 6 days ago
JSON representation

Awesome Lists containing this project

README

        

# Niveis Administrativos de Galiza

Servizo cos niveis administrativos de Galiza.

## Documentación

[Open API documentation](docs/api.yaml)

## Instalacion

```shell
yarn install
```

## Uso

### Extraer informacion

#### Nomenclator

Extraer as divisions administrativas do nomenclator.

```shell
yarn --silent nomenclator-extract path/to/nomenclator-file.csv
```

#### Shapefiles

Extraer as divisions administrativas dos shapefiles.

```shell
shapefile-extract -p [shapefiles_path]

Options:
--version Show version number
-e, --entidades Entidades de poboacion shapefiles path (no extension) [required]
-p, --parroquias Parroquias shapefiles path (no extension) [required]
--help Show help
```

Comando usando yarn.

```shell
yarn --silent shapefiles-extract -e path/to/entidates_shapefiles -p path/to/parroquias_shapefiles
```

### Lanzar a applicacion en local

Con datos de producción

```shell
yarn start-prod
```

Con datos de probas

```shell
yarn start
```

A application estará dispoñíbel polo porto 9000.

Parar a applicación

```shell
yarn stop
```