Comments (6)
@snarb Have you tried modifying the interpolation_distance
parameter?
This error has occurred before and is documented in the Frequently Asked Questions section, but a more user-friendly error message is definitely needed to avoid misunderstandings.
from centerline.
Have you solved this problem?
from centerline.
Hi,
sorry for the delay, I've been quite busy lately to investigate this more thoroughly, but pull requests are always welcome.
Essentially, this is a well-known and documented edge-case that depends on the user's input, i.e. provided interpolation_distance
. Adjusting this parameter should allow you to construct the centerline.
All that remains is to provide a more "user-friendly" error message.
from centerline.
from centerline.
@snarb I'm sorry, but I wasn't able to reproduce this issue. A test that tries to reproduce this issue was added in 4aefa54, and the centerline object is created successfully.
Could you please check the input data?
from centerline.
thank you!
from centerline.
Related Issues (20)
- shp2ceterline issue HOT 1
- Results not as expected HOT 7
- Error when MultiLineString degenerates into LineString HOT 3
- fiona.open error HOT 1
- Ubuntu 16.04 install issues HOT 1
- Initial simplex is flat (facet 1 is coplanar with the interior point) HOT 2
- Problems to create centerline when I have used Multipolygon HOT 3
- Setting custom attributes on geometry objects is deprecated, and will raise an AttributeError in Shapely 2.0
- Centerlines have "skeleton" like elements HOT 4
- [Question] How to remove /avoid those lines? HOT 1
- ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0
- shapely 2.0.0 issue HOT 2
- TypeError: __new__() got an unexpected keyword argument "XXX" HOT 4
- Can not install version 1.0 HOT 6
- Python 3.7 support HOT 1
- Question about: Reverse caculate width if have centerlines HOT 6
- A ~30 time faster implementation using shaplely 2.0 and Geopandas ? HOT 1
- Cite! HOT 2
- Ran Into this issue while running - Not enough points to construct initial simplex HOT 13
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 centerline.