Questions tagged [svg]

Acronym for scalable vector graphics. An XML-based graphics file format that describes two-dimensional vector images, including animation.

Filter by
Sorted by
Tagged with
1
vote
0answers
21 views

Is it possible to embed directly a SVG code in an “image element” in the map composer in QGIS?

I'm trying to implement custom SVG files in the map composer, I was able to add everything I wanted through HTML elements, but I want to add a custom "functional" North Arrow so I need to ...
1
vote
0answers
34 views

Shapefile To svg to dxf and back to shapefile

I need to edit a complex vector polygon layer based on a raster layer. It will be a lot easier for me to do the drawings in an illustration software like Inkscape and then to import it back to QGIS. ...
0
votes
0answers
20 views

Web-based QGIS?

Our graphic designer is using QGIS to create .svg files of streets and buildings so it can be later opened in Adobe Illustrator and prepared for one of our company's clients (he uses layered svgs to ...
2
votes
2answers
66 views

How to import SVGs to QGIS without QGIS changing it?

I've been having problems with importing .svg-files to QGIS (LTR 3.10.5). This is how the image looks in Photoshop CC (then exporting as SVG). And this is how the SVG translates into QGIS. Basically ...
0
votes
1answer
48 views

Put an image file on the map in QGIS without coordinates

Is there any way to put an image file on the map in QGIS 3.12.1 and move it anywhere. For example, there is a map with national parks and I want to add an image (SVG) as a symbol, without coordinates ...
1
vote
1answer
49 views

Combine D3 node and HTML

I followed this example of putting a d3 graph in a leaflet popup. The code returns with div.node(). What exactly is a node? I would like the Leaflet Popup To display this custom HTML, and then have ...
1
vote
0answers
39 views

Using The Labeling Engine API vs. The simple labeling interface API in QGIS 3

I am working on a project where I am to label city maps. I want to label roads and buildings with text, and some point locations with symbols where I use SVGs and TrueType font. As labeling result, I ...
2
votes
0answers
102 views

Why does leaflet treat an svg file differently in an image overlay than a png file and how can I prevent this?

I have a vector graphic in adobe illustrator format (ai). I would like to partially (only some layers) display this graphic as a basic map. I exported most of the layers of this vector graphic as ...
0
votes
0answers
55 views

Read (and write) SVG from Geopackage with QGIS

There is the possibility to save the style of a layer in a geopackage: Layer.saveStyleToDatabase This style can be read by QGIS without additional code. But is there a way for QGIS to read SVG ...
0
votes
0answers
45 views

QGIS 3: How to access additional SVG symbols

I want to create a map with a complex style and loaded a couple of additional SVG-libraries on my disk to the folder /usr/share/qgis/svg/ (I am on a Linux machine, running QGIS 3.10.1). I have ...
1
vote
1answer
58 views

Display SVG icons in polygon layer using PyQGIS3

I have this code to set SVG icons only for selected features. It works, but only with point geometry, while I have a layer with polygon geometry. How can I modify this code to works also with polygon ...
0
votes
0answers
50 views

Set a SVG icon for only one feature using PyQGIS

In my QGIS3 Plugin I have a multipolygon layer. I need to set programmatically a SVG icon for a selected feature, without changing the style of the other features. Basically I need to replicate what ...
3
votes
1answer
73 views

Exporting shapefiles as SVG polylines

Recently I've been using QGIS to create fracture tracemaps as line shapefiles. I need to export these lines as an SVG that uses the tag polylines rather than paths. I've used the SimpleSVG plugin but ...
1
vote
1answer
76 views

Viewing all road names when zoomed out

I am trying to view all road names when zoomed out at this projection in QGIS - ideally at a font size of about 2. I'd then like to export this as a PDF. Can this be done?
1
vote
1answer
60 views

Is there a limit on the size of the SVG point symbols in GeoServer?

I am adding an SVG icon on the map, but I got very small icon. I would like to get the icon size 30% or 50% larger than it is now. I tried to scale the icon, but I think that GeoServer has a size ...
2
votes
0answers
258 views

Getting polygons from PNG images for the QGIS Shapefiles

I would like to have ready polygons (borders) from some .PNG image and use them in QGIS as a shapefile. My file looks like this: which is crude raster PDF. My goal is to execute all borders (marked ...
2
votes
0answers
138 views

SVG symbols for water management

I'm searching for SVG of different (german) hydrant types ("Unterflurhydrant", "Überflurhydrant", "Hydrantenschacht") etc. The symbols are currently stored as polygons in MapInfo's proprietary .TAB (...
1
vote
0answers
34 views

Fitting .svg on layer with georeferencer using QGIS

I am using QGIS 3.4. I'm trying to fit an image (as an exercise) using the georeferencer, but I don't understand the result. The srs I choose seems to be correct, and my coordinates (on several ...
2
votes
2answers
90 views

PyQgis: Extract SVG-Symbols and SVG-Paths of all Layers of my QGIS Project

I want to extract the SVG-Paths and SVG-Symbols for all Layers in my QGIS Project. The purpose is to open the SVG files via a plugin (so via PyQgis) and I don't know how to do so. I checked the QGIS ...
1
vote
1answer
94 views

SVG does not show up in OpenLayers

I tried adding an SVG as a layer on my map but it does not show up. //For registering EPSG: 2326 import * as proj4x from 'proj4'; var proj4 = (proj4x as any).default; import {register} from 'ol/...
7
votes
1answer
179 views

Using QGIS variables within SVG graphics

If you use SVG symbols within QGIS you can use params like these so you can adjust properties interactively in QGIS: fill = param(fill) fill-opacity = param(fill-opacity) stroke = param(outline) ...
0
votes
0answers
85 views

How to use SVG file as the source for a layer in OpenLayers

I found this solution online but this is defining your own projection. I do not want to use the projection below, I want to use 'EPSG:2326' and put the svg file over the map such that it overlays on ...
0
votes
2answers
82 views

Exporting heat map / texture maps as SVG without referenced PNG files?

When I create a map in QGIS and export it to SVG format, if there is a heat map or topographical texture map layer, those layers are exported as PNG files referenced by the SVG file. Is there any ...
2
votes
0answers
51 views

Accessing .svg symbols in QGIS?

There was a lot of svg-files included when installing QGIS (C:\Program Files\QGIS 3.4\apps\qgis-ltr\svg), but the program can't really seem to find these. I've made sure the path is correct under ...
0
votes
0answers
117 views

Conversion from DXF to SVG

I want to convert a file from DXF to SVG and for that I am writing a python script. However, While converting from DXF to SVG there are certain features that are different such as xOffset, yOffset, ...
1
vote
2answers
107 views

Pixelated result using SVG as label background?

I have points that are labelled with a 2-digit numeric attribute, shown by default with a circle background (white fill, coloured outline of 1 map unit, buffer of 1 map unit beyond the label). I have ...
1
vote
0answers
47 views

Transformation issue with SVG to GeoJSON conversion

I have a vector image in SVG format. (without georeferences) I am trying to display it using OpenLayers to display properties of different polygons in it. I tried converting it to GeoJSON but the ...
0
votes
0answers
45 views

SVG to GeoJSON conversion - incorrect render [duplicate]

I have a vector image in SVG format.(without georeferences) I am trying to display it using OpenLayers to display properties of different polygons in it. I tried converting it to GeoJSON but the ...
0
votes
1answer
106 views

Creating ArcGIS markers (North Arrows) for QGIS? [closed]

I came across a PDF containing dozens of north arrows used in Esri's ArcGIS. QGIS doesn't have many fascinating north arrows, to be candid. I thought of creating SVG icons of these north arrows and ...
1
vote
0answers
49 views

Pictures with isobaths to a 3D Model in a Browser

I have pictures of lakes with isobaths (*). The result should be a 3D model in a browser. I tried to make a vector image, but this results in a SVG. I can not import it. How do I make a layer of the ...
1
vote
0answers
25 views

Flat image output in TileMill SVG export

I have created a map in TileMill using OSM data (~500 Mb) and modifying the CartoCSS to fit my use case. I need to export it as an SVG with all the different objects being vectors etc. However, when ...
1
vote
1answer
65 views

How to delete default SVG-paths in QGIS

Under "Settings -> Options -> System" the SVG-paths are set. There are two default svg-paths: C:/PROGRA-1/QGIS3/apps/qgis-Itr/./svg/ and C:/Users/jan/AppData/Roaming/QGIS/QGIS3\profiles\default/svg/...
0
votes
0answers
353 views

Custom SVG world map usable for react-simple-maps (topojson, d3-geo)?

A client has supplied a "custom" SVG containing a very detailed world map that includes id's for all countries. I'm not sure how "custom" it is. Is it at all possible to convert it to topojson, which ...
1
vote
1answer
78 views

SVG's as map layers, any other way?

I have a map in SVG format. I can import it as an SVG symbol, scale it, rotate it and geolocate it, all as a symbol. This is great as I get all the plusses of a scalable vector graphic. I.e. when I ...
0
votes
2answers
238 views

Zoom to points using d3SvgOverlay

I have an application where a csv file is filtered and the filtered data is displayed on a leaflet map. What I would like to happen is for the map to zoom in to the points. I have tried using ...
1
vote
0answers
34 views

QGIS extracted azimuth used for symbol rotation seems not reproduced faithfully [closed]

A field of calculated azimuths* (degrees) of digitized two-point lines was created. Field expression to calculate azimuth: degrees( azimuth( point_n( $geometry ,1) , point_n( $geometry ,2 ) ) ) . ...
1
vote
1answer
40 views

QGIS, I uploaded an SVG file as a label. I set the size at 7 however I have two labels appearing massive

Here is a photo below. I am using QGIS 2.18.14 How can I solve this issue and possibly have the labels spread out throughout the rest of the lines and not limited to the ones above?
3
votes
1answer
453 views

Searching oil well SVG-symbols

I’m looking for a set of SVG oil well symbols for QGIS. Black Bart data: http:// blackbartdata . com / QGIS_Petro_SVG_Symbols Just directs me to a spam page. Any other alternatives? This is a ...
2
votes
0answers
55 views

Map view does not render full SVG, but layers pane and print layout does?

In map view where I want to do all design and small changes the SVGs for "MELLANTID" does not render the added outline, only original size. The SVG for "SJUKVARD" only renders the left half of the SVG,...
1
vote
1answer
764 views

Structural geology SVG symbol library

Is there a public source with an SVG library of symbols for structural geology mapping in QGIS ?
3
votes
1answer
454 views

Export as SVG with path / polygon IDs

I imported two layers to my Project (one is a shapefile from natural earth, the other is built out of lon/lat Points in a csv-data-file) QGIS fits the two graphics perfect together. Now my goal is to ...
5
votes
1answer
362 views

Blinking symbology in QGIS on database values

I made a geopackage to plan Aids-to-Navigation for maritime environments. In my database I have a few fields that describe the character of the lights that are to be placed on the planned A-to-N's. ...
0
votes
0answers
43 views

Trying to figure out ArcGIS API's `mapScale` variable and how it maps to OpenStreetMap's zoom level

I'm using ArcGIS' /export endpoint to get an .svg of a few map layers given a specific bounding box. However, when I apply the .svg as an image overlay to OpenStreetMap's world map using Leaflet, the ...
0
votes
2answers
248 views

Applying SVG marker as additional symbol to polygon layer in QGIS 3

I would like to add SVG markers as an additional symbol to a polygon layer. The polygon layer is rendered with a categorized symbol renderer with different fill-color, and I want to add SVG markers ...
1
vote
2answers
344 views

Tool to retrieve coordinates from SVG file

I have an .SVG file of a map with known extreme North/South/East/West coordinates of the area, and I'm required to retrieve coordinates of certain points on it. What free/freeware software tools, ...
1
vote
2answers
2k views

Transforming .osm file into a .svg file with an equivalent geometry, without applying styling

I have an existing .osm file (containing a small part of OpenStreetMap database). I am looking for way to convert it into .svg file. Note that I am not interested in applying any styling based on ...
0
votes
0answers
112 views

Filling Polygon with SVG File so it Will Appear Only One Time in QGIS 3.4.2

I have a layer that shows the world, without Antarctica and small islands. This layer is made of five different polygons. I want to fill it with an SVG file that is displayed non uniform background. ...
5
votes
3answers
2k views

Changing colour of imported SVG icon in QGIS 3.4

I have imported my customised icon (which was obtained through the .jpeg image conversion) for point layers using an SVG file. This works well except for the fact that the original colour was ...
1
vote
1answer
52 views

Show differenet SVG icons on one layer at runtime

I need to show several SVG icons (more than 388 icons) with different name on a single layer(if possible on memory layer). I am using QGis 2.8 and qt4.8.6 The icons represent different kind of ...
1
vote
2answers
94 views

Moving SVG in QGIS?

I have a SVG icon that I want to move. The problem is that the I am working in a big scale and it is hard to click on the right location on the icon. If I am not clicking precisely on the spot it ...

1
2 3 4 5 6