Questions tagged [svg]
Acronym for scalable vector graphics. An XML-based graphics file format that describes two-dimensional vector images, including animation.
371
questions
1
vote
0
answers
28
views
Adjusting size of SVG fill in the legend box in QGIS
I would like to show the legend for a polygon layer that has three different classes of vegetation types. I expect that each legend item be represented by the entire SVG symbol.
Each of the vegetation ...
0
votes
0
answers
43
views
CROP CIRCLES : Looking for an easy way to IMPORT and SCALE vectors in a custom map on Google Maps
The point of the project is to make some crop circles, The objective is to be able to trace a polygon from a map by walking around a field (and using the GPS to be able to see where you are). I need ...
1
vote
1
answer
71
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) ...
0
votes
1
answer
54
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 ...
0
votes
0
answers
71
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:...
0
votes
1
answer
49
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 ...
0
votes
1
answer
129
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.
0
votes
0
answers
70
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/...
1
vote
1
answer
200
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 ...
1
vote
1
answer
90
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-...
0
votes
0
answers
83
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-...
1
vote
1
answer
100
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)
...
3
votes
1
answer
179
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&...
3
votes
1
answer
179
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 ...
0
votes
0
answers
119
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 "...
1
vote
1
answer
362
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 ...
0
votes
1
answer
64
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
410
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
202
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 ...
1
vote
1
answer
64
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
107
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
432
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 ...
1
vote
2
answers
149
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
605
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 ...
1
vote
1
answer
423
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
43
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 ...
1
vote
0
answers
70
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
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 ...
2
votes
0
answers
80
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
1
answer
80
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
255
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
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 ...
0
votes
2
answers
364
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 ...
3
votes
1
answer
104
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
162
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
629
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
601
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
179
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
353
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 ?
2
votes
1
answer
183
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
356
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 ...
1
vote
1
answer
201
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
424
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
2k
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
749
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
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 ...
1
vote
0
answers
16
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
151
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
33
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
878
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 ...