Skip to content

Instantly share code, notes, and snippets.

View frodrigo's full-sized avatar

Frédéric Rodrigo frodrigo

  • Bordeaux, France
View GitHub Profile
@frodrigo
frodrigo / mapillary-api-migration-mapping.csv
Created August 1, 2021 13:25
Mapillary OSM image ids mapping API v3->v4
We can't make this file beautiful and searchable because it's too large.
000e_27e_tqLCdb9CBFGUw,201806584885253
001I2zgw4XYUd0M4NhEn5q,132544045580789
-001OBoPf5xqwF2DkKbcXg,972321333309051
003WfIoU4IEKBmmdZbNRWg,524234155604844
004qzGfI60_UufpZiChJUQ,585250959532652
005XnDMRIPieC620ZpR8Tw,168442815185376
006IhrvL5VnEeGWaXWp2jw,2341332076011387
006O9gBCnErho7hbf6KlXg,264917715378049
006Y0nFh28sUCIH5-9nFRQ,1191640781273579
007MoMY_71QTM36QNqSxCQ,1293216244426882
<html>
<head>
<script src='https://unpkg.com/maplibre-gl@latest/dist/maplibre-gl.js'></script>
<link href='https://unpkg.com/maplibre-gl@latest/dist/maplibre-gl.css' rel='stylesheet' />
</head>
<body>
<div id='map' style='width: 400px; height: 300px;'></div>
<button id="switch">switch</button>
@frodrigo
frodrigo / neatnet.py
Last active May 6, 2025 14:20
osm neatnet
#!/usr/bin/env python3
import sys
import os
import osmnx as ox
import networkx as nx
import neatnet
import geopandas as gpd
from shapely.geometry import Point
# Configure OSMnx settings