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

learn more… | top users | synonyms

0
votes
0answers
3 views

SVG to PNG in plugin code - python

I am making a plugin and what I want to do is display a preview of image in widget. I have previews saved as SVG files. I found a way to show it in plugin window but I must convert them to PNG first. ...
0
votes
1answer
18 views

SVG icons not loading in mapbox

I uploaded a zipped shapefile to Mapbox with about 500 location data points and tried to display each of those data points with one of 60 different SVG icons. Those SVG icons have been loading ...
1
vote
2answers
33 views

I want import a *.svg file in qgis

I installed the new version of QGIS 2.16 and I want import an image (SVG file) as symbol for my point, but the Setting style supports only xml format in import. Before, with an older version of QGIS, ...
1
vote
1answer
17 views

PyQgis show SVG Symbol on differnet value of specific attribute

I am working on a QGIS plugin. Main feature of this plugin will be changing the icons on a specific layer partly based on a specific attribute (it will be more exciting but you have to start somewhere)...
3
votes
1answer
40 views

QGIS problem exporting to both SVG and PDF

I'm having a problem when exporting to SVG and PDF from qGIS. When I open the SVG or PDF in Illustrator, the path of my map is severely cut off with lots of data missing (see below). When I open the ...
1
vote
0answers
24 views

Changing colors in SVG file polygon using QGIS?

I try to change colors and lines width in this polygon (this is SVG file): I learn from here SVG symbol colors differences in QGIS 2.12? Using SVG file to fill polygon using QGIS- problem to add ...
7
votes
1answer
115 views

SVG markers made in InkScape appear transparent in QGIS

Using QGIS 2.14.3 on Ubuntu 16.04, I created a custom icon using inkscape for QGIS. You can find it here (Update: that icon is now fixed). In inkscape, in my filesystem, it displays as: However in ...
2
votes
0answers
14 views

Converting Geo-normalized SVG data to geojson

I'm working on a project for which our team geonormalized some TIFF files with MapWarper, then used photoshop to vectorize only the buildings within the images. We now have svg data for which we know ...
2
votes
4answers
1k views

Local OpenLayers3 - SVG icon

I have an OpenLayers3 map on my local filesystem, and I want a point layer to use SVG icons. This seems to fail silently: var style = new ol.style.Style({ image: new ol.style.Icon({ size: ...
1
vote
0answers
38 views

Using SVG file to fill polygon using QGIS- problem

I try to fulfill polygon with SVG file (which created with inkscape) but when i load the file into QGIS by this way: i get polygon layer with no symbology: Now, i red Using SVG from Wikipedia ...
2
votes
1answer
42 views

SVG symbol colors differences in QGIS 2.12?

I don't understand why SVG symbols, which are colors changeable in the symbol default installation like this airplane: whereas there symbols like the transport bus station, and lighting symbol (...
1
vote
1answer
25 views

Print a centered map from a QGIS project for each point in a shapefile

I need to produce on the order of 100 maps that are centered on each point of interest in a shapefile. I would like to prepare all the layers in a master QGIS project, and set up the composition for ...
1
vote
1answer
19 views

saving a SVG marker to a layer for sharing

I have a layer which consists of point data. I have switched the symbology of the layer to a svg image that I loaded in. To maintain the symbology I went to LayerProperties>style and then i saved the ...
2
votes
0answers
42 views

Access Elements in SVG with Openlayers 3 using forEachFeatureAtPixel()

I am trying to access elements (id, style) of a SVG image in Openlayers 3. I tried to link different examples, but the problem is that displaying a SVG is only possible with ImageStatic() and the SVG ...
3
votes
2answers
84 views

Semi, third, quarter circle and other compound style symbols in QGIS?

I think I used quarter (and other) circles in QGIS in the past. But it might be as well that it was only in different software. Anyway now I am not able to find in symbols any option for compound (...
1
vote
0answers
29 views

path in openstreetmap or google maps based on path in svg [closed]

I'm about to create an application that should try to create a path in openstreetmap or google maps based on a given path in a svg. For example, I've got the following svg: What tools to use and ...
2
votes
0answers
107 views

How to correctly display SVG path graphic after map scale change using ESRI JavaScript API?

I've built a web map that shows the locations of fleet vehicles based on their GPS data. I managed to add a nice feature that animates the routes these vehicles take on their way to destinations using ...
0
votes
0answers
28 views

Is it possible to export a map to svg, so it could be edited in Adobe Illustrator?

need to export a map to a vector based file (eps,svg,s.o.) for preparing a magazine print. Would be awesome if colors and all chosen attributes would come along – so far i just got a squished map svg ...
1
vote
2answers
210 views

Create transparent background for svg marker in QGIS?

I have an image that I want to use as a SVG marker in Print Composer. I created it as a .png file in Inkscape and then saved it as .svg. But the background transparency does not come across from the ...
4
votes
1answer
90 views

QGIS 2.14 Composer incorrectly renders svg text position

I just noticed that SVG rendering in composer since upgrade to QGIS 2.14 is incorrectly handling some text placement. I have an SVG compass rose, which was rendering fine before upgrading to 2.14 (...
4
votes
1answer
71 views

arcpy, ExportToSVG using paths

I want to export part of the map into (very big) SVG file. First I tried to do this using REST API: https://*server*/ArcGIS/rest/services/General/Etages/MapServer/export. This worked, the SVG file ...
0
votes
0answers
21 views

Transforming GML into image?

I am looking for a simple way to transform a GML file into an image. I have a number of SLD files to provide the formatting. In the past we used an XSLT style sheet to transform the GML into a SVG ...
3
votes
0answers
56 views

Changing colours in SVG symbol using QGIS?

I am using QGIS version 2.14.1 (Essen), and I have imported a traffic cone symbol in SVG format to represent some of my data. I was wondering if it was possible to change the color of this symbol ...
1
vote
1answer
131 views

Import PNG symbols in QGIS

I would like to upload some symbols into QGIS using version 2.14 (Essen). I would like to upload a PNG but it seems the only format available is XML. Do you know if its possible to upload PNG's ...
7
votes
4answers
2k views

Methods to Convert .SVG File to GeoJSON

Question How do I convert an SVG file to GeoJSON format? Desired Outcome: I want to make a choropleth map using something like D3.js, or any of the other libraries out there. Challenge: I have an ...
3
votes
1answer
71 views

How to display different SVG icon in the same layer in QGIS based on attribute value

Based on this question: How to display different SVG icon in the same layer in QGIS is it possible to add multiple svg files in qgis to the same layer automatically based on attribute value? I have a ...
1
vote
0answers
51 views

PostGIS Svg Projection on Google Map

Context I have a database with spatial data such as areas and points. Some of the areas in my db are coming from OpenStreetMaps, representing some regions. (Which are kinda small at earth's scale, ...
0
votes
1answer
71 views

Render SVG symbols with MapServer on Windows

I am using MapServer in a windows machine in order to build a map with data from openstreetmap and OpenSeaMap. I want to style some elements in the map and I want to use SVG symbols for doing this. ...
1
vote
0answers
53 views

Problem with Taverna?

I want to use Taverna to call an OGC WFS, and the file returned from WFS is GML, but what I want is SVG, so I have to convert GML to SVG by using Taverna. The Method I used ExecuteProcess_gml2svg, ...
5
votes
2answers
2k views

How can I export big SVGs for further use in Inkscape?

I am trying to export as an svg from Quantum GIS and import into Inkscape. However it is failing to Import. Inkscape comes up with the error 'Failed to load the requested file'. The files are quite ...
1
vote
1answer
195 views

How to generate a tiled map from a spherical mercator SVG?

I'm not a GIS person; this is really just a side task, so I probably have terminology/strategy incorrect; I would ask that you please bear with me. I have the following requirements for a Qt-based C++ ...
1
vote
0answers
32 views

Stretching a map to the full width of the browser after complete zoom out and without repetition of grids?

I want to extend the first block from left (with red inside borders) to stretch to the full width of the website. The example code is given below. html, body { height: 100%; background: #E6E6E6; ...
1
vote
0answers
42 views

How can I position gps point on svg (or any other special type if exist) scheme of building?

I have an indoor map of a building in svg and this is an only scheme of a building, there is no google maps or any other maps. But I need positioning (navigation) by gps coordinates in this scheme. ...
0
votes
1answer
41 views

How to use svg symbols for styling elements in ms4w (mapserver)?

I have MapServer installed in a windows machine. I have imported into my PostGIS db osm data and want to style certain elements(nodes) with svg symbols. The problem is that the version of MapServer ...
0
votes
0answers
31 views

Leaflet geoJSON point layer with divIcons (SVGs) how to toggle visiblity?

I have posted a few related questions about this topic here here and here. I have tried to set the opacity of the layer, then reset it with setStyle on a zoom event like so: Layer18 = L.geoJson(...
0
votes
0answers
19 views

Projection changing when saving PDf or Image from Composer

The issue I'm facing is that when using a print composer to generate a PDF or image with a google earth / bing backdrop the projection of my layers appears to change. Each of my layers is using the ...
2
votes
1answer
42 views

Why are point-files cut at tiles-borders?

I'm placing a SVG in Tilemill via a point with lat and long. So far that works great but when the tile the point is located in ends, the image is not rendered. Is this a bug? Can I do something ...
5
votes
1answer
84 views

How to display different SVG icon in the same layer in QGIS

I am working with a ponctual layer in QGIS 2.12.3 (Lyon). I have a determine a few points in my layer. Each point represents a different activity (ex : climbing, hiking, etc). In order to have a ...
1
vote
1answer
60 views

Can't use my SimpleSVG Plugin in QGIS (error: initGui() method, 'QPYNullVariant')

I'm looking for a good workflow from QGIS into a vector graphics program, and since the built-in SVG export in QGIS doesn't work really well, I thought I'd use the SimpleSVG plugin. For some reason, ...
1
vote
0answers
46 views

save shape file as grouped/layered vector file

I want to get the 10m natural earth countries file into a mercator projection and then into a vector file (svg, ai, etc) where for each country, its main land and any of its islands are in a single ...
2
votes
1answer
75 views

Transparency control in svg symbols

I am mapping animals and have to display their locations in QGIS (2.12.3, Win7 64) with gender symbols (♂/♀). The outline of the symbols should be rendered in different colors corresponding to the ...
4
votes
1answer
122 views

QGIS Composer Distorted SVG PDF Output

I've noticed that some SVGs are distorted when outputting to a vector PDF from QGIS. A good example is NorthArrow_07.svg. The image on the left is how it looks in the composer and the image on the ...
2
votes
1answer
282 views

Leaflet SVG layer is obscuring the underlying GeoJSON interactivity

I have SVG on top of GeoJSON in my map. How can a leaflet SVG overlay be placed outside of the leaflet-overlay-pane while keeping GeoJSON in-place within the leaflet-overlay-pane? (For example, how ...
0
votes
0answers
262 views

Render svg file in Open Layers 3 map

We have an AutoCad based software to design telecom networks and we store equipment as an "svg" data and the lat long value of the equipment in database. Our database projection is LCC i.e. EPSG:4326, ...
1
vote
1answer
49 views

QGIS symbology: where are simple markers located in the system?

I would like to know, where are simple svg-markers (for example the one that is defined as "regular_star" in .qml file) are physically located in the system? I searched the system and looked inside ...
0
votes
1answer
167 views

Creating minimalistic map in *.svg file format?

I am interested to obtain a .svg map file format in two colors, without labels or marks, like we have here or here for example. what I've tried: to use Google Styled Maps Wizard but unfortunately ...
2
votes
1answer
296 views

How can I automate interactions with vector features in Openlayers3(canvas) like it is done in Leaflet(SVG)?

I want to automate and test some aspects of my map application in Openlayers 3. I mainly want to automate clicking on markers and other vector features(ideally through the DOM using xpath like SVG). ...
1
vote
1answer
129 views

Leaflet js circle doesn't showing on map

I have a leaflet js app that use circle. It works fine when i dont put the script to my html template (I use SingApp template). But when i integrate the script to template, circle does not appear on ...
2
votes
0answers
45 views

Random color ramp issue

I have one set of polygons and one set of points sharing a common attribute (value 0-503). When applying style with new random color ramp (Categorized) the first set of polygons is displayed ...
1
vote
0answers
65 views

SVG external graphic fails in Geoserver

I'm using Geoserver 2.6.2. I need to use a SVG file as an external graphic to style a points layer. When I open the WMS layer in QGIS, the points are not displayed. This is not happening if I use a ...