Это видео недоступно.
Сожалеем об этом.

QGIS User 0024 - GeoPackage

Поделиться
HTML-код
  • Опубликовано: 17 авг 2024
  • Why it's time to de-throne Esri Shape. GeoPackage is the new king of the hill.
    GeoPackage is great for GIS and extremely well implemented in QGIS. There's still room for improvement, but it's finally time to move down shape a few notches on the usability scale.

Комментарии • 55

  • @nearch2471
    @nearch2471 4 года назад +1

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

  • @zhirjalal3649
    @zhirjalal3649 4 года назад +1

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

  • @binualexander9439
    @binualexander9439 2 месяца назад

    Excellent

  • @paulonevescoelho699
    @paulonevescoelho699 3 года назад

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

  • @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

  • @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)

  • @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.

  • @vibys1
    @vibys1 4 года назад

    Great format

  • @ComplexVariables
    @ComplexVariables 4 года назад

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

  • @nurizham
    @nurizham 4 года назад

    Thank you.

  • @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 3 года назад

    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  3 года назад +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 3 года назад

      @@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!

  • @sebo6263
    @sebo6263 2 года назад

    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  2 года назад

      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

  • @lucabellani3442
    @lucabellani3442 4 года назад

    VeryVery Great!!!

  • @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!) ?

  • @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!

  • @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

  • @arkosol
    @arkosol 4 года назад

    Awesome. I want more :)

  • @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.

  • @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.

  • @Supriyadi-tq2yt
    @Supriyadi-tq2yt 4 года назад

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

  • @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.

  • @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

  • @user-qy6di2fr1v
    @user-qy6di2fr1v 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.