ncssar / sartopo_python

Python calls for the caltopo / sartopo API
GNU General Public License v3.0
14 stars 2 forks source link

crop apptrack #55

Open caver456 opened 1 year ago

caver456 commented 1 year ago

How should a request to crop an apptrack be handled?

How is it currently handled in DMG?

Since an apptrack is still in-process by definition, it doesn't make sense to crop it to some arbitrary section e.g. in the middle.

Probably the best option when an apptrack crop is requested is to programmatically draw the new cropped line(s), and leave the apptrack alone.

Right now, a request to crop an apptrack just returns 200 with no json. See #42.