todo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Old | |
m = leafmap.Map() | |
m.add_vector(broad_station_gdf, get_fill_color="blue") | |
m.add_vector(sts_near_broad_gdf, get_color="red", opacity=0.5) | |
m.add_vector(streets_gdf, get_color="grey", zoom_to_layer=False, opacity=0.3) | |
m | |
# New: simple method, just want to see my data: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lonboard==0.1.0-beta.2 | |
geopandas | |
shapely |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GitHub syntax highlighting | |
pixi.lock linguist-language=YAML |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[package]] | |
name = "affine" | |
version = "2.3.1" | |
description = "Matrices describing affine transformation of the plane." | |
category = "main" | |
optional = false | |
python-versions = "*" | |
[package.extras] | |
test = ["coveralls", "flake8", "pydocstyle", "pytest (>=4.6)", "pytest-cov"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is automatically @generated by Cargo. | |
# It is not intended for manual editing. | |
version = 3 | |
[[package]] | |
name = "adler" | |
version = "1.0.2" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<link rel="icon" type="image/x-icon" href="./favicon.png"> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<meta name="apple-mobile-web-app-status-bar-style" content="default"> | |
<meta name="theme-color" content="#0072b5"> | |
<meta name="name" content="Pyscript/Panel DeckGL Demo"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import geopandas as gpd | |
import pandas as pd | |
import pyarrow as pa | |
import pyarrow.feather as feather | |
import pyarrow.parquet as pq | |
import pygeos | |
import pyogrio | |
# https://ookla-open-data.s3.us-west-2.amazonaws.com/parquet/performance/type=mobile/year=2019/quarter=1/2019-01-01_performance_mobile_tiles.parquet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import pyarrow as pa | |
import pyarrow.parquet as pq | |
import pandas as pd | |
import numpy as np | |
def main(): | |
# Create random point data within bbox | |
size = 1_000_000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 8, | |
"name": "OSM Liberty", | |
"metadata": { | |
"maputnik:license": "https://github.com/nst-guide/osm-liberty-topo/blob/gh-pages/LICENSE.md", | |
"maputnik:renderer": "mbgljs" | |
}, | |
"sources": { | |
"openmaptiles": { | |
"type": "vector", |
NewerOlder