Skip to content

Instantly share code, notes, and snippets.

View fititnt's full-sized avatar
💭
"The difficult we do immediately; the impossible takes a little longer"

Emerson Rocha fititnt

💭
"The difficult we do immediately; the impossible takes a little longer"
View GitHub Profile

Photos or Screenshots

This gist is merely to attach images and show on OpenStreetMap changesets or equivalent

@fititnt
fititnt / 0_README_Early feedback welcomed: open source tool for Spatial Data Matching with OSM.md
Last active June 11, 2024 02:22
__README0-Early feedback welcomed: open source tool for Spatial Data Matching with OSM.md

The link for the public version https://sdm.etica.ai/v/0.5/ I made an effort to make it easy and very cheap to host (currently is a client side static vanilla JavaScript+HTML app) and, as a side effect, the privacy of your data is kept.

Since I joined OpenStreetMap in 2022, I've done some tools without a graphical interface, and this one I'd love to receive feedback from potential users on such a very niche topic.

Already at early versions of it (I stated a prototype in 2023 mere debug for the real conflation done non interactively before load on OSM editors), I truly attempted to think how to make it as a plugin for JOSM or think how to extend iD instead of keeping it side-by-side with iD or alt-tabbing with JOSM.

The good news: It does have basic support to use one or more files to match by distance and/or by tagging with the one or more target files and then you download the geojson. Okay, addr:street would need language and country level comparison (because misspellings), and also `add

@fititnt
fititnt / .gitignore
Last active July 24, 2023 18:38
wiki_as_base OpenStreetMap diary public draft
.tox
wikiasbase.sqlite
tmp
@fititnt
fititnt / P.ttl
Last active November 16, 2022 06:54
openstreetmap-wiki-rdf-exporter_dump-example
PREFIX cc: <http://creativecommons.org/ns#>
PREFIX data: <https://wiki.openstreetmap.org/wiki/Special:EntityData/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX p: <https://wiki.openstreetmap.org/prop/>
PREFIX pq: <https://wiki.openstreetmap.org/prop/qualifier/>
PREFIX pqn: <https://wiki.openstreetmap.org/prop/qualifier/value-normalized/>
PREFIX pqv: <https://wiki.openstreetmap.org/prop/qualifier/value/>
PREFIX pr: <https://wiki.openstreetmap.org/prop/reference/>
PREFIX prn: <https://wiki.openstreetmap.org/prop/reference/value-normalized/>
PREFIX prv: <https://wiki.openstreetmap.org/prop/reference/value/>
@fititnt
fititnt / README.md
Last active March 29, 2021 10:23
Jupyter notebooks testes from HXL-Data-Science-file-formats; see https://github.com/EticaAI/HXL-Data-Science-file-formats

Keybase proof

I hereby claim:

  • I am fititnt on github.
  • I am fititnt (https://keybase.io/fititnt) on keybase.
  • I have a public key ASB1Aw_QZz91plljLnmQN4yQ_EyqzjeIvU4mX0Wl9ZpU5Qo

To claim this, I am signing this object:

@fititnt
fititnt / pagespeed-requirement.vcl
Created June 1, 2020 19:06 — forked from section-io-gists/pagespeed-requirement.vcl
Using the PageSpeed module alongside Varnish, you will need to configure Varnish to handle PageSpeed optimizations.
# Note: You will want to add the snippet: `include "pagespeed-requirement.vcl";` above your `vcl_recv` in the default.vcl file.
sub vcl_recv {
call pagespeed_capability_detection;
}
# Function derived from requirements here https://modpagespeed.com/doc/downstream-caching#ps-capabilitylist
# Additional detection logic for crawlers, tablet and mobile devices.
sub pagespeed_capability_detection {
if (req.http.User-Agent ~ "(?i)Chrome/[3][2-9]+\.|Chrome/[4-9][0-9]+\.|Chrome/[0-9]{3,}\.") {
@fititnt
fititnt / 000_README.md
Last active May 6, 2020 03:26
Potencial conflito de interesses é explicitamente omitido no preprint do `Brazilian Modeling of COVID-19 (BRAM-COD)`[DOI: doi.org/10.1101/2020.04.29.20081174]: evidência de porto de partida - Relação publicamente admitida com Easynvest
OBJECTID ID_0 ISO NAME_0 ID_1 NAME_1 HASC_1 CCN_1 CCA_1 TYPE_1 ENGTYPE_1 NL_NAME_1 VARNAME_1
1 33 BRA Brazil 1 Acre BR.AC NA Estado State
2 33 BRA Brazil 2 Alagoas BR.AL NA Estado State
3 33 BRA Brazil 3 Amapá BR.AP NA Estado State
4 33 BRA Brazil 4 Amazonas BR.AM NA Estado State Amazone
5 33 BRA Brazil 5 Bahia BR.BA NA Estado State Ba¡a
6 33 BRA Brazil 6 Ceará BR.CE NA Estado State
7 33 BRA Brazil 7 Distrito Federal BR.DF NA Distrito Federal Federal District
8 33 BRA Brazil 8 Espírito Santo BR.ES NA Estado State Espiritu Santo
9 33 BRA Brazil 9 Goiás BR.GO NA Estado State Goiáz|Goyáz
1 33 BRA Brazil 1 Acre BR.AC NA Estado State
2 33 BRA Brazil 2 Alagoas BR.AL NA Estado State
3 33 BRA Brazil 3 Amapá BR.AP NA Estado State
4 33 BRA Brazil 4 Amazonas BR.AM NA Estado State Amazone
5 33 BRA Brazil 5 Bahia BR.BA NA Estado State Ba¡a
6 33 BRA Brazil 6 Ceará BR.CE NA Estado State
7 33 BRA Brazil 7 Distrito Federal BR.DF NA Distrito Federal Federal District
8 33 BRA Brazil 8 Espírito Santo BR.ES NA Estado State Espiritu Santo
9 33 BRA Brazil 9 Goiás BR.GO NA Estado State Goiáz|Goyáz