Skip to content

rotation of modelgrid #1474

Answered by hjia1005
hjia1005 asked this question in Q&A
Discussion options

You must be logged in to vote

It's finally solved by removing the real-world coordinates from the base model and the gridgen object, and making the model origin as (0,0).

To ensure gridgen can still work with real-world shapefiles, they have to be rotated AND shifted beforehand.

Then the code in the second screenshot in my previous post works perfectly. Hope it could help someone with the same needs.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hjia1005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant