Nick / Steve, I want to put the Murray River in Australia on to the database, will this cause a problem for you?
A new country will have to be added to do that. Not sure if Nick's ever coded that functionality in.
We'll also have to generate the open street map data file - which might take some time.
I thought it might take a bit of work. I'll leave it up to you to decide whether it's worth it or not.
Top level areas (currently, Great Britain, the Island of Ireland, North America, Continental Europe) have to be hard wired in - by creating a top-level for them. Beyond that it *should* be fairly simple to do the rest. Steve's right though, we'd need mapping data for them as well.
There are several other areas that have significant navigable waterways of course. Vietnam, China, Bangkok spring instantly to mind.
Australia is currently generating on the server.
Estimated time is just over 1 day
(https://i.postimg.cc/NKSK6fZc/aus.png) (https://postimg.cc/NKSK6fZc)
I'm pretty sure that all I need to is insert a single row into the waterways table, then add a configuration block to mapping/config.hdf and that's it. But, of course, until the maps are there it's not possible to do anything as you can't add places if you don't know where they are.
Let me know when the tiles are generated, and what they are called (I'm guessing just \"australia.mbtiles\") and I'll see what happens. Then I'll pull them here, check my logic and go live.
Thanks. If you want to put an \"Asia\" on as well I'll fill them in.
In terms of Maps asia covers
(https://i.postimg.cc/FYk32hCs/asia.png) (https://postimg.cc/FYk32hCs)
and is 23GB - which I can download rather than render (but the data will be 3 years old).
Or we can select sub sections of it assuming we don't have routes running over map boundaries.
Once Australia has built I'll spin it up on my local map server
OK so processing completed in just over one day. Sydney looks OK
(https://i.postimg.cc/nMGBqdgT/aussie.png) (https://postimg.cc/nMGBqdgT)
I think Asia is too big, and isn't really connected. I'll grab Australia and see what I can get working if you can put it somewhere I can download it from.
If you put it in the live tileserver, it won't do any harm until pages start asking for it, and it's ready when I push the changes to the data/config.
Australia tileset uploaded to server along with a style file, and an Index page for testing ( https://maps.tty.org.uk/index-australia.html )
Right. I've added Australia.
Things will work a bit oddly until it gets enough data to start scaling things properly. So this is what to do:
Add two \"floating places\", one at each end, and then the river between them as a new waterway. It may be difficult to get the map to display without the scaling data - you'll find the \"zoom to place\" feature works nicely though.
When you've done that, you should find that the gazetteer for each of these places works fine, but the waterway between them doesn't. Adding an intermediate place on the waterway should fix that.
Let me know here if anything doesn't work.
I've set up the two end places and created the river, all works. The distance entered was 1992km but only shows 1mi 419yds which is 1992m. I've edited the distance table to 1238mi (1992 km) but the waterway still shows 1mi 419yds. When selecting [Murray Mouth] or [Yarrawonga Weir] CP just times out.
I've fixed the time-out - let me check on the distances
Looks like the rebuild needed fixed that as well!
One thing I haven't done is configured it for the default display for Aus. I wonder what it should be? (and, where do I do it!)
Answering myself - they are metric and the data is in the waterway_locale table
Do you need to tweak the What's New data feed?
To do what? - I'm very reluctant to touch that code until I rewrite it. It's horrible.
Floating places and new waterways don't appear. But as new places are added along the way then they'll appear.
I had some incomplete files permissions, which I've fixed. I've also documented all of this for the future. I added an intermediate place to check it was working, and it does seem to be now.
There are going to be a lot of marker places on that river... going to keep someone busy for months :) =)