geosketch_todo
This is an old revision of the document!
GeoSketch ToDo
- hittest/hilite
- test only enabled layers
- test only qualified features, those that fall in the time period and scalerank
x let esc key cancels hilite
- add x close button to label, and let that cancel the hilite
- hilite of cities, has moved true, redraws whole screen ?
- clear hilite on zoom (or reposition label on every move/zoom redraw)
- x enable hittest for points
- x bug: hilite cities, palette choice
- twit
- create email sam@voyc.com, keep john@voyc.com because it is published on the voyc demo video
- create twitter account for sam.voyc
- link main menu to twitter account
- menu
- user guide, appendix
- videos, appendix
- database
- ST_GeomFromGeoJSON, add Caspian Sea to lakes
- ? animate projection switch, equirectangular projection
- ? mercator stitch, in GeoIteratorClip
- sketch
- mask land https://stackoverflow.com/questions/18379818/canvas-image-masking-overlapping, ctx.clip()
- blur (feather) a border https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter
- multi shapes
- auto close, and start new shape
- double click (line and polygon)
- drop the next point on the first point (polygon only)
- test and reimplement touch
- edit layer
- x. save geom in custom01
- 2. save geom in any custom layer, from menu of custom layers
- 3. edit an already existing shape
- how do we select a shape for editing?
- before saving, you can grab any point and move it
- you can select any object on the page and begin editing it, moving points, close it if not already
- how do we select a layer for editing?
- 4. save in base layer, restricted shape type
- setting: allow base layer editing
- custom layers
- x put layer menu in local storage
- new layer
- attributes and data saved in database by userid
- Public, private
- Description, tags
- custom palettes
- Search engine
- example Custom Layers
- CIA puppets
- china expansion
- international dateline
- wars, battles
- choke points
- Mouse move while sketching
- distance
- Globe: great circle
- Mercator: rhumb line
- editable palette
- consider base palette vs custom palette
- KEEP data and presentation separate
- data goes in database, palette in local storage.
- custom layers require 1 palette for each layer
- named palettes
- put palette in local storage
- named, db-saved, editable custom layers
- custom layers will be pulled from the db, not included js files
- enable user login
- implement read-write of custom layers
- svc: read custom layer per user
- svc: write custom layer per user (insert or update)
- save all localStorage in db by user. really? then you need a reset option
- search, return list, select one, highlight selected, similar to hittest
- find a place for the search button
- multi-match
- find “Kush”, id 109
Features
- setup ctx ahead of time, not at draw time, after layer creation, “fixup layer palettes”
- db update for editing base layers
- db update for custom layers
- cities and treasure layers with point medalions
- North button, appears when gamma non-zero
- time
- add « » fast forward
- when touching mouse to date, resolve to slider
Bugs
- when mouse moves off the board, blank out the whereami
- pointInPolygon() does not always work, see Crystal Mountains
- rank 1,2 gridlines hit only sometimes
- seems to always work at intersection with other geoms
- treat wheel zoom same as zoom slider
- timepicker, arrow keys attempt string instead of numeric addition, until after first use of slider
- timeslider appears on startup even when history layer is disabled
Mysteries
- Big bang
- DNA
- Life only eats life. So the origin requires at least two life forms, or canabalism.
- Civilization
- Is there life without a cell?
- Is there a life form that eats only inorganic minerals? Maybe some eat amino acids and proteins?
Chokepoints
- Cumberland
- Two horns, Africa, Arabia, straits
- Capes, good hope, cod,
- Strait Malacca, piracy
- Natural vs man-made, canal, bridge, turnpike, borders Crossing
- Miles Davis twice
- Berlin
- Athens school
- Kuyber Pass
- greece-turkey
geosketch_todo.1673230620.txt.gz · Last modified: 2023/01/08 21:17 by jhagstrand