Comments (4)
We should, but then what do we do with them? Discard them? Warn user?
from 3dfier.
A error it thrown in the current version.
if (!geometry->IsValid()) {
std::cerr << "Geometry invalid: " << f->GetFieldAsString(idfield) << std::endl;
}
from 3dfier.
I'm not sure at which point during the conversion the invalid geometries occur, but I think you can safely assume that the BGT geometries are valid. There is one possible exception though which is where 1 vertex of an interior ring crosses the exterior ring by less than 0.5mm. This occurs very rarely (I have seen only two which have been fixed now).
You should however make sure when converting arcs to line segments that the density is high enough to not create self-intersections. BGT geometries are robust in that a 0.5mm threshold is used, so set the densify parameters accordingly.
from 3dfier.
The invalid geometries occurred due to broken shapefiles, code throws an error to notify.
About converting arcs to line segments, this is not as easy as stated. to be able to discretise lines topologically correct a robust arc-reversible algorithm needs to be used like GDAL which is not that easy to influence.
from 3dfier.
Related Issues (20)
- the "edit me on github" buttons in the docs are all wrong
- Experiences with current setup HOT 2
- Version 1.3 doesn't run my "old version 1.2.2" YAML file HOT 11
- BGT 3DFier HOT 3
- Height Attribute HOT 1
- DSM as input HOT 4
- Cannot read polygons from postgis in v1.3.0
- Roads weird shape
- Problem with big spikes in roads
- Attributes with special characters are not supported
- Bad results with my own dataset HOT 1
- osm data with 3dfier HOT 1
- Unsupported geometry type: Polygon / CDT update; point location not in face but on vertex.
- Config file is valid! No output generated
- ERROR 4: Unable to open EPSG support file gcs.csv.
- Error message when LAS inputs are missing
- delete the vs_build folder? it's not working anymore I reckon
- libraries error
- A problem of reading laz HOT 4
- extruding height from footprints attribute instead of using a pointcloud ? HOT 1
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 3dfier.