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

Can you read .prj to create SpatialReference? #56

Open
soba-noodle opened this issue Sep 3, 2024 · 3 comments
Open

Can you read .prj to create SpatialReference? #56

soba-noodle opened this issue Sep 3, 2024 · 3 comments
Assignees

Comments

@soba-noodle
Copy link

In order to use the polygon geometry in shapefile, you have to know the (projection spatial reference) in order to translate shapefile coordinates to WGS84. Can you point me a way to read .prj to create a spatial reference? Thanks.

@KubaSzostak
Copy link
Member

I've created a sample code that demonstrates how to read the .prj file and create a spatial reference for transforming shapefile coordinates to WGS84. You can find the implementation here. Let me know if you need any further assistance.

@KubaSzostak KubaSzostak self-assigned this Sep 7, 2024
@soba-noodle
Copy link
Author

soba-noodle commented Sep 9, 2024 via email

@KubaSzostak
Copy link
Member

See also: NetTopologySuite/ProjNet4GeoAPI#125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants