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

learn more… | top users | synonyms

4
votes
0answers
166 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
53 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 ...
3
votes
0answers
394 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 ...
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
98 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 ...
2
votes
0answers
42 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 ...
2
votes
0answers
36 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 ...
2
votes
0answers
246 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 ...
2
votes
0answers
203 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
211 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
159 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 ...
2
votes
0answers
149 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 ...
2
votes
0answers
231 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
24 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 ...
1
vote
0answers
28 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 ...
1
vote
0answers
38 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, ...
1
vote
0answers
28 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
32 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. ...
1
vote
0answers
41 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 ...
1
vote
0answers
55 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 ...
1
vote
0answers
189 views

OpenLayer 2 and D3.js:Set the rigtht size of the SVG overlay

I am following an example of D3.js used in conjunction with OpenLayers 2 to display GeoJSON on a map. http://bl.ocks.org/mbertrand/raw/5218300/quakes.html In this example, the author set the bounds ...
1
vote
0answers
40 views

How to interpret svg:transform element

I'm rendering maps into SVG files, and I'd like to put geographic metadata into those files, as described in section 7.13 and 7.14 of the SVG spec, but I'm uncertain about how to interpret the <svg:...
1
vote
0answers
18 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" .... ...
1
vote
0answers
33 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 ...
1
vote
0answers
48 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
0answers
174 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
59 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
367 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
187 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
261 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
36 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
274 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
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, ...
1
vote
0answers
156 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 ...
1
vote
0answers
567 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
144 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
25 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 ...
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 ...
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 ...
0
votes
0answers
204 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, ...
0
votes
0answers
23 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
195 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 ...
0
votes
0answers
82 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
25 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
83 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
416 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 ...
0
votes
0answers
183 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 ...
0
votes
0answers
27 views

What GIS API is slaveryfootprint using for this survey question?

I was taking the slaveryfootprint.org survey, and their question 1 is awesome: http://slaveryfootprint.org//survey/#where_do_you_live You type in a city, and the svg map locates it. If it doesn't ...
0
votes
0answers
29 views

FME output of SVG without ATTLIST

I am using FME 2015 to output SVG files. In lines 4-9 below, it adds a lot of ATTLIST metaproperties, which mess up chrome as well as my other SVG readers and display programs. Is there a way to ...
0
votes
0answers
45 views

FME convert from OSM to SVG but preserve aspect ratio?

I need to apply "raster paint" over a OSM map. I am using FME to convert the OSM map to SVG, and then using the xara draw program to add the paint (roadways, stop lines, etc.) for a raster display. ...