Skip to main content

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
1 answer
58 views

SVG from Inkscape invisible in QGIS

Can someone versed in SVG check the following SVG I made in Inkscape and tell me why it doesn't show in QGIS? It's invisible both in selection pane (although its name appears in the selection pane) ...
lontche's user avatar
  • 13
0 votes
1 answer
46 views

Symbols are the same in interactive map

I have a question. I want to upload my map to an interactive map in QGIS using the "QGIS2WEB" plugin. My issue is that all the symbols appear the same in the interactive map. What do I need ...
Vivien Müller's user avatar
0 votes
0 answers
32 views

GeoServer, CSS Styling, SVG parameters

I have a working SLD 1.1. on GeoServer 2.24.1 Part of SLD calls a parametric SVG image (green fill (#335b239) and red stroke(#ff0000)): <!--Parametric SVG--> <se:ExternalGraphic> <se:...
JA_LL's user avatar
  • 31
0 votes
1 answer
29 views

How to change Simple Marker to SVG Marker?

I have a line type layer and I want to add an svg type marker, I managed to add a simple marker to the layer's symbology according to the image, with the attached code. Is it possible to change this ...
Aloísio Ângelo's user avatar
0 votes
1 answer
73 views

How to save KML layer as an SVG file using QGIS

I'm working with QGIS 3.28 LTE. I want to save a KML layer as an SVG file for manipulation with Inkscape. How would I do this? I can't find the option under the layer Menu.
user1592380's user avatar
0 votes
0 answers
35 views

SLD doesn't display SVG image on certain PostGIS layers

I use a simple sample of SLD, that displays "test.svg" image via GeoServer (2.24.1) for point layers: <StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/...
JA_LL's user avatar
  • 31
1 vote
1 answer
92 views

SVG icons for Point style are not loaded in OpenLayers

I have a case in which I should display icons for locations on the map. But, it seems like OpenLayers has issues accessing page's Assets folder. Or there's another issue I'm not aware of, because I ...
mat.hudak's user avatar
  • 167
1 vote
1 answer
73 views

Export shapefile data as SVG circles

I am using QGIS and those two datasets: https://www.naturalearthdata.com/downloads/50m-cultural-vectors/50m-admin-0-countries-2/ https://www.naturalearthdata.com/downloads/50m-cultural-vectors/50m-...
Quick Maths's user avatar
0 votes
0 answers
51 views

Dynamic SVG Parameters yields only "?"

I have a folder with SVG files, which have the same name before the .svg extension as objects in a corresponding field of the attribute table of a point layer (place_town). I want to add specific city-...
Schorsch's user avatar
1 vote
1 answer
75 views

SVG Symbol in Attribute Table

i have few hundred records in table, i need to select them and add SVG symbol to correct one in QGIS. I created new rule in in attribute table, then i wrote a simple rule (thats only two of much more) ...
RebiF's user avatar
  • 41
3 votes
1 answer
170 views

Creating SVG point symbol depending on content of attribute field in QGIS

I have almost 300 localization of different airports with name by ICAO, for example my column name is "ICAO" and values are "EPGD-Gdansk", "EPWA-Warsaw" "EPWM-Warsaw&...
RebiF's user avatar
  • 41
3 votes
1 answer
153 views

Parameterizing SVG text rotation in QGIS

In QGIS, I made some custom SVG symbols for a project I’m working on and I’ve had success using parameters to control fill, stroke, and stroke width. However, I have text in the symbols that I would ...
Jacob Huffman's user avatar
0 votes
0 answers
86 views

Export all polygons to SVG using QGIS

For a game, I needed to draw the districts of my city in QGIS. I created a layer and drew many polygons on it. I have now a table with four columns, being "fid", "name" and "...
Hemmelig's user avatar
  • 143
1 vote
1 answer
200 views

Setting custom SVG icon for external GeoJSON point layer in Leaflet

I am attempting to make a public transport map of Berlin within Leaflet. I have exported layers from QGIS as GeoJSON and edited the file and added a var within a text editor. I am having some ...
Gregory C's user avatar
  • 353
0 votes
0 answers
41 views

QGIS 3.32 / PyQGIS / Python - insert data-driven vector PDF as first page of each atlas feature

I have a complex atlas with irregular number of pages for each feature (from 2 to 30 pages). I need to display a complex vector in full page as first page of each feature, but QGIS composer can only ...
On the road to Faraya's user avatar
0 votes
1 answer
55 views

Style a Polygon (speed restriction area) with just an SVG Road Sign at either end of the polygon in QGIS 3

I have a series of "zones" which are polygons along a road which have a speed attribute, I'd like to rather than just shade the polygons based on speed, actually show the 20mph or 30mph sign ...
sar_copp's user avatar
4 votes
2 answers
345 views

Automatically loading SVG symbology using QGIS

I have a point table which contains a column of Animals names. and an SVG file folder of these animals. The svg files have the same names as the animals. I would like to know if in the GIS symbology ...
Herve Mambap's user avatar
6 votes
3 answers
194 views

Visualizing point attribute (int) with multiple dots / SVGs in QGIS

I am looking for a possibility to visualize an attribute in a point layer in QGIS, by displaying multiple dots or SVG graphics. To be precise, I have a point layer about a disaster incident containing ...
jsp269's user avatar
  • 61
1 vote
1 answer
53 views

SVG rendering in GeoNode: SVG cut in 2

I try to have an SVG as a symbol in GeoNode but my svg is cut in 2. Here is my svg : and here's my layer style SLD in GeoServer <?xml version="1.0" encoding="UTF-8" ...
Céline Bassine's user avatar
1 vote
1 answer
93 views

GeoServer unable to validate SLD created in QGIS

I'm creating an SLD file using QGIS 3.28.3, but when I try to validate it in GeoServer I get the following error message: java.lang.RuntimeException: Parsing failed for Filter: java.lang....
granit's user avatar
  • 13
-2 votes
1 answer
257 views

Make very detailed SVG map of world country borders and administrative objects

I need very detailed map for my project, in Mercator projection. I tried to find downloadable resources, even not free, but all that I have found is in very bad resolution. I need as much detailed ...
Achat333's user avatar
0 votes
1 answer
118 views

Why GeoServer illustrates SVG symbols only partially?

I have few SVG symbols that are names based on an attribute value of the table of attributes of my point ShapeFile layer. I want to illustrate the corresponding SVG for each point where the field &...
milad's user avatar
  • 719
1 vote
1 answer
471 views

How to import PDF or SVG image?

I am using QGIS 3.28 and I am brand new to this! I am simply trying to create a template with our company logo. I have created the logo in CorelDraw and AI and saved as a PDF and a SVG. I just need ...
val22's user avatar
  • 11
0 votes
1 answer
331 views

How to create a vector map from SVGs in QGIS?

Is it possible to use QGIS to import an SVG of boundaries and export it as polygons, such as each region created by the boundaries is an individual polygon that shares edges with its neighbours? If so,...
Lee Goddard's user avatar
1 vote
0 answers
39 views

Categorize the symbology using column "Type" by SVG symbols with a nested category using column "Hazard Risk" (Color) in QGIS

I have point data and I already categorized it using specific SVG symbols. Now, what I want to do is to categorize further the SVG symbols by color (Low, Moderate, High, Very High). Is there a faster ...
kalaw23's user avatar
  • 139
1 vote
0 answers
66 views

How to disable error message-dialog in apache.batik.swing when displaing a SVG file?

I get an error message box when displaying a SVG file with apache batik swing. Is it possible to turn it off or even better, get it to accept SVG-parameters? The simple code is: import org.apache....
Paul's user avatar
  • 477
1 vote
0 answers
27 views

Converted lines to one feature using Dissolve but exports as multiple features

In QGIS, I've taken all of my lines/features and "dissolved" them into one feature, but after exporting as a SVG or PDF, it imports into Inkscape as 1231 features (the amount I originally ...
Nick's user avatar
  • 125
2 votes
0 answers
71 views

Print layout is rasterized before exporting as SVG

So I've set up my layer to how I'd like for it to be exported as an SVG, but after adding the map to New Print Layout, it rasterizes my layer and makes it unusable in my other program. Is there a way ...
Nick's user avatar
  • 125
0 votes
1 answer
73 views

QGIS export as SVG, but restrict to full project extent

I have a project that includes a shapefile of the boundary for the state of Delaware. In the project properties I have set the project to the bounds desired. What I want to accomplish is export the ...
Barells's user avatar
  • 11
2 votes
1 answer
202 views

QGIS - Shape missing when exporting as svg

I am using QGIS to export some maps, and when I export quite complex layers, it looks like some shapes are missing. Here is the map I want to export (from QGIS) And here is what I get when I export ...
Emmeline's user avatar
1 vote
0 answers
22 views

Selecting information from layer with the expression dialog in another layer in QGIS

I want to get the value for an angle out of an attribute table of one layer into a function of another. The function is for a line in the properties -> labels -> background for the rotation of a ...
Johannes's user avatar
0 votes
1 answer
286 views

SVG not fully rendered in GeoServer

I was trying to load some SVG for point features, but some of the SVG symbols were partially rendered. Someone from the community suggested that the SVG with too large/small aspect ratio would cause ...
chen zhou's user avatar
3 votes
1 answer
87 views

QGIS Print Layout Lagging when using SVG's

I am using QGIS version 3.22.4-Białowieża and when I use various SVGs in the print layout to create a diagram (image below) they lag/are jerky when I move an SVG object around. I have the NVIDIA ...
MJM's user avatar
  • 975
3 votes
1 answer
150 views

Exporting points as points, text as text (when exporting to svg)

I am using QGIS as an intermediary step to making an SVG/AI file. I have layers which are point shapefiles, where the points in each layer are labelled. However, when I export to SVG, QGIS does two ...
Olon Minsky's user avatar
3 votes
2 answers
525 views

Increase the size of SVG icon in QGIS when zoomed in [duplicate]

I inserted a SVG map as Symbology - SVG Marker in QGIS, how to increase the size of SVG icon when zoomed in?
user212324's user avatar
0 votes
1 answer
537 views

GeoServer doesn't render SVG markers properly

GeoServer Version 2.21.0 GeoTools Version 27.0 GeoWebCache Version 1.21.0 GeoServer doesn't render SVG external graphic well, the graphics is cut and not all visible- only about upper left square is ...
Jonny JJ Cash's user avatar
1 vote
0 answers
157 views

Using this SVG as map in OpenLayers

I have a working OpenLayers web page using standard maptiler tiles, and tons of markers as points using lonlat. Now I want to migrate from the maptiler tiles to a particular world map in SVG format (...
Luis A. Florit's user avatar
0 votes
0 answers
322 views

How to embed a SVG symbol with pyQGIS

In a python QGIS plugin, how can I embed a SVG symbol, as if I used the 'Embed file' function in a svg marker symbology in QGIS ?
Etienne's user avatar
  • 537
2 votes
1 answer
163 views

CRS.Simple coordinates from SVG for GeoJSON in Leaflet

I am working with CRS.Simple in Leafleat. The y-coordinates from the SVG don't match what I'm supposed to use in GeoJson. I do not want to calculate them manually. How to use coordinates from SVG so ...
Георгий Глушков's user avatar
0 votes
0 answers
332 views

Leaflet popup for SVG polygons

I am using a map with CRS.Simple. In order to draw polygons, I chose the SVG option. I know it's not the best way. And most likely it is not true. But please tell me how to bind SVG - popup Leaflet to ...
Георгий Глушков's user avatar
1 vote
1 answer
186 views

QGIS Plot Layout SVG in HTML Element - Size Problem

I would like to use an SVG in the QGIS Plot Layout. I am using an HTML Element to display a simple SVG, sized using mm units. The SVG does not seem to display with the desired dimensions. I have ...
Mr_Robinini's user avatar
0 votes
3 answers
380 views

Imported .SVG icon, in QGIS, can not be shown on LIZMAP

I imported an icon(.SVG) in QGIS and then transffered whole project on QGIS server using FileZilla. However i cannot see newly imported simbology on LIZMAP web client although it is active in QGIS. I ...
Marin Mirošević's user avatar
1 vote
1 answer
1k views

GeoJSON to SVG, keeping properties (mapshaper)

I'd like to include GeoJSON values from an overpass-turbo query (features[0].properties.name) as attribute of the resulting SVG path. Using https://mapshaper.org/, the default includes the sibling @id:...
handle's user avatar
  • 175
5 votes
1 answer
661 views

Adding space between repeated symbol for SVG fill in QGIS

I recently learned how to perform an SVG fill for polygons. The result fills like a brick fill without spaces: Is there a way to define a space between the repeated image from within QGIS (as opposed ...
playmobilmeister's user avatar
1 vote
0 answers
38 views

How to keep wrapped text in SVG when loaded into QGIS?

I have an SVG that contains a graph where the y-axis title is wrapped to two lines. The upper line is the parameter ("Parameter") and the lower line is the units ("(units)"). When ...
scasu's user avatar
  • 11
1 vote
0 answers
14 views

Importing custom SVG as editable symbol from Affinity Designer in QGIS [duplicate]

How do I export an SVG symbol that I created in Affinity Designer to QGIS in a way that it allows me to edit the properties of the symbol (fill & stroke colour and stroke width) in QGIS? ...
Topow's user avatar
  • 361
5 votes
0 answers
140 views

Batch embed SVG markers to geopackage

I have recently converted my QGIS project with more than 70 layers to a GeoPackage in order to be able to hand the project over to other persons and computers. The project includes over 100 SVG ...
Benjamin Donner's user avatar
2 votes
0 answers
31 views

Setting page margins for SVG map export in QGIS Print Composer

Is there a way to setup the print composer so that when you export your map to SVG it cuts everything that's out of the page margins? Everytime I export my map to SVG (my page is 240x180mm), when i ...
tonyduky's user avatar
  • 557
1 vote
0 answers
858 views

Using SVG map as basemap and interactive GeoJSON on top with Leaflet/OpenLayers?

I have SVG map and GeoJSON file with cells. I need to combine them so the user can hover/click on cell and get some cell info like cellID in the console. Currently using the angular-leaflet-directive ...
Ivailo Popov's user avatar
5 votes
1 answer
299 views

QGIS Layout problem - when rendering SVG a black rectangle appears

I have created a Layout, in this Layout there is a map. In this map there are SVG Markers. When I'm in the map composer, the SVG Markers are shown perfectly. But when I generate a Layout, a black box ...
RBenet's user avatar
  • 780

1
2 3 4 5
8