Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Feature/#31 adds satellite #55

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Feature/#31 adds satellite #55

wants to merge 10 commits into from

Conversation

p4trykJ
Copy link
Contributor

@p4trykJ p4trykJ commented Feb 28, 2022

No description provided.

@pratikyadav
Copy link

👍
I'll keep an eye for the usage for this account and make sure the API limits won't be a problem for this project

},
"osmData":{
"type":"geojson",
"data":"https://dopomoha.pl/data/osm_data.geojson",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey these links to the domain break local development; if we want to support a work flow where people use this file locally and work on the data download and processing steps, we should revert to serving this geojson file from the local server.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @daniel-j-h , yeah we made a decision to have it that way.

We wanted to separate map style from main JS file to be able to use Maputnik editor. With a visual editor we could have non-programmer folks edit the style. We decided that easier setup for the other folks would be more useful and for dev purposes one could temporarily edit he URL to point to local version of the file.
(there may be a better way to make both possible but that wasn't immediately clear)

Today we gathered enough frontend developers and they reached critical mass and decided to rewrite the site in react ;)

This is all very chaotic dynamic situation. If you want to talk on voice chat we're mostly communicating via discord at https://openstreetmap.org.pl/discord we could better keep in sync about the situation. My nick there is "tomczk".

We really appreciate all the enthusiasm and work on these Pull Requests that we received.

Going back to the satellite layer matter we encountered a problem with using the Mapbox Satellite layer and Maputnik editor and I'm not sure where lies the problem. The style works when loading the site locally but when we try to edit the style using Maputnik editor it just goes into endless loop and the map doesn't load at all. Not sure if we are doing something wrong or if it's a bug in the editor but it's kind of a problem since we really want to be able to use simple visual editor and Maputnik seemed perfect for that since it didn't require an account and allowed easy JSON access to be able to add custom metadata. Until we figure this out we'll have to hold off on adding the satellite layer to the map.

},
"charityDropOff":{
"type":"geojson",
"data":"https://dopomoha.pl/data/zbiorki.geojson",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, can we revert to using local files, so we can iterate and develop locally?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While osm data file uses osm as source and can be built locally this file is gathered manually by volounteers, in the future it will be generated from CMS that is being built and the file would be updated often enough that I don't think it would make sense to keep it in the repo so the best way is to serve it from the web

@p4trykJ p4trykJ changed the title Feature/#31 closes #31 Feature/#31 adds satellite Feb 28, 2022
@ttomasz ttomasz mentioned this pull request Mar 1, 2022
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants