A WKT/WKB/EWKT/EWKB parser and serializer with support for
- Point
- LineString
- Polygon
- MultiPoint
- MultiLineString
- MultiPolygon
- GeometryCollection
- CircularString
- CompoundCurve
- CurvePolygon
- MultiCurve
- MultiSurface
- PolyhedralSurface
- TIN
- Triangle
A WKT/WKB/EWKT/EWKB parser and serializer.
License: MIT License
Hi
Thanks for this very useful library
I find myself using the Spatialite format more often than EWKB and am looking at the possibility of adapting your library to include that format which is an extended EWKB if you like (see
http://www.gaia-gis.it/gaia-sins/BLOB-Geometry.html).
I'm pretty confident I can manage a reader at least, but i don't have sufficient skills to follow your code completely enough, (particularly through the WkbReader.Read type variable and what that actually represents), to adapt your prototype and would have to bolt something less elegant onto it.
I was wondering if you might have any plans to support this format yourself as it is gaining popularity or could provide some tips on the best way to go about it
Thanks
Duncan
The library is excellent, however there are some formats that are assumed to be accepted WKT that don't parse with the library.
For example:
MULTIPOINT (1 2, 3 4)
parses just fine.
However MULTIPOINT ((1 2), (3 4))
throws an exception saying "Expected Coordinates"
Is there any chance that it could be modified to support the alternative format?
Hey cschwarz,
I sucessfully went from postgis ewkb to wkx geometry. I'd like to do the opposite now and send wkx geometry back to my postgis database. My web api wants a string of ewkb text to insert into postgis.
Can you show me an example of this sereralization of this geometry back to ewkb format?
I added your library to my project using the NuGet package and it's working very well! However, in order to deploy your DLL along with our other DLLs, I need it to be signed so that the system can load it.
Is it possible to have it signed, please?
Thanks!
If the data has M and Z values, the WKT to Point conversion fails. Changes were required in the WKT reader to fix this. I've already made a pull request for this issue. https://github.com/cschwarz/wkx-sharp/pull/2
There has been significant performance improvements in .Net since .Net Framework (Through .Net Core, and now .Net 5 & 6).
Can the project support .Net 5 + build targets specifically so this can be taken advantage of?
Unless I'm mistaken ofc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.