I think what most people do is to mark the linear path the cars usually take on the square. What I would do is to scroll down to the examples in the wiki, see which one is more similar to the case I'm trying to map, and search it on OSM, click Edit, and see others mapped it.
OpenStreetMap community
Everything #OpenStreetMap related is welcome: software releases, showing of your work, questions about how to tag something, as long as it has to do with OpenStreetMap or OpenStreetMap-related software.
OpenStreetMap is a map of the world, created by people like you and free to use under an open license.
Join OpenStreetMap and start mapping: https://www.openstreetmap.org/.
There are many communication channels about OSM, many organized around a certain country or region. Discover them on https://openstreetmap.community/
https://mapcomplete.org/ is an easy-to-use website to view, edit and add points (such as shops, restaurants and others)
https://learnosm.org/en/ has a lot of information for beginners too.
There are only a couple obscure routing engines that can route through areas, so you will have to use interconnected linear ways probably.
What square are you mapping exactly?
If the entire square is open to cars, you should do something like the following:
On the square area itself set
place=square
area:highway=yes
Also connect all the other roads entering/exiting the square to each other, so that they are routable; make sure they all have appropriate highway=* tags set, so that routers don't get confused.
Make sure that all pedestrian paths (sidewalks) are also connected together, using highway=crossing when appropriate.
i followed these instructions, hoping that it works
@merde I'd say the same way as routable pedestrian square. Draw the square outline for main tags, and add main flow lines as regular highways crossing it.
@merde
The highway=road tag is for a road of unknown type.
The square should be tagged with an actual classification and have area=yes on it to indicate that it is meant to be treated as an area.
https://wiki.openstreetmap.org/wiki/Key:highway
If the acceptable vehicles aren't what you'd expect for that type of road you can override with the relevant access tag:
https://wiki.openstreetmap.org/wiki/Key:access
Routing support is poor, so most with show a route around the perimeter.