Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Data import

Aperta
#522 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
postgresql, python
Ambito
backend, databases

Direzione di ricerca

Start by reading GeoHealthCheck/models.py and the util.geocode call, then trace how data.json is loaded with psql and the application. Clarify whether the goal is a supported bulk-import workflow or faster geocoding, and define done as importing many WMS entries without manual configuration and without the reported slowdown.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

question

Hi,

I like GeoHealthCheck, but what's the best way to import data into GeoHealthCheck 0.10.1 using PostgreSQL database? I don't want to insert config data manually.

My workaround is:

  1. Drop schema, create schema using psql
  2. GeoHealthCheck/models.py load data.json

But this costs a lot of time for 100 WMS with only one getCap-probe each.

The problem is util.geocode: if I replace self.latitude, self.longitude = util.geocode(url) to self.latitude = None
self.longitude = None , than it's fast

Best regards,
Matthias

Lingua principale
Python
Stelle
92
Fork
76
Merge medio
7h 21m
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di geopython/GeoHealthCheck

Tutte le issue di geopython/GeoHealthCheck

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.