{"id":244,"date":"2007-08-08T11:55:41","date_gmt":"2007-08-08T16:55:41","guid":{"rendered":"http:\/\/crschmidt.net\/blog\/?p=244"},"modified":"2007-08-08T11:55:41","modified_gmt":"2007-08-08T16:55:41","slug":"mapserver-agg-rendering-now-with-fonts","status":"publish","type":"post","link":"https:\/\/crschmidt.net\/blog\/archives\/244\/mapserver-agg-rendering-now-with-fonts\/","title":{"rendered":"MapServer AGG Rendering: Now With Fonts"},"content":{"rendered":"<p>Today, I finally made the switch from the 7 month-running Mapnik based homepage map on the boston freemap to a MapServer 5.0-based AGG rendering.<\/p>\n<p>The new map has had more cartography put into than any existing Boston Freemap to date. Maps like:<\/p>\n<p><a href=\"http:\/\/boston.freemap.in\/?lat=901381&#038;lon=232542&#038;zoom=7&#038;layers=B\">Cambridgeport<\/a><br \/>\n<a href=\"http:\/\/boston.freemap.in\/?lat=898136&#038;lon=157398&#038;zoom=0&#038;layers=B\">The state of Massachusetts<\/a><br \/>\n<a href=\"http:\/\/boston.freemap.in\/?lat=901747&#038;lon=236618&#038;zoom=8&#038;layers=B\">Downtown Boston<\/a><\/p>\n<p>All demonstrate some of the qualities offered by the new MapServer. <\/p>\n<p>Among other things, the new maps:<\/p>\n<ul>\n<li>Have had the labels lowercased, to fit more text in (Python OGR script I wrote, help from #gdal)<\/li>\n<li>Have had sortshp run over them, to order them so that you don&#8217;t get  weird overlaps (help from danmo)<\/li>\n<li>Have had additional cartography work done in order to create a better fit for labels<\/li>\n<li>Benefit from the excellent AGG rendering work I&#8217;ve been describing here, by tbonfort.<\/li>\n<\/ul>\n<p>In my opinion, the look and feel of these maps really does approach the level of quality that the commercial services have set, as far as rendering goes. MapServer&#8217;s leaps and bounds in the past couple weeks in rendering have changed the game from being a &#8220;Work on the rendering&#8221; game back to a &#8220;Work on the cartography&#8221; game.<\/p>\n<p>I want to send a special thanks to tbonfort and all the work he&#8217;s done recently to make this happen! The rendering is simply incredible in comparison &#8212; truly night and day. I&#8217;m so happy to be back in MapServer land where the hard work I&#8217;ve done on this cartography hasn&#8217;t gone to waste. He and the other MapServer developers have really brought me back into the fold with the latest work, and I&#8217;m happy to be there.<\/p>\n<p>The font work really doesn&#8217;t show up well in a small screenshot &#8212; it&#8217;s a total affect that makes a difference. Comparing <a href=\"http:\/\/boston.freemap.in\/?lat=901381&#038;lon=232542&#038;zoom=7&#038;layers=B\">AGG<\/a> to <a href=\"http:\/\/boston.freemap.in\/kamap.html?lat=901381&#038;lon=232542&#038;zoom=7&#038;layers=B\">GD<\/a> is probably pretty informative though.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, I finally made the switch from the 7 month-running Mapnik based homepage map on the boston freemap to a MapServer 5.0-based AGG rendering. The new map has had more cartography put into than any existing Boston Freemap to date. Maps like: Cambridgeport The state of Massachusetts Downtown Boston All demonstrate some of the qualities [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,50,54],"tags":[],"class_list":["post-244","post","type-post","status-publish","format-standard","hentry","category-locality-and-space","category-mapserver","category-openlayers"],"_links":{"self":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/comments?post=244"}],"version-history":[{"count":0,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/244\/revisions"}],"wp:attachment":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/media?parent=244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/categories?post=244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/tags?post=244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}