[gdal-dev] Add a style to a geojson layer
Wael Tarhouni
waelinsat at gmail.com
Thu Mar 28 07:17:27 PDT 2013
Hi All;
Excuse me for this question but i'm trying to add a style to a simple
Multipolygon in a GeoJson file but it can't be applied!
This is the code :
*{ "type": "MultiPolygon",
"coordinates": [
[[[102.0, 2.0], [103.0, 2.0], [103.0, 3.0], [102.0, 3.0], [102.0,
2.0]]],
[[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]],
[[100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2]]]
],
"style":{
//all SVG styles allowed
"fill":"red",
"stroke-width":"3",
"fill-opacity":0.6
}
}*
regards;
--
Wael Tarhouni
Ingénieur en Réseaux informatiques et Télécommunications de l'INSAT
(+216) 22 239 551
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130328/fe405957/attachment.html>
More information about the gdal-dev
mailing list