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
12 views

How to scale SVG symbols which are not label background on zoom level in QGIS

I need to scale the SVG symbols on zoom level. @Underdarks answer in the posted question did not help me thus I can't set the SVG symbols as label background for I have labels which should not be ...
0
votes
0answers
8 views

Normalized icon for BOYLAT

I try to find normalized icons to use for the BOYLAT ( lateral buoy ) I find description, but for the boylat it seems that different shape to show different buoy link for the description ...
1
vote
1answer
12 views

Rendering of SVG for layer symbols using QGIS?

I have a little problem with the rendering of SVG for layer symbol. I want to creeate a categorized symbol to show different style of buoy I have for that two icons the first is an half circle ...
1
vote
0answers
10 views

Postgis ST_AsSVG renders a tiny SVG

I am storing information about a person's journey as a linestring. Having recently discovered ST_AsSVG I tried the following query: SELECT ST_AsSVG(path) FROM activities WHERE id = 209 ...
1
vote
1answer
9 views

QGIS: why does simplesvg export plugin generate poor quality output?

I am exporting a QGIS project to SVG via the simplesvg plugin. However the output is of really poor quality: all coordinates appear to have snapped to a rather coarse grid (while original data, as ...
2
votes
1answer
24 views

Attaching way id to SVG XML from GeoServer/PostGIS for postprocessing?

I render my SVG from Database Layer (PostGIS). I suppose there is basically 1-to-1 match between the ways (polygons) in DB and SVG path elements. Is it possible to attach the way id to the SVG XML ...
3
votes
0answers
39 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 ...
1
vote
1answer
33 views

Building political world wall map for print? [closed]

I'm trying to create a political wall map. I've settled on the Natural Earth projection and thus have had problems with quite a few tools that don't support the projection (Tilemill, QGIS, Maperitive ...
0
votes
0answers
30 views

Modifiable SVG fill color, stroke and stroke width

I have a lot of custom svg files made in Inkspace. I need to be able to change their fill color / stroke color / stroke width using QGIS. I have found a similar topic, however the solution mentioned ...
1
vote
1answer
103 views

QGIS, Is there a way to import 400 SVG files to the symbol list all in one go?

I need to import 400 SVG as SVG Markers to the QGIS styles library. I know how to do it one by one but I need a way to import all of them in one go... Is there a way? I am in QGIS 2.8.2. Wien.
0
votes
0answers
87 views

Use leaflets to display svg floor plans

How can we use the svg image as map? I have the floor plan of svg format and i need to track the location of employees. How does leaflet allow to integrate the coordinates of map and the lat lng? Can ...
0
votes
0answers
18 views

is it possible to make a continuous line using SVG in SLD? [duplicate]

I am trying to make a line with thinner one side outline using SLD in GeoServer (like this: ). Since GeoServer is not support perpendicularOffset element yet, i cannot move the thin line to the edge ...
0
votes
1answer
27 views

SVG image color to be changed by CSS when using ArcGIS API for JavaScript?

I have a image "a.svg" (let's say). I want to change the fill attribute of this svg symbol using CSS. I use this image in a picturemarkersymbol to display a graphic on the map. Is it possible to ...
0
votes
0answers
66 views

How to make Openlayers feature icon dynamic color

I would like to make the icons of my features in the map have dynamic colors. I think I have to use SVG so I can use CSS to dynamically change the icon's color but I don't know if I can use it as an ...
0
votes
0answers
45 views

SVG symbols with QGIS Server

I tried to use SVG symbols in QGIS server, but it doesn't work - only "?" symbol is displayed. I tried to set up everything according to https://hub.qgis.org/issues/10327#note-4 but wasn't successful. ...
0
votes
0answers
24 views

SVG as external graphics in OpenLayers

Can I use .SVG file as external graphic in Openlayers feature? I tried it, but Openlayers not showing my SVG file on map.
0
votes
0answers
53 views

In OpenLayers, the strokeDashstyle property does not work in WFS when the renderer is Canvas

I have a wfs layer, i.e. a vector layer with wms data on in. I want to be able to apply the strokeDashstyle property on the features. Somehow this only works when I disable the Canvas renderer, i.e., ...
1
vote
0answers
61 views

Kartograph - converted svg not the same as before

I'm using the following script to convert a map from NaturalEarthData. But the result is very sobering. It seems like something went wrong with the scaling, but I got no errors when executing the ...
1
vote
1answer
97 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
0answers
83 views

SVG Symbols not showing up in QGIS

I have made sure the SVG path is set and that the path has SVG files: Settings->Options->System->SVG Path > "C:\OSGeo4W64\apps\qgis\svg" In Layer Properties > Style Manager > Marker ...
0
votes
1answer
71 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
37 views

How to export only labels as svg in QGIS 2.6?

I'm working with a big big data set in QGIS 2.6 (but also in QGIS 2.7). I have many line layers styled with the rule rendering tool. What I want to do is to export only the labels of all these line ...
3
votes
2answers
247 views

How to render an SVG from PostGIS using ST_AsSVG

Speaking with a cartographer from National Geographic last night, my interest was again peaked in an open-source map publishing toolset built on PostGIS and Inkscape (as per his workflow and how ...
1
vote
1answer
275 views

Add svg filter to paths created by leaflet?

If I were to create a simple inline svg, I could modify paths to have a drop shadow or a blur by creating a <filter> within a <defs> grouping. However, Leaflet dynamically generates the ...
2
votes
1answer
166 views

How to scale SVG symbol based on zoom level in QGIS?

I am wondering if there is a way to scale SVG files I have stored as blob in a Spatialite database according to the current zoom level in QGIS. My hope is to have the SVG icon resize itself when the ...
2
votes
0answers
84 views

Convert from GeoTiff to SVG

Basically, the title says it all: I have a customer who can only export structured map data as a GeoTiff file. My job is to convert this file into proper SVG. How can this be done? I have googled ...
1
vote
1answer
499 views

SVG from QGIS to Illustrator CC gets wrong stroke widths

When I export SVG files from QGIS using the Print composer the stroke widths become a lot wider when importing into Adobe Illustrator. It seems like the stroke width in the SVG translates differently ...
3
votes
0answers
71 views

QGIS - assign different colors for SVG markers also in categorial / graduated symbols?

I understand it is possible to customize the color of an SVG marker via param(fill) However, I have to set the color manually, and cannot automatically assign it through categorical or graduated ...
1
vote
0answers
121 views

Exporting to SVG in ArcMap. How to change or call svg clippath polygon attributes in CSS

Recently I exported a map document from the ESRI ArcMap 10.2.2 to SVG. I would like to animate this map with css and javascript however the "clippath" polygons that arcmap creates makes it ...
1
vote
2answers
234 views

How can I generate a SVG file of Mexico and USA at states level (Admin1)? Kartograph fails

I am trying to include a US map at the state detail on top of this maps: http://crimeinmexico.org/ I am using Kartograph for the small map. I have installed kartograph in Mac OS X and I am able to ...
1
vote
1answer
203 views

Is it possible to create a scatterplot with icons (svg or png) instead of points

I'm just starting with R and I wanted to know if it's possible to create a scatterplot with custom icons (svg or png) instead of points. I started to import a shapefile, and then I have a set of ...
2
votes
1answer
109 views

SVG Issues in QGIS API

I'm using QGIS-2.4.0 to developing an application. I created my own custom MapCanvasItem for showing SVG. It is great to load a SVG from symbol library that QGIS provides(such as d:\QGIS ...
2
votes
0answers
135 views

Kartograph - AttributeError: _Shape instance has no attribute 'parts'

I am new to GIS and open source tools so bear with me. I am attempting to convert a shapefile to svg by running kartograph as a python module. My source file (provided by the local GIS ...
2
votes
0answers
101 views

Place an image svg into an R plot [duplicate]

I have a set SVG icons (weather icons ) and I want to create a figure with svg superimposed images representation of a Shapefile. below my shapefiles and points representing the position where I ...
3
votes
3answers
154 views

Using SVG from Wikipedia to fill polygon?

I'm trying to use the flag of each region in Italy to fill each region's polygon. I have downloaded the shapefile of Administrative areas for Italy from diva-gis and am now attempting to fill each of ...
2
votes
1answer
161 views

How to write a custom canvas item for SVG marker by subclassing QgsMapCanvasItem in QGIS?

I want to subclass QgsMapCanvasItem for SVG marker in QGIS, I looked up a similar topic in stackexchange and QGIS mailing list, I found that this is similar to mine, I did exactly what @Nathan W did. ...
1
vote
0answers
118 views

How to create a svg item onto Map Canvas in QGIS API?

I'm working on a project with QGIS-2.4.0 API using C++. I need to load some svg files to the application for displaying as symbols. QGIS API has a class named QgsMapCanvasItem, which is an abstract ...
3
votes
1answer
396 views

Using Engineering symbols (*.svg) in QGIS?

QGIS looks straight forward except for the symbols or icons. I have created SVG symbols and when I place my pointer to the obvious blank areas in the symbol library a pop-up says that my symbol is ...
1
vote
0answers
167 views

custom SVG label style - openlayers

My goal is to display rotated labels for roads on my openlayers based webmap. The problem is actually solved (with a custom SVG solution), but i have some problems with the styling of the labels. As ...
0
votes
0answers
77 views

How To Add a QgsSvgMarkerSymbolLayerV2 to VectorLayer in Qgis?

I'm using Qgis2.4.0 API to develop a C++ application. I want to add a svg symbol to a vector layer. Here is what I have already done: add vector, then add symbol. But I get stuck dong this. Here is my ...
2
votes
0answers
174 views

Displaying a box with text on a leaflet map

Is there a way to display a label or textbox on a specific geo-place on a map produced by leaflet.js.? I know about the Marker- and Polygon Method But I can't find a way to put text in the polygon. I ...
1
vote
0answers
29 views

svg export not keeping line widths

I just upgraded to 2.4 I have noticed that when I export as an svg, for opening in illustrator, the line/pen/border widths are coming out all different. For example a line width of 0.25 in QGIS is ...
1
vote
1answer
338 views

Convert shape file to kml without losing symbols

I am using QGIS 2.2 and want to convert a shape file containing point coordinates with userdefined svg-symbols to a kml file. Everything seems to work. The orginal file is in WGS 84 / UTM zone 32N ...
2
votes
1answer
127 views

How to create dynamically styled symbols (fill, stroke, stroke-width ..) with Geoserver?

Case scenario: I need to create symbology that takes fill, stroke and stroke width with information from the database. Problem arises with custom defined symbols like the one on the image. There are ...
0
votes
0answers
158 views

Geoserver KML Rendering in Google Earth - SLD Errors

I have a layergroup with custom SLD's in Geoserver: Layer preview All the symbology renders fine. If I try and add the KML as a network link into google earth using this URL I lose most of my SVG and ...
2
votes
0answers
116 views

Can't remove the little islands when creating a svg map with kartograph.py

I'm new to python and to kartograph. I'm using it to create a map of France, Italy, Portugal and Spain. But I don't want the little islands (mainly the French ones ), causing the generation of a big ...
8
votes
5answers
895 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
1answer
283 views

OpenLayers SVG sprite externalGraphic only works in Firefox

I am trying to set the externalGraphic property of a vector layer's style to an SVG sprite that has various viewboxes to position the icons dynamically by creating different views within my SVG file: ...
2
votes
2answers
258 views

SVG symbols for alphabet characters e.g. A, B, C, … etc

Can anyone tell me whether there is a SVG plugin or source (or how to do) of letters of the alphabet e.g. A, B, C, D etc. I want to create a symbology with colour e.g. gray but also with letters in ...
2
votes
2answers
336 views

Export to Mapbox (TileMill) from PSD (or SVG/PNG)

Newbie question: I designed a map (not Earth-related) in Photoshop and I want to use something like Mapbox to serve the map and make it dynamic (bounding boxes, zoom in/out, etc). How can I go from an ...