Darakah / obsidian-map

Use leaflet to generate an interactive map with all geo / temporal tagged notes linked and displayed on the map
20 stars 2 forks source link

Map Layers & Overlay Ideas #10

Closed Darakah closed 3 years ago

Darakah commented 3 years ago

Ignore Issue, used as Discussion / Idea tracking / Design of Map layers & Overlay handling.

Darakah commented 3 years ago

Getting Ideas from various sources:

Tile Layers:

  1. Political Map
  2. Cultural Map
  3. Religious Map
  4. Provinces Map
  5. Biomass Map
  6. Height Map
  7. Base Landmass Map
  8. City Design / Detail (deepest layer)

Overlay Layers:

  1. Emblems / Households
  2. Borders (Nation bold / Province thin)
  3. Main Routes (Different colors to represent different categories i.e. Train, cement and so on + width / style)
  4. Secondary Routes
  5. Sea routes
  6. Arial routes
  7. Military (Camps / Castles / Troops and so on using different marker Icons)
  8. Rivers (Use width / color to have different categories)
  9. Population density?
Darakah commented 3 years ago

Each of these should be time tagged to be able to filter and interactively display on map.

Instead of saving tile images from leaflet map paint into plugin data, export same as with geoJson from FreeDraw and make the name of the file the combination of information TimeStart_TimeEnd_Layer_Zoom_Lat_Long_Lat_Long.png with the first 3 elements must be specified by the user, these are then placed in a tiles folder from which the plugin will automatically read the tiles and display them accordingly.


Exported Images from Map Paint (Used to trace layout at zoom higher then maxNativeZoom by tracing the layout allows to further manipulate and enhance that area using external tools.

These Include (Using this as a dump):

derentis commented 3 years ago

This plugin looks awesome. How can I install it in Obsidian? It doesn't show up on the list in the community plugin browser.

I started looking at WorldSpinner and while that was my absolute favorite ready-to-use world generator. I wanted to make sure that the world I was creating had believable geographic features.

I went down the rabbit hole and start watching a whole bunch of videos from:

Incredibly interesting videos and good food-for-thought for creating more believable fantasy worlds.

This led me to GPlates (https://www.gplates.org/). Try using GPlates to create your base map then export as SVG to be used with this plugin - I reckon that'll be an awesome combo.

I'm a big fan of data portability - will the layer data be exportable?

Darakah commented 3 years ago

@derentis Hello!

Which layer data are you referring to? Everything that you can add to the map currently can be exported. These are in 3 main categories:

Obsidian notes related to a location can be added as a marker automatically to the note by specifying an information block (check the v0.5.0 release notes in the README). These markers can be organized into new layers and the markers customized as desired.

yes, it can simply be added to the current version by reading tiles that have svg and png (instead of only png) with the same name format as the current tiles to know where to place it.

I didn't place it on the community plugins as it is only for those that might be interested (which are few) and the main.js is kinda of big (~ 14 mb for v.0.5.0).

You can install it by downloading the latest release main.js, style.css & manifest.json from https://github.com/Darakah/obsidian-map/releases/tag/0.5.0 Put all three files in a folder (call it something like obsidian-map ... the name doesn't matter though), then place this folder inside the plugins folder of your vault. After that, refresh the plugins tab and it should appear there to be activated.

After this, if you already have your map tiles simply specify the folder / structure where they are located in the settings tab otherwise it will just be a grey empty map.