Ceci est une ancienne révision du document !
Table des matières
TrafficMap
Typical case, you own a big public place and want to put up new things but don't know what to remove - what is few used
TrafficMap monitors a sim between two given altitudes and stores the data in a web database. You visualize the traffic on a map on the web.
- Traffic is obtained for each 4m x 4m land square
- A background image of the sim can be provided
- scripted agents (BOTs) are not counted
Setting up
Rez your TrafficMap anywhere on the sim and click on it for menu
- Use « and » to see and change all the setting
- zone part of sim to monitor. full, NE, NW, SE or SW
- zmin the lower limit altitude to monitor
- zmax the upper limit altitude to monitor
- timer how often the sim is checked. 30sec or 60 or more
- info a text that will appear on the map title
- image a http link to an image you want as map background (optional)
- this method rarely works for servers security reasons. Better just send me your image.
- turn on to start monitoring. All data is lost when you turn on
- turn off to stop.
- map to get your link to the map.
- refresh beacons to update the beacons without stropping the monitoring.
If you changed a setting while monitoring is started you must turn off then on for new settings to be active. Or you can reset scripts and only new zmin, zmax and exceptions will be used without clearing previous data
Map
The map is a webpage. It shows a dot for every 4×4 meters square
map script was designed and tested on Firefox, Edge, Chrome for Windows 11 and Mac and even on Android Browsers
- dots are of 6 different colors for 6 traffic levels
- you can show or hide beacons if you sat some
- you can show or hide background if you sat one
- click on the map will display sl coordinates and traffic in upper frame
- drag an area on map displays sum of traffic inside that area. the area will be drown on the map
Old maps - where no traffic was recorded for a month - will be deleted from our database. Snapshot or save page if you want to keep traces
Beacons
A beacon object is provided. rez some of them at special places and set a tag name in object's description. that tag will appear on the map.
Exceptions
You can put UUIDs of avatars you don't want to count in traffic (you? your bots?) in the notecard Exceptions inside
TrafficMap List
This object gives you infos about all the TrafficMaps you own and links to map pages.
On the menu you also get a Superlink to all your maps
Birdeye photo
This object helps you make an image of your sim. Rez it at zmin altitude and sit on it.
- 4 corner markers will be rezzed for 10 minutes to help you locate edges of image to get
- your camera will be placed correctly
- take the photo to disk
You then need to precisely crop you image and name it like your map title (region+info) and send it to me. I'll add it to my server. You don't have to put anything in the image parameter
Or you can place it somewhere it can be viewed on the web. Then enter a full http link to it in the image setting. (https://mydomain.com/myimage.jpg) Depending of your hosting this might work or not.
