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
17 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
10 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
37 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
26 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. ...
0
votes
0answers
21 views

SVG as external graphics in OpenLayers

Can I use .SVG file as external graphic in Openlayers feature? I tried it, but Openlayers not showing my SVG file on map.
0
votes
0answers
45 views

In OpenLayers, the strokeDashstyle property does not work in WFS when the renderer is Canvas

I have a wfs layer, i.e. a vector layer with wms data on in. I want to be able to apply the strokeDashstyle property on the features. Somehow this only works when I disable the Canvas renderer, i.e., ...
1
vote
0answers
40 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
1answer
66 views

How can I automate interactions with vector features in Openlayers3(canvas) like it is done in Leaflet(SVG)?

I want to automate and test some aspects of my map application in Openlayers 3. I mainly want to automate clicking on markers and other vector features(ideally through the DOM using xpath like SVG). ...
1
vote
0answers
54 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 ...
0
votes
1answer
52 views

How to generate a tiled map from a spherical mercator SVG?

I'm not a GIS person; this is really just a side task, so I probably have terminology/strategy incorrect; I would ask that you please bear with me. I have the following requirements for a Qt-based C++ ...
1
vote
0answers
31 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 ...
2
votes
2answers
136 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 ...
1
vote
1answer
178 views

Add svg filter to paths created by leaflet?

If I were to create a simple inline svg, I could modify paths to have a drop shadow or a blur by creating a <filter> within a <defs> grouping. However, Leaflet dynamically generates the ...
2
votes
1answer
121 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
0answers
66 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 ...
1
vote
1answer
383 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 ...
3
votes
0answers
49 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 ...
1
vote
0answers
88 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
2answers
180 views

How can I generate a SVG file of Mexico and USA at states level (Admin1)? Kartograph fails

I am trying to include a US map at the state detail on top of this maps: http://crimeinmexico.org/ I am using Kartograph for the small map. I have installed kartograph in Mac OS X and I am able to ...
1
vote
1answer
150 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 ...
2
votes
1answer
94 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 ...
2
votes
0answers
109 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
101 views

Place an image svg into an R plot [duplicate]

I have a set SVG icons (weather icons ) and I want to create a figure with svg superimposed images representation of a Shapefile. below my shapefiles and points representing the position where I ...
3
votes
3answers
134 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 ...
2
votes
1answer
138 views

How to write a custom canvas item for SVG marker by subclassing QgsMapCanvasItem in QGIS?

I want to subclass QgsMapCanvasItem for SVG marker in QGIS, I looked up a similar topic in stackexchange and QGIS mailing list, I found that this is similar to mine, I did exactly what @Nathan W did. ...
1
vote
0answers
103 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 ...
3
votes
1answer
337 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 ...
1
vote
0answers
140 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 ...
0
votes
0answers
68 views

How To Add a QgsSvgMarkerSymbolLayerV2 to VectorLayer in Qgis?

I'm using Qgis2.4.0 API to develop a C++ application. I want to add a svg symbol to a vector layer. Here is what I have already done: add vector, then add symbol. But I get stuck dong this. Here is my ...
2
votes
0answers
135 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 ...
1
vote
0answers
28 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
1answer
292 views

Convert shape file to kml without losing symbols

I am using QGIS 2.2 and want to convert a shape file containing point coordinates with userdefined svg-symbols to a kml file. Everything seems to work. The orginal file is in WGS 84 / UTM zone 32N ...
2
votes
1answer
112 views

How to create dynamically styled symbols (fill, stroke, stroke-width ..) with Geoserver?

Case scenario: I need to create symbology that takes fill, stroke and stroke width with information from the database. Problem arises with custom defined symbols like the one on the image. There are ...
0
votes
0answers
134 views

Geoserver KML Rendering in Google Earth - SLD Errors

I have a layergroup with custom SLD's in Geoserver: Layer preview All the symbology renders fine. If I try and add the KML as a network link into google earth using this URL I lose most of my SVG and ...
2
votes
0answers
106 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 ...
8
votes
5answers
842 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 ...
0
votes
1answer
240 views

OpenLayers SVG sprite externalGraphic only works in Firefox

I am trying to set the externalGraphic property of a vector layer's style to an SVG sprite that has various viewboxes to position the icons dynamically by creating different views within my SVG file: ...
2
votes
2answers
190 views

SVG symbols for alphabet characters e.g. A, B, C, … etc

Can anyone tell me whether there is a SVG plugin or source (or how to do) of letters of the alphabet e.g. A, B, C, D etc. I want to create a symbology with colour e.g. gray but also with letters in ...
2
votes
2answers
307 views

Export to Mapbox (TileMill) from PSD (or SVG/PNG)

Newbie question: I designed a map (not Earth-related) in Photoshop and I want to use something like Mapbox to serve the map and make it dynamic (bounding boxes, zoom in/out, etc). How can I go from an ...
0
votes
1answer
117 views

Create transparent background for svg marker in QGIS?

I have an image that I want to use as a SVG marker in Print Composer. I created it as a .png file in Inkscape and then saved it as .svg. But the background transparency does not come across from the ...
1
vote
1answer
127 views

Leaflet SVG layer is obscuring the underlying GeoJSON interactivity

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 within the leaflet-overlay-pane? (For example, how ...
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 ...
3
votes
1answer
48 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 ...
1
vote
0answers
182 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 ...
3
votes
2answers
273 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?
2
votes
1answer
415 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 ...
0
votes
1answer
1k views

Geoserver SLD Line styling with external graphic instead of WellKnownName

I have problem with styling in geoserver. Using tutorial from http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/lines.html#id7 everything is ok but when I want to use ExternalGraphic ...
0
votes
1answer
303 views

Openlayers Custom Renderer - Multiple polygons

I want to render more than one polygon for a feature in a vector layer. So, for example given a polygon render it as normal, then render it again with a different colour and offset by a Y value. I may ...
4
votes
5answers
3k 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 ...
1
vote
1answer
963 views

How to loop through all columns in a table/layer getting all data for a row/feature in MapBasic?

I'm trying to extend this GNU-licensed plugin MI2SVG, which converts MapInfo maps to SVG, so that it writes associated table data into the SVG it creates, so that browser based JS web applications can ...