Closed eblondel closed 1 year ago
@juliepierson @mrouan @wheintz i've imlemented a converter for bbox when this one is not in WGS 84 (EPSG:4326). Can you test it?
Works ok for us !
Cool!
Hi @blondel, not sure if this is related but I'm trying to import a geotiff in EPSG:2154, I get this message in geoserver when I try to visualize it : The request bounding box has zero area: SRSEnvelope[0.0 : 0.0, 0.0 : 0.0]
In XML, native bb and latlon bb are empty : `
Can you send me the geotiff?
Thanks, I'll send you a link via email.
i've pushed some tentative fix. Let me know
Thanks, will try it on monday morning ! Have a nice weekend
Just tried, I get this error :
Error in if (self$srid != 4326) { : l'argument est de longueur nulle
Erreur dans withVisible(...elt(i)) : Workflow failed during execution, check logs at: /home/pierson/Travail/projets/indigeo/import_avec_r/geoflow/jobs/20230116092320/job-logs.txt
And here are the last lines of the log file :
[geoflow][workflow-maraisbreton][INFO] sourceZip = FALSE: source files will be uploaded
[geoflow][workflow-maraisbreton][INFO] Read GeoTIFF '/home/pierson/Travail/projets/indigeo/import_avec_r/geoflow/jobs/20230116092320/entities/tempid2/data/2022-06-13_MaraisBreton_MS.tif'
[geoflow][workflow-maraisbreton][INFO] Overwriting entity bounding box with Geotiff bounding box
[geoflow][workflow-maraisbreton][INFO] Reset Geoserver API manager
[geoflow][workflow-maraisbreton][INFO] Reset Geonetwork API manager
[geoflow][workflow-maraisbreton][INFO] Reset CSW client
do you have a srid set initially in your table (SpatialCoverage)?
No, do you want me to test with that ? like srid:2154 ?
yes please, just to test if the rest works.
It works ! Thanks !
Great, thanks for your feedback :-)
The GMD schema restrains the
EX_GeographicBoundingBox
element to be specified in WGS 84. The spatial bounding box, defined from the geoflowSpatialCoverage
should be converted to WGS 84 (EPSG:4326) if defined in another SRS.