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
1answer
49 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
114 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
1answer
44 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++ ...
3
votes
0answers
41 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 ...
3
votes
0answers
1k views

How can a leaflet SVG overlay be placed outside of the leaflet-overlay-pane?

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 in the leaflet-overlay-pane? (For example, how could ...
2
votes
0answers
49 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 ...
2
votes
0answers
92 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
124 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 ...
2
votes
0answers
97 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 ...
1
vote
0answers
31 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
0answers
37 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 ...
1
vote
0answers
28 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 ...
1
vote
0answers
71 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
0answers
92 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 ...
1
vote
0answers
125 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 ...
1
vote
0answers
28 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
0answers
174 views

How to create a color ramp to change the color of a svg image in arcgis javascript api

I have a svg image to create a PictureMarkerSimbol for a feature. How to create a color ramp to change the svg color based on a criteria, like a attribute on my feature? The ideia is like that: var ...
1
vote
0answers
40 views

Problem with taverna

I want to use taverna to call 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,which ...
1
vote
0answers
103 views

SVG trouble in QGIS

I am having some issues using some SVGs that I have created in Inkscape. I am trying to use them in QGIS but they're not displayed properly. This: is how the SVG looks like in Inkscape and how it ...
1
vote
0answers
158 views

How to programmatically change an SVG symbol in the Vector Layer?

I'm trying to change the symbol used in a layer via Python. I've been able to tunnel through a vector layer to the symbol layer, but I don't know how to change the symbol it's using. I'd like to ...
1
vote
0answers
366 views

Quantum GIS SVG highway shields

I was following the instructions on how to create highway shields from the "Interstate Shield Styles in QGIS" post to create highway shields for a project I am currently working on. However, whenever ...
1
vote
0answers
88 views

SVG markers with PyQGIS

How do you SVG-marker layers in PyQGIS? I'm importing a vector layer and want to display it with SVG-markers. It seems that QgsSvgMarkerSymbolLayerV2 does not exist in PyQGIS...
0
votes
0answers
16 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
13 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
22 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., ...
0
votes
0answers
59 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 ...
0
votes
0answers
121 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 ...
0
votes
0answers
130 views

How to ask the Interpolate function with CQL in Geoserver?

I like to display my own picture on Geoserver. But I want to use the geoserver's dynamic feature to color my picture. As explain in the documentation, I tried the purposed solutions : create a ...
0
votes
0answers
115 views

Identifying shapes in TIGERweb WMS SVG

I'm using the US Census WMS service describe here. Using code similar to that found in this example, but specifying a data format of "image/svg+xml", I've been able to get the TIGERweb WMS service to ...