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

[13pt] Mismatching CRS's in the geocurves outputs #331

Open
RobHanna-NOAA opened this issue Sep 17, 2024 · 0 comments
Open

[13pt] Mismatching CRS's in the geocurves outputs #331

RobHanna-NOAA opened this issue Sep 17, 2024 · 0 comments
Labels
bug Something isn't working ras2fim_V2

Comments

@RobHanna-NOAA
Copy link
Collaborator

We have had a lot of trouble in the HydroVIS side loading ras2fim V2 geocurves. We discovered that the geometry column is not created with its crs embedded, only pure geometry and it can not be picked up by auto-detect. Reason: The data we saved to that column. If you look at V1, we did not have the geometry in the .csv, but in a separate gpkg so crs was defined and could be auto detected.

Each csv has a "crs" column, but that is the crs column from the original hecras source and has no value in the HV services. What HV does need is all csv geometries to be the same. There was a line of code in the the create_geocurves that reprojected it to 3857 but it was commented out.

This forces HV to not load in bulk but load each csv one at a time, read the csv adn its crs column, reproject, then save it to the DB which is very slow. For v2.0, we will do it this way but this has to be fixed for future loads.

It might be the same problem in the files going to HAND. Even though it only uses points, it might have incorrect csv's for each HUC. Review is needed.

@RobHanna-NOAA RobHanna-NOAA added bug Something isn't working ras2fim_V2 labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ras2fim_V2
Projects
None yet
Development

No branches or pull requests

1 participant