Questions tagged [svg]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
22 views

SVG does not show up in OpenLayers

I tried adding an SVG as a layer on my map but it does not show up. //For registering EPSG: 2326 import * as proj4x from 'proj4'; var proj4 = (proj4x as any).default; import {register} from 'ol/...
7
votes
1answer
144 views

Using QGIS variables within SVG graphics

If you use SVG symbols within QGIS you can use params like these so you can adjust properties interactively in QGIS: fill = param(fill) fill-opacity = param(fill-opacity) stroke = param(outline) ...
0
votes
0answers
9 views

How to use SVG file as the source for a layer in OpenLayers

I found this solution online but this is defining your own projection. I do not want to use the projection below, I want to use 'EPSG:2326' and put the svg file over the map such that it overlays on ...
0
votes
0answers
17 views

GPS coord to SVG coords

I am trying to make an interrative map using SVG and I need to implement a coordinates system. So I look at http://jsfiddle.net/an3BZ/145/ but I do not know how did he calculated those nortLat ,...
0
votes
2answers
33 views

Exporting heat map / texture maps as SVG without referenced PNG files?

When I create a map in QGIS and export it to SVG format, if there is a heat map or topographical texture map layer, those layers are exported as PNG files referenced by the SVG file. Is there any ...
2
votes
0answers
34 views

Accessing .svg symbols in QGIS?

There was a lot of svg-files included when installing QGIS (C:\Program Files\QGIS 3.4\apps\qgis-ltr\svg), but the program can't really seem to find these. I've made sure the path is correct under ...
0
votes
0answers
23 views

Conversion from DXF to SVG

I want to convert a file from DXF to SVG and for that I am writing a python script. However, While converting from DXF to SVG there are certain features that are different such as xOffset, yOffset, ...
1
vote
2answers
36 views

Pixelated result using SVG as label background?

I have points that are labelled with a 2-digit numeric attribute, shown by default with a circle background (white fill, coloured outline of 1 map unit, buffer of 1 map unit beyond the label). I have ...
1
vote
0answers
26 views

Transformation issue with SVG to GeoJSON conversion

I have a vector image in SVG format. (without georeferences) I am trying to display it using OpenLayers to display properties of different polygons in it. I tried converting it to GeoJSON but the ...
0
votes
0answers
42 views

SVG to GeoJSON conversion - incorrect render [duplicate]

I have a vector image in SVG format.(without georeferences) I am trying to display it using OpenLayers to display properties of different polygons in it. I tried converting it to GeoJSON but the ...
0
votes
1answer
60 views

Creating ArcGIS markers (North Arrows) for QGIS? [closed]

I came across a PDF containing dozens of north arrows used in Esri's ArcGIS. QGIS doesn't have many fascinating north arrows, to be candid. I thought of creating SVG icons of these north arrows and ...
0
votes
0answers
34 views

Pictures with isobaths to a 3D Model in a Browser

I have pictures of lakes with isobaths (*). The result should be a 3D model in a browser. I tried to make a vector image, but this results in a SVG. I can not import it. How do I make a layer of the ...
1
vote
0answers
18 views

Flat image output in TileMill SVG export

I have created a map in TileMill using OSM data (~500 Mb) and modifying the CartoCSS to fit my use case. I need to export it as an SVG with all the different objects being vectors etc. However, when ...
1
vote
1answer
33 views

How to delete default SVG-paths in QGIS

Under "Settings -> Options -> System" the SVG-paths are set. There are two default svg-paths: C:/PROGRA-1/QGIS3/apps/qgis-Itr/./svg/ and C:/Users/jan/AppData/Roaming/QGIS/QGIS3\profiles\default/svg/...
0
votes
0answers
121 views

Custom SVG world map usable for react-simple-maps (topojson, d3-geo)?

A client has supplied a "custom" SVG containing a very detailed world map that includes id's for all countries. I'm not sure how "custom" it is. Is it at all possible to convert it to topojson, which ...
1
vote
1answer
60 views

SVG's as map layers, any other way?

I have a map in SVG format. I can import it as an SVG symbol, scale it, rotate it and geolocate it, all as a symbol. This is great as I get all the plusses of a scalable vector graphic. I.e. when I ...
0
votes
2answers
118 views

Zoom to points using d3SvgOverlay

I have an application where a csv file is filtered and the filtered data is displayed on a leaflet map. What I would like to happen is for the map to zoom in to the points. I have tried using ...
1
vote
0answers
20 views

QGIS extracted azimuth used for symbol rotation seems not reproduced faithfully [closed]

A field of calculated azimuths* (degrees) of digitized two-point lines was created. Field expression to calculate azimuth: degrees( azimuth( point_n( $geometry ,1) , point_n( $geometry ,2 ) ) ) . ...
1
vote
1answer
35 views

QGIS, I uploaded an SVG file as a label. I set the size at 7 however I have two labels appearing massive

Here is a photo below. I am using QGIS 2.18.14 How can I solve this issue and possibly have the labels spread out throughout the rest of the lines and not limited to the ones above?
3
votes
1answer
205 views

Searching oil well SVG-symbols

I’m looking for a set of SVG oil well symbols for QGIS. Black Bart data: http:// blackbartdata . com / QGIS_Petro_SVG_Symbols Just directs me to a spam page. Any other alternatives? This is a ...
0
votes
0answers
89 views

Create a SVG layer for Leaflet from GeoJSON

I had a large GeoJSON and I display it with vectorgrid plugin for Leaflet. I want to add another layer based on the main GeoJSON with only the name of the building and display it in vector format (not ...
2
votes
0answers
36 views

Map view does not render full SVG, but layers pane and print layout does?

In map view where I want to do all design and small changes the SVGs for "MELLANTID" does not render the added outline, only original size. The SVG for "SJUKVARD" only renders the left half of the SVG,...
1
vote
1answer
242 views

Structural geology SVG symbol library

Is there a public source with an SVG library of symbols for structural geology mapping in QGIS ?
3
votes
1answer
153 views

Export as SVG with path / polygon IDs

I imported two layers to my Project (one is a shapefile from natural earth, the other is built out of lon/lat Points in a csv-data-file) QGIS fits the two graphics perfect together. Now my goal is to ...
5
votes
1answer
181 views

Blinking symbology in QGIS on database values

I made a geopackage to plan Aids-to-Navigation for maritime environments. In my database I have a few fields that describe the character of the lights that are to be placed on the planned A-to-N's. ...
0
votes
0answers
41 views

Trying to figure out ArcGIS API's `mapScale` variable and how it maps to OpenStreetMap's zoom level

I'm using ArcGIS' /export endpoint to get an .svg of a few map layers given a specific bounding box. However, when I apply the .svg as an image overlay to OpenStreetMap's world map using Leaflet, the ...
0
votes
2answers
115 views

Applying SVG marker as additional symbol to polygon layer in QGIS 3

I would like to add SVG markers as an additional symbol to a polygon layer. The polygon layer is rendered with a categorized symbol renderer with different fill-color, and I want to add SVG markers ...
1
vote
2answers
85 views

Tool to retrieve coordinates from SVG file

I have an .SVG file of a map with known extreme North/South/East/West coordinates of the area, and I'm required to retrieve coordinates of certain points on it. What free/freeware software tools, ...
0
votes
0answers
50 views

Python QGIS .svg symbol with modifiable color (data defined override)

I can import an .svg format symbol on a vector layer by using QGIS Desktop App and change its color by using data defined override part(case when .. then rgb_color(255,0,0) END ). How can I implement ...
1
vote
2answers
659 views

Transforming .osm file into a .svg file with an equivalent geometry, without applying styling

I have an existing .osm file (containing a small part of OpenStreetMap database). I am looking for way to convert it into .svg file. Note that I am not interested in applying any styling based on ...
0
votes
0answers
71 views

Filling Polygon with SVG File so it Will Appear Only One Time in QGIS 3.4.2

I have a layer that shows the world, without Antarctica and small islands. This layer is made of five different polygons. I want to fill it with an SVG file that is displayed non uniform background. ...
3
votes
3answers
947 views

Changing colour of imported SVG icon in QGIS 3.4

I have imported my customised icon (which was obtained through the .jpeg image conversion) for point layers using an SVG file. This works well except for the fact that the original colour was ...
1
vote
1answer
32 views

Show differenet SVG icons on one layer at runtime

I need to show several SVG icons (more than 388 icons) with different name on a single layer(if possible on memory layer). I am using QGis 2.8 and qt4.8.6 The icons represent different kind of ...
1
vote
2answers
61 views

Moving SVG in QGIS?

I have a SVG icon that I want to move. The problem is that the I am working in a big scale and it is hard to click on the right location on the icon. If I am not clicking precisely on the spot it ...
0
votes
1answer
394 views

How to create shape in Shapely from an SVG <path> element?

AFAIK, you need to provide a list of coordinates to Shapely in order to create a shape but that's not how SVG <path> element works. Is there a way to create a Shapely shape using an SVG <path&...
1
vote
2answers
394 views

Converting vector points to geo coordinate points

So I have an SVG file that has paths for a floor in a building. I want to convert these polygons into something like GeoJSON so that I can draw them in Mapbox. I already know the geo coordinates and ...
1
vote
1answer
70 views

Generating legend from sld

I have and SLD with following rule <se:Rule> <se:Name>Primary Pole</se:Name> <se:Description> <se:Title>Primary Pole</se:Title> </se:...
0
votes
1answer
68 views

How can I use SVG icons controlled over variable order attribute field?

I have about 200 different point categories. I want to order all these categories with one background SVG and one for the front. One solution is to categorize the points depending on one attribute ...
4
votes
0answers
213 views

Question marks (“?”) in QGIS layer panel when using svg markers defined with “Data defined override”

When using svg marker symbols and set the path to svg file via Data defined override the svgs display well in the map canvas, but not in the layers panel (applies for QGIS 2.x and 3.x). svg marker ...
1
vote
0answers
43 views

Problem converting Alaska to svg because of longitude wraparound

I'm trying to render an svg of Alaska, but because the left side of Alaska's longitude is 179 and the right side of Alaska is -152, the left of side Alaska is separated and shows up in the very far ...
0
votes
2answers
154 views

SVG on GeoServer not working

I have several SVGs, the simplest of them is the following SVG: <?xml version=‘1.0' encoding='utf-8'?> <svg viewBox="-337 43 2223 1812" xmlns="http://www.w3.org/2000/svg"> <...
1
vote
1answer
134 views

Different SVG markers for different attributes

I am using QGIS 3.0. I want to use different angle arc SVG markers depending on the data in the attribute table. For example, some points require a 60-degree marker, other a 35-degree marker etc. to ...
5
votes
2answers
160 views

Fail to open SVG graphics as SVG Marker in QGIS

I have an SVG graphic which should be placed in certain locations on my map in QGIS 2.18. I can open it through Adobe Photoshop, Inkscape, Chrome, it even obeys Internet Explorer. As for me, ...
1
vote
3answers
93 views

Custom SVG does not work in my Qfield project

When I open my project in Qfield, all SVG symbols are relocated by a question mark. Here is the path of my installation in my Tablet ..... \ Tablet \ Android \ data \ ch.opengis.qfield \ files \ share....
1
vote
2answers
155 views

Shifting an svg symbol to a specific point in QGIS

Is it possible in QGIS to make a particular point of a custom .svg symbol coincide with the layer point position? i.e referring to the image: I would like to make the beginning of the symbol line ...
2
votes
0answers
431 views

GML/SVG for indoor map in OpenLayers 4?

I am new to GIS world and trying to incorporate OpenLayers with GML or SVG. I am building a map engine and one of the features should be support of indoor maps. It can be accomplished with a static ...
1
vote
0answers
78 views

QtDesigner shipped with QGIS 3 doesn't show svg's in resources

In the QtDesigner shipped with QGIS 3 svg's and jpg's are not shown in the Resources window nor as icons on widgets: QtDesigner from QGIS 3.2: svg's example jpg's example QtDesigner from QGIS 2.18 ...
2
votes
0answers
48 views

How to “save” svg symbols when transforming a map in QGIS using qgis2web to create a web map?

I'm very new to QGIS so might be getting the terminology wrong. I created a map with several layers in QGIS. I needed different markers than the ones provided so I used svg markers. Now I'd like to ...
2
votes
0answers
60 views

.SVG Basemap from QGIS?

I'm having trouble getting a gray basemap of Philadelphia in a vector scalable format using qgis. I've tried using the openstreets basemap plugin, and then taking that to print composer, but that ...
1
vote
0answers
75 views

Can I save a style with a SVG marker in the database in QGIS 3?

QGIS 3.2, Mac OS 10.13.5. I have started using some svg markers in my style but now find the option to save it to a database has gone. Is it possible to save styles with svg in a postgis database ...