getAllStatuses(); $renderer = get_active_status_renderer(); echo ''; } function topic_icons_css() { echo "\n"; } function topic_icons_label( $label ) { global $topic; if (bb_is_front() || bb_is_forum() || bb_is_view() || bb_is_tag()) { $icon_set_name = topic_icons_get_active_icon_set(); $icon_set_url = ICON_SET_URL_BASE . $icon_set_name; $status = get_active_status_interpreter()->getStatus(bb_get_location(), $topic); $renderer = get_active_status_renderer(); $image = $renderer->renderStatus($status); $tooltip = $renderer->renderStatusTooltip($status); $exists = file_exists(dirname(__FILE__).'/icon-sets/'.$icon_set_name.'/'.$image); if (!$exists) { return sprintf(__('
%s
%s'), get_topic_link($topic->topic_id), ICON_SET_URL_BASE.'/empty.png', ICON_WIDTH, ICON_HEIGHT, $tooltip, $label); } else if (strlen($tooltip) > 0) { return sprintf(__('
%s%s
%s'), get_topic_link($topic->topic_id), $icon_set_url.'/'.$image, ICON_WIDTH, ICON_HEIGHT, $tooltip, $tooltip, $label); } else { return sprintf(__('
%s
%s'), get_topic_link($topic->topic_id), $icon_set_url.'/'.$image, ICON_WIDTH, ICON_HEIGHT, $tooltip, $label); } } return $label; } function topic_icons_init( ) { remove_filter('bb_topic_labels', 'bb_closed_label', 10); remove_filter('bb_topic_labels', 'bb_sticky_label', 20); add_filter('bb_topic_labels', 'topic_icons_label', 11); add_action('bb_head', 'topic_icons_css'); add_action('bb_admin_menu_generator', 'topic_icons_admin_page_add'); add_action('bb_admin-header.php', 'topic_icons_admin_page_process'); topic_icons_register_status_interpreter('default', new DefaultStatusInterpreter(BUSY_THRESHOLD)); topic_icons_register_status_renderer('default', new DefaultStatusRenderer()); } topic_icons_init(); ?> Digital Humanities Questions & Answers » Topic: Getting Neatline Up and Running: Geoserver? http://digitalhumanities.org/answers/topic/getting-neatline-up-and-running-geoserver Digital Humanities Questions & Answers » Topic: Getting Neatline Up and Running: Geoserver? en-US Wed, 20 Mar 2019 23:09:12 +0000 http://bbpress.org/?v=1.0.2 <![CDATA[Search]]> q http://digitalhumanities.org/answers/search.php Shawn on "Getting Neatline Up and Running: Geoserver?" http://digitalhumanities.org/answers/topic/getting-neatline-up-and-running-geoserver#post-1811 Fri, 30 Nov 2012 15:18:45 +0000 Shawn 1811@http://digitalhumanities.org/answers/ <p><em>Replying to @Wayne Graham's <a href="http://digitalhumanities.org/answers/topic/getting-neatline-up-and-running-geoserver#post-1810">post</a>:</em></p> <p>Hi James, Hi Wayne,</p> <p>Thank you both. A lot of stuff to mull over here! I'll start with James' AMI and then see what happens from there... </p> Wayne Graham on "Getting Neatline Up and Running: Geoserver?" http://digitalhumanities.org/answers/topic/getting-neatline-up-and-running-geoserver#post-1810 Fri, 30 Nov 2012 13:33:34 +0000 Wayne Graham 1810@http://digitalhumanities.org/answers/ <p>Shawn,</p> <p>I've used James' AMI on Amazon, and it works like a champ. There's also the OpenGeo Cloud edition, but it starts out around $95/month. One thing about AWS though, it can be a bit confusing, and gets expensive pretty quick if you're doing anything other than your own personal stuff. We have been helping (mostly graduate students) set up James' AMI on EC2 accounts on the dev tier. The awesome thing is that RDS has a dev tier as well, so you don't have to run your database locally.</p> <p>VPS solutions are great, and I've used both linode (<a href="http://www.linode.com/" rel="nofollow">http://www.linode.com/</a>) and Rackspace (<a href="http://www.rackspace.com/)" rel="nofollow">http://www.rackspace.com/)</a>. The nice thing is that you can (generally) very quickly add more memory/cpu power if you need it.</p> <p>The tradeoffs here are in the administration of the system. If you're comfortable with configuring and tuning Tomcat, VPS or AWS are a good choice. If you would just as soon not worry about what <code>-XX:+UseParallelGC</code> does and let someone else worry about that, the hosted solution is a great option.</p> <p>James, great AMI by the way. Saves a lot of time remembering the various PHP package names that need to be installed...</p> <p>Wayne </p> James Smithies on "Getting Neatline Up and Running: Geoserver?" http://digitalhumanities.org/answers/topic/getting-neatline-up-and-running-geoserver#post-1809 Fri, 30 Nov 2012 04:07:32 +0000 James Smithies 1809@http://digitalhumanities.org/answers/ <p>A Twitter thread on this topic brought this to my attention. People might find <a href="http://academicami.org" rel="nofollow">http://academicami.org</a> useful for this. As the site description suggests, the AMIs aren't configured for production sites, but they're fine for getting Omeka + Neatline + Geoserver up and running for familiarisation and testing purposes. People with a few sysadmin skills could harden them easily enough for prod purposes if necessary, I guess. </p> <p>The Geoserver AMI can be found at <a href="http://academicami.org/category/gis/" rel="nofollow">http://academicami.org/category/gis/</a>. </p> Shawn on "Getting Neatline Up and Running: Geoserver?" http://digitalhumanities.org/answers/topic/getting-neatline-up-and-running-geoserver#post-1808 Fri, 30 Nov 2012 00:41:31 +0000 Shawn 1808@http://digitalhumanities.org/answers/ <p><em>Replying to @Wayne Graham's <a href="http://digitalhumanities.org/answers/topic/getting-neatline-up-and-running-geoserver#post-1807">post</a>:</em></p> <p>Ah, thank you. Acugis looks good, but for the experimenting etc that I'm doing, I don't think I want to be paying $25/month. </p> <p>A bit of random googling suggested that Amazon Web Services might be a way to go, too <a href="http://docs.amazonwebservices.com/gettingstarted/latest/awsgsg-freetier/deploy-sample-app.html" rel="nofollow">http://docs.amazonwebservices.com/gettingstarted/latest/awsgsg-freetier/deploy-sample-app.html</a></p> <p>These guys seem to do it too, for cheap- <a href="https://openshift.redhat.com/app/" rel="nofollow">https://openshift.redhat.com/app/</a></p> <p>...and with dreamhost, one has to switch to their virtual private machine premium service in order to run tomcat. Perhaps that's the simplest option, as I'm already with them...</p> <p>I do have a spare computer lying around... or rather, I did, but it seems to have died. Darn.</p> <p>Have you had any experience with AWS? </p> Wayne Graham on "Getting Neatline Up and Running: Geoserver?" http://digitalhumanities.org/answers/topic/getting-neatline-up-and-running-geoserver#post-1807 Fri, 30 Nov 2012 00:34:28 +0000 Wayne Graham 1807@http://digitalhumanities.org/answers/ <p>It's possible to do this, though not recommended. Basically you'll need the the IP address of your work computer and pass that to the NeatlineMaps plugins (e.g. 192.168.1.101:8080/geoserver). This can cause some issues because most likely the IP address of your work computer is dynamically allocated and can change, so you'd need to be updating the location of your Geoserver from time-to-time. There are also institutions that block traffic on certain ports (including port 8080, the default Tomcat port). There are ways around this, but you're getting in to some pretty advanced configuration.</p> <p>Setting up Tomcat can be quite a pain (I'm not even sure if it's available on Dreamhost), but once you have it running, you can just drop the Geoserver war in your webapps directory. I will note that I'm working with a hosting company (<a href="http://www.acugis.com/">Acugis</a>) right now for a one-click installer for Omeka, Neatline, and Geoserver. I was able to set this up even without it in about 5 minutes (but I have <a href="https://rubygems.org/gems/omeka-recipes">a lot of scripts to automate this</a> since I do it so often) on their system. </p> <p>If you do have a spare "server" computer you can use in your office, be sure to check out the OpenGeo suite community edition (<a href="http://opengeo.org/products/suite/community/" rel="nofollow">http://opengeo.org/products/suite/community/</a>) which makes installing/managing Geoserver really simple. I'm running this on both Ubuntu and CentOS and it works like a champ (only install the opengeo-geoserver package though). </p> <p>Wayne </p> Shawn on "Getting Neatline Up and Running: Geoserver?" http://digitalhumanities.org/answers/topic/getting-neatline-up-and-running-geoserver#post-1806 Thu, 29 Nov 2012 23:55:54 +0000 Shawn 1806@http://digitalhumanities.org/answers/ <p><em>Replying to @Wayne Graham's <a href="http://digitalhumanities.org/answers/topic/getting-neatline-up-and-running-geoserver#post-1805">post</a>:</em></p> <p>Hi Wayne,</p> <p>Thank you for responding!</p> <p>My omeka &amp; neatline are on dreamhost. Following the geoserver instructions (and the screenshots on neatline), it looked as if geoserver had to be on my local machine. This struck me as probably wrong, so I looked into putting it onto my server space with dreamhost - which took me to Tomcat, which caused me to melt down in fear...</p> <p>So I guess I have two tasks ahead of me: installing tomcat on my dreamhost space, and then installing geoserver there too?</p> <p>Alternatively, can this be done with geoserver running on my office machine? Presumably, it's got to be connected to the internet all the time, ie a proper server... </p> Wayne Graham on "Getting Neatline Up and Running: Geoserver?" http://digitalhumanities.org/answers/topic/getting-neatline-up-and-running-geoserver#post-1805 Thu, 29 Nov 2012 22:16:45 +0000 Wayne Graham 1805@http://digitalhumanities.org/answers/ <p>Hi Shawn,</p> <p>Are you trying to you computer using localhost from Dreamhost, or is everything on Dreamhost? If you're trying to point Dreamhost to localhost, you're effectively not leaving your site on Dreamhost and not your local machine. If you have Tomcat running on Dreamhost (if they do that), you might just need to point your NeatlineMaps to your actual domain.</p> <p>If you can provide a few more details, we should be able to help you get up and running...</p> <p>Wayne </p> Shawn on "Getting Neatline Up and Running: Geoserver?" http://digitalhumanities.org/answers/topic/getting-neatline-up-and-running-geoserver#post-1804 Thu, 29 Nov 2012 19:08:11 +0000 Shawn 1804@http://digitalhumanities.org/answers/ <p>Hi Folks,</p> <p>I want to have neatline (neatline.org) up and running, using a variety of historical maps. Y'know, for kids.</p> <p>So omeka is installed, check.<br /> Neatline is installed, check.<br /> Neatline maps is installed, check.<br /> Per this page: <a href="http://neatline.org/plugins/neatline-maps/" rel="nofollow">http://neatline.org/plugins/neatline-maps/</a> I need to have an instance of Geoserver running. I download it, and successfully get it running on my machine.</p> <p>But surely that's a problem, right? Because when I add my server on localhost to the neatline maps server page, my server is always offline. So:</p> <p>Do I need to have Geoserver on the same server as my omeka/neatline?</p> <p>And if so, could somebody direct me to a for-idiots guide? My space is with Dreamhost (if that matters).</p> <p>Thanks!<br /> Shawn </p>