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

learn more… | top users | synonyms

18
votes
2answers
10k views

How to Import SVG into GIS?

I have a PDF file, with a Map as a vector graphic. I want to get this into GIS. (I use ESRI's ArcGIS, but any FOSS solution is also fine). I know that it is not possible to directly get the PDF into ...
15
votes
4answers
25k views

Is there a SVG symbol library for qgis?

Im currently using default simple symbol capabilities or dingbat fonts for point objects. Is there maybe a SVG symbol library for qgis that is a bit more extensive than that which is included? I've ...
5
votes
2answers
1k views

Georeference vector linework

I'm new to GIS and a lot of searching didn't answer my specific question so far, so I hope someone can help me here. What I want to do is creating a small web application to visualize election ...
1
vote
1answer
839 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 ...
0
votes
0answers
477 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 ...
16
votes
3answers
5k 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 ...
12
votes
3answers
9k views

How to create a GeoJSON that works with D3?

I'm simply trying to convert a .shp file to a geoJSON format using: ogr2ogr -f geoJSON output.json input.shp After executing the command nothing seems to be wrong. Here's an excerpt from the output....
3
votes
1answer
329 views

Exporting Shapefile to SVG using Java & GeoTools?

I am currently working on how to read in ESRI shapefiles, parse/edit layers and then export out to SVG (Scalable Vector Graphic) file type. I have been using GeoTools primarily for reading/loading ...
2
votes
4answers
1k 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: ...
10
votes
2answers
2k views

Shapefile to SVG with ArcMap (while retaining country attributes)

Does anybody know how to export the Natural Earth 1:110m shapefile to SVG with ArcMap while retaining the country attributes? From SVG I'm gonna try to convert it again over to RaphaelJS to achieve ...
8
votes
1answer
475 views

What version of SVG should I be saving my images with for QGIS? Any particular options I should use/avoid?

I have a illustration in Adobe Illustrator that I'm trying to export as an SVG file and add to my map layout using the Print Composer of QGIS 1.7.3. When I add the image, I get strange artifacts that ...
4
votes
2answers
3k views

QGIS exporting huge SVG [duplicate]

I'm having trouble exporting an SVG(or a PDF for that matter) from the QGIS print composer. I have a relatively simple map that should, when exported as an SVG, be maybe around 1MB in size, tops. But ...
3
votes
0answers
56 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 ...
0
votes
2answers
469 views

How to rotate (svg) symbols in QGIS map composer to match map rotation?

Because of my thesis layout requirements, I have to rotate 270° some of my maps in composer. There are (many) svg smbols (icons), and they are rotated as well. I would like to (non-)rotate them in ...
5
votes
1answer
84 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 ...
3
votes
3answers
265 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 ...
3
votes
1answer
70 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 ...
3
votes
2answers
773 views

how we create line between two cordinates on polymap?

I am working on d3 and polymaps, I plot map and create circle on the given latitude and longitude which retrieves from the JSON file but now I want to connect those circles with line. I tried to do it ...
3
votes
2answers
427 views

small difference in projection between tilemill and postgis

I would like to create a world map with interaction on continents created directly from a postgis database. For the moment, I have a POSTgis database with the data. I created a background with ...
2
votes
1answer
166 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 Chugiak\...
2
votes
1answer
42 views

SVG symbol colors differences in QGIS 2.12?

I don't understand why SVG symbols, which are colors changeable in the symbol default installation like this airplane: whereas there symbols like the transport bus station, and lighting symbol (...
2
votes
1answer
461 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
1answer
97 views

Why would an SVG output from CartoDB look “squished” when the map doesn't?

I have a map of zipcodes in San Francisco that I plotted on CartoDB.The CartoDB view looks about like I expected: But when I had CartoDB generate an SVG, the proportions are way off. I took the ...
1
vote
0answers
38 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 ...
0
votes
0answers
91 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 ...