Skip to content

Commit

Permalink
Modifica URLs de fuentes a indexar y archivos de descargas para conte…
Browse files Browse the repository at this point in the history
…nedor de docker.
  • Loading branch information
Pablo Andino authored and Pablo Andino committed Nov 7, 2024
1 parent 1fa8b2e commit 29d92f1
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions docker/georef.example.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,52 +39,52 @@ ADDRESS_PARSER_CACHE_SIZE = 5000
# establecer una URL como None, se desactivará el endpoint asociado.
COMPLETE_DOWNLOAD_URLS = {
'provincias': {
'json': 'https://infra.datos.gob.ar/georef/files/latest/provincias.json',
'csv': 'https://infra.datos.gob.ar/georef/files/latest/provincias.csv',
'geojson': 'https://infra.datos.gob.ar/georef/files/latest/provincias.geojson',
'ndjson': 'https://infra.datos.gob.ar/georef/files/latest/provincias.ndjson',
'json': 'https://infra.datos.gob.ar/georef/provincias.json',
'csv': 'https://infra.datos.gob.ar/georef/provincias.csv',
'geojson': 'https://infra.datos.gob.ar/georef/provincias.geojson',
'ndjson': 'https://infra.datos.gob.ar/georef/provincias.ndjson'
},
'departamentos': {
'json': 'https://infra.datos.gob.ar/georef/files/latest/departamentos.json',
'csv': 'https://infra.datos.gob.ar/georef/files/latest/departamentos.csv',
'geojson': 'https://infra.datos.gob.ar/georef/files/latest/departamentos.geojson',
'ndjson': 'https://infra.datos.gob.ar/georef/files/latest/departamentos.ndjson',
'json': 'https://infra.datos.gob.ar/georef/departamentos.json',
'csv': 'https://infra.datos.gob.ar/georef/departamentos.csv',
'geojson': 'https://infra.datos.gob.ar/georef/departamentos.geojson',
'ndjson': 'https://infra.datos.gob.ar/georef/departamentos.ndjson'
},
'gobiernos-locales': {
'json': 'https://infra.datos.gob.ar/georef/files/latest/gobiernos-locales.json',
'csv': 'https://infra.datos.gob.ar/georef/files/latest/gobiernos-locales.csv',
'geojson': 'https://infra.datos.gob.ar/georef/files/latest/gobiernos-locales.geojson',
'ndjson': 'https://infra.datos.gob.ar/georef/files/latest/gobiernos-locales.ndjson',
'municipios': {
'json': 'https://infra.datos.gob.ar/georef/municipios.json',
'csv': 'https://infra.datos.gob.ar/georef/municipios.csv',
'geojson': 'https://infra.datos.gob.ar/georef/municipios.geojson',
'ndjson': 'https://infra.datos.gob.ar/georef/municipios.ndjson'
},
'localidades-censales': {
'json': 'https://infra.datos.gob.ar/georef/localidades-censales/localidades-censales.json',
'csv': 'https://infra.datos.gob.ar/georef/localidades-censales/localidades-censales.csv',
'geojson': 'https://infra.datos.gob.ar/georef/localidades-censales/localidades-censales.geojson',
'ndjson': 'https://infra.datos.gob.ar/georef/localidades-censales/localidades-censales.ndjson',
'json': 'https://infra.datos.gob.ar/georef/localidades_censales.json',
'csv': 'https://infra.datos.gob.ar/georef/localidades_censales.csv',
'geojson': 'https://infra.datos.gob.ar/georef/localidades_censales.geojson',
'ndjson': 'https://infra.datos.gob.ar/georef/localidades_censales.ndjson'
},
'asentamientos': {
'json': 'https://infra.datos.gob.ar/georef/files/latest/asentamientos.json',
'csv': 'https://infra.datos.gob.ar/georef/files/latest/asentamientos.csv',
'geojson': 'https://infra.datos.gob.ar/georef/files/latest/asentamientos.geojson',
'ndjson': 'https://infra.datos.gob.ar/georef/files/latest/asentamientos.ndjson',
'json': 'https://infra.datos.gob.ar/georef/asentamientos.json',
'csv': 'https://infra.datos.gob.ar/georef/asentamientos.csv',
'geojson': 'https://infra.datos.gob.ar/georef/asentamientos.geojson',
'ndjson': 'https://infra.datos.gob.ar/georef/asentamientos.ndjson'
},
'localidades': {
'json': 'https://infra.datos.gob.ar/georef/files/latest/localidades.json',
'csv': 'https://infra.datos.gob.ar/georef/files/latest/localidades.csv',
'geojson': 'https://infra.datos.gob.ar/georef/files/latest/localidades.geojson',
'ndjson': 'https://infra.datos.gob.ar/georef/files/latest/localidades.ndjson',
'json': 'https://infra.datos.gob.ar/georef/localidades.json',
'csv': 'https://infra.datos.gob.ar/georef/localidades.csv',
'geojson': 'https://infra.datos.gob.ar/georef/localidades.geojson',
'ndjson': 'https://infra.datos.gob.ar/georef/localidades.ndjson'
},
'calles': {
'json': 'https://infra.datos.gob.ar/georef/files/latest/calles.json',
'csv': 'https://infra.datos.gob.ar/georef/files/latest/calles.csv',
'geojson': 'https://infra.datos.gob.ar/georef/files/latest/calles.geojson',
'ndjson': 'https://infra.datos.gob.ar/georef/files/latest/calles.ndjson',
'json': 'https://infra.datos.gob.ar/georef/calles.json',
'csv': 'https://infra.datos.gob.ar/georef/calles.csv',
'ndjson': 'https://infra.datos.gob.ar/georef/calles.ndjson',
'geojson': 'https://infra.datos.gob.ar/georef/calles.geojson'
},
'cuadras': {
'json': 'https://infra.datos.gob.ar/georef/files/latest/cuadras.json',
'csv': 'https://infra.datos.gob.ar/georef/files/latest/cuadras.csv',
'geojson': 'https://infra.datos.gob.ar/georef/files/latest/cuadras.geojson',
'ndjson': 'https://infra.datos.gob.ar/georef/files/latest/cuadras.ndjson',
'json': 'https://infra.datos.gob.ar/georef/cuadras.json',
'csv': 'https://infra.datos.gob.ar/georef/cuadras.csv',
'ndjson': 'https://infra.datos.gob.ar/georef/cuadras.ndjson',
'geojson': 'https://infra.datos.gob.ar/georef/cuadras.geojson'
}
}

Expand All @@ -110,15 +110,15 @@ EXCLUDING_TERMS_FILE = 'https://infra.datos.gob.ar/georef/data/terminos-excluyen
# especificadas debajo utilizan el portal de descargas
# infra.datos.gob.ar, que siempre provee la última versión disponible
# de los archivos de datos utilizados por Georef API.
STATES_FILE = 'https://infra.datos.gob.ar/georef/files/latest/provincias.ndjson'
DEPARTMENTS_FILE = 'https://infra.datos.gob.ar/georef/files/latest/departamentos.ndjson'
LOCAL_GOVERNMENTS_FILE = 'https://infra.datos.gob.ar/georef/files/latest/gobiernos_locales.ndjson'
CENSUS_LOCALITIES_FILE = 'https://infra.datos.gob.ar/georef/files/latest/localidades_censales.ndjson'
SETTLEMENTS_FILE = 'https://infra.datos.gob.ar/georef/files/latest/asentamientos.ndjson'
LOCALITIES_FILE = 'https://infra.datos.gob.ar/georef/files/latest/localidades.ndjson'
STREETS_FILE = 'https://infra.datos.gob.ar/georef/files/latest/calles.ndjson'
INTERSECTIONS_FILE = 'https://infra.datos.gob.ar/georef/files/latest/intersecciones.ndjson'
STREET_BLOCKS_FILE = 'https://infra.datos.gob.ar/georef/files/latest/cuadras.ndjson'
STATES_FILE='https://infra.datos.gob.ar/georef/provincias.ndjson'
DEPARTMENTS_FILE='https://infra.datos.gob.ar/georef/departamentos.ndjson'
MUNICIPALITIES_FILE='https://infra.datos.gob.ar/georef/municipios.ndjson'
CENSUS_LOCALITIES_FILE = 'https://infra.datos.gob.ar/georef/localidades_censales.ndjson'
SETTLEMENTS_FILE = 'https://infra.datos.gob.ar/georef/asentamientos.ndjson'
LOCALITIES_FILE='https://infra.datos.gob.ar/georef/localidades.ndjson'
STREETS_FILE='https://infra.datos.gob.ar/georef/calles.ndjson'
INTERSECTIONS_FILE='https://infra.datos.gob.ar/georef/intersecciones.ndjson'
STREET_BLOCKS_FILE='https://infra.datos.gob.ar/georef/cuadras.ndjson'

# Directorio donde almacenar archivos indexados anteriormente
BACKUPS_DIR = 'backups'
Expand Down

0 comments on commit 29d92f1

Please sign in to comment.