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

investigate geometry projection for HEC-RAS example model (Muncie) #18

Open
bates-j opened this issue Apr 18, 2024 · 2 comments
Open

investigate geometry projection for HEC-RAS example model (Muncie) #18

bates-j opened this issue Apr 18, 2024 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@bates-j
Copy link
Member

bates-j commented Apr 18, 2024

The "Muncie" HEC-RAS model downloaded from the HEC website has a projection (EPSG:2965) with well-known text that deviates slightly from the accepted versions (OGC and ESRI). Because of this, pyproj was unable to parse and recognize the correct projection, and consequently there was trouble getting geopandas to correctly write out the correct OGC URN within JSON format. Further investigation needs to be performed to ensure the way projections are currently handled will meet all of the long-term needs of the codebase.

@thwllms
Copy link
Contributor

thwllms commented May 15, 2024

My current take is that maybe this has more to do with however USACE/HEC came up with the projection string than anything else. If you search for the Muncie projection "NAD_1983_StatePlane_Indiana_East_FIPS_1301_Feet" there's a result for a deprecated ESRI projection: https://epsg.io/102673 -- maybe it's that? Also seems like when geopandas writes out to JSON it uses a projection short code rather than the full WKT, so if pyproj can't recognize the WKT then I guess things get weird.

@thwllms thwllms added the help wanted Extra attention is needed label Jun 3, 2024
@WREngineer11
Copy link

Would it be worth checking/verifying/pulling projection data from spatialreference.org to handle this? I've found ras handles the format they provide even more so than ESRI. They also provide links for what to use in place of deprecated spatial references (e.g. the example Thomas provided https://spatialreference.org/ref/esri/102673/).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants