Comments (6)
This all sounds good to me. For the first item we could use the universal configurable tags.filter
in the configuration (e.g. "tags.filter": "!roller_coaster"
).
from atlas-checks.
@Bentleysb, please assign this task to me.
from atlas-checks.
@atiannicelli, @Bentleysb, 1) done. for 2,3) im seeking for your suggestion. all validations for InvalidGeometryCheck occurs in GeometryValidation class, which also generating flag message. GeometryValidation works only with RawGeometry. It has to be refactored to work with Atlas objects (Area, Edge, etc..). Also GeometryValidation is used by other Checks as well.
from atlas-checks.
@vladlemberg Could you use GeometryValidator to indicate that issue and then just add to the error message that is returned? In other words:
instead of
"Geometry is Not Simple: Linear geometry intersecting itself at interior points (points other than the boundary)."
make it:
"Way 985261221 failed validity check: Geometry is Not Simple: Linear geometry intersecting itself at interior points (points other than the boundary). The way intersects with itself at [33.2643718, 44.4938849]"
f"{type} {osm_id} failed validity check: {reason} {intersecting points}"
You would need to do a little bit of work to get the intersecting points (or issue points) from each failing feature, but I think it would be best to do all of this in the check and not change the GeometryValidator
from atlas-checks.
I take it back. I just looked and I only see one other check using GeometryValidator. And that check doesn't use the error message - just the existence of an error message.
I personally would do as you suggested and refactor GeometryValidation to work with Atlas Objects and return an error message that is more detailed. But I'll let @Bentleysb comment.
from atlas-checks.
@Bentleysb, please close this issue.
from atlas-checks.
Related Issues (20)
- [Bug] javadoc encoding options? HOT 2
- [New Check] Admin Boundary Role Check HOT 3
- [Bug] ConnectivityCheck Dead End Logic Does Not Account For Reverse Edges HOT 1
- [Bug] OrphanNodeCheck flags all nodes as orphans when -keepAll is set HOT 1
- [Feature Request] Allow s3 link to config when submitting Atlas Checks to spark
- [Bug] FloatingEdgeCheck Airport Relations
- [Bug] OverlappingEdgeCheck Pedestrian Area Definition HOT 1
- [Bug] LineCrossingWaterBodyCheck flagging some things it should not. HOT 1
- [New Check] Separate Sidewalk Tag Check HOT 2
- [Feature Request] Add 15k limit for maproulette upload command? HOT 1
- Issue: Gradle run failed. HOT 5
- [Bug] LevelCrossingOnRailwayCheck doesn't recognize disused level_crossing HOT 3
- [Bug] LevelCrossingOnRailwayCheck doesn't recognize railway=tram_level_crossing as valid tram/road intersection HOT 1
- [New Check] EnclosedBuildingNodeCheck HOT 2
- [New Check] LoneBuildingNodeCheck HOT 2
- TAS - AddressStreetNameCheck HOT 2
- [Bug] Atlas date parsed incorrectly in Construction check causing crash. HOT 2
- Issue: Build failed HOT 4
- incorrect reporting tab
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 atlas-checks.