[osm-hu] Mapillary

Szem szembiketeam at gmail.com
2021. Ápr. 27., K, 17:09:13 UTC


Bocsánat ha rajtam kívül ez mindenkinek világos, de esetleg leírnád, 
hogy konkrétan hogyan lehet így képeket felölteni (és hogyan lehet vele 
normalizálni őket).

2021.04.26. 10:11 keltezéssel, Feri Veres írta:
>
> 2021. 04. 26. 8:20 keltezéssel, KAMI911 KAMI911 írta:
>> Ha a Mapillary tools-sal töltitek fel, ez nem lehet segítség?
>>
>>
>>       Derive image direction and Upload
>>
>>   * Derive image direction (image heading or camera angle) based on
>>     image latitude and longitude. If images are missing direction,
>>     the direction is derived automatically, if direction is present,
>>     it will be derived and overwritten only if the flag
>>     |--interpolate directions| is specified.
>>
>>
> Esetleg valami Mapillary független megoldás nincs erre? Kód példa:
>
> https://github.com/mapillary/mapillary_tools/blob/073aa96278e8de46cae77b6d4062f7269e81bc8d/mapillary_tools/geo.py#L143
>
> Általánosan is hasznos lenne az ilyen képekbe ez a javítás a track 
> alapján. Nekem is teljesen rosszul rakja bele a Mapillary App:
>
>
> Üdv,
>
> Feri
>
> def compute_bearing(start_lat, start_lon, end_lat, end_lon):
>     '''
>     Get the compass bearing from start to end.
>     Formula from
> http://www.movable-type.co.uk/scripts/latlong.html
>     '''
>     # make sure everything is in radians
>     start_lat = math.radians(start_lat)
>     start_lon = math.radians(start_lon)
>     end_lat = math.radians(end_lat)
>     end_lon = math.radians(end_lon)
>
>     dLong = end_lon - start_lon
>
>     dPhi = math.log(math.tan(end_lat / 2.0 + math.pi / 4.0) /
>                     math.tan(start_lat / 2.0 + math.pi / 4.0))
>     if abs(dLong) > math.pi:
>         if dLong > 0.0:
>             dLong = -(2.0 * math.pi - dLong)
>         else:
>             dLong = (2.0 * math.pi + dLong)
>
>     y = math.sin(dLong) * math.cos(end_lat)
>     x = math.cos(start_lat) * math.sin(end_lat) - \
>         math.sin(start_lat) * math.cos(end_lat) * math.cos(dLong)
>     bearing = (math.degrees(math.atan2(y, x)) + 360.0) % 360.0
>
>     return bearing
>
> -- 
> Magyar OSM Levelezőlista - openstreetmap-hungary at googlegroups.com
> leiratkozás: openstreetmap-hungary+unsubscribe at googlegroups.com
> ---
> Azért kapta ezt az üzenetet, mert feliratkozott a Google Csoportok 
> „openstreetmap-hungary” csoportjára.
> Az erről a csoportról és az ahhoz kapcsolódó e-mailekről való 
> leiratkozáshoz küldjön egy e-amailt a(z) 
> openstreetmap-hungary+unsubscribe at googlegroups.com 
> <mailto:openstreetmap-hungary+unsubscribe at googlegroups.com> címre.
> Ha szeretné megtekinteni ezt a beszélgetést az interneten, látogasson 
> el ide: 
> https://groups.google.com/d/msgid/openstreetmap-hungary/0aef9803-8b2b-983f-4fd5-27c06128942d%40cmsbazar.hu 
> <https://groups.google.com/d/msgid/openstreetmap-hungary/0aef9803-8b2b-983f-4fd5-27c06128942d%40cmsbazar.hu?utm_medium=email&utm_source=footer>.

--------- következő rész ---------
Egy csatolt HTML állomány át lett konvertálva...
URL: <http://lists.openstreetmap.org/pipermail/talk-hu/attachments/20210427/070a2030/attachment.htm>
--------- következő rész ---------
A non-text attachment was scrubbed...
Name: nem elérhető
Type: image/png
Size: 11025 bytes
Desc: nem elérhető
URL: <http://lists.openstreetmap.org/pipermail/talk-hu/attachments/20210427/070a2030/attachment.png>


További információk a(z) Talk-hu levelezőlistáról