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 ...
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 ...
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 ...
13
votes
5answers
1k 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 ...
13
votes
3answers
5k views

Leaflet: how to draw curved lines?

So, I'm trying to draw curved lines in my application which is based on a Leaflet map. As far as I know Leaflet does not support drawing curved lines at the moment, so my question is really more ...
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....
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 ...
8
votes
1answer
9k views

How to convert shapefile to SVG keeping internal data?

I am very new to GIS. I found a tutorial on how to make a choropleth using Python tools. I want to follow it but use my own data and map. However the tutorial uses a US map SVG file and I need to use ...
7
votes
2answers
4k views

How to generate an image from OSM on command line?

Is there a GNU/Linux command line tool that allows to generate an image file from OSM, preferably as an SVG?
7
votes
1answer
115 views

SVG markers made in InkScape appear transparent in QGIS

Using QGIS 2.14.3 on Ubuntu 16.04, I created a custom icon using inkscape for QGIS. You can find it here (Update: that icon is now fixed). In inkscape, in my filesystem, it displays as: However in ...
7
votes
2answers
2k views

Exporting a set of lat/long coordinates to SVG

Suppose I have a set of coordinates in latitude and longitude. What would be the easiest way to export those to an SVG file? I'd rather do this programatically (any language or library will do) ...
7
votes
4answers
2k views

Methods to Convert .SVG File to GeoJSON

Question How do I convert an SVG file to GeoJSON format? Desired Outcome: I want to make a choropleth map using something like D3.js, or any of the other libraries out there. Challenge: I have an ...
7
votes
1answer
493 views

How to migrate SVG-based styles for QGIS to other computers?

I'm working on a project that has involved creating many recolourable SVG icons and bringing them into QGIS. These are then used in layer symbologies, with these subsequent layer styles exported as ....
6
votes
5answers
7k views

What web mapping libraries are suitable for indoor maps?

I am looking for a custom mapping library but not to display an actual geographical area but to display a custom floor-plan. I have been looking for a while but most of the solutions that I found are ...
6
votes
3answers
547 views

Extracting vector/point data from single-layer, non-georeferenced vector PDF file

I am trying to extract point data from a non-geo-referenced vector PDF file, to import into QGIS/ArcGIS. You can download a copy of the PDF file here, if interested, but I've tried to include ...
6
votes
2answers
4k views

Leaflet Polyline with custom fill pattern

I'm drawing Lines with leaflet.js an have to create custom styled polylines. So i got various image files which should be like a repeated background image in HTML. So is it possible to give a drawn L....
6
votes
2answers
1k views

Options for PostGIS and Mapserver outputing SVG, and client with OpenLayers

This question is related to "Options for displaying PostGIS vectors in OpenLayers?", but I need SVG output on server. OpenLayers must render SVG directly. We are using Mapserver6, and thinking on WFS ...
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 ...
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 ...
5
votes
2answers
3k views

Importing .svg images to use as Symbols in ArcMap?

I have several .svg files that I want to use as symbols in ArcMap 10.1. However, I do not see any import feature or the sort to use these .svg pictures.
5
votes
2answers
2k views

How can I export big SVGs for further use in Inkscape?

I am trying to export as an svg from Quantum GIS and import into Inkscape. However it is failing to Import. Inkscape comes up with the error 'Failed to load the requested file'. The files are quite ...
4
votes
1answer
644 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 ...
4
votes
3answers
872 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 ...
4
votes
4answers
12k views

Looking for an annotated vectorial map of the world

I'm looking for an annotated vectorial (PS/SVG/...) map of the world (+countries). Wikipedia contains many vectorial maps (e.g: http://commons.wikimedia.org/wiki/Category:Blank_SVG_maps_of_the_world )...
4
votes
2answers
793 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 ...
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 ...
4
votes
1answer
548 views

Looking for a SVG library for construction

Would anyone be able to suggest a good library for svg symbols for construction please? To be used in QGIS. Ideally water and pipeline network symbols. ciao
4
votes
1answer
89 views

QGIS 2.14 Composer incorrectly renders svg text position

I just noticed that SVG rendering in composer since upgrade to QGIS 2.14 is incorrectly handling some text placement. I have an SVG compass rose, which was rendering fine before upgrading to 2.14 (...
4
votes
1answer
119 views

QGIS Composer Distorted SVG PDF Output

I've noticed that some SVGs are distorted when outputting to a vector PDF from QGIS. A good example is NorthArrow_07.svg. The image on the left is how it looks in the composer and the image on the ...
4
votes
1answer
71 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 ...
4
votes
1answer
962 views

How to prepare SVG images for presentation in OpenLayers?

I have a collection of SVG vector images I need to display on a map, probably using OpenLayers/KML. Is there any way to convert a vector image from SVG to KML? Or would it make more sense just to use ...
4
votes
0answers
176 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
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
2answers
1k views

How to use user made png/jpeg icons in QGIS 2.0?

I can only add svg icons in qgis 2.0. How can i use png or jpeg or gif images as icons in qgis2.0?
3
votes
2answers
81 views

Semi, third, quarter circle and other compound style symbols in QGIS?

I think I used quarter (and other) circles in QGIS in the past. But it might be as well that it was only in different software. Anyway now I am not able to find in symbols any option for compound (...
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 ...
3
votes
1answer
234 views

Converting map image to GIS

I’m very new to GIS, and I’ve been reading a lot of manuals and information, but I thought I’d ask a couple of questions here. One of my major hobbies is drawing maps of a completely imaginary ...
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
1answer
40 views

QGIS problem exporting to both SVG and PDF

I'm having a problem when exporting to SVG and PDF from qGIS. When I open the SVG or PDF in Illustrator, the path of my map is severely cut off with lots of data missing (see below). When I open the ...
3
votes
1answer
57 views

Is there a way to force QGIS to use scaleable markers for map prints?

The implementation of scaleable vector graphs in QGIS is very cool, however, when svgs are used for point pattern fill of polygons, these markers are obviously rasterized, blowing up the filesize of ...
3
votes
1answer
824 views

SVG control not visible on top of Leaflet.js

I'm using Leaflet 0.7.1 and want to draw a radial menu (like openstreetmap's iD editor) on top using d3. Some examples I found use Leaflet's overlayPane to append the svg element to: var svgContainer=...
3
votes
2answers
2k views

convert my large svg image into tiles

This is probably going to annoy the more experienced map people here, but I'm sort of new to all this, or at least I don't have a lot of experience. I know this is a bit strange and not ideal, but I ...
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 ...
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 ...
3
votes
0answers
405 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
2k 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
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: ...
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 ...