[OHM] Possibility to use the OHM to save vectors of ways and buildings of São Paulo between 1870 and 1940
Tim Waters
chippy2005 at gmail.com
Thu Oct 19 10:19:44 UTC 2017
Hi Rodrigo
as I wrote before, you do not need any special permissions to add or edit
data in OHM, you only need an account.
First: Have you tried editing in the iD editor on openhistoricalmap.org?
(click on the Edit tab)?
If you have managed to edit in OHM using the normal tools then it would
probably imply that the issue lies with the python script you are using.
Regards,
Tim
On 19 October 2017 at 01:29, Rodrigo M. Mariano <rodrigo.mariano at inpe.br>
wrote:
> Hi Tim,
>
>
>
> I have already done these topics.
>
> The permissions, that I said, is about editing data by API.
>
> I can get the OHM data by API, however I can't add any data.
>
>
>
> For example:
>
> In the images that I send in attach, I show a piece of code that I can get
> a way by API.
>
> But when I attemped to add a new node, I got a error:
> "osmapi.OsmApi.ApiError: Request
>
> failed: 401 - Unauthorized - b"Couldn't authenticate you""
>
>
>
> We would like permission to add data by API, because we are developing a
> web site for
>
> people insert historical data and we would like to save in OHM.
>
>
>
> In this case, the people will vectorize the old maps of São Paulo between
> 1870 to 1940,
>
> how described in [1]. The project is called Pauliceia [1][2]. It is a
> project of INPE, from Brazil.
>
>
>
> [1] https://wiki.openstreetmap.org/wiki/Pauliceia2.0
>
> [2] https://wiki.dpi.inpe.br/pauliceia/doku.php
>
>
>
> Best Regards,
>
> Rodrigo
>
>
> On 18/10/2017 17:09, Tim Waters wrote:
>
> Hi Rodrigo,
>
> if you are familiar with editing with OpenStreetMap, then this should be
> very similar.
>
> first you would need to register as a new user on openhistoricalmap.org
> and then use JOSM editor to authenticate to the server, like you would as a
> new user for OSM but changing the api to point to the OHM server.
> The API is open to all registered users, no special permissions are
> required.
> "osmapi" is a python script that is written for OSM in mind. Most people
> use JOSM or the iD editor, and do it by hand.
>
> I haven't used "osmapi", but it looks like it might work with OHM.
> Tim
>
>
> On 18 October 2017 at 12:09, Rodrigo M. Mariano <rodrigo.mariano at inpe.br>
> wrote:
>
>> Hello Rob,
>>
>>
>> I thought that was not necessary to put "http" in the start of string,
>>
>> because on [1] the API URL is without "http".
>>
>> Thank you to much for the idea, it worked. :-D
>>
>>
>> How could I insert data by API? I need permission, right?
>>
>> Can I talking about it here or with specific someone?
>>
>>
>> [1] http://wiki.openstreetmap.org/wiki/Osmapi
>>
>>
>> Thanks in advance,
>>
>> Rodrigo
>>
>>
>>
>> Em 18-10-2017 03:44, Rob H Warren escreveu:
>>
>> Rodrigo,
>>
>> Reading the error messages, you should be entering http://www.openhistoricalmap.org/ instead of just www.openhistoricalmap.org?
>>
>> On Oct 17, 2017, at 5:36 PM, Rodrigo M. Mariano <rodrigo.mariano at inpe.br>
>> wrote: Hello Rob, Thanks for the explanation. I tried to do it with the
>> OsmApi, pointing to OHM, however I got some warnings, rather than a result.
>> I send a picture (osmapi_ohm.png) showing the warning message. I attemped
>> with the OSM default and it works, but when I tried to change to OHM URL,
>> it doesn't work. Is there other URL to point? Or is this even? PS: in the
>> photo, I tested with a valid id of way Best Regards, Rodrigo Em 14-10-2017
>> 19:46, Rob H Warren escreveu:
>>
>> Rodrigo, Open Historical Map uses the same code as OSM, as long as you
>> point your tool to the open historical website, you can use anything you
>> want. JOSM can be used to upload / edit, just change the API hostname in
>> the configuration panel. -rhw
>>
>> On Oct 14, 2017, at 10:59 AM, Rodrigo M. Mariano <rodrigo.mariano at inpe.br>
>> wrote: Hello Rob, Thanks for your opinion. Yes, we want to add tags (e.g.
>> start_date=* and end_date=*) and sources of the data. Is there some API
>> that we can use to make the upload (like osmapi)? Or only in web page? Best
>> regards, Rodrigo Em 10-10-2017 14:34, Rob H Warren escreveu:
>>
>> Rodrigo, I think this is a very worthwhile project. You're welcome to
>> upload ways as you see fit. Strongly suggest you add date and source tags
>> to your edits so that the time period of the buildings is obvious to future
>> renderers? -rhw
>>
>> Hello OpenHistoricalMap, We have a project called Pauliceia [1], that its
>> aim is to vectorize the city of São Paulo between 1870 and 1940, being one
>> map per decade. We would like to vectorize the ways and the buildings in
>> this period. We would like to know: could we use the OHM to save the data?
>> To contribuite with the OHM project. [1] https://wiki.openstreetmap.
>> org/wiki/Pauliceia2.0 Thanks in advance, -------------- next part
>> -------------- An HTML attachment was scrubbed... URL: <
>> http://lists.openstreetmap.org/pipermail/historic/
>> attachments/20171008/049b07dc/attachment-0001.html>
>> ------------------------------ Subject: Digest Footer
>> _______________________________________________ Historic mailing list
>> Historic at openstreetmap.org https://lists.openstreetmap.
>> org/listinfo/historic ------------------------------ End of Historic
>> Digest, Vol 54, Issue 1 ***************************************
>>
>> <osmapi_ohm.png>
>>
>>
>>
>> _______________________________________________
>> Historic mailing list
>> Historic at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/historic
>>
>
>
> --
>
> Rodrigo M. Mariano
>
> Departamento de Tecnologia da Informação do Laboratório Associado de Computação e Matemática Aplicada - LAC
> Instituto Nacional de Pesquisas Espaciais - INPE
> Av. dos Astronautas, 1.758 - Jardim da Granja
> CEP: 12227-010 - São José dos Campos/SP.
> Tel.: (12) 3208-6544
>
> --
>
>
> Rodrigo M. Mariano
> Mestrando em Computação Aplicada
> Departamento de Tecnologia da Informação do Laboratório Associado de Computação e Matemática Aplicada - LAC
> Instituto Nacional de Pesquisas Espaciais - INPE
> Av. dos Astronautas, 1.758 - Jardim da Granja
> CEP: 12227-010 - São José dos Campos/SP.
> Tel.: (12) 3208-6544
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/historic/attachments/20171019/bf5c41ed/attachment.html>
More information about the Historic
mailing list