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.

1
vote
1answer
17 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
0answers
18 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
100 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
33 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
50 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
29 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, ...
0
votes
0answers
32 views

Python QGIS .svg symbol with modifiable color (data defined override)

I can import an .svg format symbol on a vector layer by using QGIS Desktop App and change its color by using data defined override part(case when .. then rgb_color(255,0,0) END ). How can I implement ...
1
vote
2answers
102 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
43 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
305 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
22 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
37 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
103 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
126 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
30 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
49 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
99 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
33 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
58 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
68 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
100 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, ...
1
vote
2answers
44 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
105 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
278 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
62 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
32 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
49 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
55 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
181 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
837 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
144 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
34 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
145 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
41 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
447 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
16 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
63 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
925 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
2answers
663 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
81 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
183 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
689 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
172 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
215 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 ...
1
vote
1answer
675 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
257 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
394 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
635 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
160 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
869 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 ...