{"id":104,"date":"2007-08-06T17:39:14","date_gmt":"2007-08-07T00:39:14","guid":{"rendered":"http:\/\/jeffhobbs.net\/2007\/08\/06\/batch-plotting-part-2\/"},"modified":"2007-08-06T17:39:14","modified_gmt":"2007-08-07T00:39:14","slug":"batch-plotting-part-2","status":"publish","type":"post","link":"https:\/\/jeffhobbs.com\/?p=104","title":{"rendered":"Batch Plotting &#8211; Part 2"},"content":{"rendered":"<p>To continue on from last week. Overall I&#8217;ve been very pleased with batch plotting. It does have its quirks, but overall, it works very, very well. <\/p>\n<p>In the past, with Intergraph, I&#8217;ve developed a couple of mapbooks for different customers. In these past cases, the mapbooks have all had a large number of layers, but have all been referencing an Oracle database. This makes it nice because you can build a lot of the logic into the Oracle database. Furthermore, you don&#8217;t need to hunt and peck to try and find the right data.<\/p>\n<p>With my most recent mapbook for San Jose Water Company, I needed to use data from a number of different sources including MGE, SmartStore, CAD, Access, and Oracle Locator. Additionally, I probably have over 100 different feature classes in the legend. Now, although the mapbook design is relatively straightforward, there are still 672 maps that make up the mapbook. Before this mapbook, the most sheets I had ever created was approximately 300.<\/p>\n<p>Here are some of my findings from getting this kind of output from the Batch Plotting Utility:<\/p>\n<ol>\n<li>Depending on the volume of the data, you may need to look at working with multiple geoworkspaces with different spatial filters. GeoMedia is known for being a bit of a RAM hog. Typically I find that if my geoworkspace gets over 1gb, then things start to get a bit volatile. With the shear volume of data, whenever I&#8217;d try and batch plot all 672 maps at once (sequentially), GeoMedia&#8217;s RAM usage would get to about 1.2gb and then GeoMedia would crash. As a result, I eventually needed to break my data (most of Santa Clara County) into three geoworkspaces and create five batch plotting files. With this breakdown, I&#8217;m able to keep the RAM usage below 1gb and this seems to keep GeoMedia happier. It should be noted (and I have experienced it personally) that Intergraph has really reduced the amount of RAM GeoMedia 6.1 uses for many things. As a result, I hope to be able to reduce the number of .gws when I move my mapbook to 6.1 later this year.<\/li>\n<li>PDF Output can be tricky. In one of my previous mapbooks, all of maps printed out fine except for one page where I was getting about 99% of the map, but the PDF would come up with an error before drawing the marginalia. Worse yet, when printing to TIFF or another raster format&#8230;no errors! When working on the SJWC mapbook, many of the maps would print fine but there were a handful that did not. And, when they didn&#8217;t, it was the same problem of an invalid PDF. Again &#8211; all printed out fine when printing to a TIFF. <br \/>\n\t\t\t          In case number one, the error was resolved by trial and error. Once the offending graphic was identified, it was redrawn and all was fixed. In the case with my current mapbook, it wasn&#8217;t that easy. I found the offending layer (it was more than one map), but even after redrawing the graphics, nothing was fixed. It wasn&#8217;t until I started playing with the symbology that I finally found the problem. Basically, I was using a dashed line style. When the dashes had a <strong>flat<\/strong> cap,<img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/jeffhobbs.net\/files\/2007\/08\/dashcap.gif\" width=\"300\" height=\"187\" \/><br \/>\n\t\t\t          <img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/jeffhobbs.net\/files\/2007\/08\/flat2.gif\" width=\"195\" height=\"114\" \/>\t\t\t          <br \/>\n\t\t\t          I was getting the error. As soon as I changed the cap to <strong>triangle<\/strong>,<br \/>\n\t\t\t          <img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/jeffhobbs.net\/files\/2007\/08\/triangle-000.gif\" width=\"300\" height=\"187\" \/>\t\t\t          <br \/>\n\t\t\t          <img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/jeffhobbs.net\/files\/2007\/08\/triangle2.gif\" width=\"195\" height=\"114\" \/>\t\t\t          <br \/> <br \/>\n\t\t            the error went away. How&#8217;s that for debugging! Believe me, that took some time to figure out!<\/li>\n<li>There are a few bugs in both GeoMedia Pro 5.2 and 6.0 that prevent you from <em>reliably<\/em> scheduling the utility to run at night. I say reliably because I&#8217;ve heard that some people have had success. In fact, when Intergraph tested my issue, they reported it working fine for them. The basic problem I&#8217;ve encountered is that when you set the printer with the default settings (in printing preferences) like a landscape layout, 24&#215;36 size sheet of paper, best output, etc.; the page  will still print portrait. Now, this is <strong>NOT<\/strong> a problem when printing manually &#8211; <strong>ONLY<\/strong> when using the task scheduler. I have filed a worksheet against this problem and I&#8217;m told it will be resolved before GeoMedia Pro 6.1 is released.<\/li>\n<li>When a column that is being used for variable text string substitution is empty (null), the variable (the column name enclosed in brackets) will print instead of nothing. In other words, if I wanted the name of a zone to print when the map fell in a zone, I would use the variable [zone_name]. Now, if that zone_name column were populated (not null), I&#8217;d get the respective zone name. However if the zone_name column is null, then the utility is giving me back the variable &quot;[zone_name]&quot; where it should really be null. I&#8217;ve filed this worksheet and believe this bug should also be fixed before the release of 6.1.<\/li>\n<p>Tomorrow I&#8217;ll get into creating PDFs from the batch plotting utility.<\/p>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>To continue on from last week. Overall I&#8217;ve been very pleased with batch plotting. It does have its quirks, but&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[3,7,4],"tags":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Batch Plotting - Part 2 - jeffhobbs.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jeffhobbs.com\/?p=104\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Batch Plotting - Part 2 - jeffhobbs.com\" \/>\n<meta property=\"og:description\" content=\"To continue on from last week. Overall I&#8217;ve been very pleased with batch plotting. It does have its quirks, but...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jeffhobbs.com\/?p=104\" \/>\n<meta property=\"og:site_name\" content=\"jeffhobbs.com\" \/>\n<meta property=\"article:published_time\" content=\"2007-08-07T00:39:14+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/jeffhobbs.net\/files\/2007\/08\/dashcap.gif\" \/>\n<meta name=\"author\" content=\"Jeff Hobbs\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Hobbs\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jeffhobbs.com\/?p=104\",\"url\":\"https:\/\/jeffhobbs.com\/?p=104\",\"name\":\"Batch Plotting - Part 2 - jeffhobbs.com\",\"isPartOf\":{\"@id\":\"https:\/\/jeffhobbs.com\/#website\"},\"datePublished\":\"2007-08-07T00:39:14+00:00\",\"dateModified\":\"2007-08-07T00:39:14+00:00\",\"author\":{\"@id\":\"https:\/\/jeffhobbs.com\/#\/schema\/person\/600c6cc6bd115876f071a9bfb5c934d7\"},\"breadcrumb\":{\"@id\":\"https:\/\/jeffhobbs.com\/?p=104#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jeffhobbs.com\/?p=104\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jeffhobbs.com\/?p=104#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jeffhobbs.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Batch Plotting &#8211; Part 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jeffhobbs.com\/#website\",\"url\":\"https:\/\/jeffhobbs.com\/\",\"name\":\"jeffhobbs.com\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jeffhobbs.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/jeffhobbs.com\/#\/schema\/person\/600c6cc6bd115876f071a9bfb5c934d7\",\"name\":\"Jeff Hobbs\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jeffhobbs.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/bafb9a6abd79509b50a190d399dea779?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/bafb9a6abd79509b50a190d399dea779?s=96&d=mm&r=g\",\"caption\":\"Jeff Hobbs\"},\"sameAs\":[\"http:\/\/jeffhobbs.com\"],\"url\":\"https:\/\/jeffhobbs.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Batch Plotting - Part 2 - jeffhobbs.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jeffhobbs.com\/?p=104","og_locale":"en_US","og_type":"article","og_title":"Batch Plotting - Part 2 - jeffhobbs.com","og_description":"To continue on from last week. Overall I&#8217;ve been very pleased with batch plotting. It does have its quirks, but...","og_url":"https:\/\/jeffhobbs.com\/?p=104","og_site_name":"jeffhobbs.com","article_published_time":"2007-08-07T00:39:14+00:00","og_image":[{"url":"http:\/\/jeffhobbs.net\/files\/2007\/08\/dashcap.gif"}],"author":"Jeff Hobbs","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jeff Hobbs","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/jeffhobbs.com\/?p=104","url":"https:\/\/jeffhobbs.com\/?p=104","name":"Batch Plotting - Part 2 - jeffhobbs.com","isPartOf":{"@id":"https:\/\/jeffhobbs.com\/#website"},"datePublished":"2007-08-07T00:39:14+00:00","dateModified":"2007-08-07T00:39:14+00:00","author":{"@id":"https:\/\/jeffhobbs.com\/#\/schema\/person\/600c6cc6bd115876f071a9bfb5c934d7"},"breadcrumb":{"@id":"https:\/\/jeffhobbs.com\/?p=104#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jeffhobbs.com\/?p=104"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jeffhobbs.com\/?p=104#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jeffhobbs.com\/"},{"@type":"ListItem","position":2,"name":"Batch Plotting &#8211; Part 2"}]},{"@type":"WebSite","@id":"https:\/\/jeffhobbs.com\/#website","url":"https:\/\/jeffhobbs.com\/","name":"jeffhobbs.com","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jeffhobbs.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/jeffhobbs.com\/#\/schema\/person\/600c6cc6bd115876f071a9bfb5c934d7","name":"Jeff Hobbs","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jeffhobbs.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/bafb9a6abd79509b50a190d399dea779?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bafb9a6abd79509b50a190d399dea779?s=96&d=mm&r=g","caption":"Jeff Hobbs"},"sameAs":["http:\/\/jeffhobbs.com"],"url":"https:\/\/jeffhobbs.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/jeffhobbs.com\/index.php?rest_route=\/wp\/v2\/posts\/104"}],"collection":[{"href":"https:\/\/jeffhobbs.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jeffhobbs.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jeffhobbs.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jeffhobbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=104"}],"version-history":[{"count":0,"href":"https:\/\/jeffhobbs.com\/index.php?rest_route=\/wp\/v2\/posts\/104\/revisions"}],"wp:attachment":[{"href":"https:\/\/jeffhobbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jeffhobbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jeffhobbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}