Closed benoitgaudou closed 1 year ago
Yes, right. This has been introduced in the last commit about SaveStatement. The recognised way to do it, now, is to indicate the type of file (actually, its format) if it is not very common. So
save info to: "res/satellite.pgw" type: "text";
should work.
Two things here:
type
facet and renaming it format
. More explicit and less ambiguous as we use type
for many different things in GAML (attributes, displays, experiments...).Any comments welcome !
Fixed. Appropriate warnings/infos are emitted during compilation if GAMA detects possible ambiguities in the file formats. type
has also been deprecated in the favour of format
(I've corrected all the models from the library).
Describe the bug In the model downloading satellite images, (such as Download Data (OSM-images).gaml in the model library or in the COMOKIT model), there is a need to save spatial metadata in a pgw file.
Nevertheless, in the last version, the pgw format it not recognized anymore and we get the error:
To Reproduce Steps to reproduce the behavior:
Desktop (please complete the following information):