road names from state geoportal to OSM

Hi,

Many of the municiapalities (major exceptions being Prishtina still only partially covered, Peja, Prizren, Podujeva) have put road names in the state geoportal.

Please help put these road names in the OSM,

See geoportal here http://geoportal.rks-gov.net/en/search?municipalityId=19

Under Address system activate layers Roads and Road names

Let me know if you need help.

Thanks,

Arianit

thanks for sharing, here are some points.

what data do we want here exactly? I am a little confused, you want to
extract the roads and road names?

I like that they are trying to use open technologies. But....

1. openlayersdebug.js ? seriously they left the debug version on, this
site might need some optimization.
http://geoportal.rks-gov.net/KgpExtJsImport-portlet/js/OpenLayers-2.12/OpenLayers.debug.js
2. Copyright © Kosovo Cadastral Agency so what is the copyright status
of this data? Any usage of it would have to be cleared first.
3. Turning on the road layers mouseover returns something like this in
the trace :

http://geoportal.rks-gov.net/wms?LAYERS=Roadnaming_status&QUERY_LAYERS=Roadnaming_status&STYLES=&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&BBOX=7489846.471%2C4718103.41%2C7560182.471%2C4734063.41&FEATURE_COUNT=10&HEIGHT=285&WIDTH=1256&FORMAT=image%2Fpng&INFO_FORMAT=text%2Fplain&SRS=EPSG%3A7392&X=254&Y=149

Results for FeatureType ‘http://geoserver/kg_dev_ws:Roadnaming_status’:

Superb, we have another hackathon project: Download this website,
specify encodings properly, and then put the data of interest in
OpenStreetMap.

In America, copyright applies to creative works and not to facts,
so copyright protection would not apply to things like street names.
How does it work in Kosovo?

Somebody raised the issue of copyright on OSM as well.

Not sure about the fact thing, I would think not but it is not clearly stated in the law. There is however something called database protection in Europe which has been recently fully adopted in Kosovo through the amendment of copyright law.

I found something more interesting.

By virtue of Article 12.3 of copyright law most government work is not protected.

Article 12
Creation without the protection

  1. Legal protection of the copyright shall not include:
    1.1. ideas, principles, instructions, procedures, discoveries or mathematical
    concept as such;
    1.2. laws, sub legal acts, and other regulations;
    1.3. official materials and publication of parliamentary bodies, government and
    other organizations which carry out public functions;

    1.4. official translations of regulations and other official materials as well as of
    international agreements and of other instruments;
    1.5. submissions and other acts in administrative and judicial proceedings;
    1.6. official materials published for public information;
    1.7. folkloric expressions;
    1.8. headlines and different information of media of ordinary reporting nature.

http://www.assembly-kosova.org/common/docs/ligjet/Law%20on%20copyright%20and%20related%20rights.pdf

Article 30.6 and 30.7 of Law on cadastre shows that the fees are meant to compensate for cost of services rendered, not allow them to claim exclusive copyright rights with the aim of extracting money.

CHAPTER VIII
CADASTRE FINANCING
Article 30

  1. The Cadastre is of public interest. Cadastre shall have a budget of its own, which shall
    be allocated to the Ministry and be approved by the Assembly of Republic of Kosovo.
  2. CEO prepares the KCA’s budget, to be forwarded to the Minister for reviewing and for
    further proceeding in compliance with procedures provided by the Law.
  3. Cadastre shall be responsible for implementing and managing the budget.
  4. Costs for establishment and reconstruction of the Cadastre shall be covered by the
    budget of Republic of Kosovo as well as by revenues, in compliance with the applicable
    Law on Finance Management and Responsibilities.
  5. Cadastre data extraction costs shall generally be borne by the owner who is applying
    for.

**6. KCA shall propose to the Ministry the fees that will be required by MCO for cadastral services which is reasonable and can not exceed real reproduction and document supply costs. This fee should be unique to all public institutions.
7. The level of fees should reflect costs of rendering cadastral services.**8. All revenues generated by KCA shall go to the Republic of Kosovo budget.

In Article 6 of MMPH Administrative Instruction no. 11 on fees for products and services of Kosovo Cadastral Agency however, stemming from paragraphs 6 and 7 above, full copyright is claimed and distribution is prohibited.

http://mmph-rks.org/repository/docs/ministri-ua-3754-17_939026.pdf

To me this Administrative Instruction is illegal and should be challenged in court. How we would do it I don’t know.

Arianit

If we can start with this list as a list of facts, yes I would agree
that we can use it as a starting point, we would have to then find
some references for where it might be used again but sure. I think
besfort will be able to get us the raw data. Maybe qgis could be used
to pull it.

Alternatively, follow my tutorial and get the raw data yourself.
https://thomaslevine.com/!/computing/web-sites-to-data-tables-in-practice/

Cool, I was just checking at the requests and figured out that you can easily download a view:

As png:

http://geoportal.rks-gov.net/wms?LAYERS=RoadSegmentView&FORMAT=image/png&TRANSPARENT=TRUE&ENV=RedSquareAttribute:SinglePointFeatureId;&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG:7392&BBOX=7510480.41,4723435.46,7516650.49,4724431.14&WIDTH=2203&HEIGHT=355

or kml
http://geoportal.rks-gov.net/wms?LAYERS=RoadSegmentView&FORMAT=kml&TRANSPARENT=TRUE&ENV=RedSquareAttribute:SinglePointFeatureId;&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG:7392&BBOX=7510480.41,4723435.46,7516650.49,4724431.14&WIDTH=2203&HEIGHT=355

but for some reason not all the roads are loaded in the view

that works, the kml is usable, so then we just need to scan the coords
or find some other way to get it all.

playing with the min/max parameters is giving me a huge file, downloading now.

curl "http://geoportal.rks-gov.net/wms?LAYERS=RoadSegmentView&FORMAT=kml&TRANSPARENT=TR&ENV=RedSquareAttribute:SinglePointFeatureId;&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG:7392&BBOX=0.49,1.14,118516650.49,114724431.14&WIDTH=6203&HEIGHT=1455"

gist for tracking this work, the bz2 output uploaded there


ogr2osm is failing for me
../ogr2osm.py roads.kml
running with lxml.etree
Preparing to convert 'roads.kml' to
'/home/mdupont/experiments/ogr2osm/737c0a978a876507f4405d0255bda7e0/roads.osm'.
Will try to detect projection from source metadata, or fall back to EPSG:4326
Using default translations
Using default filterLayer
Using default filterFeature
Using default filterTags
Using default filterFeaturePost
Using default preOutputTransform
Parsing data
Detected projection metadata:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.0174532925199433,
        AUTHORITY["EPSG","9122"]],
    AUTHORITY["EPSG","4326"]]
Traceback (most recent call last):
  File "../ogr2osm.py", line 722, in <module>
    parseData(data)
  File "../ogr2osm.py", line 335, in parseData
    parseLayer(translations.filterLayer(layer))
  File "../ogr2osm.py", line 399, in parseLayer
    parseFeature(translations.filterFeature(ogrfeature, fieldNames,
reproject), fieldNames, reproject)
  File "../ogr2osm.py", line 409, in parseFeature
    geometries = parseGeometry([ogrgeometry])
  File "../ogr2osm.py", line 447, in parseGeometry
    returngeometries.extend(parseCollection(ogrgeometry))
  File "../ogr2osm.py", line 534, in parseCollection
    member.addparent(geometry)
AttributeError: 'list' object has no attribute 'addparent'

How about we use a free version control software instead of GitHub?
Options include git, rcs, rsync, borgbackup, darcs, fossil, and
tarballs&diffs.

you are talking format, this is git, but first lets talk about hosting.

it is the question of hosting, where do you want to host it? I am open
to anything
we have servers but it seems that the are not really open for member use.

We have flosskorg2 which is open for testing and such stuff!

so how would we use flosskorg2 ? does everyone have an account?

we were going to move to hosted gitlab. gitlab is free. I wouldnt host it ourselves though.

not sure if we need gitlab hosted on our server that can be heavy.

so may I make a suggestion, we could start adding users on flossorg2
so that each user gets a homedir, ssh and a place to publish files on
httpd/user
then we can push our files with git/darcs whatever to our home space
and others can clone from there.

We would need apache with the user dir turned on and people would need
to be able to
setup a ssh key.

I think that they can do that with the existing webmin, but ideally it
would be tied into
our user management. Do we have any membership database to start with?

Ardian or I could put your ssh keys on flosskorg2

sounds complicated. let’s just put it on gitlab.com

We should have our own repository of users and keys etc that users can
manage themselves. That list of users can be used to allocate
resources like logins etc. What services do we give members? We talked
about openstack, etc, so lets talk about basic unix skills and people
having a homedir.