[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"extension:v3:en:gpkg":3},{"resolvedFromAlias":4,"canonicalExt":5,"ext":5,"name":6,"category":7,"categoryName":8,"updatedAt":9,"popularity":10,"summary":11,"howToOs":12,"quickAnswer":18,"answerIntro":19,"whatIs":20,"description":21,"furtherReading":22,"openInstructions":41,"commonIssues":55,"securityNotes":74,"faq":78,"aliases":91,"mimeTypes":92,"relatedExtensions":94,"breadcrumbs":139,"categoryAnchor":149,"categoryFuturePath":150,"metaDescription":151,"availableHowToOs":152,"openOnDeviceLinks":153,"cannotOpenReasons":169,"cannotOpenFixes":170,"convertOptions":171,"securityAffiliateMessaging":172,"securityAffiliates":173},false,"gpkg","OGC GeoPackage (SQLite) geospatial database","gis","GIS","2026-06-12T08:51:37.946Z",55,".gpkg is an OGC GeoPackage: a SQLite 3 database file with a standardized schema for geospatial data. It commonly stores vector layers and can also store raster/tiles in the same single file.",[13,14,15,16,17],"windows","mac","linux","ios","android","To open .GPKG files on Windows, open QGIS and choose Layer/Data Source Manager, then add a Vector or Raster layer and browse to the .gpkg file.","To open a .gpkg file, use a GIS application that supports OGC GeoPackage, such as QGIS, or a geospatial library/tooling stack like GDAL. Because it is SQLite-based, some database tools can inspect it, but GIS software is usually the most practical.","GeoPackage is an open, OGC-standard container format built on SQLite 3, typically saved with the .gpkg extension. The file is a SQLite database with required tables and metadata that define how vector features, tiles/raster, and related geospatial information are stored and interpreted.","Since a GeoPackage is a SQLite database, it can be versioned, copied, and moved like a normal file while still supporting structured queries and multiple datasets. However, correct interpretation depends on the GeoPackage schema and the OGC rules defined in the specification.",[23,26,29,32,35,38],{"title":24,"url":25},"OGC GeoPackage Encoding Standard (overview page)","https://www.ogc.org/standards/geopackage/",{"title":27,"url":28},"OGC GeoPackage Encoding Standard (normative PDF)","https://docs.ogc.org/is/12-128r15/12-128r15.pdf",{"title":30,"url":31},"QGIS Documentation: Supported Data Formats (GeoPackage as SQLite-based container; vector and raster)","https://docs.qgis.org/3.10/en/docs/user_manual/managing_data_source/supported_data.html",{"title":33,"url":34},"GDAL GeoPackage format documentation","https://gdal.gloobe.org/gdal/formats/geopackage.html",{"title":36,"url":37},"IANA Media Types registry (includes application/geopackage+sqlite3)","https://www.iana.org/assignments/media-types/media-types.xhtml",{"title":39,"url":40},"GeoPackage (Wikipedia)","https://en.wikipedia.org/wiki/GeoPackage",{"windows":42,"macos":45,"linux":48,"ios":51,"android":53},[43,44],"Open QGIS and choose Layer/Data Source Manager, then add a Vector or Raster layer and browse to the .gpkg file.","Select the layer(s) inside the GeoPackage when prompted and click Add/OK.",[46,47],"Open QGIS and use Data Source Manager to add a Vector or Raster layer from the .gpkg file.","Choose the desired layer(s) from the GeoPackage and add them to the project.",[49,50],"Open QGIS and add the .gpkg via Data Source Manager (Vector or Raster depending on the content).","Pick the layer(s) contained in the GeoPackage and add them to the map.",[52],"If you cannot open it on-device, transfer the .gpkg to a desktop GIS app (for example QGIS) to view or export its layers.",[54],"If you cannot open it on-device, copy the .gpkg to a computer and open it with a GIS tool such as QGIS or GDAL-based software.",[56,62,68],{"title":57,"description":58,"steps":59},"The file opens as a database, but no layers appear in a GIS app","A .gpkg is a SQLite database; if it does not follow the GeoPackage schema (or contains unexpected tables only), GIS software may not show any layers even though the database opens.",[60,61],"Try opening it in QGIS via the GeoPackage/SQLite data source workflow and look for selectable layers inside the file.","If it still shows no layers, verify the file is actually an OGC GeoPackage (not just a generic SQLite database renamed to .gpkg) and obtain a correct export from the data provider.",{"title":63,"description":64,"steps":65},"Vector layer loads but raster/tiles do not (or vice versa)","GeoPackage can contain different kinds of content; some tools handle certain GeoPackage content types better than others. QGIS supports GeoPackage as a container for both vector and raster, and GDAL documents GeoPackage raster/tiles support, but not every workflow is symmetric.",[66,67],"Open the file in QGIS and try adding it as both a Vector and a Raster source to see which layers are present.","If raster tiles are involved, test with a GDAL-enabled toolchain that supports GeoPackage raster/tiles and re-export if needed.",{"title":69,"description":70,"steps":71},"The file is locked or changes do not save","Because GeoPackage is SQLite-based, concurrent access can lead to database locks or write failures, especially if multiple programs open the same .gpkg for editing at once.",[72,73],"Close other applications that might be using the same .gpkg and reopen it in a single editor (for example, one QGIS session).","Copy the .gpkg to a local drive (not a shared/network location) and edit the local copy, then replace the original if needed.",[75,76,77],"A .gpkg is a SQLite database; it does not typically contain “active” code like macros, but parsing untrusted geospatial databases can still expose bugs in GIS software or libraries (for example, GIS apps or GDAL-based pipelines). Prefer opening unknown files in up-to-date software.","GeoPackages can contain many layers and potentially large raster/tiles; opening an untrusted .gpkg may cause resource exhaustion (very large storage or memory use) in desktop GIS tools. Inspect file size and be cautious with unexpectedly large datasets.","If you use database tools to inspect the SQLite content directly, treat it as untrusted data; do not run arbitrary SQL scripts sourced from the file without understanding what they do in your environment.",[79,82,85,88],{"question":80,"answer":81},"Is a .gpkg just a SQLite file?","Yes. GeoPackage is based on SQLite 3, but it must follow the OGC GeoPackage schema and rules to be a compliant GeoPackage.",{"question":83,"answer":84},"Can a GeoPackage store multiple layers?","Yes. A single .gpkg can contain multiple vector layers and can also store raster/tiles; it is designed as a container format.",{"question":86,"answer":87},"How do I convert a .gpkg to another GIS format?","Use GIS tools that support GeoPackage (for example QGIS or GDAL-based tools) to export individual layers to other formats, choosing vector or raster exports depending on the layer type.",{"question":89,"answer":90},"What is the official media type for GeoPackage?","IANA lists a GeoPackage-related media type: application/geopackage+sqlite3.",[],[93],"application/geopackage+sqlite3",[95,101,106,112,117,122,127,133],{"ext":96,"name":97,"category":7,"categoryName":8,"popularity":98,"summary":99,"howToOs":100},"geojson","GeoJSON (RFC 7946) geospatial data",72,".geojson is a JSON-based format for exchanging geographic features (points, lines, polygons) and their properties. It is widely used in GIS and web mapping tools and follows the GeoJSON standard (RFC 7946).",[13,14,15,16,17],{"ext":102,"name":103,"category":7,"categoryName":8,"popularity":98,"summary":104,"howToOs":105},"shp","Esri Shapefile (geometry file)",".shp is the main geometry file in an Esri Shapefile dataset used to store vector GIS features. You typically open it in GIS software (for example ArcGIS Pro) together with its companion files such as .dbf and .shx.",[13,14,15,16,17],{"ext":107,"name":108,"category":7,"categoryName":8,"popularity":109,"summary":110,"howToOs":111},"kml","Keyhole Markup Language (KML)",70,"KML is an XML-based GIS format for showing geographic features (placemarks, paths, polygons, overlays) on maps and virtual globes. It’s commonly opened in Google Earth and is also supported by GIS tools such as ArcGIS.",[13,14,15,16,17],{"ext":113,"name":114,"category":7,"categoryName":8,"popularity":10,"summary":115,"howToOs":116},"osm","OpenStreetMap OSM XML (map data)",".osm is an OpenStreetMap dataset stored as OSM XML, containing map features like nodes, ways, and relations. It’s commonly opened or imported into GIS tools such as QGIS, GDAL-based software, or data-integration tools like FME.",[13,14,15,16,17],{"ext":118,"name":119,"category":7,"categoryName":8,"popularity":10,"summary":120,"howToOs":121},"prj","ESRI/Shapefile Projection (WKT CRS) File",".prj is a plain-text “projection” sidecar file most commonly used with ESRI Shapefiles to store the dataset’s coordinate reference system in Well-Known Text (WKT). You typically open it in GIS software (as part of the shapefile) or a text editor to inspect the CRS definition.",[13,14,15,16,17],{"ext":123,"name":124,"category":7,"categoryName":8,"popularity":10,"summary":125,"howToOs":126},"shx","Esri Shapefile Index (SHX)",".shx is the index component of an Esri Shapefile dataset, used alongside .shp (geometry) and .dbf (attributes). You typically open it by opening the shapefile dataset (the .shp) in a GIS app rather than opening the .shx by itself.",[13,14,15,16,17],{"ext":128,"name":129,"category":7,"categoryName":8,"popularity":130,"summary":131,"howToOs":132},"kmz","KMZ (Zipped KML) geospatial archive",45,"A KMZ file is a ZIP-compressed package used to share KML map content (places, paths, overlays), often for viewing in Google Earth and other GIS tools.",[13,14,15,16,17],{"ext":134,"name":135,"category":7,"categoryName":8,"popularity":136,"summary":137,"howToOs":138},"mbtiles","MBTiles (SQLite tile set)",35,".mbtiles is a single-file map tile package used to store tiled maps (raster or vector tiles) in a SQLite database. It’s commonly opened in GIS and mapping tools such as QGIS, GDAL-based tools, and MapTiler Desktop.",[13,14,15,16,17],[140,143,146],{"label":141,"to":142},"Home","/",{"label":144,"to":145},"File Extension Index","/file-extension",{"label":147,"to":148},".GPKG","/file-extension/gpkg","category-gis","/category/gis","Learn what .GPKG files are, how to open them on every platform, common fixes, and security best practices.",[13,14,15,16,17],[154,157,160,163,166],{"os":13,"label":155,"to":156},"Open .GPKG on Windows","/how-to/open-gpkg-on-windows",{"os":14,"label":158,"to":159},"Open .GPKG on Mac","/how-to/open-gpkg-on-mac",{"os":15,"label":161,"to":162},"Open .GPKG on Linux","/how-to/open-gpkg-on-linux",{"os":16,"label":164,"to":165},"Open .GPKG on iOS","/how-to/open-gpkg-on-ios",{"os":17,"label":167,"to":168},"Open .GPKG on Android","/how-to/open-gpkg-on-android",[57,63,69],[60,61],[],"untrusted_source",[174,178],{"name":175,"description":176,"affiliateUrl":177},"Avast","Avast offers free and premium antivirus software that protects against viruses, malware, ransomware, and phishing. Scan files before opening them to ensure safety.","https://www.avast.com/lp-aff-consumer-store?expid=inf601",{"name":179,"description":180,"affiliateUrl":181},"Norton","Norton 360 delivers comprehensive antivirus protection, VPN, and identity theft monitoring. Scan files for threats before opening to keep your device secure.","http://buy.norton.com/aff_home?utm_campaign=en-ww_nor_n36_aff_nas_nau_nah_cj_nad_low:_sec_nat_mktc_norton_360"]