[mapserver-users] Recommendations for SVG Sizing in MAPSERVER?
Brian Stice
brian at peoplegis.com
Thu Jun 27 10:35:19 PDT 2019
Hi Steve,
Thanks for the tip. I used the link you provided and was able to get the SVG symbol sizing to a reasonable level. I appreciate the help.
I did have another question, maybe you know this. In the most recent version MAPSERVER, are we able to change the color of SVGs using the COLOR parameter? It does not seem that we are able to do so. I found a couple topics on the forum but they were from a few years ago. I am not sure if anything has changed or if I am missing something. Maybe you know the answer to this as well? Thanks for your help!
On Tue, Jun 25, 2019, at 1:50 PM, Lime, Steve D (MNIT) wrote:
> Hi Brian: Welcome! My guess that the SVG file might be "sized" to whatever page size you had defined in Inkscape and your elements may be significantly smaller than that. Basically I'm wondering if there's a bunch of empty space that is also being scaled and your actual symbol would appear proportionately smaller as well. If this is the case it looks like you can do things in Inkscape to remove that space...
>
> https://graphicdesign.stackexchange.com/questions/21635/getting-rid-of-whitespace-in-inkscape
>
> --Steve
>
> -----Original Message-----
> From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Brian Stice
> Sent: Monday, June 24, 2019 2:46 PM
> To: mapserver-users at lists.osgeo.org
> Subject: [mapserver-users] Recommendations for SVG Sizing in MAPSERVER?
>
> Hello,
>
> I am fairly new with MapServer and was wondering if anyone had any recommendations or guidelines of sizing point symbol SVG's?
>
> I created some SVG symbols in Inkscape. When I load them into MapServer and choose SIZEUNITS feet, I have to set the actual symbol size to around 500 for these to show up in a Map. My understanding is that the SIZEUNIT parameter changes the way the symbol rendered in real world space (in my case feet rather than pixels). I am not sure if this has to do with how the SVG is sized in Inkscape or if there is an issue with using SIZEUNITS and SVGs together in MapServer. I looked at the MAPSERVER documentation online and did not have much luck.
>
> I have tried a few things including setting the MIN and MAX Size with no luck. Any help or pointers would be awesome.
>
> Thanks for your help!
>
> Sincerely,
>
> **Brian Stice ***GISP****
> **Project Implementation Manager | PeopleGIS*
> 500 West Cummings Park, Suite 3900
> Woburn, MA 01801
> P: 617.625.3608
> https://gcc01.safelinks.protection.outlook.com/?url=www.peoplegis.com&data=02%7C01%7Csteve.lime%40state.mn.us%7C2d0f3cfe4e1e4534512708d6f8dca0de%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636970023811378893&sdata=WmPqkz8JEMbMlOlu4trPJuj2F6JYFIFfxp0k6O8DoGs%3D&reserved=0
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=02%7C01%7Csteve.lime%40state.mn.us%7C2d0f3cfe4e1e4534512708d6f8dca0de%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636970023811378893&sdata=GQyeNVCdztVMXrdR9CPJm3vBtvJvqB%2B7bAl2gnpnVjo%3D&reserved=0
>
**Brian Stice **GISP****
*Project Implementation Manager | PeopleGIS*
500 West Cummings Park, Suite 3900
Woburn, MA 01801
P: 617.625.3608
www.peoplegis.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190627/f3c18ad7/attachment.htm>
More information about the MapServer-users
mailing list