I needed to gather some locations information and instructed people to find Geo URI through the
Now I try to work with that information as GeoURI, but turns out there are no question marks in RFC 5870. Is OSM intentionally does it? Is it some other derived scheme? This question mark (instead of |
Yes, the Geo URIs produced by the "Share" feature do not comply with RFC 5870. They currently look like this:
The part with the question mark is called the "query component", and was intended to work similarly to the query component in an HTTP URL. It was specified in the draft version of RFC 5870 (see e.g. http://tools.ietf.org/html/draft-mayrhofer-geo-uri-00#section-5.1 ), but was dropped before the draft became a standard. In other worlds, welcome to the world of standards!
Andrew S. Tanenbaum Practically speaking, your safest option is probably to just snip off everything after the "?", including the question mark. Standard-compliant geo URIs will not contain a question mark, so stripping it off should be safe. answered 18 Feb '16, 13:53 sleske 1
Perfect, thanks. I ended up writing this:
(18 Feb '16, 16:21)
int_ua
|
Which OSM Geo URI are you talking about exactly?
The one in the
Share
instrument (or panel?)@scai: Go to osm.org , go to a place you wish to share, click the "share" icon, see "Geo URI". Apparently there's a
?z=
("zoom"?) HTTP-like parameter, which is not defined in the RFC.Thanks, I already spotted it after int_ua's explanation :)