Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fititnt/01a5b660013b54743989759c4a9b5f18 to your computer and use it in GitHub Desktop.
Save fititnt/01a5b660013b54743989759c4a9b5f18 to your computer and use it in GitHub Desktop.
__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 addr:postcode may already have logic to tolerate near matches. If you know vanilla JavaScript to code a function to your country, then it could be more forgiving.

The bad news: for points of interest, the so-called "edgematch links", "rubber shedding links" or whatever the term to be use to export file "these 0-N items in dataset A matches these 0-N items in dataset B" necessarily need human-in-the-loop and it happens in unpredictable ways. And links which aren't obvious 1-to-1 (while there's room for suggestion) require need human input. It started as the "typical leaflet" plus a text-only, but we might need a way to visualize N:M links (unless any you have an UI suggestion to plot such links already over pins in a map!).

This diary is less about one implementation targeting a topic and more about suggestions, including realistic feedback on failed attempts. I love the human creativity involved to merge different information into something that could be given to OpenStreetMap, Wikidata and/or give back to your open data providers whose data needs review.

1. Quick overview of other tools and how this initial release fits in

Context: by citing other tools (which, trust me, it's not just have different approaches, but focus on different challenges) I hope be helpful if any of your use case already is more specialized with them, or, as the title "Early feedback welcomed", this could help others suggest improvements here, such how to present the interface.

I'd assume those more likely to be interested in this topic already have some  knowledge of OpenStreetMap Conflation or Wikidata Imports.

One blog post with comparison between some tools that really worth reading is the https://junglebus.io/MobilityData/benchmarks/Benchmark%20of%20existing%20open%20source%20solutions%20for%20conflating%20structured,%20geographical%20and%20transit%20data.html  to which I would TL;DR how this tool would fit


table 1

Tool Ecosystem Object Type
  SDM OpenStreetMap, Wikidata Point

table 2

SDM
need to match the dataset with OSM model yes
use an identifier existing in both dataset possible, not mandatory
investigate each output element needed
collaborative review no *
visualization of the conflation output + **
visualization of each output element + **
language JavaScript
user interface dedicated webapp, client-side, works offline
License AGPL-3 ***

*: if there's interest, eventually it would be feasible to export JSON or GeoJSON with additional information for tools that are collaborative. OSM Conflate and (as a preparation step for PoIs ) Map Roulette seems decent choices

**: while I'm already looking for inspiration on other tools (the v0.5.0 do not have something basic such as diff per item), visualization is likely to be a core functionality.

***: I might change it to public domain if it makes it more likely to get collaboration.

On conflation in general, do exist other tools than ones listed in this blog post. I will quickly comment on some of them.

  • ArcGis Pro (paid) gives me an impression of (thinking from a user's perspective, not software developer perspective) having a "single button" on typical actions users want, and do in such ways what open source alternatives such as QGIS would be several steps plus custom script.
  • QGIS (if you already don't have installed) is good to have around, even if is to save you trouble how to use GDAL or GRASS directly to convert files from/to GeoJSON / GeoJSON Lines (which is the main format used by the tool I'm presenting)
  • MapRoulette is not cited there, but it actually works as some kind of conflation tool.
  • RapiD (when enabled with datasets from authoritative sources or generated by machine learning) also works as some sort of conflation tool
    • Maybe this is intentional (since doing differently could make RapiD less likely to eventually be added as additional editor on OpenStreetMap.org) but other than the very specific list of listed datasets, RapiD have no changes at all over iD on load data layer (e.g. the GeoJSON you could get as export)
      • There's no way to add more than one data layer, nor customize colours. I would consider really important, and not really hard to implement
        • (actually also both on JOSM and QGIS this seems not possible) for data layers, there no quick filter to display part of them by attribute, so if a PoI (even with right addr:housenumber) is not close, this make very manual labour click one by one.
  • and obviously, hootenanny, which while likely the more feature-rich for interactive conflation, the OSM Wiki for Conflation rightfully cites it is complex to install.
    • It started as a fork of (now older version) of iD. RapiD also started as a fork of iD, and has some built- in support for conflate data, but very basic compared to Hootenanny.

2. Screenshots with context of the implementation sdm-etica.ai

2.1 Kind of "co-pilot" for an OSM editor (iD example)

Some mappers already look on official websites to enhance mode metadata on OpenStreetMap. When these sources already publish such data into something you can convert for GeoJSON with tagging close to what you would do in OSM, you can do the following:

  1. Load one or more of these datasets into the app
  2. Divide the screen between the iD editor and this app. I put it on the right side because it is close to the panel of iD.
  3. When I find an OpenStreetMap element without more data, I copy and paste existing attributes from the element and place them into the search box of the app.
  4. Sometimes, you may need to filter by addr: street (copy from nearby roads, the name=, alt_name=, and old_names=). If you find the data, copy and paste from the app into the iD free text tagging editing.

https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/cc48697b0d47a1280ea86238094d5bc5df2b47d2/1-example-co-pilot-id.png

While the external dataset had over 36.000 items, by selecting with

addr:housenumber=155
addr:street=Rua Catarino Andreatta

the match was 1 of the 9 results. It's manual process, but copy the tags from the text area

https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/cc48697b0d47a1280ea86238094d5bc5df2b47d2/2-example-co-pilot-id.png

The preview on the map mode also have the same keys, which could be copy pasted.

2.2 Using links from items displayed on the app to add into JOSM, iD, etc

iD (documentation at develop/API.md) allows creation of direct links, and a lot of other software have something similar we could add shortcuts. JOSM, however, has Remote Control, being notable that it can reuse the same JOSM instance and make changesets with more than one edit than iD. This use case you use the app in full screen to find what you can edit on OpenStreetMap in the default editor.

https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/cc48697b0d47a1280ea86238094d5bc5df2b47d2/3-pin-mode.png


https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/cc48697b0d47a1280ea86238094d5bc5df2b47d2/5-iD-link.png


https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/cc48697b0d47a1280ea86238094d5bc5df2b47d2/6-josm-link.png

Feedback is also welcomed on how to optimize space of the links in the map. While writing this diary I Noticed a link to the level 0 editor.

2.3 Display OpenStreetMap data along with other data into the app

As you will notice, the webapp does not (at least not yet, but is viable implement) load OpenStreetMap data itself, so OpenStreetMap-carto as default base map helps to compare with the pins.

However, you can use Overpass-Turbo and select it as one of the inputs, just use the export button and save as GeoJSON. (Later example use conflation on import betwen 2 external datasets, but same could be done to use what's on the OSM near what's in external dataset)

https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/18408532791aed56abd7494845d45b0a12b3cb7e/7-overpass.png

In my tests since last year, preparation of the dataset to OpenStreetMap schema may have much more fields than we would use. This explain why there's a field that you need to which tags are imported to the app

https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/cc48697b0d47a1280ea86238094d5bc5df2b47d2/8-restriction-by-key.png

Unless you unmark, by default if GeoJSON seems to be an OpenStreetMap export, it will bypass the selection.

2.4 Working with very large datasets

As the idea of app is to help you to match data, you may have one or more smaller datasets that need to be matched against one big one.

Currently there's 2 strategies:

  1. At import stage: you prefilter 1+ subject datasets using 1+ reference datasets. Both by distance and by marching attributes (such as addr:housenumber) is possible
  2. At the live filter stage: all datasets already are loaded in memory, and can even be exported, but at some point the preview will not show everything.

The main file used is GeoJSON, but with very large datasets you need to pre-convert to GeoJSON Text Sequences (see formal specification at RFC8142, also know as "GeoJSON Lines". (By the way, if you are generating it from scratch, do with RS+LF, not just LF).

2.4.1 Example at import stage (use items from 1+ datasets to find maching items from other datasets)

The exact position may change in future versions but currently you 

  1. Define distance and (if relevant) also matching key. Then, load 1+ reference dataset

https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/cc48697b0d47a1280ea86238094d5bc5df2b47d2/9-conflation-at-impoirt-reference-files.png

After that, just select 1+ datasets into the main file input

https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/cc48697b0d47a1280ea86238094d5bc5df2b47d2/10-conflation-at-import-now-the-files.png

At the end, you can just export the file (potentially reuse again in a next section).

https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/cc48697b0d47a1280ea86238094d5bc5df2b47d2/11-conflation-at-import-downloading-without-going-live-filter.png

The speed of this process is greatly affected by the number of items in the reference dataset. However note you can export the result and the file in your disk, so you start a new section only with precomputed data.

Quick comment about these examples:

  1. While maybe there some last minute bug with the UI (which is why I would recommend use https://sdm.etica.ai/v/0.5/, not https://sdm.etica.ai/, which I migth be changing faster) a filter that reduces 6M to 1M would be too forgiving. But the real filters are heavily dependend on the reference datasets and target datasets.
  2. One reason for the input dataset be less than 1/6 is also because which keys are allowed to load into memory.

While the time will greatly vary by how powerful is the user CPU, with a 6 cores / 12 threads recent CPU, by conflating all houseadresses surveyed on last Brazilian Census for one province (this one https://www.openstreetmap.org/relation/242620, population: 11,322,895) this took around 55 seconds (around 50% of this is merely reading GeoJSON-Seq into chunks, not the comparison with items from reference datasets). This king of processing time will necessarily increase with proper fine tunning. For example, as soon as start to implement forgiving matches, such as non exact addr:street (and this varies by country and language) will increase CPU use.

While this may not seem much, if such processing was done "in the cloud" and releasing for OpenStreetMap community for free would be expensive.

2.4.2. Example at live filtering stage

Would be trivial to copy the same logic (dataset VS dataset) from using reference files from the import stage to the filtering stage, however I suppose this might often lead to bad user experience (for a province-level dataset like previous step, think >1 minute). With over a million points waiting in the background memory, trying to match one or few items might still be fast (just "not instantaneous").

The current version doesn't have an "auto suggestion", but I guess this could be implemented with some defaults exploring the fact datasets already will be using OpenStreetMap schema. Suggestions are welcomed, and maybe after then, proof of concepts to try it, but I can say upfront that:

  1. instead of a "yes/no" march, some numeric result (even if to sort results).
  2. Sometimes either source or target may not have one field. This is differente from a false match, it's an unknow case
  3. Some datasets may have no position at all, so the match is fully by address alone (which may need an intermediary dataset). Also, these cases make a poor experience plot them in the null island,

https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/cc48697b0d47a1280ea86238094d5bc5df2b47d2/12-conflation-single-item-live-filtering.png

How the live filtering may be used really depends of the dataset (sparse points we could use kilometers, but very near ponts, something like 100 meters), however this more manual strategy still works as fallback.

The "Position" can accept latitude/longitude values (wuch as -29.92420 -51.17002), also could accept a temporary identifier of any element inside the dataset or even an URL like https://www.openstreetmap.org/#map=18/-29.92421/-51.17002 (the regex will extract -51.17002 and -29.92421)

quick comment on this example:

  1. with 6M itens in the background, and without implementing yet any more advanced check, the parsing get betwen 500ms-800ms

2.5 No restriction on number of "layers/files"

At some point, the images used on the map for pin colours will start to get reused, but other than that, it is quite flexible how used will organize the files.

https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/cc48697b0d47a1280ea86238094d5bc5df2b47d2/13-loaded-datasets.png

Currently the colours of the pins are based on order of upload. On live filtering (all data already in memory) users can also select the dataset as focus. While unsure of a better way to differentiate, this is an example.

https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/cc48697b0d47a1280ea86238094d5bc5df2b47d2/14-focus-dataset.png

While by default there a maximum number of data points to show, if this already was reached, but the app knows do exist dataset in focus, it will show 2x the limit, so if working with >1 million dataset, the smaller ones you may interested is more likely to still be displayed on preview.

3 Other performance comments

  • The memory usage tends to be around the same size or lower than the uncompressed size of files in disk. There's room for improvement not done yet, but by limiting how many items are displayed (for example 10.000) this will use less memory than JOSM and have UI with faster feedback than QGIS.
    • Memory usage tends to only grow at the import stage (or if you export a very large datasets, when you save a file). This (and also to simplify logic) explain why as soon as files are loaded, they are locked to edit. To work with different datasets, you need to refresh. To work with different sections at the same time, just open 2 or more tabs.
    • If you notice using more RAM than this, consider opening a new tab instead of reusing the tab from previous import (no need to close the browser, just the tab). I noticed browser refresh / hard refresh the browser may (potentially by assuming you will use a lot of RAM again) not do it.

Here is one example with 6 files (uncompressed size in disk around 2.8 GB).

Baselina (using Webkit based browser): around ~30MB (but for smaller datasets, that still display all data, this likely will be around 100 MB)

https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/cc48697b0d47a1280ea86238094d5bc5df2b47d2/z-1-memory-management_baseline.png

Baselina (using Webkit based browser): around 1.4GB

https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/cc48697b0d47a1280ea86238094d5bc5df2b47d2/z-1-memory-management_chromium.png

Here using the same datasets (had to use GeoJSON instead of GeoJSON Lines). JOSM can load CNEFE 2022 dataset for the city of Porto Alegre, but without optimisations, eventually it aborts before finishing on importing a province.

https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/cc48697b0d47a1280ea86238094d5bc5df2b47d2/z-3-memory-management_JOSM.png

And here QGIS

https://gist.githubusercontent.com/fititnt/01a5b660013b54743989759c4a9b5f18/raw/cc48697b0d47a1280ea86238094d5bc5df2b47d2/z-4-memory-management_QGIS.png

Obviously, QGIS and JOSM have different purposes. JOSM is already optimized for editing. QGIS (without need to use command line) seems a good choice to convert files. GeoJSON parsing may be one of the worst cases. I also noticed (the plugins for GeoJSON) from JOSM seems to merge points in very same position with same (or similar) tagging, which actually seems a good default

I don't have the test here, but using GeoPackage, JOSM would use less RAM on import. Similar could be achieved by converting the large datasets into a single file on disk with vector tiles.

4. Files used in the tutorial (do NOT use to upload this to OpenStreetMap)

For the sake of testing the application (or, if errors would be in the custom data you may be using) I will share a copy of the files used in the screenshots.

These files have OpenStreetMap + 2 different "official" datasets (which can have conflicting information between themselves, such as imprecise positioning), one which have list of addr:housenumbers plus some extra non-detailed metadata surveyed around 2022 and the other which is related to points of interest (fire stations, but some the actually tagging could be office, despite sharing address and phone, but not email and (suggested by the reference dataset, not not typical used name) name of what could be mapped on OSM. The actual number of focused things is around 200, not > 6.000.000.

The v0.5.0-beta is still not making better groups between sources that may be about the same subject (sometimes files can be the same provider). However this might help the readers understand that, while most solutions tend to break conflation in 1 vs 1, my idea is do this too, however also attempt be more flexible. This is merely a 1 + 2 example, but some kinds of schools focused on learning disabilities could be > 1+5 (OSM, Wikidata, ref:vatin, ref healthcare, ref education). Not only this, but consider that ref:vatin by open data source do not have exact position, and the text representation of addresses is a f****ng nightmare.

5. End comments

I hope this initial version can be a reasonable start. It doesn't require expensive server-side to keep it running, which helps to not shutdown because of excessive memory and CPU usage. The tradeoff is to require static files pre-generated with OpenStreetMap schema, but for files already exported from GeoJSON from OpenStreetMap data (e.g. test with Overpass Turbo), we do have something.

Some of the GeoJSON files can be downloaded from this link

Display the source blob
Display the rendered blob
Raw
{
"type": "FeatureCollection",
"generator": "overpass-turbo",
"copyright": "The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.",
"timestamp": "2024-06-08T01:12:16Z",
"features": [
{
"type": "Feature",
"properties": {
"@id": "way/103363757",
"addr:housenumber": "235",
"addr:street": "Rua Benjamin Constant",
"amenity": "fire_station",
"name": "Corpo de Bombeiros de Guaporé",
"phone": "193",
"source": "survey"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-51.8836111,
-28.8524635
],
[
-51.8840079,
-28.8524657
],
[
-51.8839852,
-28.8529173
],
[
-51.883601,
-28.8529129
],
[
-51.8836111,
-28.8524635
]
]
]
},
"id": "way/103363757"
},
{
"type": "Feature",
"properties": {
"@id": "way/129177014",
"addr:housename": "Armazém C1",
"addr:housenumber": "1050",
"addr:postcode": "90010-110",
"addr:street": "Avenida Mauá",
"amenity": "fire_station",
"building": "yes",
"email": "gbs@bm.rs.gov.br",
"name": "Grupamento de Busca e Salvamento",
"phone": "+55 51 3224-8963",
"ref": "C-1"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-51.2271245,
-30.0248265
],
[
-51.2271153,
-30.0256124
],
[
-51.2268089,
-30.0256097
],
[
-51.2268181,
-30.0248238
],
[
-51.2271245,
-30.0248265
]
]
]
},
"id": "way/129177014"
},
{
"type": "Feature",
"properties": {
"@id": "way/228079151",
"addr:housenumber": "345",
"addr:street": "Avenida Aureliano de Figueiredo Pinto",
"amenity": "fire_station",
"building": "yes",
"email": "crb1@bm.rs.gov.br",
"name": "1º CRB",
"official_name": "1º Comando Regional de Bombeiros",
"phone": "+55 51 3288-3170",
"website": "http://www.cbm.rs.gov.br"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-51.2286385,
-30.0434353
],
[
-51.2286638,
-30.043671
],
[
-51.2283972,
-30.0436924
],
[
-51.2281278,
-30.043714
],
[
-51.2281025,
-30.0434784
],
[
-51.2283707,
-30.0434568
],
[
-51.2286385,
-30.0434353
]
]
]
},
"id": "way/228079151"
},
{
"type": "Feature",
"properties": {
"@id": "way/234802084",
"addr:city": "Porto Alegre",
"addr:housenumber": "125",
"addr:street": "Avenida Bogotá",
"addr:suburb": "Passo D'Areia",
"amenity": "fire_station",
"building": "yes",
"email": "portoalegre-passodareia@cbm.rs.gov.br",
"level": "2",
"name": "Estação do Corpo de Bombeiros",
"phone": "+55 51 3340 9612",
"source:addr": "IEDE/RS"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-51.1488012,
-30.0090254
],
[
-51.1488258,
-30.0092613
],
[
-51.1484898,
-30.0092483
],
[
-51.1484994,
-30.0090161
],
[
-51.1488012,
-30.0090254
]
]
]
},
"id": "way/234802084"
},
{
"type": "Feature",
"properties": {
"@id": "way/339602595",
"addr:city": "Caxias do Sul",
"addr:housenumber": "950",
"addr:street": "Rua Celestino Deitos",
"addr:suburb": "Desvio Rizzo",
"amenity": "fire_station",
"building": "yes",
"email": "caxiasdosul@cbm.rs.gov.br",
"name": "Corpo de Bombeiros Desvio Rizzo",
"phone": "+55 54 3223 6555",
"source:addr": "CNEFE 2022",
"source:contact": "IEDE/RS"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-51.23725,
-29.1864343
],
[
-51.237242,
-29.1864975
],
[
-51.2372071,
-29.1864975
],
[
-51.2371776,
-29.186631
],
[
-51.2370408,
-29.1866169
],
[
-51.2370757,
-29.1864272
],
[
-51.23725,
-29.1864343
]
]
]
},
"id": "way/339602595"
},
{
"type": "Feature",
"properties": {
"@id": "way/419350881",
"addr:city": "Porto Alegre",
"addr:housenumber": "778",
"addr:street": "Rua Almirante Barroso",
"amenity": "fire_station",
"building": "yes",
"email": "portoalegre-floresta@cbm.rs.gov.br",
"name": "Corpo de Bombeiros - Estação Floresta",
"phone": "+55 51 3340 9612",
"source:addr": "IEDE/RS"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-51.2050037,
-30.0180416
],
[
-51.2049582,
-30.0179725
],
[
-51.2049495,
-30.0179593
],
[
-51.2050568,
-30.0179058
],
[
-51.2050873,
-30.0179522
],
[
-51.2051768,
-30.018088
],
[
-51.2050695,
-30.0181415
],
[
-51.2050462,
-30.0181061
],
[
-51.2050037,
-30.0180416
]
]
]
},
"id": "way/419350881"
},
{
"type": "Feature",
"properties": {
"@id": "way/479615960",
"addr:city": "Cachoeirinha",
"addr:housenumber": "3419",
"addr:street": "Avenida General Flores da Cunha",
"amenity": "fire_station",
"building": "yes",
"email": "cachoeirinha@cbm.rs.gov.br",
"name": "Corpo de Bombeiros de Cachoeirinha",
"phone": "+55 51 3469 7453",
"source:addr": "IEDE/RS"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-51.0842953,
-29.9394103
],
[
-51.0841057,
-29.9396763
],
[
-51.0838718,
-29.9396021
],
[
-51.0840712,
-29.9393156
],
[
-51.0842953,
-29.9394103
]
]
]
},
"id": "way/479615960"
},
{
"type": "Feature",
"properties": {
"@id": "way/529977454",
"addr:city": "Pelotas",
"addr:housenumber": "1880",
"addr:postcode": "96010-610",
"addr:street": "Rua Gomes Carneiro",
"addr:suburb": "Centro",
"amenity": "fire_station",
"building": "yes",
"name": "Corpo de Bombeiros da Brigada Militar - 3º CRB / 2 SGCI",
"operator": "Brigada Militar",
"phone": "+55 53 3222-2222",
"source": "IEDE/RS;CNEFE 2022",
"website": "cbm.rs.gov.br"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-52.3440425,
-31.7752692
],
[
-52.3438794,
-31.7753181
],
[
-52.3437163,
-31.775367
],
[
-52.3437043,
-31.7753706
],
[
-52.3435989,
-31.7754022
],
[
-52.3434868,
-31.7751293
],
[
-52.343615,
-31.7750914
],
[
-52.3439503,
-31.7749923
],
[
-52.3440554,
-31.7752454
],
[
-52.3440425,
-31.7752692
]
]
]
},
"id": "way/529977454"
},
{
"type": "Feature",
"properties": {
"@id": "way/546331811",
"addr:city": "Tramandaí",
"addr:housenumber": "1218",
"addr:postcode": "95590-000",
"addr:street": "Avenida Fernandes Bastos",
"addr:suburb": "Tiroleza",
"amenity": "fire_station",
"email": "tramandai@cbm.rs.gov.br",
"loc_name": "Corpo de Bombeiros de Tramandaí",
"name": "Corpo de Bombeiros Militar",
"phone": "+55 51 3661-3100",
"website": "http://www.cbm.rs.gov.br/"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-50.1430857,
-29.9906809
],
[
-50.1431809,
-29.9906271
],
[
-50.1432413,
-29.9905935
],
[
-50.1432872,
-29.9905641
],
[
-50.1434829,
-29.9907684
],
[
-50.1435415,
-29.99083
],
[
-50.1435821,
-29.9908726
],
[
-50.1434033,
-29.9910002
],
[
-50.1433634,
-29.9909584
],
[
-50.1433466,
-29.9909409
],
[
-50.1433286,
-29.9909224
],
[
-50.1433012,
-29.9908946
],
[
-50.1430857,
-29.9906809
]
]
]
},
"id": "way/546331811"
},
{
"type": "Feature",
"properties": {
"@id": "way/653495063",
"amenity": "fire_station",
"building": "yes",
"phone": "+55 55 3522-3067"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-53.9367334,
-27.4478315
],
[
-53.9365869,
-27.4478147
],
[
-53.9366385,
-27.4474593
],
[
-53.936785,
-27.4474761
],
[
-53.9367334,
-27.4478315
]
]
]
},
"id": "way/653495063"
},
{
"type": "Feature",
"properties": {
"@id": "way/1122952034",
"addr:city": "Tramandaí",
"addr:housenumber": "1577",
"addr:street": "Avenida Beira-Mar",
"amenity": "fire_station",
"building": "public",
"building:levels": "1",
"email": "9bbm-sadm@cbm.rs.gov.br",
"name": "Corpo de Bombeiros Militar",
"official_name": "9º Batalhão Bombeiro Militar",
"operator": "Corpo de Bombeiros Militar do Rio Grande do Sul",
"phone": "+55 51 3684 5316",
"source": "survey;IEDE/RS",
"wikidata": "Q10260737",
"wikipedia": "pt:Corpo de Bombeiros da Brigada Militar do Estado do Rio Grande do Sul"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-50.1270768,
-29.99211
],
[
-50.1270934,
-29.9921041
],
[
-50.1271115,
-29.9921421
],
[
-50.1270999,
-29.9921463
],
[
-50.127112,
-29.9921715
],
[
-50.1270709,
-29.9921862
],
[
-50.1270705,
-29.9921949
],
[
-50.1270244,
-29.9922127
],
[
-50.12697,
-29.9922155
],
[
-50.1269485,
-29.9921704
],
[
-50.126921,
-29.9921128
],
[
-50.126997,
-29.9920855
],
[
-50.1270159,
-29.9921251
],
[
-50.1270741,
-29.9921043
],
[
-50.1270768,
-29.99211
]
]
]
},
"id": "way/1122952034"
},
{
"type": "Feature",
"properties": {
"@id": "node/621494755",
"addr:city": "Torres",
"addr:housenumber": "660",
"addr:postcode": "95560-000",
"addr:street": "Rua Leonardo Truda",
"addr:suburb": "Centro",
"amenity": "fire_station",
"email": "torres@cbm.rs.gov.br",
"name": "Corpo de Bombeiros",
"phone": "+55 51 3664 3133",
"source:contact": "IEDE/RS"
},
"geometry": {
"type": "Point",
"coordinates": [
-49.7279937,
-29.3330509
]
},
"id": "node/621494755"
},
{
"type": "Feature",
"properties": {
"@id": "node/833945782",
"addr:housenumber": "965",
"addr:street": "Avenida Santos Ferreira",
"amenity": "fire_station",
"email": "canoas@cbm.rs.gov.br;8bbm-sadm@cbm.rs.gov.br",
"name": "08º Batalhão de Bombeiro Militar",
"phone": "+55 51 3472 1220",
"source:contact": "IEDE/RS"
},
"geometry": {
"type": "Point",
"coordinates": [
-51.1700298,
-29.9241998
]
},
"id": "node/833945782"
},
{
"type": "Feature",
"properties": {
"@id": "node/940962969",
"addr:city": "Alvorada",
"addr:housenumber": "3350",
"addr:postcode": "94818-000",
"addr:street": "Avenida Presidente Getúlio Vargas",
"amenity": "fire_station",
"email": "alvorada@cbm.rs.gov.br",
"name": "Corpo de Bombeiros de Alvorada",
"phone": "+55 51 3483 2050",
"source:contact": "IEDE/RS"
},
"geometry": {
"type": "Point",
"coordinates": [
-51.0665662,
-29.995463
]
},
"id": "node/940962969"
},
{
"type": "Feature",
"properties": {
"@id": "node/1822506326",
"addr:city": "Rio Grande",
"addr:housenumber": "315",
"addr:street": "Rua Júlio de Castilhos",
"amenity": "fire_station",
"email": "riogrande-cassino@cbm.rs.gov.br",
"name": "Corpo de Bombeiros Balneário Cassino",
"operator": "Brigada Militar",
"phone": "+55 53 3236 2371",
"source": "IEDE/RS;CNEFE 2022"
},
"geometry": {
"type": "Point",
"coordinates": [
-52.1662158,
-32.1845242
]
},
"id": "node/1822506326"
},
{
"type": "Feature",
"properties": {
"@id": "node/2108037165",
"addr:city": "Guaíba",
"addr:housenumber": "138",
"addr:street": "Avenida Dante Razeira",
"amenity": "fire_station",
"email": "guaiba@cbm.rs.gov.br",
"name": "Corpo de Bombeiros - Guaíba",
"phone": "+55 51 3480 0854",
"source:addr": "IEDE/RS"
},
"geometry": {
"type": "Point",
"coordinates": [
-51.3439229,
-30.1185539
]
},
"id": "node/2108037165"
},
{
"type": "Feature",
"properties": {
"@id": "node/2507911052",
"addr:city": "Porto Alegre",
"addr:housenumber": "2590",
"addr:street": "Estrada João Antônio da Silveira",
"amenity": "fire_station",
"email": "portoalegre-restinga@cbm.rs.gov.br",
"name": "Corpo de Bombeiros da Restinga",
"phone": "+55 51 98577 1356",
"source:addr": "IEDE/RS"
},
"geometry": {
"type": "Point",
"coordinates": [
-51.1348287,
-30.151373
]
},
"id": "node/2507911052"
},
{
"type": "Feature",
"properties": {
"@id": "node/3130575856",
"addr:city": "Rio Grande",
"addr:housenumber": "781",
"addr:postcode": "96200-310",
"addr:street": "Rua General Vitorino",
"amenity": "fire_station",
"email": "riogrande@cbm.rs.gov.br",
"name": "Corpo de Bombeiros Militar de Rio Grande",
"operator": "Brigada Militar",
"phone": "+55 53 3231 3355",
"source": "IEDE/RS;CNEFE 2022"
},
"geometry": {
"type": "Point",
"coordinates": [
-52.1056262,
-32.0352139
]
},
"id": "node/3130575856"
},
{
"type": "Feature",
"properties": {
"@id": "node/4316180420",
"addr:city": "Porto Alegre",
"addr:housenumber": "1260",
"addr:postcode": "91780-370",
"addr:street": "Rua Santo Angelo",
"addr:suburb": "Belém Novo",
"amenity": "fire_station",
"name": "Corpo de Bombeiros - Estação Belém Novo",
"phone": "+55 51 3259-1238"
},
"geometry": {
"type": "Point",
"coordinates": [
-51.1745998,
-30.2067216
]
},
"id": "node/4316180420"
},
{
"type": "Feature",
"properties": {
"@id": "node/5904891855",
"addr:city": "Caxias do Sul",
"addr:housenumber": "1515",
"addr:postcode": "95074-000",
"addr:street": "Rua Luiz Michielon",
"amenity": "fire_station",
"email": "caxiasdosul-cruzeiro@cbm.rs.gov.br",
"name": "Pel Cruzeiro",
"phone": "+55 54 3223 5895",
"source": "IEDE/RS;CNEFE 2022"
},
"geometry": {
"type": "Point",
"coordinates": [
-51.1533727,
-29.1699571
]
},
"id": "node/5904891855"
},
{
"type": "Feature",
"properties": {
"@id": "node/6306789367",
"addr:housenumber": "92",
"addr:postcode": "95400-000",
"addr:street": "Avenida Benjamin Constant",
"amenity": "fire_station",
"contact:facebook": "https://www.facebook.com/bombeirossfp",
"emergency_telephone_code": "193",
"name": "Corpo de Bombeiros de São Francisco de Paula",
"phone": "+55 54 3244-1299",
"source:addr": "CNEFE 2022"
},
"geometry": {
"type": "Point",
"coordinates": [
-50.5815053,
-29.4419094
]
},
"id": "node/6306789367"
},
{
"type": "Feature",
"properties": {
"@id": "node/10571954109",
"amenity": "fire_station",
"name": "Bombeiros Voluntários de Eldorado do Sul",
"phone": "34813018"
},
"geometry": {
"type": "Point",
"coordinates": [
-51.3095456,
-29.9970291
]
},
"id": "node/10571954109"
},
{
"type": "Feature",
"properties": {
"@id": "node/11957733276",
"addr:city": "Caxias do Sul",
"addr:housenumber": "2533",
"addr:postcode": "95020-450",
"addr:street": "Rua Vinte de Setembro",
"amenity": "fire_station",
"email": "5bbm-sadm@cbm.rs.gov.br",
"name": "05º Batalhão de Bombeiro Militar",
"phone": "+55 54 3223 6555",
"source": "IEDE/RS"
},
"geometry": {
"type": "Point",
"coordinates": [
-51.1854301,
-29.1646095
]
},
"id": "node/11957733276"
},
{
"type": "Feature",
"properties": {
"@id": "node/11957733277",
"addr:city": "Caxias do Sul",
"addr:housenumber": "2533",
"addr:postcode": "95020-450",
"addr:street": "Rua Vinte de Setembro",
"amenity": "fire_station",
"email": "caxiasdosul@cbm.rs.gov.br",
"name": "Corpo de Bombeiros Caxias do Sul",
"phone": "+55 54 3223 6555",
"source": "IEDE/RS"
},
"geometry": {
"type": "Point",
"coordinates": [
-51.1850895,
-29.1647161
]
},
"id": "node/11957733277"
},
{
"type": "Feature",
"properties": {
"@id": "node/11957862497",
"addr:city": "Pelotas",
"addr:housenumber": "632",
"addr:street": "Rua Doutor Joaquim Duval",
"amenity": "fire_station",
"email": "pelotas@cbm.rs.gov.br",
"name": "Corpo de Bombeiros Três Vendas",
"operator": "Brigada Militar",
"phone": "+55 53 3278 2599",
"source": "IEDE/RS"
},
"geometry": {
"type": "Point",
"coordinates": [
-52.3336964,
-31.7360281
]
},
"id": "node/11957862497"
},
{
"type": "Feature",
"properties": {
"@id": "node/11957862499",
"addr:city": "São José do Norte",
"addr:housenumber": "183",
"addr:street": "Rua Marechal Deodoro",
"amenity": "fire_station",
"email": "saojosedonorte@cbm.rs.gov.br",
"name": "Corpo de Bombeiros São José do Norte",
"phone": "+55 55 3238 1756",
"source": "IEDE/RS;CNEFE 2022"
},
"geometry": {
"type": "Point",
"coordinates": [
-52.0435921,
-32.0160604
]
},
"id": "node/11957862499"
},
{
"type": "Feature",
"properties": {
"@id": "node/11957862500",
"addr:city": "Rio Grande",
"addr:housenumber": "781",
"addr:postcode": "96200-310",
"addr:street": "Rua General Vitorino",
"amenity": "fire_station",
"email": "3bbm-sadm@cbm.rs.gov.br",
"name": "03º Batalhão de Bombeiro Militar",
"operator": "Brigada Militar",
"phone": "+55 53 3231 3355",
"source": "IEDE/RS;CNEFE 2022"
},
"geometry": {
"type": "Point",
"coordinates": [
-52.105938,
-32.035349
]
},
"id": "node/11957862500"
},
{
"type": "Feature",
"properties": {
"@id": "node/11957862501",
"addr:city": "Jaguarão",
"addr:housenumber": "1031",
"addr:street": "Rua General Câmara",
"amenity": "fire_station",
"email": "jaguarao@cbm.rs.gov.br",
"name": "Corpo de Bombeiros Militar de Jaguarão",
"operator": "Brigada Militar",
"phone": "+55 53 3261 3765",
"source": "IEDE/RS;CNEFE 2022"
},
"geometry": {
"type": "Point",
"coordinates": [
-53.375988,
-32.559461
]
},
"id": "node/11957862501"
},
{
"type": "Feature",
"properties": {
"@id": "node/11957862502",
"addr:city": "Santa Vitória do Palmar",
"addr:housenumber": "904",
"addr:street": "Rua João de Oliveira Rodrigues",
"amenity": "fire_station",
"email": "santavitoriadopalmar@cbm.rs.gov.br",
"name": "Corpo de Bombeiros Santa Vitória do Palmar",
"operator": "Brigada Militar",
"phone": "+55 53 3263 1599",
"source": "IEDE/RS;CNEFE 2022"
},
"geometry": {
"type": "Point",
"coordinates": [
-53.3655,
-33.523145
]
},
"id": "node/11957862502"
},
{
"type": "Feature",
"properties": {
"@id": "node/11959726772",
"addr:city": "Capão da Canoa",
"addr:housenumber": "832",
"addr:postcode": "95555-000",
"addr:street": "Avenida Ararigbóia",
"amenity": "fire_station",
"email": "capaodacanoa@cbm.rs.gov.br",
"name": "Corpo de Bombeiros Capão da Canoa",
"phone": "+55 51 3665 3699",
"source": "IEDE/RS;CNEFE 2022"
},
"geometry": {
"type": "Point",
"coordinates": [
-50.024625,
-29.763332
]
},
"id": "node/11959726772"
},
{
"type": "Feature",
"properties": {
"@id": "node/11959726773",
"addr:city": "Osório",
"addr:housenumber": "1023",
"addr:postcode": "95520-000",
"addr:street": "Rua Costa Gama",
"amenity": "fire_station",
"email": "osorio@cbm.rs.gov.br",
"name": "Corpo de Bombeiros de Osório",
"phone": "+55 51 3663 1020",
"source": "IEDE/RS;CNEFE 2022"
},
"geometry": {
"type": "Point",
"coordinates": [
-50.266617,
-29.895021
]
},
"id": "node/11959726773"
},
{
"type": "Feature",
"properties": {
"@id": "node/11959801092",
"addr:city": "Santo Antônio da Patrulha",
"addr:housenumber": "512",
"addr:postcode": "95500-000",
"addr:street": "Rua Francisco J. Lopes",
"amenity": "fire_station",
"email": "santoantoniodapatrulha@cbm.rs.gov.br",
"name": "Pel Santo Antônio da Patrulha / 9° BBM",
"phone": "+55 51 3662 2055",
"source": "IEDE/RS;CNEFE 2022"
},
"geometry": {
"type": "Point",
"coordinates": [
-50.5119337,
-29.8431788
]
},
"id": "node/11959801092"
},
{
"type": "Feature",
"properties": {
"@id": "node/11959801100",
"addr:city": "Terra de Areia",
"addr:housenumber": "327",
"addr:postcode": "95535-000",
"addr:street": "Rua Osvaldo Aranha",
"amenity": "fire_station",
"email": "terradeareia@cbm.rs.gov.br",
"name": "Corpo de Bombeiros Terra de Areia",
"phone": "+55 51 3666 3293",
"source": "IEDE/RS;CNEFE 2022;extrapolation"
},
"geometry": {
"type": "Point",
"coordinates": [
-50.0724769,
-29.5841434
]
},
"id": "node/11959801100"
}
]
}
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment