User Tools

Site Tools


geosketch_todo

This is an old revision of the document!


GeoSketch ToDo

  • hittest/hilite
    • x test only enabled layers
    • x test only qualified features, those that fall in the time period and scalerank
    • test only scale-qualified features
    • Hilite border color, width
  • 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
  • branding
    • 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
    • user guide, appendix, rename geosketch to voyc
    • videos, appendix
    • change curriculum logo and title from Samantha
  • database
    • ST_GeomFromGeoJSON, add Caspian Sea to lakes
    • simplify Caspian sea
  • ? animate projection switch, equirectangular projection
  • ? mercator stitch, in GeoIteratorClip
  • 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
  • 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
    • Names
      • Spelling
      • Add river, mountains, range, etc
      • Alternative names
      • Wiki link
      • Fewer cities
    • Alpha search index

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
  • Little x to close label, main menu, search results
  • 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
  • iterator Callbacks
    • Drawing
    • Qualify
    • Choose palette
    • Scaling

Palette Editor Dialog

  • checkboxes: line,poly,point
line poly point
lineWidth x x x
Dash x x x
Radius x
Line color x x x
Fill color x x
Pattern x
Blur x
Opacity x

How to edit palette Layer definition supports line,poly,point

Sketch needs three palettes

History animation Qualify by b and e Three types

Palette has three checkboxes

Palette choices, drawing pipeline per group, Per scale per geom

Ogr shp to SQL Load into separate table Extract into geojson cities.js Ditto countries.js

Data source Natl earth ne_110m

Oceans: hand crafted Land: continents, islands

voyc user guide Separate wiki ? Structure inc with curriculum Doku.php : require separate DNS? user_guide → doku.php doku.php?id=keyword

Main menu Curriculum User guide Videos

geosketch_todo.1673234795.txt.gz · Last modified: 2023/01/08 22:26 by jhagstrand

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki