Comments (3)
Great suggestion, there are a bunch of other related functions that would be useful too: https://postgis.net/docs/reference.html#Linear_Referencing
I'll consider implementing these as the next major feature.
from simplefeatures.
The reason that LineString
isn't implemented as []Point
is that Point
may optionally be empty (i.e. WKT POINT EMPTY
). However, the coordinates that make up a LineString
cannot be empty.
That's a good suggestion for exposing a Line
object. There is an internal object that is very similar, I'll take a look to see what the implications of exposing it might be.
from simplefeatures.
This is a high-quality spatial geometry analysis package
I have some immature suggestions
- LineString with []Point may be easier to understand
- Coordinates are literally multiple points, and Coordinate may be more appropriate
- line composed of two points is called segment in JTS(https://github.com/locationtech/jts/blob/master/modules/core/src/main/java/org/locationtech/jts/geom/LineSegment.java). export with Line is also very useful
from simplefeatures.
Related Issues (20)
- Don't use trigonometry when sorting half edge records radially
- Set operations don't run DCEL algorithm when one operand is empty
- Make polygon construction easier HOT 1
- Ensure DCEL outputs are stable with regards to ordering
- IgnoreOrder shouldn't be a variable
- Investigate proper GeoJSON winding order HOT 2
- Make the `rtree` package internal HOT 3
- Store `cmprefimpl` strings in a separate file
- Omit additional nodes created by DCEL algorithm in output
- Add fuzz tests
- Use a Makefile for CI rather than executing scripts directly
- Different result WKT & WKB HOT 3
- panic with Union HOT 9
- Don't use node 12 for CI
- Use latest version of GEOS for testing
- Consider removing constructor options HOT 2
- Wrap GEOS CoverageUnion
- Use multiple versions of GEOS in CI
- Add Envelope to rtree.Box helper
- Add a `String() string` method to envelope
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simplefeatures.