Help:How to make detailed rivers quickly and Collab talk:Federal States/Newcomers Guide: Difference between pages

From OpenGeofiction
(Difference between pages)
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
 
Line 1: Line 1:
This technique uses a vector-graphics program, such as Inkscape, to [[Help:Making realistic rivers|make realistic rivers]]. This method requires both Inkscape and JOSM; JOSM must be retrofitted with some plugins so it takes a while to set up and learn. Once all parts are installed, long, meandering rivers can be created in under 10 minutes.
To request assistance, click the "Add topic" link above and briefly explain the issue you're having or what advice you're seeking. Please move completed items to the "Closed" section below, and don't forget to sign your post with <nowiki>-~~~~</nowiki>.


{| class="wikitable" border="0" style="background:#FFCCCC;width:100%;" cellpadding="20px;"
'''Sample request:'''
| style="padding:10px" | [[File:Achtung.svg|20x20px|]] '''Warning: this requires a working knowledge of [http://www.inkscape.org Inkscape] vector graphics software and the [https://josm.openstreetmap.de/ JOSM] map editor.'''
|}


==Example Rivers==
''Hello FSA community, I need some advice on how to make this river <nowiki>[link to location in OGF]</nowiki> more realistic. Can someone help me? -OGF User 1
Before we start, '''[http://opengeofiction.net/#map=11/30.0000/117.6000 here]''' is a example of rivers made using this technique (go to topographical layer to view more easily).
:''Hello OGF User, you may want to check out the [[Help:Making realistic rivers]] tutorial. If you need more help, please send me a message in OGF. -OGF User 2
::''Thanks so much! -OGF User 1''


{{#multimaps: | center = 30.0,117.6 | width = 80% | height = 575px | zoom = 11 | maxzoom = 19 | minzoom = 10 | layer = TopoMap}}.
===Closed===
 
==Neccesary applications==
For this technique, you need:
 
[https://josm.openstreetmap.de/ JOSM]
[http://www.inkscape.org Inkscape]
[http://wiki.openstreetmap.org/wiki/JOSM/Plugins/ImportVec ImportVec plugin]
 
==1. Set up a background image of your country in Inkscape==
This can be done by taking multiple screenshots and overlapping them in Inkscape. Printscreen the area of map you want to draw the river on, paste it into Inkscape, draw a rectangle over the section you want to keep, select the rectangle and the print screen, right click and click set clip. I would spend some time to get a detailed print screen of your entire country, so you don't have to take new print screens when you want to draw a river in a different section of your country.You also want to rescale the background map so that it is a sensible scale (for me, I used 1mm = 100m). Then place this background image in a seperate layer and lock it.
 
[[File:RiverTutorial1.png]]
 
==2. Measure how large your river will be==
Follow the instructions writen under 'How wide to make the river' (though you should read the whole page). In my case, my river is 30m wide at the mouth.
 
==3. Draw a line for the path of the river==
Multiply the width of your river by 72 and convert it into the scale of your background map (so divide by 100 if you are using 1mm = 100m scale).
For example, a 30m wide river would be multiplied by 72 (2160) and then divided by 100, giving a value of 21.6.
 
Then select the beizer curve tool and draw straight segments from the mouth of the river to the source. Initially, the straight segments should be the previously calculated value long, but they should gradually get shorter as you get closer to the source. The distance of a segment can be seen at the bottom of the screen.
Note: you do not want to draw any meanders yet.
 
[[File:RiverTutorial2.png]]
 
 
.
Note: If you want more precision over the direction of the river, multiply the width of the river by 36 instead of 72. Then in the next step, only fractalize into 4 subdivisions
 
==4. Fractalize it==
Select the line you just drew, then click Extensions -> Modify path -> Fractalize.
Under subdivisions, write 5.
Under smoothness, you can put your own value, depending on how much you want your river to meander. Lower values result in more meandering rivers, higher results in straighter rivers. 3.5 generally works well. Use live preview to decide what smoothness value you want. Note: you don't want any paths crossing over themself.
 
[[File:RiverTutorial3.png]]
 
 
 
Note: If you want straight segments, delete some of the nodes in the line after fractalizing it.
 
==5. Convert the path into a spiro spline==
Select the line, then click Path -> Path Effects
In the path effects window, click the plus icon, scroll down to spiro spline and add it.
 
[[File:RiverTutorial4.png]]
 
Then select 'Edit paths by node' tool, select all the nodes in the line, and click 'make selected nodes smooth'.
 
[[File:RiverTutorial6.png]]
 
Then click 'Convert selected object to path' (Shift+Ctrl+C).
Official OpenStreetMaps recommends that you include a way which is tagged as a river/stream in addition to an area which is tagged as a riverbank. This means at this point, you want to copy this path and paste it in a new document. If you only want a river/stream way and don't want an area polygon for the riverbank, just import this way into josm.
 
==6. Add a taper==
 
Draw a triangle off to the side which is long and has a height of 10mm. Copy it (but don't paste).
 
[[File:RiverTutorial5.png]]
 
Click back onto the line and on the path effects window add the effect 'pattern along path'. Set the pattern copy to 'single stretched' and then click the 'paste path button'. Set the width to the width of your river divided by 10. Set the fill as a colour and the stroke as colourless. You may need to reverse the path (Path -> Reverse) if the taper is going in the wrong direction.
 
[[File:RiverTutorial7.png]]
 
==7. Finish it off==
 
Select the path, then select the 'Edit paths by node' tool and click 'Convert selected object to path' (Shift+Ctrl+C).
 
Draw any oxbow lakes of other feature you want and then copy it into the document where you pasted the other way. This object should perfectly overlap the previously pasted way so that, when imported into josm, one can be tagged as 'river' and the other can be tagged as 'riverbank'. Then, import it into JOSM using [http://wiki.openstreetmap.org/wiki/JOSM/Plugins/ImportVec ImportVec plugin]. Set the scale to the scale you chose at the start and for the curve steps type in 1 (more than 1 results in glitches). Divide it into sections under 2000 nodes and add it into a relation tagged as type: multipolygon and waterway: riverbank.
 
[[Category:Tutorials]]

Latest revision as of 16:10, 6 September 2021

To request assistance, click the "Add topic" link above and briefly explain the issue you're having or what advice you're seeking. Please move completed items to the "Closed" section below, and don't forget to sign your post with -~~~~.

Sample request:

Hello FSA community, I need some advice on how to make this river [link to location in OGF] more realistic. Can someone help me? -OGF User 1

Hello OGF User, you may want to check out the Help:Making realistic rivers tutorial. If you need more help, please send me a message in OGF. -OGF User 2
Thanks so much! -OGF User 1

Closed