-
Notifications
You must be signed in to change notification settings - Fork 386
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
questions related to offline geotiff image and export option #200
Comments
Here's a quick and unoptimized tiler script; if your use case gets more involved you should definitely look into better ways of doing this: https://gist.github.com/daniel-j-h/69a967d63d833f74a123e2540bd146b9
|
@jaigsingla, to complete @daniel-j-h answer, on imagery tiling: HTH, |
Hello daniel, Request you provide all dependencies as a zip or virtual environment image >> thanks |
Look into
to create a self-contained docker image tarball, get it onto your machine, and load it again. |
Hi daniel, After going through your post, we need followings: I want to simulate entire scenario using bavaria data-sets first but i am unable to fetch the same. |
Please read the documentation for our tools and read through the diary posts here https://github.com/mapbox/robosat#overview they explain in detail how to run the pipeline, where to get the training data from, and so on. |
ok thanks. |
Do you have a stack trace? Which version are you running, latest? How does your geojson file look like? |
Stack trace. I used latest version only. geojson file is clipped over Ahmedabad, India . 0%| | 0/482 [00:00<?, ?feature/s] |
How did you generate the GeoJSON? What type of features do you have in there? From what I can recall we were supporting "Polygon" features only due to the supermercado dependency limitations. For our extract tool see And supermercado upstream tickets |
There is osm building shape file available over ahmedabad. Cropped subset over Ahmedabad was taken as an input and using QGIS I just saved this in geojson format and use for further processing. |
Yeap you have features in there which are not Polygon. The upstream supermercado library does not support that, see tickets linked above. I recommend you generate a GeoJSON file with Polygon features only. |
@jaigsingla You could also give a try to Cf: |
@ocourtin can you share practical example of this ? and i guess we need to perform tilling on this also?? |
@daniel-j-h but these are polygons only ?? |
https://github.com/datapink/robosat.pink/blob/v0.5.5/docs/101.md#retrieve-and-tile-labels
If your labels are vector ones (GeoJSON or PostGIS), HTH, |
Hi daniel, |
You'll need libspatialindex - but you really should just use the pre-built docker images so that we can guarantee you have all packages. If you want to install on your own, check out the Dockerfile. |
solved again. I could convert images and osm data into slippy format using ocourtin routeins. DIvided data into training, validation and images and labels also. Can i go ahead to run train routine of yours on that data now?? |
Sure why not. |
ok. what I did is as following:
|
Okay - so what? How big is your dataset? How did you create it? Did you manually check it if it looks good? What do you want to get out of it? You have to investigate a bit on your own here.. |
My dataset is not that big. it is small image file and osm data file as shared earlier too. I created data in slippy format using commands suggested by ocourtin. Manually , I check slippy files. it is properly placed in folders and looks ok. I want to generated vector shapes from image files. I need directions to investigate |
Then what do you expect? We need a large dataset to learn from :) There is only so much magic we can do here. |
How big is your dataset? How many samples do you have in train and val? |
Input image size is 777x674 with 4 bands. |
If you have a single image with 777x674 pixel as your dataset, I don't think you will have much luck training machine learning models on it. It's way too small to learn anything interesting. |
So should I try on a bigger data set. Can you share sample from your side so that I am sure to get validated output |
Check out the diary posts in https://github.com/mapbox/robosat#overview The Tanzania example is probably as low as you should go with a few thousand of 512x512 tile images. If you follow the Bavaria diary post you can get a much bigger dataset. |
|
@hamzahkhan not tried yet. |
@daniel-j-h pls make this Tanzania dataset available as a sample here. it is very difficult to fetch exact dataset without internet. |
I no longer have access to the dataset and I'd have to fetch it from scratch myself, too. |
Hi,
It looks very nice development. I have few queries:
1.Can we run this module on Geotiff image already available in my machine if yes, how? how to convert it to slippy map format ? do one requires full scene or multiple pieces of one scene?
2. Pls give guidelines for offline (without internet ) processing.
thanks
The text was updated successfully, but these errors were encountered: