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

learn more… | top users | synonyms

2
votes
0answers
22 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 ...
0
votes
0answers
13 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 ...
3
votes
0answers
41 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 ...
1
vote
1answer
54 views

Import PNG symbols in QGIS

I would like to upload some symbols into QGIS using version 2.14 (Essen). I would like to upload a PNG but it seems the only format available is XML. Do you know if its possible to upload PNG's ...
1
vote
0answers
19 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, ...
3
votes
1answer
43 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 ...
1
vote
0answers
20 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: ...
1
vote
0answers
19 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. ...
0
votes
0answers
14 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 ...
2
votes
1answer
35 views

Why are point-files cut at tiles-borders?

I'm placing a SVG in Tilemill via a point with lat and long. So far that works great but when the tile the point is located in ends, the image is not rendered. Is this a bug? Can I do something ...
4
votes
1answer
54 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 ...
0
votes
1answer
27 views

How to use svg symbols for styling elements in ms4w (mapserver)?

I have MapServer installed in a windows machine. I have imported into my PostGIS db osm data and want to style certain elements(nodes) with svg symbols. The problem is that the version of MapServer ...
0
votes
1answer
29 views

Render SVG symbols with MapServer on Windows

I am using MapServer in a windows machine in order to build a map with data from openstreetmap and OpenSeaMap. I want to style some elements in the map and I want to use SVG symbols for doing this. ...
1
vote
1answer
35 views

Can't use my SimpleSVG Plugin in QGIS (error: initGui() method, 'QPYNullVariant')

I'm looking for a good workflow from QGIS into a vector graphics program, and since the built-in SVG export in QGIS doesn't work really well, I thought I'd use the SimpleSVG plugin. For some reason, ...
2
votes
1answer
55 views

Transparency control in svg symbols

I am mapping animals and have to display their locations in QGIS (2.12.3, Win7 64) with gender symbols (♂/♀). The outline of the symbols should be rendered in different colors corresponding to the ...
1
vote
0answers
48 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 ...
4
votes
1answer
92 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 ...
0
votes
0answers
79 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, ...
1
vote
1answer
42 views

QGIS symbology: where are simple markers located in the system?

I would like to know, where are simple svg-markers (for example the one that is defined as "regular_star" in .qml file) are physically located in the system? I searched the system and looked inside ...
1
vote
0answers
33 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
37 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 ...
2
votes
0answers
36 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 ...
0
votes
0answers
20 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
104 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
70 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 ...
1
vote
1answer
78 views

Leaflet js circle doesn't showing on map

I have a leaflet js app that use circle. It works fine when i dont put the script to my html template (I use SingApp template). But when i integrate the script to template, circle does not appear on ...
0
votes
0answers
19 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 = ...
0
votes
0answers
58 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 ...
1
vote
1answer
633 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: ...
0
votes
0answers
258 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 ...
1
vote
1answer
93 views

SVG for symbols in ArcGIS JavaScript API

I'm developing a web app based on ArcGIS for Javascript. My customer's problem requires using many different point symbols, some of them graphically quite complex. I use PictureMarkerSymbols to create ...
6
votes
3answers
372 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 ...
0
votes
0answers
153 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
1answer
139 views

Creating minimalistic map in *.svg file format?

I am interested to obtain a .svg map file format in two colors, without labels or marks, like we have here or here for example. what I've tried: to use Google Styled Maps Wizard but unfortunately ...
1
vote
0answers
159 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 ...
0
votes
0answers
15 views

Interactive Web Mapping for a Non Programmer? [duplicate]

I'm looking to map something similar to this: http://tipstrategies.com/geography-of-jobs/ Does anyone know, first off, how this was put together? From what I've researched so far, it seems this type ...
1
vote
2answers
36 views

Can QGIS be coaxed into exporting text as text in an SVG?

Having resolved my squished projection I'm now facing the fact that QGIS exports all my labels as vectors, which means I can't take the map over to Inkscape and fine tune the fonts without retyping ...
2
votes
1answer
71 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 ...
0
votes
0answers
26 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
26 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
38 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. ...
3
votes
1answer
244 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 ...
5
votes
4answers
1k 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 ...
1
vote
1answer
51 views

How to create a specific svg file with data from a feature

I am working in c++/ QT4.8.5, with qgis api c++ 2.8.2 I have to display a dynamic icon for a feature. some of the data change periodically and in order to display the change i need a svg that can get ...
1
vote
1answer
506 views

SVG To Shapefile [duplicate]

Is it possible to draw out some SVG shapes in Illustrator or Inkscape and convert them to Shapefile using GDAL or QGIS (or something else perhaps?). I have an image that I can easily georeference, ...
1
vote
0answers
38 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 ...
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" .... ...
2
votes
0answers
35 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
45 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
164 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 ...