Trending

World technology news

→
An aerial photograph of Barcelona’s Eixample district.
PyPIIn-depth report

GeoFinder-ICGC 3.0.0 separates the Python geocoding library from its server

GeoFinder-ICGC 3.0.0 is distributed as a standalone Python library. It uses the Catalan mapping agency’s service for address search, reverse geocoding and autocomplete.

·PyPI
Reading progress0%

The package boundary changes

GeoFinder-ICGC 3.0.0 was published on the Python Package Index shortly before 02:00 on November 29 in Istanbul. Its release description separates the Python geocoding library from the server component intended for AI tools. A data job that needs address lookup can import the library directly. Both the registry and the separately operated Open Source Insights index record the release. The wheel downloaded from PyPI matched the registry’s SHA-256 digest. Its files include the library entry point, result models and an HTTP transport module.

Three operations with different meanings

The Institut Cartogràfic i Geològic de Catalunya documents different endpoints for search, autocomplete and reverse lookups. A text query can return candidate addresses or place names. Autocomplete helps narrow a partial query. A reverse lookup starts with coordinates and returns nearby geographic results. A data importer can record which operation it used, the result layer and any municipality constraint. This makes a later audit easier when two places share a name. A reverse result from near the input point should not automatically become the official address of the point itself.

Where the HTTP transport fits

The wheel defines a transport interface that a caller can supply. Its client retains the work of preparing the request and interpreting the returned features. An application can use the default implementation or arrange its own connection management. The package includes shared deadline logic for a public call that makes additional requests. A batch loader still needs its own limit on parallel work and must consider the upstream service’s availability. When requests fail, record the reason and the operation used. A lack of data is a different outcome from losing the network connection.

A small import fixture

Consider a test list with one full street address, one neighbourhood name and one coordinate pair. A successful match on a neighbourhood should carry its result level, since it gives different precision from a street address. The coordinate pair uses reverse lookup and retains the input position alongside any nearby candidate. If several results are plausible, the importer can queue the row for review. Track how many records are verified, ambiguous or unresolved. The fixture tests which results the application accepts. It does not need a bulk run against the public endpoint.

Measure the integration separately from its data

A migration can identify scripts that call the Python library and tools that depend on the separately distributed server. Pin the packages actually used in each environment. Repeat a small, stable set of queries and compare layer selection, latency and error handling. ICGC remains the source of the geographic results, so a package upgrade does not guarantee a change in geographic coverage or accuracy. The image shows Barcelona’s Eixample from the air and illustrates the geographic setting. It is an archival photo.

Photo · Alhzeiia / Wikimedia Commons. Resized and converted to WebP. ↗ · CC BY-SA 2.0

Sources and verification
Be the first reader ✎ Write a comment

Reader discussion

Discussion prompt

Which alternative architecture would you try for the same problem?

No comments yet. Be the first to contribute.

Write a comment

Comments are real visitor contributions. Repeated, link-heavy or abusive submissions may be limited.