Tag Info

New answers tagged

0

I decided to try some alternative tools to see if I had a problem in my workflow. At the suggestion of one of the commenters above, I instead did the following: I used ogr2ogr to reproject the input shapefile into EPSG:3857. I then used shp2svg to convert the Spherical Mercator shapefile to an SVG. This resulted in an SVG file that rendered properly in ...


1

link to site on how to do embed a jpeg or png in a svg file http://snorf.net/blog/2014/02/27/embedding-pngs-in-svg-markers-in-qgis/


0

If you are open to exporting data from within QGIS, rather than from PostGIS, you could use the Simple SVG plugin. This plugin will export the active layers from within QGIS, attempting to maintain the symbology. I have uses this with some relatively good success. Additionally, you can use QGIS composer to start your maps and use their SVG export function. ...


4

The Postgis function ST_AsSVG simply converts geometries into their SVG point or path equivalents, and does not allow you to add any attributes/styling directly. For example, a query with a Point, Linestring and Polygon: WITH shapes (geom, attribute) AS (VALUES( (SELECT ST_MakePoint(0,0)),1), ((ST_MakeLine(ST_MakePoint(0,0), ...


1

I have been making my own map app using my own picture maps. Our university shifted to a new campus and I am mapping out 7 storeys (indoor), with 5 levels of zoom, from hand-drawn maps. Leaflet is able to work with custom map tiles! I have followed this guide (omarriott.com/aux/leaflet-js-non-geographical-imagery ), just that I did some trial and error ...


0

An SVG symbol containing just text is easy to create. SVG graphics are generated from a text file. I'm no expert on SVG but the following seems to work. I've only tested it quickly, but it seems to work well on QGIS SVG marker fill - and solves problems we had with fills using multiple font marker letters. Remember that you need to tell QGIS where to ...


0

Add the SVG to map.getPanes().shadowPane.



Top 50 recent answers are included