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: xml standards for encoding geographic information from a historical text? http://digitalhumanities.org/answers/topic/xml-standards-for-encoding-geographic-information-from-a-historical-text Digital Humanities Questions & Answers » Topic: xml standards for encoding geographic information from a historical text? en-US Sat, 23 Mar 2019 06:16:25 +0000 http://bbpress.org/?v=1.0.2 <![CDATA[Search]]> q http://digitalhumanities.org/answers/search.php Dorothea Salo on "xml standards for encoding geographic information from a historical text?" http://digitalhumanities.org/answers/topic/xml-standards-for-encoding-geographic-information-from-a-historical-text#post-1162 Wed, 04 May 2011 16:13:59 +0000 Dorothea Salo 1162@http://digitalhumanities.org/answers/ <p>You might want to have a look at <a href="http://www.geonames.org/export/ws-overview.html">the XML format associated with GeoNames</a>. </p> Conal Tuohy on "xml standards for encoding geographic information from a historical text?" http://digitalhumanities.org/answers/topic/xml-standards-for-encoding-geographic-information-from-a-historical-text#post-1159 Wed, 04 May 2011 13:18:25 +0000 Conal Tuohy 1159@http://digitalhumanities.org/answers/ <p>I think you would probably want to use both TEI and KML. It's more appropriate to encode the text in TEI including the geospatial and other data, and the KML could be produced as a presentation format from the TEI source using an XSLT transform. Apart from KML, there is also the standard GML which is widely used in geospatial web services.</p> <p>You should definitely take a look at <a href="http://www.open.ac.uk/Arts/hestia/findings/index.html" rel="nofollow">http://www.open.ac.uk/Arts/hestia/findings/index.html</a> and in particular at this output: <a href="http://www.open.ac.uk/Arts/hestia/herodotus/basic.html" rel="nofollow">http://www.open.ac.uk/Arts/hestia/herodotus/basic.html</a> </p> KaCeBe on "xml standards for encoding geographic information from a historical text?" http://digitalhumanities.org/answers/topic/xml-standards-for-encoding-geographic-information-from-a-historical-text#post-1158 Wed, 04 May 2011 11:52:41 +0000 KaCeBe 1158@http://digitalhumanities.org/answers/ <p><em>Replying to @Scott's <a href="http://digitalhumanities.org/answers/topic/xml-standards-for-encoding-geographic-information-from-a-historical-text#post-1156">post</a>:</em></p> <p>kml would be a good alternative. It's xml, it's an open standard of the Open Geospatial Consortium (<a href="http://www.opengeospatial.org/standards/kml" rel="nofollow">http://www.opengeospatial.org/standards/kml</a>) and it's quite flexible concerning spatiotemporal datasets (<a href="http://code.google.com/apis/kml/documentation/time.html" rel="nofollow">http://code.google.com/apis/kml/documentation/time.html</a>) </p> jamesc on "xml standards for encoding geographic information from a historical text?" http://digitalhumanities.org/answers/topic/xml-standards-for-encoding-geographic-information-from-a-historical-text#post-1157 Tue, 03 May 2011 18:15:31 +0000 jamesc 1157@http://digitalhumanities.org/answers/ <p>Hi there,</p> <p>Although I'm biased, I would suggest using the TEI guidelines for this. It has a fairly flexible vocabulary for recording place information (and people). See for example <a href="http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ND.html#NDGEOG" rel="nofollow">http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ND.html#NDGEOG</a> (though the whole chapter is relevant). It is fairly generalised and flexible which has its good points and bad points.</p> <p>-James </p> Scott on "xml standards for encoding geographic information from a historical text?" http://digitalhumanities.org/answers/topic/xml-standards-for-encoding-geographic-information-from-a-historical-text#post-1156 Tue, 03 May 2011 18:05:59 +0000 Scott 1156@http://digitalhumanities.org/answers/ <p>I want to create a set of maps to accompany an ancient Chinese historical text (ca. 100 BC). I want to be able to encode location (with some ambiguity), associated people and their movements, administration, and time. I know xml, so I'd much prefer to use an xml language. So I want to ask, what xml standards are available? And what are their advantages and disadvantages? I would also like to know about other historical mapping projects that use xml languages.<br /> Thanks!<br /> Scott </p>