Feat: reverse the layer order for automatically split geometry #516
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What I am changing
How I did it
Changed list appending order for
split_mixed_gdf
andparse_wkb_table
function from [points
,linestrings
,polygons
] to [polygons
,linestrings
,points
]How you can test it
Old:
![Untitled](https://private-user-images.githubusercontent.com/17250607/329965819-f0d4a4f5-d69d-4e27-bbc7-3d159d1d2e6b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyODc5MTUsIm5iZiI6MTcyNTI4NzYxNSwicGF0aCI6Ii8xNzI1MDYwNy8zMjk5NjU4MTktZjBkNGE0ZjUtZDY5ZC00ZTI3LWJiYzctM2QxNTlkMWQyZTZiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAyVDE0MzMzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ2ODNjZWI4NTQ4ZDg4MWMzZDUwNGJkYWE3ZWZkMzU0NDFjMGM2ZGYzNzhjMDEwZTNlYTZiOWU4MmRmNTg2MjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.n6-8eNjYSQVY-4gCHTM_asFmjWvFLhaWmZ0Yv9KKnOc)
New:
![image](https://private-user-images.githubusercontent.com/17250607/329967681-8e154ff7-996a-4556-9406-daa355d4184a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyODc5MTUsIm5iZiI6MTcyNTI4NzYxNSwicGF0aCI6Ii8xNzI1MDYwNy8zMjk5Njc2ODEtOGUxNTRmZjctOTk2YS00NTU2LTk0MDYtZGFhMzU1ZDQxODRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAyVDE0MzMzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJjYjcyOGZiMjc4MGIwMjFiMDg2MjkzMDc3OTdkYzBmM2RjOGY4YjhlYjBhM2U4ODRmYmQ4YzYyNWVmNGE5NjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.dNx4QI92V_p7Qsh3RSVvSZyN1q2QyubTJzp3ZJ-AFgA)
Related Issues
#513