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 change the value tof the use tag in a svg file

I am working in C++/QT4.5 with the qgis c++ api 2.8.2 I have a svg file that contains different form tag by Id When i want the first form i place the id name in the use xlink:href="#formname" .... ...
2
votes
0answers
19 views

SVG symbols are not available on other computers

I created some layers with SVG symbols. Those symbols are saved on the server, as it is not possible to store it in the database (postgis). Every computer can access to the server. But if I open the ...
0
votes
0answers
17 views

Tile server that outputs .svg tiles instead of raster?

Is there one? I found all major suppliers work with raster output (png) not vector (svg). I wonder why.
1
vote
1answer
34 views

ogr2ogr problem mapping shapefile to geojson ETRS89 / Poland CS92

I'm trying to convert official boundaries of administrative regions of Poland from official governmental site (codgik.gov.pl). I want to use those data because they are official ones, and set contains ...
1
vote
0answers
13 views

add different custom SVG markers to categorized section using pyqgis

I am trying to find a way to add different custom SVG markers to the categorized symboling. I would like to have different symbols for different values but unfortunately I cannot find a way to do it ...
2
votes
1answer
35 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
1answer
19 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
30 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
14 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
10 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
28 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
42 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
34 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
35 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
118 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
119 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
0answers
33 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
83 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
52 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
25 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
56 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
68 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
111 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
93 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
78 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
317 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
326 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
197 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
100 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
528 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
82 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
136 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
254 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
248 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
113 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
142 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
165 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
165 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
123 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
421 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
172 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 ...
2
votes
0answers
189 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
347 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
136 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
166 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
120 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 ...