-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filtering #140
Comments
If you need to make manual changes to the vector data prior to creating the raster label masks, I'd recommend a slightly different workflow:
Sorry if that's a lot of steps! And let me know if this works out. This would be a nice example to feature if you get the workflow working |
You can use I'd only make the change directly in OSM if (1) these are actually inaccurate labels (not just false positives for your specific task) and (2) you can wait a few days for it to be available in either the OSM QA tiles or a pbf extract |
@drewbo Hi Drew, I have tried to modify my personal dataset using your workflow. There are a few things that I want to mention and ask.
|
|
@drewbo Saving QA tiles to /filter.mbtiles Traceback (most recent call last): However, if I download mbtiles without using the geojson file (exclude the geojson parameter in config.json) first, then run labels process with geojson parameter included in config.json, the program will run without throwing error and masks can be successfully retrieved. Is this supposed to happen? Also, when is the geojson file used by the label-maker? Sorry for asking about the fundamental problems. I have attached my config.json file and the geojson file I created with this reply. |
@VicXue the |
@drewbo Does this mean I need to prepare separate config.json files when using different commands? Is there any reason regarding why the download command actually take the geojson parameter at the first place? Can't it ignore unnecessary parameters? |
Ah, I'm rereading the thread and now I better understand the problem. The |
Hi, |
@nnRichterNN I think it's correct as is but it's a little bit of a hack:
|
Hi,
I'm currently working on a project that requires me to retrieve tree area in aerial images. I found this project really promising. However, I also found out some masked areas in the openstreetmap contain false-positives. For example, mask data imported from LINZ's topographic maps are usually shifted from actual tree areas. I'm wondering with current utility of the config.json file, is there anyway to filter such data out of my training dataset as I don't want too much FP?
Here is my current config file:
"country": "new_zealand", "bounding_box": [175.1848,-37.8868,175.4386,-37.6892], "zoom": 18, "classes": [ { "name": "Woods", "filter": ["==", "natural", "wood"] } ], "imagery": "http://a.tiles.mapbox.com/v4/mapbox.satellite/{z}/{x}/{y}.jpg?access_token=MY_ACCESS_TOKEN", "background_ratio": 1, "ml_type": "segmentation"
Thanks
The text was updated successfully, but these errors were encountered: