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

Geospatial Bounds Tags in Project #411

Closed
MattReimer opened this issue Dec 1, 2021 · 0 comments
Closed

Geospatial Bounds Tags in Project #411

MattReimer opened this issue Dec 1, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@MattReimer
Copy link
Member

MattReimer commented Dec 1, 2021

This is for @KellyMWhitehead and @joewheaton

What I'm proposing is below (Look for <ProjectBounds />)

A few questions I'm anticipating:

This information is optional?

Some projects may not be geospatial. If you include <ProjectBounds /> then your project will be discoverable on a map. If you don't, it still will be searchable in the warehouse, just not on the map

Geographic vs Projected Coordinate Systems?

This node is for discovery on a webmaps. Webmaps are We will always require Geographic coordinates (lat, lng). It's possible that projects will only use projected coordinates but if they want to use it on the webmap they will need to generate geographic coordinates for ProjectBounds when they create their project.rs.xml.

What are the limits on the geojson file?

I think we'll probably refuse to scrape the file if it's bigger than (n) Kb. I don't know what the limit is but we definitely need one so that people don't try to upload unsimplified gigabytes of bounding data into the system. We'll need an error message to let people know

<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../XSD/V1/VBET.xsd">
  <!-- <Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/NorthArrowResearch/riverscapes-programs/master/Projects/BRAT/XSD/V1/Project.xsd"> -->
    <Name>VBET for HUC 16010202</Name>
    <ProjectType>VBET</ProjectType>
    <Warehouse>
      
    </Warehouse>
    <MetaData>
      <Meta name="ModelVersion">4.0.0</Meta>
      <Meta name="dateCreated">2020-05-20T09:11:08.986395</Meta>
      <Meta name="dateCreated">2020-05-20T09:11:08.992855</Meta>
      <Meta name="HUC8">16010202</Meta>
      <Meta name="VBETVersion">4.0.0</Meta>
      <Meta name="VBETTimestamp">1589991068</Meta>
    </MetaData>
    <Inputs>

    </Inputs>

    <ProjectBounds>
      <Centroid>
        <Lat>43.03677585761058</Lat>
        <Lng>-105.46875</Lng>
      </Centroid>
      <BoundingBox>
        <MinLat>38.58252615935333</MinLat>
        <MinLng>-115.13671875</MinLng>
        <MaxLat>46.6795944656402</MaxLat>
        <MaxLng>-96.0205078125</MaxLng>
      </BoundingBox>
      <Path>some_file_name.geojson</Path>
    </ProjectBounds>

    <Realizations>
      <VBET dateCreated="2020-05-20T09:11:08.995308" guid="8423deca-9ab4-11ea-81d8-acde48001122" id="VBET" productVersion="4.0.0">
        <Name>VBET for HUC 16010202</Name>
        <Inputs>
@MattReimer MattReimer added the enhancement New feature or request label Dec 1, 2021
@MattReimer MattReimer self-assigned this Dec 1, 2021
@MattReimer MattReimer changed the title Location Tags in Project Geospatial Bounds Tags in Project Jan 12, 2022
KellyMWhitehead added a commit to Riverscapes/riverscapes-tools that referenced this issue Jan 15, 2022
MattReimer pushed a commit to Riverscapes/riverscapes-tools that referenced this issue Feb 3, 2022
MattReimer pushed a commit to Riverscapes/riverscapes-tools that referenced this issue Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant