toolbox4minecraft / amidst

Advanced Minecraft Interface and Data/Structure Tracking
GNU General Public License v3.0
2.15k stars 239 forks source link

Add ability to export coordinates of world features #248

Open SungMatt opened 7 years ago

SungMatt commented 7 years ago

Executive Summary

A feature shall be added to Amidst to increase usability, as well as functionality.

Existing

Currently, Amidst allows for coordinates of world features to be displayed upon clicking feature icon on the map. As with exporting a screenshot of said world, often features are so far apart as to players exporting a 8000* 5000 block area, resulting in a lot of guesstimation with help of the grid.

Suggestion

I propose that the location coordinates can be exported into a text file.

Implementation

Upon request to export, a dialogue will be created, requesting the mode of export. The modes available are:

  1. Proximity (Default)
  2. North
  3. East
  4. South
  5. West
  6. Bounding Box*

Next, another dialogue will be created, asking for a coordinate to search around. (Feature not available in Bounding Box mode)

Finally, a last dialogue will pop up, asking the player for a number of features to export, as well as the feature type.

Amidst will then search around, or in the cardinal direction specified. Once hitting the quota, Amidst will generate a text file and export it to a location that is user-specified.

*In Bounding box mode, the coordinates of the corners will be requested, as well as the type of feature. Amidst will then search for matching features.

Challenges

This will certainly be no easy task to complete, but a primitive version with just Proximity mode would be highly regarded by the user base of Amidst.

Suggestions and Comments

Please add your thoughts below. I would appreciate if you can share your opinion with me.

stefandollase commented 7 years ago

Thanks for the suggestions and its detailed description. There is a fork of Amidst, called AmidstExporter, which is able to export a list of features. Maybe, it solves your current use case? However, it is about to be merged back into Amidst to join developer effort, see #21. Thus, if AmidstExporter is currently not solving your use case, your best bet is to wait for this feature request to be implemented. Please note, that the export mechanism of AmidstExporter is specialized for another mapping tool.

Regarding the implementation of this feature request: I think it is a good idea to implement this feature simultaneously with porting the export functionality from AmidstExporter. They seem to be very similar and they probably can share most of the required code. Maybe, they are similar enough to not be different feature.

I cannot tell when we get around to implement this, since the project is really short on developer time and there are more urgent issues.