Skip to content

Commit

Permalink
Add note about the UI parsing output
Browse files Browse the repository at this point in the history
The output created in `FreeFormPointSet#write()` is parsed in the UI. They should be updated simultaneously.
  • Loading branch information
trevorgerhardt committed Feb 11, 2025
1 parent df6f5ae commit 5349659
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/conveyal/r5/analyst/FreeFormPointSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ public double getLon(int i) {
* Note that this does not save any opportunity magnitudes or densities. We do not use those yet.
* Note also that if we ever intend to use these directly in the UI we should switch to a
* fixed-width little-endian representation or JSON.
* Note: Conveyal's UI parses binary files produced with this format in
* `lib/opportunity-datasets/parse-freeform.worker.ts`
*/
public void write (OutputStream outputStream) throws IOException {
DataOutputStream out = new DataOutputStream(outputStream);
Expand Down

0 comments on commit 5349659

Please sign in to comment.