Comments (6)
Hi @ridoo
This is not yet fully ready. I am going to merge #203 which refactors the handler. We also need to fix the geoserver-restconfig lib before the merge.
What is your opinion on an early integration? Would it make sense only, after the geonode part has been improved?
If you want to upload XML and SLD files via API and track their status, it is possible to use it even if the front-end part is not yet ready. The API accepts the same parameters as the ones sent by the front end. the dataset_title
in the request.data is necessary to identify the dataset.
However, if you intend to allow the user to upload data through the user interface, it's better to wait until the front-end issue is resolved before proceeding. This is because even if the handlers are triggered, the user won't receive any feedback on their completion.
@mattiagiupponi as this issue is quite important for thuenen, would it be possible to create a patch release which includes this fix?
I'll sync with @giohappy when everything is ready and i'll let you know
from geonode-importer.
Hi @ridoo
Both handlers (xml and sld) are merged, i refactored them a bit since they have a common structure.
The UI is not planned for the short time i guess, but they can be used via the upload API mimic the actual XML/SLD upload
from geonode-importer.
@mattiagiupponi as this issue is quite important for thuenen, would it be possible to create a patch release which includes this fix?
What is your opinion on an early integration? Would it make sense only, after the geonode part have been improved?
from geonode-importer.
Thanks @mattiagiupponi for the clarification!
from geonode-importer.
@mattiagiupponi thanks for the info. Will the xml be used if I upload a dataset with xml file? The planned UI is for the metadata xml upload for an already existing dataset?
from geonode-importer.
@mattiagiupponi thanks for the info. Will the xml be used if I upload a dataset with xml file?
If spatial files are uploaded along with other files, the spatial handler will handle both the files.
For example in the BaseVectorFileHandler
during the resource creation in geonode
geonode-importer/importer/handlers/common/vector.py
Lines 607 to 608 in b2b038c
The handler check if the files exists and use them
The planned UI is for the metadata xml upload for an already existing dataset?
Yes, thats why we had to create this two handlers, are used only during the upload for a pre-existing dataset.
Let me know if is clear or some additional detail are needed :)
from geonode-importer.
Related Issues (20)
- Let geoserver fail if the SRID is not correctly set
- 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.