[Qgis-user] Very simple webgis in just one single svg file

Carlos Cerdán sig.upagu at gmail.com
Sat Mar 1 21:37:21 PST 2014


SVG Volume 2.1 (Fixed):

1) Download this file:  Index.svg
<http://byogtrafik.ramboll.dk/SandBox/QGIS_svg/Index.svg>

2) Export your own map as a svg from the print composer and save it as
"Map.svg" (Or download
http://byogtrafik.ramboll.dk/SandBox/QGIS_svg/map.svg, but save with
capital letter "M")

3) Export a legend of previous map as svg from print composer and save it
as "Legend.svg" (Or download
http://byogtrafik.ramboll.dk/SandBox/QGIS_svg/legend.svg but save with
capital letter "L").

IMPORTANT for Linux users: save the file name with first letter capital
because if not, it doesn't show the Map and Legend ("Index.svg" is linked
to these names - see it with a text editor as gedit)

Put the files 1, 2 and 3 in the same folder and open index.svg in your web
browser to get  an amazing SVG map with capabilities of zoom and moving.
Some times Internet Explorer doesn't open it, just the code, so it's better
to use Firefox or Chrome.

Thank you Magerlin,

Carlos



2014-02-25 14:17 GMT-05:00 magerlin <MAP at ramboll.dk>:

> SVG Volume 2:
>
> 1) Download this file:  Index.svg
> <http://byogtrafik.ramboll.dk/SandBox/QGIS_svg/Index.svg>
>
> 2) Export your map as a svg from the print composer and save it as
> "map.svg"
>
> 3) Export a legend as svg from print composer and save it as "legend.svg"
>
> Put the files 1, 2 and 3 in the same folder and open index.svg in your web
> browser to get  this
> <http://byogtrafik.ramboll.dk/SandBox/QGIS_svg/Index.svg>
>
> Once again I have to warn against big svg files - the map.svg file is 3MB
> in
> the above example and IE will not show all the coloured building polygons
> while other browsers do.
>
> Also note that Chrome and Opera can handle compressed svgz files but
> Mozilla
> and IE cannot.
>
>
>
> -----
> Regards Morten
>
> Qgis 2.0.1 OSGeo,
> Windows 7, 64bit
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Very-simple-webgis-in-just-one-single-svg-file-tp5105612p5105912.html
> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140302/b5882d05/attachment.html>


More information about the Qgis-user mailing list