Acronym for scalable vector graphics. An XML-based graphics file format that describes two-dimensional vector images, including animation.
9
votes
4answers
2k 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 ...
9
votes
2answers
1k 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
2answers
3k 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 ...
7
votes
2answers
432 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
2answers
482 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
1answer
151 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 ...
7
votes
1answer
307 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 ...
5
votes
3answers
2k 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 ...
5
votes
1answer
129 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
243 views
QGIS exporting huge SVG
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
515 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
2answers
573 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 ...
3
votes
4answers
425 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 ...
3
votes
1answer
131 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
3
votes
2answers
221 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 ...
2
votes
2answers
265 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 ...
2
votes
2answers
167 views
How to rotate a feature in openLayers
I have an svg image and I want to rotate it around itself so I do the following:
var origin = new OpenLayers.Geometry.Point(vertices[0].x,vertices[0].y);
feature.geometry.rotate(90 ...
2
votes
1answer
69 views
Why are some SVGs not displayed properly in print composer?
I am having weird problem with adding .svg to qgis print composer. I have done some smaller symbols before in inkscape and they work - however the latest one displayed itself as huge black square.
I ...
2
votes
0answers
143 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 ...
2
votes
1answer
483 views
Plotting latitude on to a (Mercator projection) SVG representing a country map
I want to convert (google sourced) longitude and latitude coordinates to x and y to place points on a SVG map
I can get the longitude converted to X but I can't nail latitude.
...
1
vote
2answers
193 views
PostGis, export Svg in pixels
I'm new to GIS. It is very intersting.
I have installed Postgis, insert shapefile, get data in SVG without problem (ST_AsSVG).
Now, I'd like to export the same svg but in pixel to add it on top of ...
1
vote
1answer
150 views
Which map projection maps y=m1*lat+b1, x=m2*long+b2?
I'm looking for a map of the US in this simple format. Then I can calibrate the simple mapping and do a report for our business by making a dynamic SVG file that places markers on that map.
Right now ...
1
vote
0answers
28 views
How to programmatically change an SVG symbol in the Vector Layer?
I'm trying to change the symbol used in a layer via Python. I've been able to tunnel through a vector layer to the symbol layer, but I don't know how to change the symbol it's using. I'd like to ...
1
vote
0answers
106 views
Can I Rotate SVG symbol counter clockwise in Quantum GIS? (Direction East 0 - counter clockwise) [closed]
I'm working in a road signs project. I need the signs layer symbol to rotate according to the value in the angle field, so they could be represented facing the correct orientation. However, the angle ...
1
vote
0answers
110 views
Quantum GIS SVG highway shields
I was following the instructions on how to create highway shields from the "Interstate Shield Styles in QGIS" post to create highway shields for a project I am currently working on. However, whenever ...
1
vote
0answers
52 views
SVG markers with PyQGIS
How do you SVG-marker layers in PyQGIS? I'm importing a vector layer and want to display it with SVG-markers.
It seems that QgsSvgMarkerSymbolLayerV2 does not exist in PyQGIS...
1
vote
0answers
333 views
ArcGIS Javascript API - IE9 Quirks Mode
I'm having difficulty understanding why ArcGIS Javascript API isn't rendering SVG when running in IE9 quirks mode.
When I visit the ESRI sample site at ...
0
votes
0answers
23 views
Dynamically scaling PointSymbolizer with external svg without using scaledenominator filter in sld
In this example taken from Graphic Symbology - External Graphics,
<PointSymbolizer>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple" ...
0
votes
1answer
32 views
How to rotate (svg) symbols in QGIS map composer to match map rotation?
Because of my thesis layout requirements, I have to rotate 270° some of my maps in composer.
There are (many) svg smbols (icons), and they are rotated as well.
I would like to (non-)rotate them in ...
0
votes
1answer
68 views
Kartograph Open Street Maps
Firstly, congratulations to Gregor Aisch for creating such a wonderful library, thank you!
I am having a little trouble rendering an svg from some osm data. I downloaded the Sweden transportation ...
0
votes
0answers
26 views
How to draw symbols with equal distance on concentric circles with svg?
I'm currently working on a svg implementation of ring maps and I am not sure how the rectangles could be automatically placed on concentric circles. There are two conditions to meet:
distance ...
0
votes
0answers
54 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 ...
0
votes
1answer
96 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 ...
0
votes
0answers
36 views
Identifying shapes in TIGERweb WMS SVG
I'm using the US Census WMS service describe here. Using code similar to that found in this example, but specifying a data format of "image/svg+xml", I've been able to get the TIGERweb WMS service to ...
0
votes
0answers
319 views
unable to parse mapnic svg export when used as a base layer with open layers
I have exported an svg from http://www.openstreetmap.org with bounding box 24.06283 35.52435 24.07523 35.53458 and want to use it as a base layer in a map. I removed width and height from the svg, and ...



