How to open a shapefile linked custom metadata textfile within QGIS

المشرف العام

Administrator
طاقم الإدارة
I used a text file as a simple metadata for my shapefiles. It has basic information such as Source of raw data, Who can edit the file, Accuracy level, what those dbf filed means, Cost aquiring data, etc.

The text file is saved with the same name and path with my Shapefile e.g.

  • Conservation Area.shp
  • Conservation area.txt ----> the file
What would be the best way for me to open this text file when its shapefile is an active layer ?

I know, the perfect solution would be to use standard metadata format (shp.xml) or learn to write a plugin...

Temporarily, I'm doing it as follows.

Create field named "meta" in the shapefile and populate EVERY row of the field with path and filename of the textfile.Then Create action > type : "Windows", action: notepad "[% "meta" %]

To View, I select the new action Icon and click on any vector.

Thx for any heads up....

on win 7, x64, QGIS 2.10.



أكثر...
 
أعلى