Australia

Started by Shultzy, Dec 19, 2020, 04:54 PM

Previous topic - Next topic

Shultzy

Nick / Steve, I want to put the Murray River in Australia on to the database, will this cause a problem for you?
Regards Shultzy

Stephen Atty

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.

Shultzy

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.
Regards Shultzy

Administrator

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.

Stephen Atty

Australia is currently generating on the server.

Estimated time is just over 1 day



Administrator

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.

Shultzy

Thanks. If you want to put an \"Asia\" on as well I'll fill them in.
Regards Shultzy

Stephen Atty

In terms of Maps asia covers




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.

Stephen Atty

Once Australia has built I'll spin it up on my local map server

Stephen Atty

OK so processing completed in just over one day. Sydney looks OK



Administrator

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.

Stephen Atty

Australia tileset uploaded to server along with a style file, and an Index page for testing (  https://maps.tty.org.uk/index-australia.html )

Administrator

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.

Shultzy

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.
Regards Shultzy

Administrator

I've fixed the time-out - let me check on the distances

Looks like the rebuild needed fixed that as well!