On Sun, May 10, 2020 at 4:06 PM Petr Schönmann <pschonm...@gmail.com> wrote:
> Pokud to bude jednorázové tak je to takhle jednoduché, ale pokud bych to > tahal v nějakých intervalech skriptem tak nevim jak na to. Rad bych si to > předváděl na GPI > Skriptom nejak takto: curl 'https://overpass-api.de/api/interpreter' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'Origin: https://overpass-turbo.eu' -H 'Connection: keep-alive' -H 'Referer: https://overpass-turbo.eu/' --data-raw 'data=%2F*%0AThis+has+been+generated+by+the+overpass-turbo+wizard.%0AThe+original+search+was%3A%0A%E2%80%9Chighway%3Draceway%E2%80%9D%0A*%2F%0A%5Bout%3Axml%5D%5Btimeout%3A25%5D%3B%0Anode%5B%22fixme%22%3D%22continue%22%5D(48.66778170299704%2C21.08448028564453%2C48.72256594795739%2C21.166534423828125)%3B%0Aout+body%3B%0A%3E%3B%0Aout+skel+qt%3B' | xmlstarlet tr xml2gpx.xsl > output.gpx Kde osm2gpx.xsl ziskas napr. z https://github.com/k4r573n/osm2gpx/blob/master/osm2gpx.xsl (uprav si tam xls:param parametre). -- Ing. Martin Ždila <http://www.openstreetmap.org/user/*Martin*> OZ Freemap Slovakia tel:+421-908-363-848 mailto:martin.zd...@freemap.sk http://www.freemap.sk/
_______________________________________________ talk-cz mailing list talk-cz@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk-cz https://openstreetmap.cz/talkcz