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

Virtual point #7

Merged
merged 12 commits into from
May 30, 2024
Merged

Virtual point #7

merged 12 commits into from
May 30, 2024

Conversation

mdupaysign
Copy link
Collaborator

Ajouter la première fonction "créer des points tous les 2 mètre le long du tronçon hydrographique" du traitement Z du squelette

test/vectors/test_points_along_skeleton.py Outdated Show resolved Hide resolved
test/vectors/test_points_along_skeleton.py Show resolved Hide resolved
from shapely.ops import linemerge


def generate_points_along_skeleton(input_folder: str, file: str, distance_meters: float, crs: str) -> Point:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ça vaut le coup de créer dès maintenant un main qui fait la création de points virtuels, et qui pour le moment utilise juste generate_points_along_skeleton puis crée un fichier shapefile en sortie, puis de compléter ce main plus tard avec les étapes suivantes

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok je vais essayer de faire ca

@mdupaysign mdupaysign merged commit 6c63990 into dev May 30, 2024
1 check passed
@leavauchier leavauchier deleted the virtual_point branch May 30, 2024 09:47
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

Successfully merging this pull request may close these issues.

2 participants