iandees / wof-editor

A simple Who's on First editor.
https://writefield.nextzen.org/
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Error when loading WOF records #60

Closed stepps00 closed 1 year ago

stepps00 commented 2 years ago

Hey :wave:

When trying to load WOF records for editing in the Write Field tool, I now see this error:

Screen Shot 2022-01-31 at 4 37 42 PM

This seems to happen with any WOF record. I've logged out/back in, and the issue persists.

iandees commented 2 years ago

There appears to be some sort of blocking on data.whosonfirst.org preventing the app from getting the data. I'm asking Aaron if he knows what's up.

iandees commented 2 years ago

In the meantime, if you can find the doc you want to edit in Github, you can append it to the edit page like so:

https://writefield.nextzen.org/place/edit?url=https://raw.githubusercontent.com/whosonfirst-data/whosonfirst-data-admin-me/master/data/127/634/547/1/1276345471.geojson
iandees commented 2 years ago

It's important the URL parameter is the "raw" URL for the document.

stepps00 commented 2 years ago

Ah great, the url option is really helpful. I was able to create a PR by pulling in the raw geojson from Github in a new PR.

nvkelso commented 1 year ago

As a quick workaround, we could modify the Spelunker sidebar box to include a link to Edit in Write Field with the fully constructed URL?

Eg at the bottom of the Other section:

image