| Crates.io | proj4wkt |
| lib.rs | proj4wkt |
| version | 0.1.1 |
| created_at | 2023-06-08 14:42:51.549998+00 |
| updated_at | 2025-09-19 21:58:28.791637+00 |
| description | Parse WKT to Proj strings |
| homepage | https://github.com/3liz/proj4wkt-rs/ |
| repository | https://github.com/3liz/proj4wkt-rs/ |
| max_upload_size | |
| id | 885537 |
| size | 85,221 |
Convert WKT strings to proj4 strings.
Support both WKT1 and WKT2 formats.
This is a companion crate for proj4rs: because of this conversions are limited
to projection supported by proj4rs. As more projection will be supported in proj4rs, more conversions will be supported in `proj4wt.
Documentation on doc.rs
Install wasm-pack
wasm-pack build --target web --no-default-features
Or if you have installed cargo-make, use the following command:
cargo make wasm
There is a [index.html] file for testing the WASM module in a navigator.
For security reason you need to run it from a server; you can pop up a server from python with the following command:
python3 -m http.server
The server will automatically serve the index.html file in the current directory.