QGIS User 0024 - GeoPackage

Поділитися
Вставка
  • Опубліковано 16 жов 2024

КОМЕНТАРІ • 55

  • @nearch2471
    @nearch2471 4 роки тому +1

    This answered every question I had about GPKG. Thank you!

  • @pointsnorthgisuav8661
    @pointsnorthgisuav8661 3 роки тому +1

    I really like the GeoPackage. I have pushed most of my non-postgres data into GPKG in the last couple years. I am really happy with the performance and compressed storage, which is really useful in packaging data for QFIELD. There are a few quirks with FID sometimes, but IMHO it is the best format to use with QGIS.

    • @lawrencekieran3297
      @lawrencekieran3297 3 роки тому

      You all prolly dont care but does anyone know a way to get back into an instagram account?
      I was stupid forgot my login password. I would love any help you can give me

    • @leoeden2602
      @leoeden2602 3 роки тому

      @Lawrence Kieran Instablaster :)

    • @lawrencekieran3297
      @lawrencekieran3297 3 роки тому

      @Leo Eden thanks so much for your reply. I found the site on google and Im in the hacking process atm.
      Looks like it's gonna take quite some time so I will get back to you later with my results.

    • @lawrencekieran3297
      @lawrencekieran3297 3 роки тому

      @Leo Eden It did the trick and I now got access to my account again. I am so happy:D
      Thank you so much, you really help me out !

    • @leoeden2602
      @leoeden2602 3 роки тому

      @Lawrence Kieran glad I could help xD

  • @zhirjalal3649
    @zhirjalal3649 4 роки тому +1

    Thank you sir! More please, more often please...

  • @pavlagraham251
    @pavlagraham251 2 роки тому

    I enjoy your talks very much. - I would like to ask a question, please.
    I would like to store several projects in a single QGIS GeoPackage (which I have managed).
    The projects share many layers, but there are layers which I would like to add to exclusively to a particular project.
    Every time I add a layer to one of the projects, it shows up in the other project, too. - If I remove a layer from one project, it is removed from the other project, too. - These ‘exclusive’ layers are stored in the same geopackage as all the other layers and the projects.
    Is there a way to mark/flag layers to a particular a project within a GeoPackage, with multiple projects?
    Thank you.

    • @KlasKarlsson
      @KlasKarlsson  2 роки тому

      Removing a layer from a project will NOT delete any data. It will only remove the reference to the data from the project file and any project related styling of that data. There's no easy way to have a layer removed from multiple projects when you remove it from a single one.

    • @pavlagraham251
      @pavlagraham251 2 роки тому

      @@KlasKarlsson Thank you so much for your reply.
      I understand your first statement with regards to not losing any data if a layer is removed from a project. - The layer is, after all, still being stored in the GeoPackage.
      However, your second statement with regards to removing a layer from multiple projects, is my problem, just the other way round! - It IS easy to remove a layer from multiple projects: just removing/adding it from/to one project AUTOMATICALLY removes/adds it from/to the other project!
      I wish to remove/add a layer to one project while leaving the other project unaffected.
      That you for your help.

  • @paulonevescoelho699
    @paulonevescoelho699 3 роки тому

    Thanks Klas, very enlightening video even for gis curious lawyers. Greetings from Portugal

  • @johnm2532
    @johnm2532 2 роки тому

    You mentioned that ArcGIS can read the vector data in geopackages created in QGIS but not the symbology. Does that mean that ArcGIS cannot read the colors? Do you know if ArcGIS can read labels, including the label location and label formatting, in geopackages created in QGIS?
    Thanks, your videos are among the best in discussing how to use QGIS!

    • @KlasKarlsson
      @KlasKarlsson  2 роки тому

      The data is the same but the concept for styling symbology and labels are completely different. If you want to use a layer in both QGIS and ArcGis PRO you will have to create separat styles for them.

  • @alerglez
    @alerglez 4 роки тому

    Congratulations!! Regarding the Geopackage. I have a question, for example, I have a shape with a table field linked photos. When this shape is including in the geopackages. Is it possible to save the images that are linked in the vector layer? Thanks!

    • @KlasKarlsson
      @KlasKarlsson  4 роки тому +1

      The table in the GeoPackage will work in the same way as for the Shape file. If you have absolute paths to you images in the shape file, the paths will transfer perfectly fine to GeoPackage. I'm not sure what you mean by saving the images, since there's no images stored in your current shape file. They are stored in the filesystem somewhere.

    • @alerglez
      @alerglez 4 роки тому

      @@KlasKarlsson Thank you very much for your reply. A shapefile (for example "points") and attached to the attributes a new field in the table to include images to display in QGIS, when saving the shapefile in a Geopackage and then opening again in the layers panel in QGIS, it does not save the photo, only the path of the picture (e.g. C:/...Images/). Thanks!

  • @binualexander9439
    @binualexander9439 4 місяці тому

    Excellent

  • @sebo6263
    @sebo6263 3 роки тому

    Amazing explanation! Thanks a lot! What is the difference to a spatial lite database except you can not store the QGIS file in the database?

    • @KlasKarlsson
      @KlasKarlsson  3 роки тому

      Both GeoPackage and spatialite are derrived from sqlite, so they are related. GeoPackage is newer and has different instructions. It is also growing far more than spatialite. Spatialite in its latest versions is compatible with GeoPackage to a certain degree. www.geopackage.org

  • @vsgeo
    @vsgeo 3 роки тому

    Thank you, Klas. Is it possible to adjust domens and subtypes for layers as filegeodatabase allows?

    • @KlasKarlsson
      @KlasKarlsson  3 роки тому +1

      Not it the same way. In QGIS you create "widgets" and "constraints" for any layer in the layer properties Attributes Form. When you save the properties as default for a geopackage layer it can be saved in the database, and in many cases it will have a similar result as Esri "domains", and in many cases it is more powerful.

    • @vsgeo
      @vsgeo 3 роки тому

      @@KlasKarlsson Got it. Thanks!

  • @ComplexVariables
    @ComplexVariables 4 роки тому

    So will changing our census data to geopackages help speed up aggregate intersects we have to calculate?

  • @onplotsolutionsltd366
    @onplotsolutionsltd366 4 роки тому

    I guess if you save the project file in the Geopackage then you control the layer order as well as required by Zoomstack - wonder when Ordnance Survey will package the styles in the Geopackage it self? If they do this.. and seeing as there are now 6 diiferent styles available - is it possible to incorporate all the styles and somehow change them dynamically as required withing the Geopackage?

    • @KlasKarlsson
      @KlasKarlsson  4 роки тому +1

      You can store multiple QGIS styles for each layer in a GeoPackage and it can be set so that scale controls the change. However, remember this is QGIS specific and there's other software out there. I don't think OS will develop style and projects explicitly for QGIS, unless they also do that for other common GIS.

    • @onplotsolutionsltd366
      @onplotsolutionsltd366 4 роки тому

      @@KlasKarlsson Thanks for the reply, I guess it will depend on the uptake of Geopackage and whether ESRI and the others include a way of reading specific styles from the Package. Could you perhaps do a video sometime to show how scale can control the change of style...if you haven't done so already (so many great videos!) ?

  • @johnm2532
    @johnm2532 2 роки тому

    If I create shapefiles for a project using QGIS, can these shapefiles, including the topology and label location and formatting be read by ArcGIS?

    • @KlasKarlsson
      @KlasKarlsson  2 роки тому

      Geodata and styling/label settings are two separate things. You can share the data, but styling/labels settings are software specific.
      Shapefiles and Geopackage are basically placeholders for table data. Any data in the tables can be used in both ArcGIS and QGIS for both formats. How the data is used when it comes to styling in the two programs are very different, and not at all compatible for either of the formats. When it comes to topology shapefiles are "non-topological" and do not store information about topology. Geopackage can store topology with extensions, but that is not supported by all software. If the label locations are based on a value in the attribute table, then you could use that in the same way for both ArcGIS and QGIS, but the style settings that control it will be different, and not compatible.
      Basically you can use the data from Shapefiles or Geopackage in both ArcGIS and QGIS, but styling (including label settings) created in one, will not carry over to the other.
      (For QGIS there's a plugin "SLYR" that can read and convert some styles from ArcGIS to QGIS. Not sure if you can go the other way around)

  • @vibys1
    @vibys1 4 роки тому

    Great format

  • @dusoschmal5481
    @dusoschmal5481 4 роки тому

    How about the compability between qgis and cad using a GeoDatabase? Is it comparable to a shape file? Even better?

    • @KlasKarlsson
      @KlasKarlsson  4 роки тому +2

      Well, CAD is CAD and it has its quirks. However, Autodesk for instance is supposed to work on a GeoPackage reader, if it isn't already implementetd.

    • @dusoschmal5481
      @dusoschmal5481 4 роки тому

      @@KlasKarlsson Thanks! :)

  • @kashwashwa1
    @kashwashwa1 4 роки тому

    Is there a way to add new vector layers to a geopackage hosted on a postgis database?

    • @KlasKarlsson
      @KlasKarlsson  4 роки тому

      GeoPackage hosted om PostGIS? "Does not compute..."

    • @kashwashwa1
      @kashwashwa1 4 роки тому

      @@KlasKarlsson I'm probably not describing this correctly, but I want to use a postgis database... I have been uploading shapefiles to the database on a server through qgis. I want to get away from shapefiles, but I can't seem to add new layers to a geopackage that I've put on the database.

  • @sakshigupta2810
    @sakshigupta2810 3 роки тому

    How can I delete a layer from a geopackage permanently so that I can share all correct layers in a single geopackage

    • @KlasKarlsson
      @KlasKarlsson  3 роки тому

      Use QGIS browser, right click layer and delete.

  • @Georgy_47
    @Georgy_47 3 роки тому

    its like saving the mxd inside the file geodatabase, for me i love gpkg but im forced to work in arc gis

  • @lucabellani3442
    @lucabellani3442 4 роки тому

    VeryVery Great!!!

  • @nurizham
    @nurizham 4 роки тому

    Thank you.

  • @harismaulana5053
    @harismaulana5053 4 роки тому

    how to get the .dbf file in geopackage file Sir?
    thank you Sir.

    • @KlasKarlsson
      @KlasKarlsson  4 роки тому +2

      A .dbf is just the shape file attribute table. The attribute table is included in the GeoPackage and therefor not needed. When you export a shape layer to GPKG, your table (i.e. .dbf will be included). If you want to include a table without geometry, that is also possible.

  • @arkosol
    @arkosol 4 роки тому

    Awesome. I want more :)

  • @chandrakants52
    @chandrakants52 4 роки тому +1

    Qgis tow layer geps .....?

    • @KlasKarlsson
      @KlasKarlsson  4 роки тому

      sorry, do.. not.. understand..

    • @chandrakants52
      @chandrakants52 4 роки тому

      @@KlasKarlsson geps between two layer polygun

    • @chandrakants52
      @chandrakants52 4 роки тому

      How to remove the gap which remains in between the 2 layer QGIS

    • @chandrakants52
      @chandrakants52 4 роки тому

      Because when gape remain in the layer 2 May not dissolv

    • @chandrakants52
      @chandrakants52 4 роки тому

      Please sir reply

  • @Supriyadi-tq2yt
    @Supriyadi-tq2yt 4 роки тому

    Well . . . Just save to whatever format you need to work with.

  • @العراقي-ث2ر
    @العراقي-ث2ر 4 роки тому

    kriging?

  • @salimmonder4175
    @salimmonder4175 4 роки тому

    Geopackages are good for data transfer but they are not practical, one stupid mistake and your whole work is gone unlike saving different layers on different files. In dealing with file corruption and data lost shp is better. Of couse, one must say that geopackage is way more elegant

    • @pointsnorthgisuav8661
      @pointsnorthgisuav8661 3 роки тому

      I think the same can be said for any format. A good data backup paradigm should always be implemented regardless of storage method.