Git Product home page Git Product logo

roman-empire's Introduction

roman-empire's People

Contributors

idastorm avatar jirik avatar johaahlf avatar klokan avatar petrsloup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

roman-empire's Issues

RomanEmpire Low / Medium / High

Let's create 3 TM2Source projects

each will contain only data of certain precision and will cover only relevant zoom levels.

Please push these .tm2source files into GitHub too - into a new branch. Inside should be the used GeoJSON.

Temporary switch to AWMC as background tiles

I am keen to develop a fully vector-based map - integrating OpenMapTiles and our contour lines and hillshading. For now, we use in the background the raster tiles made from DARE data:

https://github.com/klokantech/dare-raster-tiles

But it is a temporary solution, independent of hosting with with data quality issues and incomplete world coverage.

@johaahlf - what about to display now in the background the raster tiles from AWMC?
What is your thinking about this?

They are claimed to be completely free for use and CC-BY licensed:
http://awmc.unc.edu/wordpress/tiles/map-tile-information

A demo of how it would look:

http://labs.klokantech.com/klokan/roman-empire-awmc/#3.96/39.01/21.14

Zoom levels in generate-tiles.sh

The zoom levels need to be changed in the script generate-tiles.sh to correspond to the raster map at dare.ht.lu.se. In general they need to be one less. Can I do that myself? What does the -B parameter stands for? -Z seems to be min-zoom and -z max-zoom. @klokan

General questions on Mapbox GL overlays (markers, GeoJSON, HTML)

Hi all,

just dropping in quickly to say two things:

  1. the map is awesome :-)
  2. do you have any thoughts and/or interest in collaborating with regard to implementing added functionality on top of the base map? In the medium/long run I'd really like to integrate your map with Peripleo. That would inevitably mean switching out Leaflet with Mapbox GL for us, I guess; and re-implementing basic overlay functionality: point markers, GeoJSON shapes, custom HTML (i.e. a replacement for Leaflet's DIV icon. Do you know if that's feasible in Mapbox GL at all?

Provinces names

Create label layer with points - in centroids (improved) for the provinces:

provinces_names.geojson

Try software for vector tile generation

I believe the right approach for this project is to pre-generate the data into vector tiles which are static - probably saved as PBF files in a folder or packed in SQLite/MBTiles.

The first version can be easily done with Mapbox Studio Classic software: https://www.mapbox.com/mapbox-studio-classic/

@idastorm please install this software and try it with these data:
https://github.com/klokantech/vector-tiles-sample (download and open, esp. countries.tm2source - and try to modify, change data, etc).

Later on we can automate the process of generating vector tiles from the input data on command-line - with TileLive/OpenMapTiles stack or with TippeCanoe.

For raster data (TIFFs) the easiest is to use our MapTiler.

Add source information in README

Providing source information showing where map elements such as settlements, forts and especially the road network were derived from would be helpful.

Great project!

Hadrian's Wall and Antonine Wall

when looking at your marvellous geojsons of Roman roads and fortifications, I noticed an awful error: the so called Hadrian's Wall and Antonine Wall (black horizontal lines in Scotland) are located at least one degree too high.

I am sure you can correct his and I hope you will put a revised Geojson on Github, but what I wonder a bit about is, that the original on The Roman Digital Map doesn't have this huge error. It does not really look like linked open data.

But apart from this, I would like to epxress my many thanks for these most interesting resources!

Reported by: Allard Mees [email protected]

mbtiles file dont compile

after I added two layers (10m_lakes and 10m_rivers) and changed zoom level settings in the task/generate-tiles.sh the mbtiles doesn't show up on the map. @klokan

Time slider demo

It would be great to make a demo of time slider with appearing / disappearing elements on the map based on their time period. Maybe going back in time with the slider where individual elements disppear?

It can be based on the prototype @klokantech team made:

timeslider

See:
http://labs.klokantech.com/timechange/#15.35/51.5112/-0.0955/4.4/60

A map application using this code should give credit to Klokan Technologies GmbH, please.

It could be turned into web visualisation of 4D data based on the interpretation of the unique world-wide GIS layer with start and end years of the features.

(The demo above uses the physical height of the buildings instead of years - as we miss the time period information in the OSM data right now)

It is all powered our open-source project OpenMapTiles.org and OpenStreetMap data and vector tiles we produce - but we can process easily process your own existing geodata from PostGIS database and make similar interactive visualisation for your project - and improve the design, add animations and make it really cool and interactive.

It can also run on a mobile phone - and can be turned to native mobile application - with native mapping SDKs for Android and iOS (see our OpenMapTiles or GeoEditor mobile apps).

If anybody is really interested to bring this much further on larger data - Klokan Technologies GmbH can help with that.

@idastorm could you please try to adopt this code into the roman-empire index.html in this repository?

Zoom Control missing

#17 After the switch language dropdown was added, the zoom in/out control doesn't appear anymore (Firefox, Chrome). The following line seems to be missing. I can add that myself:
map.addControl(new mapboxgl.NavigationControl());
I have implemented something similar on the DARE domain when I was playing around with the Mapbox-gl-js API, https://dare.ht.lu.se/vector/#9/43.7820/5.1240/0/60
I made the Javascript change style, which is a bit slower.
I have just installed the Tilserver-GL on one of my domains using Docker, http://ht-uppakra.ht.lu.se:8080/
This is currently the only server running Ubuntu 16.04 LTS.

Not enough padding in the vector tiles?

image

Label of major settlement getting cut off. Can be solved by checking the "Avoid Edges" which is "recommended in layers that don't have enough padding in the vector tile to avoid collision..."

When checked it looks like this:

image

Not many place labels are showing, is this acceptable @johaahlf ? Is there another way around it @klokan ?

turing on an off layers

After struggling a little with the time slider demo (issue #20 - new post soon), upon a request from @johaahlf , I have been looking at turning on and off different place categories (defined by different IDs in the style.json file), but without success. I am hoping that @klokan or someone else can look at it and give me feedback? It is just a test for turning on and off the major settlements.

This is the key lines. The whole file is also attached.

var hideLayer = function(layerId) {
if (!STYLE_JSON) return;
var styleObj = JSON.parse(JSON.stringify(STYLE_JSON));

//accessing the style sheet with the ID places_major_settlement. Updated style version where set to visible on default (all boxes checked)

styleObj[layerId].layout.visibility = 'none';
map.setStyle(styleObj);

};

checkboxes.zip

Using static tiles

Hello,
We, at the Theban Mapping Project in Egypt were using the Pelagios map as part of our Arches powered database of Egyptian archaeological sites. We found it very useful to verify our site locations against yours and we were very disappointed to find that we can no longer use the old link. Arches uses Bing maps as its GIS component and we used to use the static tiles as an overlay on our Bing base map of Egypt. Will the new project allow us to integrate the map in the same way? Is the new map released? Is there any link to the old map that we can continue to use for the time being?

Failed to build

The last places update failed to build. I read the log file and its seems it is not related to the geojson files but the system files @klokan

Collect Roman specific source data

The first step is to collect the data displayed in DARE, which has open license and can be placed on GitHub - ideally as GeoJSON in this repository in a "data" folder.

Important for the first version of the vector maps are especially:
provinces, roads, places

A complete list of all layers in DARE is in the Implementation notes from the meeting today:
https://docs.google.com/document/d/1JH2t2NiVf0j3EJHnYKw6t-pPzJDbWaF5cO4Kbi13-RY/edit#

@johaahlf - could you please provide these until next meeting (Wednesday)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.