#pyproj
#30DayMapChallenge Day22: Projections
Weird, but mathematically defensible 🙂
#30DayMapChallenge #Map #Cartography #matplotlib #geopandas #pyproj
November 22, 2026 at 1:28 PM
Filter a big GeoJSON down to a bounding box, reproject it with pyproj. 236 lines, beginner-friendly. #python #geojson #gis https://www.valtersit.com/python/geojson-feature-filter-and-transformer/
GeoJSON Feature Filter and Transformer
www.valtersit.com
November 28, 2026 at 5:20 AM
CRSError: Invalid projection: EPSG:3857: (Internal Proj Error: proj_create: no database context specified)
I'm on Windows 11 in VS Code. I have a cell that is throwing a CRSError that is seemingly stemming from the pyproj package. Using an Anaconda PowerShell Prompt in a new environment I installed the following that comes straight from Geopandas: conda create -n geo_env conda activate geo_env conda config --env --add channels conda-forge conda config --env --set channel_priority strict conda install python=3 geopandas You can see from the CRSError that I'm working with a .gdb point feature. The point feature was originally a openstreetmap download in shapefile format. I exported it to the current .gdb in Pro. The table is a little different in this dataset. For example, there are no latitude or longitude fields. Maybe that has something to do with it. CRSError Traceback (most recent call last) Cell In[1], line 11 7 import geopandas as gpd 8 # import pyproj 9 # pyproj.datadir.set_data_dir('c:\\ProgramData\\anaconda3\\envs\\gis\\Library\\share\\proj') ## set the pyproj data directory Application code..... 10 ---> 11 addr_gdb = gpd.read_file(filename=r'pathto\GISData.gdb', layer="AddressPoint_Kendall", driver="FileGDB") 12 13 # put into pandas df 14 df = pd.DataFrame(addr_gdb) File c:\ProgramData\anaconda3\envs\geo_env\lib\python\site-packages\geopandas\io\file.py:322, in _read_file(filename, bbox, mask, columns, rows, engine, **kwargs) 319 filename = response.read() 321 if engine == "pyogrio": --> 322 return _read_file_pyogrio( 323 filename, bbox=bbox, mask=mask, columns=columns, rows=rows, **kwargs 324 ) 326 elif engine == "fiona": 327 if pd.api.types.is_file_like(filename): File c:\ProgramData\anaconda3\envs\geo_env\lib\python\site-packages\geopandas\io\file.py:582, in _read_file_pyogrio(path_or_bytes, bbox, mask, rows, **kwargs) 573 warnings.warn( 574 "The 'include_fields' and 'ignore_fields' keywords are deprecated, and " 575 "will be removed in a future release. You can use the 'columns' keyword " ... File pyproj/_crs.pyx:2364, in pyproj._crs._CRS.__init__() -> 2364 'Could not get source, probably due dynamically evaluated source code.' CRSError: Invalid projection: EPSG:3857: (Internal Proj Error: proj_create: no database context specified)
gis.stackexchange.com
November 25, 2026 at 5:51 PM
Introducing 𝐀𝐬𝐲𝐧𝐜-𝐆𝐞𝐨𝐓𝐈𝐅𝐅, a new library for reading GeoTIFFs and COGs. developmentseed.org/async-geotif...

- Fast, with a Rust core
- Uses a non-blocking thread pool for image decoding
- Integrates with NumPy, PyProj, Affine & Morecantile
- Remote data support with Obstore
- No GDAL dependency
Introducing Async-GeoTIFF - async-geotiff
A fast, async GeoTIFF and Cloud-Optimized GeoTIFF (COG) reader for Python.
developmentseed.org
February 3, 2026 at 4:05 PM
🌍 Geospatial & Mapping
• geopandas, shapely, fiona, rasterio
• Cartopy, pyproj, h3, xyzservices

🖼️ Visualization
• matplotlib, bokeh, altair, vega-datasets

🌐 Web & Async Tools
• aiohttp, httpx, micropip, pyodide-http
July 2, 2025 at 8:00 PM
Ok, so lat/lng vs lng/lat coordinate order is old and boring, but what about bounding box ordering? (min_x, max_x, min_y, max_y) vs (min_x, min_y, max_x, max_y). (Looking at you, OGR and pyproj.)
May 23, 2024 at 11:48 AM
We have now updated our packaging tutorial to include PEP 639, which enables SPDX-compliant licensing: python-basics-tutorial.readthedocs.io/en/latest/pa...
#Python #Packaging #SPDX #Licensing
Creating a distribution package
Distribution Packages are archives that can be uploaded to a package index such as pypi.org and installed with pip. Structure: A minimal distribution package can look like this, for example: pyproj...
python-basics-tutorial.readthedocs.io
August 22, 2025 at 4:07 PM
In our Python Basics tutorial, we switched to uv for Python package and project management. This also solves the problem with pip install in ubuntu:latest:
• python-basics-tutorial.readthedocs.io/en/latest/li...
• python-basics-tutorial.readthedocs.io/en/latest/ap...
Creating a distribution package
Distribution Packages are archives that can be uploaded to a package index such as pypi.org and installed with pip. Structure: A minimal distribution package can look like this, for example: pyproj...
python-basics-tutorial.readthedocs.io
October 14, 2024 at 2:41 PM
Retried the cibuildwheel action in case I'd missed a trick (vs maturin-action) but no, a bit nicer logs but IMO gives more opaque CI build errors. I think I might just be unluckily hitting transitory deps that require more faffing. Sticking with maturin-action, I don't love CI stuff in pyproj either
May 4, 2025 at 9:41 PM
就業時間中に、
「私事で Hatch (hatch.pypa.io/latest/) を弄り回す」
という醜態をやらかしたのではあるが、 `pyproject.toml` の書き方はもちろん、Pythonのモジュールシステムの復習まで必要と今になってやっと判った……:
nikkie-ftnext.hatenablog.com/entry/pyproj...
kamatimaru.hatenablog.com/entry/2020/0...
幸い私事についての日本語記事が2つ見つかっただけでも収穫と思おう #Python #Hatch
Hatch - Hatch
Modern, extensible Python project management
hatch.pypa.io
October 9, 2024 at 10:25 AM
I get the maintenance burden. It does make returning to older projects difficult tho, e.g. few months later, want to update 1 dep for a new feature, only to learn I need to throw away my whole environment. My soln is to fork dep, modify its req-py field, then ref the fork in pyproj. Feels backward
September 18, 2025 at 11:10 PM
CVE-2025-32800 - "Conda-build Conduit for Malicious Package Injection"
CVE ID : CVE-2025-32800

Published : June 16, 2025, 9:15 p.m. | 2 hours, 6 minutes ago

Description : Conda-build contains commands and tools to build conda packages. Prior to version 25.3.0, the pyproj...
CVE-2025-32800 - "Conda-build Conduit for Malicious Package Injection"
Conda-build contains commands and tools to build conda packages. Prior to version 25.3.0, the pyproject.toml lists conda-index as a Python dependency. This package is not published in PyPI. An attacker could claim this namespace and upload arbitrary (malicious) code to the package, and then exploit pip install commands by injecting …
cvefeed.io
June 16, 2025 at 11:40 PM
De mémoire, et si tu sais un peu coder, il me semble que la bibliothèque pyproj fait précisément ce genre de conversion
March 22, 2026 at 9:15 AM
Oh goody, it might be fixed github.com/pyodide/pyod...
Fix pyproj by ryanking13 · Pull Request #436 · pyodide/pyodide-recipes
Close #356 I managed to make this all work locally, fingers crossed.
github.com
January 9, 2026 at 3:34 AM
It looks like the dependencies I need to do some geo stuff in a Pyodide notebook used to work, but they removed the packages due to build issues... pyodide.org/en/stable/pr...
January 9, 2026 at 3:27 AM
Joris Van den Bossche, who maintains GeoPandas, brings the update on where the project and the ecosystem around it (GEOS/Shapely, GDAL/pyogrio, PROJ/pyproj) are headed, from better plotting to tighter interoperability through Arrow.

geopandas.org/en/stable/
GeoPandas 1.1.4 — GeoPandas 1.1.4+0.g91ec4af.dirty documentation
GeoPandas is an open source project to make working with geospatial data in python easier. GeoPandas extends the datatypes used by pandas to allow spatial operations on geometric types. Geometric…
geopandas.org
September 2, 2026 at 7:01 AM
Oui, mais ça ne permet pas de faire un traitement par lot sauf erreur de ma part.

La solution Pyproj de @jomsmims.bsky.social marche très bien, j'ai bricolé un petit convertisseur ici

swiss-gps-magic.lovable.app
March 22, 2026 at 11:04 AM
Haven't seen this before - pyproj is indeed very useful (and free) <a href="http://all-geo.org/volcan01010/2012/11/change-coordinates-with-pyproj/" class="hover:underline text-blue-600 dark:text-sky-400 no-card-link" target="_blank" rel="noopener" data-link="bsky">http://all-geo.org/volcan01010/2012/11/change-coordinates-with-pyproj/
Easily change coordinate projection systems in Python wit...
all-geo.org
November 13, 2024 at 3:26 PM
my reshape, use of pyproj (and it's stilll.not oriented right in the end)

Any pythonic feedback welcome 🤗 doing these reshapes trivial for me in R but still finding xarray/numpy order awkward

2/2
July 5, 2025 at 1:56 PM
the code I am testing now uses matplotlib and pyproj.
if this works, what format is your data in and is it a text file or csv or something like that? I can add code to bulk import.

a comment in the code says transformer expects longitude first then latitude. but we can manipulate whatever... lol
June 25, 2026 at 12:10 AM
Cool use of pyproj & @BokehPlots patches: <a href="http://nbviewer.jupyter.org/urls/gist.githubusercontent.com/RutgerK/db5dbc46943989bb8a05/raw/Bokeh_colormesh" class="hover:underline text-blue-600 dark:text-sky-400 no-card-link" target="_blank" rel="noopener" data-link="bsky">http://nbviewer.jupyter.org/urls/gist.githubusercontent.com/RutgerK/db5dbc46943989bb8a05/raw/Bokeh_colormesh
Jupyter Notebook Viewer
nbviewer.jupyter.org
November 4, 2024 at 2:23 AM
So, my issue was GitHub Actions, Ubuntu, and PROJ! CRAN is doing its job on this issue: Win/macOS pkgs are built with PROJ 9.5.1, WGS84 got a definition update in 9.4.1.

GHA (beyond CRAN's scope) uses Ubuntu 24.04 which is locked at PROJ 9.4.0. packages.ubuntu.com/noble/libpro... #rstats #gischat
April 28, 2025 at 8:48 PM
PyProj - Transform coordinate in "HK80 grid" to "WGS 84 / UTM zone 49N or 49S"
Am trying to use python pyproj to do the above conversion (convert/transform from Hong Kong GRID to Hong Kong UTM), but am getting different values from the expected result. My expected conversion result is: "North 836148, East 822745" to "North 828672.7449, East 12488562.2742". See my codes below for both zones (N and S):- # https://epsg.io/102141 inProj = Proj(init='epsg:2326') # PCS: Hong_Kong_1980_Grid or EPSG:102140 outProj = Proj("+proj=utm +zone=49 +ellps=intl +units=m +no_defs") # PCS: Hong_Kong_1980_UTM_Zone_49N or EPSG:102141 # outPro = Proj(init='epsg:102141') # This returns RuntimeError # Expected result: 828672.7449, 12488562.2742 x1, y1 = 822745, 836148 # x1, y1 = 836148, 822745 x2, y2 = transform(inProj, outProj, x1, y1) print (x2, y2) Or # https://epsg.io/32749 inProj = Proj(init='epsg:2326') # PCS: Hong_Kong_1980_Grid or epsg:102140 # outProj = Proj("+proj=utm +zone=49 +south +datum=WGS84 +units=m +no_defs") # PCS: Hong_Kong_1980_UTM_Zone_49S or EPSG:32749 outProj = Proj(init='epsg:32749') # Expected result: 828672.7449, 12488562.2742 x1, y1 = 822745, 836148 # x1, y1 = 836148, 822745 x2, y2 = transform(inProj, outProj, x1, y1) print (x2, y2) Could it be that my expected result is incorrect or I am missing something? I want to certisfy the expected output by going from: "Hong_Kong_1980_Grid_System" to "Hong_Kong_1980_UTM_Zone_49N / 49S"? North East North1 East1 836148 822745 828672.7449 12488562.27 831905 822495 827480.7854 12473200.37 838208 816918 810095.1039 12481647.01 838127 816314 805922.5972 12482194.51 837452 820146 815300.3898 12484301.71 833764 816330 808333.7182 12478896.42 841476 830964 834944.8892 12495195.37 The result needs to match above table from Hong Kong 1980 grid to WGS84/UTM 49S
gis.stackexchange.com
August 16, 2026 at 5:17 PM