Skip to content

Export .shp from container without geometry attribute, also write the geometry instead of only .dbf #170

@jipclaassens

Description

@jipclaassens

Now when you export an attribute as .shp from a container where the geometry is not explicitly configured. It only writes the .dbf and not also the .shp/.shx/.prj. While GeoDMS already knows the corresponding geometry features (as it can draw them).

See here for example:

container store 
{
	attribute<float32> TransportPerformance (domain)   := TP_g, StorageName = "%LocalDataProjDir%/Results/DestMass.tif";
	attribute<float32> Pop_within_limit1_i  (Prep/Orgs):= ../Pop_within_limit1_i, StorageName = "='%LocalDataProjDir%/Results/Pop_within_'+string(TraveltimeLimit_1)+'min.shp'", StorageType = "gdalwrite.vect";
	attribute<float32> Pop_within_limit2_i  (Prep/Orgs):= ../Pop_within_limit2_i, StorageName = "='%LocalDataProjDir%/Results/Pop_within_'+string(TraveltimeLimit_2)+'km.shp'", StorageType = "gdalwrite.vect";
}

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions