Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
services:
tms:
use_grid_names: true
origin: 'nw'
layers:
- name: italyparcels
title: italyparcels
sources: [ItalyCache]
[tool.poetry]
name = "reprod"
version = "0.1.0"
description = ""
authors = ["zabop <szabopal96@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "3.11.9"
mapproxy = {git = "https://github.com/mapproxy/mapproxy.git"}
# docker build . --tag proxytest
# docker run --interactive --tty --publish 8080:8080 proxytest
FROM python:3.11.9
RUN pip3 install poetry
COPY pyproject.toml .
RUN poetry install
COPY mapproxy.yaml .
import shapely.geometry
import shapely.affinity
import geopandas as gpd
origin = shapely.geometry.Point(67596.000000, 36694.000000)
pixel_count = 256
units_per_pixel_for_each_zoom_level = [
352.77758727788068426889,
176.38879363894034213445,
88.19439681947017106722,
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zabop
zabop / Doppler_spectroscop_wiki_to_pd.py
Last active July 29, 2021 18:26
Doppler_spectroscop_wiki_to_pd
dfs = pd.read_html('https://en.wikipedia.org/wiki/Doppler_spectroscopy')
@zabop
zabop / List_of_cities_in_India_by_population_to_df.py
Last active July 29, 2021 18:26
List_of_cities_in_India_by_population_to_df
import pandas as pd
df = pd.read_html('https://en.wikipedia.org/wiki/List_of_cities_in_India_by_population')[0]