[mapserver-users] Recommendations for SVG Sizing in MAPSERVER?

Lime, Steve D (MNIT) steve.lime at state.mn.us
Tue Jun 25 10:49:54 PDT 2019


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


More information about the mapserver-users mailing list