Enhancement #1084

Download an order perimeter as DXF,GML, KML or GeoJSON

Added by Blatti Yves almost 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:08/17/2015
Priority:HighDue date:
Assignee:-% Done:

100%

Category:SHOP
Target version:4.3.2
Sponsor: Ergonomic impact:

Links to each download format in the provider request view.

Functional impact:

Export perimeter in multiple formats.


Description

We'd like to propose to the data providers to download an order perimeter (for the "manual" extractions).
This allows them to open the perimeter in their application (GIS,CAD or WEB) to clip the data for the order.

We had this in V2, but in a custom code extension. We'd love to see it in easySDI.

Proposed formats are text formats, generated by openLayers or custom code. Formats list:
DXF, used by almost any CAD software (custom code, parsing openLayers features).
GML, can be read by almost any GIS application (openLayers native).
KML, can be loaded in may web apps (openLayers native).
GEOJSON (openlayers native).

Since we don't have PHP geo libraries, we propose to do it fully client side: generates the features in openlayers and export it via FileSaver.js (1).
Having it done client side offers the ability to download WFS perimeters as well (since geometries are not available in backend storage)
DXF,GML and GeoJSON would be exported in MAP SRS. KML in WGS84.

The download link would be offered in product transmission page only, next to the map.

There's a CSS Id for the download block + for each format if you want to hide one or all of them.

We have a working code ready.

(1) https://github.com/koffsyrup/FileSaver.js

download_perimeter.png (322 KB) Blatti Yves, 08/17/2015 01:34 PM

History

#1 Updated by Van Hoecke Hélène almost 4 years ago

  • Description updated (diff)
  • Status changed from Request For Comments to Accepted
  • Assignee changed from Technical Committee to Blatti Yves
  • Functional impact set to Export perimeter in multiple formats.
  • Ergonomic impact set to Links to each download format in the provider request view.

#2 Updated by Blatti Yves almost 4 years ago

  • Subject changed from Download an order perimeter as DXF,GML or KML to Download an order perimeter as DXF,GML, KML or GeoJSON
  • Description updated (diff)
  • Status changed from Accepted to Affected

#3 Updated by Blatti Yves almost 4 years ago

  • Status changed from Affected to Resolved

rev. 8934,8965,8977

#4 Updated by Blatti Yves almost 4 years ago

  • % Done changed from 0 to 100

#5 Updated by Blatti Yves almost 4 years ago

  • Status changed from Resolved to To merge
  • Assignee changed from Blatti Yves to Villemagne Jérôme

#6 Updated by Villemagne Jérôme almost 4 years ago

  • Assignee deleted (Villemagne Jérôme)
  • Target version set to 4.3.2

#7 Updated by Villemagne Jérôme almost 4 years ago

  • Status changed from To merge to Closed

Also available in: Atom PDF