User talk:Liosha

From OpenStreetMap Wiki
Jump to navigation Jump to search

osm2mp feedback

Hi there,

thanks for osm2mp, it's been very useful in testing routing support in mkgmap. There's some feedback on Talk:mkgmap/routing that relates to osm2mp -- maybe you're interested. Here's a patch to make osm2mp recognize access=no:

---	(revision 12)
+++	(working copy)
@@ -372,6 +372,11 @@
        $polydir    = $yesno{$2}                 if ($1 eq "oneway");
        $polytoll   = $yesno{$2}                 if ($1 eq "toll");
+       if ($1 eq "access")
+           $polynoauto = $polynobus = $polynoped
+                = $polynobic = $polynohgv = 1 - $yesno{$2};
        $polynoauto = 1 - $yesno{$2}             if ($1 eq "motorcar");
        $polynobus  = 1 - $yesno{$2}             if ($1 eq "psv");
        $polynoped  = 1 - $yesno{$2}             if ($1 eq "foot");

Cheers, Robx 09:00, 7 December 2008 (UTC)

Thanks, i'll fix it with next commit. --Liosha 12:06, 7 December 2008 (UTC)

Hi Liosha, I also made some changes to osm2mp. The patch is at User:abunai/osm2mp if you're interested. --abunai 19:58, 7 December 2008 (UTC)

Thanks. I've added some of them and have committed new revision to svn. But i don't think that using empty codepage is good idea. You can use 1252 for western european langs. --Liosha 20:28, 7 December 2008 (UTC)
I've added "--nocodepage" option to leave all labels in utf-8. --Liosha 20:46, 7 December 2008 (UTC)
Thanks! (I think when a road has both a number and a name, it could be useful to display both. Maybe make that an option too? :) --abunai 21:07, 7 December 2008 (UTC)
I have also expanded the POI list, at User:abunai/osm2mp. --abunai 01:01, 8 December 2008 (UTC)
Ok, added. --Liosha 08:28, 8 December 2008 (UTC)

Hi Liosha, found following "bug" in OSM2MP rev.17

 Index: poi.cfg
 --- poi.cfg	(revision 17)
 +++ poi.cfg	(working copy)
 @@ -185,7 +185,7 @@
  shop            convenience             0x2E02
  shop            doityourself            0x2E09
  shop            dry_cleaning            0x2F00
 -shop            grocery                 022E02
 +shop            grocery                 0x2E02
  shop            kiosk                   0x2E02
  shop            laundry                 0x2F00
  shop            outdoor                 0x2E06

--Dido 21:39, 8 December 2008 (UTC)

Fixed. --Liosha 05:14, 9 December 2008 (UTC)

motorroad, bakery


could you add support for motorroad=yes, which implies bicycle=no and foot=no? I think this should do:

---   (Revision 27)
+++   (Arbeitskopie)
@@ -514,6 +514,7 @@
        $polynohgv  = 1 - $yesno{$2}             if ($1 eq "hgv");
        $polynoauto = $polynobus = $polynoped = $polynobic = $polynohgv = 1 - $yesno{$2}
                                                 if ($1 eq "access");
+       $polynobic = $polynoped = 1             if ($1 eq "motorroad") and $yesno{$2};


By the way, I think would be better to tag a bakery like a café etc. than as a generic shop:

Index: poi.cfg
--- poi.cfg     (Revision 27)
+++ poi.cfg     (Arbeitskopie)
@@ -176,7 +176,7 @@
 railway         turntable
 railway         viaduct                 0x6401

-shop            bakery                  0x2E02
+shop            bakery                  0x2A0E
 shop            bicycle                 0x2F00
 shop            butcher                 0x2E02
 shop            car                     0x2F07
fixed. --Liosha 06:23, 26 January 2009 (UTC)

Missing file information

Hello! And thanks for your upload - but some extra info is necessary.

Sorry for bothering you about this, but it is important to know source of the uploaded files.

Are you the creator of image File:Osmrus-2009-02-09.jpg ?

Or is it copied from some other place (which one?)?

Please, add this info to the file page - something like "I took this photo" or "downloaded from -website link-" or "I took this screeshot of program XYZ" or "this is map generated from OpenStreetMap data and SRTM data" or "map generated from OSM data and only OSM data" or "This is my work based on file -link-to-page-with-that-file-and-its-licensing-info-" or "used file downloaded from internet to create it, no idea which one".

Doing this would be already very useful.

Licensing - photos

In case that you are the author of the image: Would you agree to open licensing of this image, allowing its use by anyone (similarly to your OSM edits)?

In case where it is a photo you (except relatively rare cases) author can make it available under a specific free license.

Would you be OK with CC0 (it allows use without attribution or any other requirement)?

Or do you prefer to require attribution and some other things using CC-BY-SA-4.0?

If you are the author: Please add {{CC0-self}} to the file page to publish the image under CC0 license.

You can also use {{CC-BY-SA-4.0-self}} to publish under CC-BY-SA-4.0 license.

Once you add missing data - please remove {{Unknown|subcategory=uploader notified March 2022}} from the file page.

Licensing - other images

If it is not a photo situation gets a bit more complicated.

See Drafts/Media file license chart that may help.

note: if you took screenshot of program made by someone else, screenshot of OSM editor with aerial imagery: then licensing of that elements also matter and you are not a sole author.

note: If you downloaded image made by someone else then you are NOT the author.

Note that in cases where photo is a screenshot of some software interface: usually it is needed to handle also copyright of software itself.

Note that in cases where aerial imagery is present: also licensing of an aerial imagery matter.


Feel free to ask for help if you need it - you can do it for example by asking on Talk:Wiki: new topic.

Please ask there if you are not sure what is the proper next step. Especially when you are uploading files that are not your own work or are derivative work (screenshots, composition of images, using aerial imagery etc).

If you are interested in wider discussion about handling licencing at OSM Wiki, see this thread.

(sorry if I missed something that already states license and source: I am looking through over 20 000 files and fixing obvious cases on my own, in other I ask people who upladed files, but it is possible that I missed something - in such case also please answer)

--Mateusz Konieczny (talk) 13:35, 23 March 2022 (UTC)