Comments (9)
- The description states that we took the shape from the Natural Earth (as a .shp), then loaded the shape, applied a 500m buffer and saved it. You can find it in the repo under
example_data/svn_border.geojson
- In the cell where the selection is visualized you can also see which cell the corresponding ID belongs to. The ID 616 was chosen since the area contains all of the main landcover classes. I just re-rean the notebook and don't get an error, did you perhaps change something?
from eo-learn.
Also, feel free to report any oddities you find, we're always keen to improve the examples
from eo-learn.
Thanks for your quick reply! Ah, cool. I actually did not even come so far in the tutorial yet and hence did see the selection visualisation.
One more thing: If I apply the code to another country (e.g. Germany) what do I need to change? The selection visualisation displays all bboxes shifted to the right of the actual country borders. I guess it has to do with the crs?
Thanks again!
from eo-learn.
Sounds like you should double-check that the CRS match, yes
from eo-learn.
Actually the CRS matches. Did not change anything compared to the Slovenia example.
country = country.to_crs(epsg=32633).buffer(500)
Plotting the bbox_gdf
looks weird...
country crs:
`Derived Projected CRS: EPSG:32633
Name: WGS 84 / UTM zone 33N
Axis Info [cartesian]:
- E[east]: Easting (metre)
- N[north]: Northing (metre)
Area of Use: - name: Between 12°E and 18°E, northern hemisphere between equator and 84°N, onshore and offshore. Austria. Bosnia and Herzegovina. Cameroon. Central African Republic. Chad. Congo. Croatia. Czechia. Democratic Republic of the Congo (Zaire). Gabon. Germany. Hungary. Italy. Libya. Malta. Niger. Nigeria. Norway. Poland. San Marino. Slovakia. Slovenia. Svalbard. Sweden. Vatican City State.
- bounds: (12.0, 0.0, 18.0, 84.0)
Coordinate Operation: - name: UTM zone 33N
- method: Transverse Mercator
Datum: World Geodetic System 1984 ensemble - Ellipsoid: WGS 84
- Prime Meridian: Greenwich`
Country plot looks good:
from eo-learn.
The notebook uses UtmZoneSplitter
so for large countries you'll get the bboxes with different CRS (corresponding to the appropriate UTM zone, see here). The notebook assumes that all the BBoxes share the same CRS when the geodataframe is constructed.
from eo-learn.
Thanks! And is there an easy way to circumvent this problem of different CRS and still get the same result?
from eo-learn.
Working over multiple CRS brings a whole set of issues. However for this example I believe you should only have problems when displaying results (the bbox_gdf seems to only be used for plotting purposes).
Another angle is also that here we focus on only 9 EOPatches, partially to conserve data, and also because we the LGBM model for predictions we don't need to have an enormous amount of data. So you can just focus on a sub-area of Germany in order to run this notebook.
from eo-learn.
Assuming it was resolved due to inactivity
from eo-learn.
Related Issues (20)
- [BUG] ImportError: cannot import name 'PointSamplingTask' from 'eolearn.geometry' HOT 5
- readthedocs links not working HOT 1
- [FEAT] Enable timestamp filtering from interval end towards interval start HOT 5
- [BUG] SentinelHubInputTask downloads incorrect timestamps HOT 6
- [BUG] Issue with the SpatialResizeTask in ImportTiffPipeline when using the resolution approach HOT 5
- [BUG] eo-learn installation issue due to open-cv latest update on Dec 30, 2022. HOT 2
- Registration HOT 4
- [BUG] Failing tests on MacOS related to lock-related EOExecutor tests HOT 1
- [BUG] Reading EOPatches saved with eo-learn 0.10.1 with eolearn 1.4 HOT 2
- [HELP] Where has eopatch_to_dataset gone? HOT 6
- [FEAT] TDigestTask handle nans HOT 1
- [HELP] Error when I'm trying to run land-cover-map HOT 5
- [HELP] Perform sen2cor atmospheric correction on L1C EOPatch HOT 2
- [HELP] Using eo-learn for the classification of land surface types of Ukraine HOT 23
- Why I have problems with these imports? HOT 3
- ExecutableNotFound: failed to execute WindowsPath('dot'), make sure the Graphviz executables are on your systems' PATH HOT 3
- how do i fix this HOT 2
- CRSError in rasterio when using ExportToTiffTask HOT 6
- `eo-learn` 1.5.0 migration guide
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 eo-learn.