Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/earelin/administrative-levels-gz
https://github.com/earelin/administrative-levels-gz
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/earelin/administrative-levels-gz
- Owner: earelin
- Created: 2022-08-08T19:29:31.000Z (about 2 years ago)
- Default Branch: trunk
- Last Pushed: 2022-08-14T15:42:32.000Z (about 2 years ago)
- Last Synced: 2024-04-28T05:37:37.296Z (6 months ago)
- Language: JavaScript
- Size: 11.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```