Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multiple locations in on-chain project metadata #67

Open
wgwz opened this issue Aug 17, 2023 · 1 comment
Open

Support for multiple locations in on-chain project metadata #67

wgwz opened this issue Aug 17, 2023 · 1 comment
Labels
dev Engineering task

Comments

@wgwz
Copy link
Contributor

wgwz commented Aug 17, 2023

@nedhorning pointed out that for the fibershed project he is working on creating the metadata for, it's a project that actually has multiple locations. in this particular case the fibershed project can be marked by two separate locations that are about 15km apart. for the time being Ned said he would just make use of one of the locations as the project location.

to the best of my knowledge, right now we only support one geojson "Point" in our project location field. it should be noted as well that the field for project location is loosely specified as a geojson "Feature". according to the geojson spec, we could probably make use of a "MultiPoint" object. here's the full list of the geometry objects that can used in a feature:

https://datatracker.ietf.org/doc/html/rfc7946#section-3.1

The only thing that prevents me from suggesting to use the "MultiPoint" for the fibershed project, is that I am unsure of if the map rendering tool in regen-web would work correctly when rendering multiple points.

So it's possible that the only thing to do for this task, is to test a project page in the marketplace, with a "MultiPoint" feature, rather than a "Point" feature. If that's the case then we can utilize this for the fibershed project.

@ryanchristo ryanchristo added the dev Engineering task label Aug 21, 2023
@ryanchristo
Copy link
Member

We should check with registry team as they may have created two separate projects but we may still want to further discuss whether this is something we want to support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev Engineering task
Projects
None yet
Development

No branches or pull requests

2 participants