Questions tagged [svg]
Acronym for scalable vector graphics. An XML-based graphics file format that describes two-dimensional vector images, including animation.
358
questions
0
votes
0
answers
34
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 ...
0
votes
1
answer
41
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 ...
4
votes
2
answers
154
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 ...
6
votes
3
answers
149
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 ...
2
votes
1
answer
30
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" ...
1
vote
1
answer
52
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....
-2
votes
1
answer
111
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 ...
0
votes
1
answer
40
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 &...
1
vote
1
answer
178
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 ...
0
votes
1
answer
104
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,...
1
vote
0
answers
33
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 ...
0
votes
0
answers
20
views
QGIS composer exporting custom SVG markers with colorisation to PDF
When exporting pdfs from QGIS composer using custom svg with the colorize (draw effects -> colorise) option, they are exported as rasters instead of vectors.
Is there a way to modify the color of ...
1
vote
0
answers
45
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....
1
vote
0
answers
26
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 ...
2
votes
0
answers
61
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 ...
0
votes
0
answers
27
views
How to represent SVG polygon in HTML using definition coming from PostGIS ST_AsSVG function [duplicate]
In my Django app I have PostGIS database. I tried to get a polygon as a SVG, so I could represent that polygon in HTML using the SVG standard.
I use the following query:
SELECT ST_AsSVG(geom) from ...
0
votes
1
answer
61
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 ...
2
votes
1
answer
100
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
...
1
vote
0
answers
21
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 ...
0
votes
1
answer
133
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 ...
0
votes
0
answers
14
views
QField for MAC - SVG Symbology not working
.svg symbols do not transfer to the mobile project...and are displayed as "?".
I have tried embedding the symbols - this didn't work.
I made sure the .svg is in the same directory as the ...
3
votes
1
answer
71
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 ...
3
votes
1
answer
122
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 ...
3
votes
2
answers
268
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?
0
votes
1
answer
350
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 ...
1
vote
0
answers
109
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 (...
0
votes
0
answers
224
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 ?
1
vote
1
answer
124
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 ...
0
votes
0
answers
241
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 ...
0
votes
1
answer
110
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 ...
0
votes
3
answers
258
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 ...
1
vote
1
answer
916
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:...
5
votes
1
answer
451
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 ...
1
vote
0
answers
37
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 ...
1
vote
0
answers
12
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?
...
5
votes
0
answers
103
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 ...
2
votes
0
answers
29
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 ...
1
vote
0
answers
732
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 ...
5
votes
1
answer
228
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 ...
1
vote
1
answer
407
views
Connect corners of two rectangles via SVG line in Leaflet
Assuming I have two rectangles on a leaflet map with CRS.Simple, how can I use svgOverlay to draw a <line> that connect top left corner of the two rectangles? I'm having issue with spatial to ...
2
votes
2
answers
146
views
Making symbology non path dependent in exported layer using QGIS
I created a layer where the coordinates of each point (representing an earthquake) are imported from a CSV file. Each point also has an associated string ID. In another folder I've a database of SVG ...
4
votes
1
answer
489
views
Using data defined override for SVG-marker lines
After not getting enough detail on that part of my problem in this post, I am now trying in a separate question.
I am unable to do data defined override with SVG markers on a line layer. I'm not sure ...
4
votes
2
answers
171
views
Styling lines with centroids by two different fields in QGIS
I have a line layer showing sectors of roads that I want to style by two different fields without duplicating the layer.
"Field 1" is an integer ranging from 0-25 defining road usage (...
1
vote
0
answers
302
views
How can I go from a SVG file to a Polygon string with ID table in Python? [closed]
I would like to translate my SVG file (objects) into polygons. The result I would like to obtain is a table with a column of IDs and another column with the Polygons in it (string). I would like to ...
2
votes
0
answers
241
views
Can't change size of SVG icon in header of ArcGIS Online dashboard
Does anyone know a way of changing/increasing the size of a custom SVG icon in ArcGIS Online?
I've uploaded a logo of my organisation to use in a header for a dashboard. The icon is an SVG file
and is ...
1
vote
0
answers
41
views
QGIS 3.10:SVG outline width not exported in pdf
I am trying to use a self-written .svg in QGIS for a point layer. The .svg code is:
<svg>
<polygon points="0,2.7 2.7,0 5.4,2.7" fill="#ffffff" fill-opacity="param(...
1
vote
1
answer
99
views
Show linestring geometry as centroid of a joined polygon layer with QGIS and spatialite ASSVG
In QGIS, I have a linestring and a polygon layer which are joined and I want to show the linestring as a centroid in the polygon layer.
I used ASSVG() from SpatiaLite but wont't get a correct SVG.
In ...
3
votes
1
answer
311
views
"Type object 'GeometryType' has no attribute 'LineGeometry'" error when exporting shapefile to SVG
I want to export a shapefile to SVG. It's a simple shapefile from Germany that I downloaded from https://www.eea.europa.eu/ and applied some changes as I wanted. I downloaded SimpleSVG plugin but it ...
1
vote
1
answer
255
views
Creating categorized renderer with SVG symbols using PyQGIS
I'm trying to create a renderer with SVG symbols and I can't seem to find any example on this. Inspired from categorized renderer for regular symbols, I wrote this, but I get an error saying that the ...
4
votes
2
answers
474
views
Loading set of SVG symbols in SVG marker option
I have a folder full of SVG symbols for my project. how can I add them to SVG path. Because now I can only call one symbol at a time. but I want to use those symbols as marker, categorized ways and ...