﻿{"id":8469,"date":"2019-04-05T03:05:52","date_gmt":"2019-04-05T01:05:52","guid":{"rendered":"http:\/\/www.sigterritoires.fr\/?p=8469"},"modified":"2019-04-05T09:27:15","modified_gmt":"2019-04-05T07:27:15","slug":"arcgis-qgis-sharing-data-the-file-geodatabase-working-with-the-geodatabases-file-gdal-and-gdb-using-qgis-posted-on-february-1st-2015-by-nick-burkhart","status":"publish","type":"post","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/arcgis-qgis-sharing-data-the-file-geodatabase-working-with-the-geodatabases-file-gdal-and-gdb-using-qgis-posted-on-february-1st-2015-by-nick-burkhart\/","title":{"rendered":"ArcGis <-> QGis sharing data: the  geodatabase file WORKING WITH THE GEODATABASES FILE ( .GDAL AND GDB) USING QGIS  Posted on February 1st , 2015 by Nick Burkhart"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Despite\nthe\nvery widespread false idea according to which the geodatabases\nfile\n( .gdb ) cannot be read and modified using\ntools\nwithin the Esri ArcGIS platform, recent versions of GDAL (and therefore using\napplications such GDAL- queQGIS ) are capable\nof, effectively, read and extract information from the geodatabases\nfile\n. The geodatabase file format has become\na very common format for storing and exchanging data space\n, in particular since it allows the storage\nof multiple data layers and that allows the storage of data layers exceeding\nthe limits of others specifications .\nArcGIS\nusers, regularly, use geodatabases\nfile\nwhen the attribute tables exceed the storage capacity\nof\na <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/shapefile-vs-geopackage\/\">shapefile<\/a> attribute table ( a DBF file is limited to ~ 2 GB\nin size ). <\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">The GDAL users who work with\ngeodatabases file should\nknow that GDAL includes henceforward a\nvery robust open source, read- only driver for the geodatabase format\nfile\n: OpenFileGDB . The specifications\nindicate that this driver is\nable to, efficiently, read the contents of databases with a large number of\nfields, without any dependent proprietary software.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An additional option\nallowing\nto interact with geodatabases file\nusing\nGDAL is the FileGDB.FileGDB driver dependant on Esri&rsquo;s File\nGeodatabase SDK , but it provides\nreading and writing access to geodatabases file. However,\ninternal tests at geospatial @ UCLA said that for read-only geodatabase\nfile operations, FileGDB driver can\nbe\nmany\norders\nof magnitude slower than the OpenFileGDB driver .\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Therefore those users who have\nto edit, regularly, geodatabases file\nshould\ninstall and use the FileGDB driver, while users who need\nonly\nto convert the contents of the geodatabase file to\nother formats should use the OpenFileGDB\ndriver. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The QGIS users can read\ngeodatabases file by\ndraging\ngeodatabases, ending with extension.gdb directly in\nthe layers window. The geodatabase\ncan\nappear\nas\na\nfolder and cannot be selected using the Add vector layers tool in\nQGIS. The contents of the geodatabase file\nappear\nin the layers window , and each layer\ncan\nbe\nexported\nto\nanother format with the writing support in GDAL, including the\nshapefile format. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For large geodatabases\nwhose\ncontent exceeds the limits of the shapefile specification we\nrecommend using&nbsp; GDAL ogr2ogr command\nline interface to copy the content of a geodatabase\nfile\ndirectly\nto a <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/starting-with-postgres-postgis\/\">PostGIS<\/a> database. Use the following command,\nby replacing the bracketed text with appropriate values for\nyour configuration (the brackets should not be included\nin\nyour\norder\n): <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ogr2ogr-progress &#8211; overwrite &#8211;\nskipfailures -f \u00ab\u00a0PostgreSQL\u00a0\u00bb PG: \u00a0\u00bb host = localhost user =\ndbname [ postgres ] = [ dbname ] password = [password]\u00a0\u00bb \u00ab\u00a0[\npathtofilegdb ]. gdb \u00a0\u00bb \u00ab\u00a0[ tablename ]\u00a0\u00bb <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Despite the very widespread false idea according to which the geodatabases file ( .gdb ) cannot be read and modified using tools within the Esri ArcGIS platform, recent versions of GDAL (and therefore using applications such&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"give_campaign_id":0,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1260],"tags":[],"class_list":["post-8469","post","type-post","status-publish","format-standard","hentry","category-non-classe-en"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p6XU0A-2cB","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/8469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/comments?post=8469"}],"version-history":[{"count":0,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/8469\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media?parent=8469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/categories?post=8469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/tags?post=8469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}