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

Aggiungere formato SVG #15

Closed
4 tasks done
jenkin opened this issue Feb 8, 2024 · 2 comments · Fixed by #21
Closed
4 tasks done

Aggiungere formato SVG #15

jenkin opened this issue Feb 8, 2024 · 2 comments · Fixed by #21
Assignees
Labels
be Backend stuff (python) enhancement New feature or request

Comments

@jenkin
Copy link
Member

jenkin commented Feb 8, 2024

Sarebbe interessante offrire anche un rendering vettoriale dello shapefile in formato SVG con l'aspect ratio del bounding box della geometria. In questo modo si potrebbe embeddare facilmente in una pagina web come immagine.

Tasks

@jenkin jenkin added enhancement New feature or request good first issue Good for newcomers be Backend stuff (python) labels Feb 8, 2024
@jenkin
Copy link
Member Author

jenkin commented Feb 8, 2024

Pre-requisiti: python, svg.

@jenkin
Copy link
Member Author

jenkin commented Feb 23, 2024

Ho testato svgis e funziona benone, aprirò una PR nei prossimi giorni.

image

jenkin added a commit that referenced this issue Feb 27, 2024
Add SVG output via [svgis](https://svgis.readthedocs.io/en/stable/index.html).

Add PNG output via [CairoSVG](https://cairosvg.org/).

Add JPG and WEBP outputs via [Pillow](https://pypi.org/project/pillow/).

Refs: #15, #16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
be Backend stuff (python) enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant