Spectrum Spatial (SSA/LIM)

Expand all | Collapse all

Generate a png and pdf from map in SSA

  • 1.  Generate a png and pdf from map in SSA

    Posted 06-04-2019 02:54
    Hello everybody,

    I would like to know how to create a png from the map in SSA in Angular extension. I took the code of OpenLayer - https://openlayers.org/en/latest/examples/export-map.html
    https://openlayers.org/en/latest/examples/export-pdf.html
    But the code never enter in the method map.once. Does anybody know how to generate a png and then, a pdf in SSA?

    Thanks you,

    Augustin


    ------------------------------
    Augustin Boyer
    GEO RM
    Jaunay-Marigny
    ------------------------------


  • 2.  RE: Generate a png and pdf from map in SSA

    Posted 06-16-2019 21:28
    Hi Augustin,

    You could call the mapping service to get a PNG for a map, you would need to get the dimensions and locations from the current map. This may not work for what you need but could be worth a try, I'm not sure how to access the data already loaded in OpenLayers.

    Is there a reason you need to go directly to PDF? Can you present your result as html?

    ------------------------------
    Duri Bradshaw
    Spatial IT Consultant
    Insight GIS
    ------------------------------



  • 3.  RE: Generate a png and pdf from map in SSA

    Posted 07-17-2019 22:30
    Would be nice to see this as a standard feature in SSA, output to png and Word at 300 dpi would be just perfect!

    ------------------------------
    Tony Jordan
    GIS Coordinator
    District Council of Mount Barker
    Mount Barker
    ------------------------------