Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [svg]

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

0
votes
0answers
35 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. ...
1
vote
3answers
171 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
16 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
34 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 ...
0
votes
1answer
29 views

How to create shape in Shapely from an SVG <path> element?

AFAIK, you need to provide a list of coordinates to Shapely in order to create a shape but that's not how SVG <path> element works. Is there a way to create a Shapely shape using an SVG <path&...
1
vote
2answers
54 views

Converting vector points to geo coordinate points

So I have an SVG file that has paths for a floor in a building. I want to convert these polygons into something like GeoJSON so that I can draw them in Mapbox. I already know the geo coordinates and ...
1
vote
1answer
23 views

Generating legend from sld

I have and SLD with following rule <se:Rule> <se:Name>Primary Pole</se:Name> <se:Description> <se:Title>Primary Pole</se:Title> </se:...
0
votes
1answer
45 views

How can I use SVG icons controlled over variable order attribute field?

I have about 200 different point categories. I want to order all these categories with one background SVG and one for the front. One solution is to categorize the points depending on one attribute ...
4
votes
0answers
71 views

Question marks (“?”) in QGIS layer panel when using svg markers defined with “Data defined override”

When using svg marker symbols and set the path to svg file via Data defined override the svgs display well in the map canvas, but not in the layers panel (applies for QGIS 2.x and 3.x). svg marker ...
1
vote
0answers
31 views

Problem converting Alaska to svg because of longitude wraparound

I'm trying to render an svg of Alaska, but because the left side of Alaska's longitude is 179 and the right side of Alaska is -152, the left of side Alaska is separated and shows up in the very far ...
0
votes
2answers
36 views

SVG on GeoServer not working

I have several SVGs, the simplest of them is the following SVG: <?xml version=‘1.0' encoding='utf-8'?> <svg viewBox="-337 43 2223 1812" xmlns="http://www.w3.org/2000/svg"> <...
1
vote
1answer
57 views

Different SVG markers for different attributes

I am using QGIS 3.0. I want to use different angle arc SVG markers depending on the data in the attribute table. For example, some points require a 60-degree marker, other a 35-degree marker etc. to ...
5
votes
2answers
89 views

Fail to open SVG graphics as SVG Marker in QGIS

I have an SVG graphic which should be placed in certain locations on my map in QGIS 2.18. I can open it through Adobe Photoshop, Inkscape, Chrome, it even obeys Internet Explorer. As for me, ...
0
votes
0answers
19 views

Custom SVG does not work in my Qfield project

When I open my project in Qfield, all SVG symbols are relocated by a question mark. Here is the path of my installation in my Tablet ..... \ Tablet \ Android \ data \ ch.opengis.qfield \ files \ share....
1
vote
2answers
94 views

Shifting an svg symbol to a specific point in QGIS

Is it possible in QGIS to make a particular point of a custom .svg symbol coincide with the layer point position? i.e referring to the image: I would like to make the beginning of the symbol line ...
1
vote
0answers
202 views

GML/SVG for indoor map in OpenLayers 4?

I am new to GIS world and trying to incorporate OpenLayers with GML or SVG. I am building a map engine and one of the features should be support of indoor maps. It can be accomplished with a static ...
1
vote
0answers
47 views

QtDesigner shipped with QGIS 3 doesn't show svg's in resources

In the QtDesigner shipped with QGIS 3 svg's and jpg's are not shown in the Resources window nor as icons on widgets: QtDesigner from QGIS 3.2: svg's example jpg's example QtDesigner from QGIS 2.18 ...
2
votes
0answers
27 views

How to “save” svg symbols when transforming a map in QGIS using qgis2web to create a web map?

I'm very new to QGIS so might be getting the terminology wrong. I created a map with several layers in QGIS. I needed different markers than the ones provided so I used svg markers. Now I'd like to ...
2
votes
0answers
45 views

.SVG Basemap from QGIS?

I'm having trouble getting a gray basemap of Philadelphia in a vector scalable format using qgis. I've tried using the openstreets basemap plugin, and then taking that to print composer, but that ...
1
vote
0answers
47 views

Can I save a style with a SVG marker in the database in QGIS 3?

QGIS 3.2, Mac OS 10.13.5. I have started using some svg markers in my style but now find the option to save it to a database has gone. Is it possible to save styles with svg in a postgis database ...
1
vote
0answers
116 views

Export to SVG with Polygon IDs

So v.out.svg works perfectly fine for my purpose, except that it doesn't export polygon IDs, so I have no way to identify them in the output. I want to use one of the attributes (specifically the Name ...
1
vote
1answer
552 views

QGIS3: how to load SVG symbols

For the record: QGIS 3.2 and Mac OS 10.13.5 I am trying to load the symbols from https://www.mapbox.com/maki-icons/ I have tried creating /Users/rful011/Library/Application Support/QGIS/QGIS3/...
0
votes
1answer
119 views

Fill transparency of custom SVG symbol

I'm trying to create a custom symbol using inkscape and editing the svg file to be able to manage it from the style window in QGIS. Edited the .svg symbol file deleting the "style" lines and ...
0
votes
1answer
31 views

Lines on SVG export from QGIS are rasterized

I'm working with QGIS 3.0.2-Girona on Windows 7 64bits. I have a lot of roads on a large map (30 x 40 km approximately). I am trying to export them into vectorial format to print a map. However, the ...
0
votes
1answer
125 views

Show a gif icon in point GeoServer SLD

How to show a gif image for a point in GeoServer SLD like blinking point? I found here animated wms layer. Please help me. I tried SVG Icon. Its working without animation. My svg code is <svg ...
1
vote
0answers
36 views

load svg file in esri map in arcgis android sdk [closed]

How to load .svg file in Esri map android sdk version 10.2.9?
3
votes
4answers
389 views

Relative path to the plugin folder for SVG file in QGIS3 .SLD file

I'm trying to update an old plugin to QGIS3 where we use default svg files (in the plugin folder) as markers. It is important that it is the plugin folder since I just to have the entire plugin in one ...
0
votes
0answers
15 views

Problem resizing svg image in Map Composer QGIS 2.18.16 linux

inserting an svg image in the map composer I can not match the svg image dimension with the image frame on the canvas via the Image item properties-> zoom option. What am I doing wrong?
0
votes
0answers
50 views

MetaInfo element from jQuery vectorMap (for conversion to GeoJSON)

I've tried Phrogz' svg2geojson script (see previous question) to convert the jQuery SVG map eia930map.js from EIA Realtime Grid to GeoJSON. But I'm struggling with the required MetaInfo element. The ...
1
vote
1answer
761 views

Importing SVG-symbols into QGIS

I'm trying to import downloaded SVG-Files into QGIS to use them as layer symbols, but nothing works. This question was asked before, but unfortunately, the suggested solutions don't work. When I do ...
1
vote
1answer
519 views

Finding out whether Leaflet is using Canvas or SVG?

Leaflet maps use either an SVG or Canvas renderer. How do I figure out which one a created leaflat map is using?
2
votes
1answer
65 views

How to share SVG styles with other users in QGIS projects

So I'm publishing a project with web layers so that other people can just download it and do their work Problem is that even when I save the SVG path, when I go back to the project, the icon does not ...
2
votes
1answer
136 views

Data defined overrides for SVG Marker in QGIS

In QGIS 3, I have a polygon layer with numerous styles of which one is a centroid fill rendered using an SVG marker. I would like to override the path field, so that the marker would show up only for ...
1
vote
1answer
516 views

Use SVG-file as point symbol in Geoserver

I want to make a map of traffic signs by using .svg image files of the traffic signs as point symbols. I put all the svg-files in the folder 'styles' in the data_dir of Geoserver (on my localhost). ...
1
vote
1answer
150 views

How to display a continuous diagonal line with an SVG externalgraphic in Geoserver?

I need to symbolize a polygon layer with geoserver using an SVG file as an external graphic. The polygon should be filled with diagonal line. I have created the SVG in Inkscape using a 400px x 400px ...
0
votes
0answers
195 views

Executing JavaScript inside SVG before rendering it as icon on OpenLayers?

I am rendering SVG icons for each feature on OpenLayers 3.18 and that works perfectly with below code. vectorSource.getFeatures().forEach(function (feature) { // svgText is one of the properties ...
0
votes
0answers
61 views

Fix SVG shape on multiple points with Qgis

I'd like to use Qgis with the Timemanager Plugin to create some Videos where Vehicles are moving. Now I get multiple Points in my Data, wich provide Coordinates about special Vehicle parts. I do have ...
1
vote
1answer
584 views

Converting GeoJSON pixel coordinates to lat long coordinates for use with Google Maps API?

The entire process is quite a bit more complex than the question, so let me briefly describe it: An SVG overlay of map features is parsed. Each path is converted to WKT using SVG-to-WKT and then ...
1
vote
1answer
220 views

Apply different styles using GS pointstacker's “count” variable

In an effort to give the Geoserver’s pointstacker method more life, I only applied it to scales greater than 1: 34085, so that on the lower scales it is possible to use “getfeature” function in the ...
1
vote
1answer
334 views

How to color SVG symbols in QGIS 2.18.14? [duplicate]

Why can I color some SVG symbols, but not others? At symbol # 1 I can change the color, but not the others. In the XnView viewer, the symbols are shown differently. What qualifies an SVG symbol to ...
-1
votes
1answer
524 views

How to get id in svg using imageOverlay in leaflet [closed]

Is possible or not, when click at certain area in file svg it will return id. sample id in file svg sample in jsfiddle. https://jsfiddle.net/wanaideed/uxko5Lch/
1
vote
1answer
137 views

SVG symbols in MapServer Ubuntu vs MS4W

I have set up a map file on Ubuntu 16.04 with SVG symbols created by Inkscape. Everything is fine. Now I have to port it to a windows server. I installed MS4W, but layers with SVG symbols can't be ...
2
votes
0answers
710 views

USGS/FGDC SVG geoscience point symbols for use in QGIS

I have over 700 symbols created and tested for use on geological maps, using the USGS symbol documents as a source (https://ngmdb.usgs.gov/fgdc_gds/), converting the original PDF using Inkscape. I am ...
1
vote
0answers
64 views

Define Custom CRS for working with SVG

I can't seem to figure out a way to define a custom PROJ4 projection that can mirror geometries (e.g. inverse x to -x and y to -y and vice versa). Other than that, I don't need any transformations or ...
1
vote
0answers
664 views

How to get the svg element id on clicking in leaflet?

I'm new to Leaflet and I'm trying to place a SVG file on the Leaflet map. My basic requirement is to get the svg path id on clicking in particular SVG element, I tried making the image overlay on ...
1
vote
0answers
157 views

Importing 1000s of svg symbols into QGIS 2.18 [duplicate]

Does anyone know a way to import 1000s of svg symbols into QGIS without having to painstakingly click on every single XML file to import? I created SVG files (with xml) of all of the CAMUTCD sign ...
2
votes
1answer
141 views

Geotools: Rendering map with sld to svg

I am generating the SVG file and then use it in jasper report print. When I try to render the map with no sld everything works great, but when I use sld there is this error: 2017-11-30T13:28:36.634+...
2
votes
1answer
126 views

QGIS SVG custom symbols more than 2 colours [closed]

I would like to know if it possible to have a SVG symbol with more than 2 colors. I would like to have one with up for colors? A simple point with 4 colors representing different species sighted in a ...
0
votes
0answers
167 views

WMS response in svg+xml format

When a sent a request to mapsever I get PNG image - that's ok. Then I change format on "Format=image/svg+xml" and get "Output format 'image/svg xml' is not supported in the GetMap request". Could ...
2
votes
0answers
326 views

Layered PDF from QGIS - Layers can't be turned on/off

I was following this guide on producing a layered PDF from QGIS, but somewhere along the way I seem to miss something. Exporting layers via the composer into a svg works fine, also loading the svg ...