Comments (10)
Hi @jeff-bradley
Did you try with a different GeoTiff or always happen?
Just to understand if is something related to the GeoTiff or to the import flow
from geonode-importer.
Hello @mattiagiupponi
I was able to successfully load a very small test geotiff, but I received the error on both the wind and solar from these downloads
https://sitewindright.s3.amazonaws.com/KeyWildlifeAreas_Wind_GT_20211113.zip
https://sitewindright.s3.amazonaws.com/KeyWildlifeAreas_Solar_GT_20210907.zip
from geonode-importer.
Ok is not happening on all GeoTiff (which is a good point)
I try in local and looks like that the importer is extracting as CRS EPSG:5070
which is not one of the default accepted format.
@giohappy do you have any hints on this? how should we proceed?
from geonode-importer.
Thanks @mattiagiupponi I was able to load the GeoTiff after I transformed it to EPSG:3857
from geonode-importer.
Thanks @mattiagiupponi I was able to load the GeoTiff after I transformed it to EPSG:3857
Great news, I'll keep this open waiting an input from @giohappy. Then we can close the issue
from geonode-importer.
I've reopened and tranfered the issue inside the importer repo.
@mattiagiupponi in case of unsupported CRS a more informative error should be returned by the importer.
"An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block. Request: None" is very cryptic, to say the least :)
from geonode-importer.
May I ask if adding additional CRSs in Geoserver would also solve this problem? As described here: https://docs.geoserver.org/2.23.x/en/user/configuration/crshandling/customcrs.html
But I agree, that a better error message is key here ;)
from geonode-importer.
@jeff-bradley after some troubleshooting we found that the problem is with the CRS assigned to the Geotiff. It's not EPSG:5070 but ESRI:102039. Geoserver doesn't parese this CRS correctly (to be investigated why) but it creates the layer: Everything is fine if we reproject the original tiff to EPSG:5070.
We are going to open an issue for the importer to trigger a rollback if Geoserver fails at returning a valid CRS before pubslighing the dataset in GeoNode.
from geonode-importer.
I just merge a PR which will raise a clear error if the Srid is not recognied correctly.
At least should be more clear the issue instead of the "atomic block" exception
from geonode-importer.
This was resolved via #198
from geonode-importer.
Related Issues (20)
- Let geoserver fail if the SRID is not correctly set
- Implement XmlFilehandler HOT 6
- Implement SldFileHandler
- Shapefile handler does not accept `cpg` and `cst` files
- Layer is not updated when using API (Geonode 4.1 Stable branch)
- Geonode-importer test suite
- Upload shapefile with cst file fails
- PG_USE_COPY should be optional
- Pipe the dump of the ogr2ogr command when using PgPool
- Unable to install geonode on python 3.11 due to gdal forced version HOT 4
- Wondering why using get_geoserver_cascading_workspace HOT 2
- Migration error 0005_fixup_dynamic_shema_table_names
- Delete legacy upload code
- Cannot overwrite raster files HOT 3
- [GPKG] "must specify native_crs" HOT 2
- Raster execution request missing output_params HOT 3
- Include the id of the new resource inside the executionrequest outputs HOT 2
- CRS parsing is not correctly handled for CSV files HOT 1
- Create handler for the 3Dtiles
- Introducing assets in geonode importer
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 geonode-importer.