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

learn more… | top users | synonyms

0
votes
0answers
20 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
31 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 ...
2
votes
0answers
24 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
28 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
27 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
15 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
46 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
44 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
40 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
12 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
31 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
216 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
108 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
50 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
231 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
106 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 ...
1
vote
0answers
69 views

SimpleSvg Plugin Not Loading in QGIS 2.12.0-Lyon

I just downloaded the SimpleSvg plugin in QGIS 2.12, Mac OS X, and I get the following error: Couldn't load plugin simplesvg due to an error when calling its initGui() method "TypeError: ...
0
votes
1answer
113 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 ...
0
votes
0answers
117 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
13 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
33 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
54 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
14 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
31 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
168 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
711 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
43 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
200 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
34 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
15 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
28 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
32 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
118 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 ...
1
vote
0answers
22 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 ...
2
votes
1answer
83 views

How to scale SVG symbols which are not label background on zoom level in QGIS

I need to scale the SVG symbols on zoom level. @Underdarks answer in the posted question did not help me thus I can't set the SVG symbols as label background for I have labels which should not be ...
0
votes
1answer
23 views

Normalized icon for BOYLAT

I try to find normalized icons to use for the BOYLAT ( lateral buoy ) I find description, but for the boylat it seems that different shape to show different buoy link for the description ...
1
vote
1answer
77 views

Rendering of SVG for layer symbols using QGIS?

I have a little problem with the rendering of SVG for layer symbol. I want to creeate a categorized symbol to show different style of buoy I have for that two icons the first is an half circle ...
1
vote
0answers
32 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
1answer
30 views

QGIS: why does simplesvg export plugin generate poor quality output?

I am exporting a QGIS project to SVG via the simplesvg plugin. However the output is of really poor quality: all coordinates appear to have snapped to a rather coarse grid (while original data, as ...
2
votes
1answer
40 views

Attaching way id to SVG XML from GeoServer/PostGIS for postprocessing?

I render my SVG from Database Layer (PostGIS). I suppose there is basically 1-to-1 match between the ways (polygons) in DB and SVG path elements. Is it possible to attach the way id to the SVG XML ...
3
votes
0answers
52 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 ...
1
vote
1answer
38 views

Building political world wall map for print? [closed]

I'm trying to create a political wall map. I've settled on the Natural Earth projection and thus have had problems with quite a few tools that don't support the projection (Tilemill, QGIS, Maperitive ...
0
votes
0answers
65 views

Modifiable SVG fill color, stroke and stroke width

I have a lot of custom svg files made in Inkspace. I need to be able to change their fill color / stroke color / stroke width using QGIS. I have found a similar topic, however the solution mentioned ...
2
votes
1answer
239 views

QGIS, Is there a way to import 400 SVG files to the symbol list all in one go?

I need to import 400 SVG as SVG Markers to the QGIS styles library. I know how to do it one by one but I need a way to import all of them in one go... Is there a way? I am in QGIS 2.8.2. Wien.
0
votes
0answers
170 views

Use leaflets to display svg floor plans

How can we use the svg image as map? I have the floor plan of svg format and i need to track the location of employees. How does leaflet allow to integrate the coordinates of map and the lat lng? Can ...
0
votes
0answers
18 views

is it possible to make a continuous line using SVG in SLD? [duplicate]

I am trying to make a line with thinner one side outline using SLD in GeoServer (like this: ). Since GeoServer is not support perpendicularOffset element yet, i cannot move the thin line to the edge ...
0
votes
0answers
59 views

SVG image color to be changed by CSS when using ArcGIS API for JavaScript?

I have a image "a.svg" (let's say). I want to change the fill attribute of this svg symbol using CSS. I use this image in a picturemarkersymbol to display a graphic on the map. Is it possible to ...
0
votes
0answers
196 views

How to make Openlayers feature icon dynamic color

I would like to make the icons of my features in the map have dynamic colors. I think I have to use SVG so I can use CSS to dynamically change the icon's color but I don't know if I can use it as an ...
0
votes
0answers
73 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. ...