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

learn more… | top users | synonyms

1
vote
0answers
10 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
57 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
14 views

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

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
73 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
23 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
200 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
73 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
69 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
16 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
44 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
69 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 ...
5
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
50 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
27 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
40 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
52 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
1k 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
182 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
24 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: ...
1
vote
0answers
25 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
29 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
23 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 = ...
0
votes
0answers
16 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
36 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 ...
4
votes
1answer
67 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
43 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
40 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
64 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
100 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
262 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
144 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
44 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
149 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
260 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
91 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
38 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
46 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 ...
0
votes
0answers
22 views

Kartograph syntax for json files

I googled everywhere but i didn't find how to correctly write *.json files for kartograph.py. Is there any documentation or at least some useful examples or tutorials? I wonder where to find shp files ...
0
votes
0answers
164 views

leaflet+canvg= leaflet svg elements on canvas

I want to create png file from leaflet map. I use html2canvas library, and leaflet map tiles and other elements convert to png great, but not svg-elements(offsets). I know, that there is some code to ...
13
votes
5answers
1k views

What cartographic line symbol could make a coastline represent water like this old map?

I live in a coastal area with lots of islands. Sometimes with a black and white map it's hard to distinguish land from sea. So I'm trying to replicate this old map's style. I'm trying to do this in ...
0
votes
0answers
78 views

Leaflet - divIcon size options are not applied

I am using a divIcon (an svg) for markers given to a point layer from a geoJSON for a map built with Leaflet/Mapbox. I can set the (initial) icon size with a css class, but if I try to set the ...
0
votes
0answers
74 views

how to add multiple divIcons to each point in a geoJSON - Leaflet

I am trying to add divIcons (SVGs) as markers to a point layer from a geoJSON in a webapp using Leaflet. I need to have different sized markers at different zoom levels. I have asked related ...
0
votes
0answers
343 views

resize divIcons (svgs) at zoom levels - Leaflet

I am adding a geoJSON to a map using a custom divIcon (from svg) for point markers with Leaflet. The divIcon needs to resize on different zoom levels. Currently I can see the icons and the popup ...
1
vote
1answer
844 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: ...
0
votes
0answers
174 views

How to convert world coordinates to screen coordinates (pixels)

I am trying to export and display an SVG file, the exporting works, I even added some custom grouping. However the image is either not displayed at all or not displayed properly (very small and lines ...
16
votes
3answers
4k views

How to create svg symbols that have modifiable fill color, stroke color and stroke width?

I want to create some svg symbols for Qgis using Inkscape, those symbols must have attributes as described in the question. For the last two days, I have been experimenting as instructed by Sourcepole ...
5
votes
2answers
3k views

Importing .svg images to use as Symbols in ArcMap?

I have several .svg files that I want to use as symbols in ArcMap 10.1. However, I do not see any import feature or the sort to use these .svg pictures.
1
vote
2answers
43 views

Can QGIS be coaxed into exporting text as text in an SVG?

Having resolved my squished projection I'm now facing the fact that QGIS exports all my labels as vectors, which means I can't take the map over to Inkscape and fine tune the fonts without retyping ...
6
votes
3answers
435 views

Extracting vector/point data from single-layer, non-georeferenced vector PDF file

I am trying to extract point data from a non-geo-referenced vector PDF file, to import into QGIS/ArcGIS. You can download a copy of the PDF file here, if interested, but I've tried to include ...
1
vote
1answer
126 views

SVG for symbols in ArcGIS JavaScript API

I'm developing a web app based on ArcGIS for Javascript. My customer's problem requires using many different point symbols, some of them graphically quite complex. I use PictureMarkerSymbols to create ...