Hi,
I have a feature store with linestrings (from a shapefile). I changed the SLD to display an open arrow at one end of the line. I also managed to have different colors according to an attribute. Very well.
Now I would like to increase the length of the line according to the zoom level. I know it is possible to have the thickness vary. How about the length itself ?
Thank you.
Best regards.
Ramzi
On Thu, Feb 27, 2014 at 4:10 PM, Ramzi Oueslati <ramzi@anonymised.com> wrote:
Hi,
I have a feature store with linestrings (from a shapefile). I changed the
SLD to display an open arrow at one end of the line. I also managed to have
different colors according to an attribute. Very well.
Now I would like to increase the length of the line according to the zoom
level. I know it is possible to have the thickness vary. How about the
length itself ?
The easiest way it to specify the line thickness in real world unit of
measure:
http://docs.geoserver.org/latest/en/user/styling/sld-extensions/uom.html
Cheers
Andrea
--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
Sorry Andrea for my late reply.
Thank you. I will try this asap and will let you know.
Best regards.
Ramzi
···
On Thu, Feb 27, 2014 at 4:10 PM, Ramzi Oueslati <ramzi@anonymised.com> wrote:
Hi,
I have a feature store with linestrings (from a shapefile). I changed the SLD to display an open arrow at one end of the line. I also managed to have different colors according to an attribute. Very well.
Now I would like to increase the length of the line according to the zoom level. I know it is possible to have the thickness vary. How about the length itself ?
The easiest way it to specify the line thickness in real world unit of measure:
http://docs.geoserver.org/latest/en/user/styling/sld-extensions/uom.html
Cheers
Andrea
–
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information ==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it