Re: [OSM-talk] JOSM plugin to import GeoJSON?

2016-03-20 Thread Stefan Keller
His Stefan

Nice hack!
But Shapefile remains an oldtimer with more drawbacks than limited
field names; see [1].
GeoJSON (ascii) and GeoPackages (binary) are formats which are more
suited for the job.
I still have hope that JOSM will be able to read those vector formats too.

:Stefan

[1] http://giswiki.hsr.ch/Shapefile


2016-03-20 19:29 GMT+01:00 Stefan Baebler :
> Hi!
>
> On Sun, Mar 6, 2016 at 12:56 AM, Stefan Keller  wrote:
>>
>> I of course know Shapefiles but they are deprecated because e.g. they
>> cut-off field names at 10 chars. GeoJSON or GeoPackage are better
>> alternatives.
>
>
> For RABA-KGZ landuse import in Slovenia we pushed the-10 character limit in
> shapefiles / dbf to 11 characters and even inserted special characters
> (colons) in field name (to allow us to have "source:date" tag) by altering
> the binary data using bbe (sed-like binary block editor) as the last step of
> data preparation:
> bbe -e "s/SOURCEDATE\x00/source:date/" source.dbf -o target.dbf
>
> JOSM reads it nicely using OpenData plugin, as well as QGIS and other
> editors.
>
> Full example and context can be seen at
> https://github.com/stefanb/RabaSplitForOSM/blob/master/makeOneSplitExplode.sh#L94
>
> Example shapefiles can be seen (in browser and in JOSM) at
> http://raba.openstreetmap.si
>
> best regards,
> Stefan

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] JOSM plugin to import GeoJSON?

2016-03-20 Thread Stefan Baebler
Hi!

On Sun, Mar 6, 2016 at 12:56 AM, Stefan Keller  wrote:
>
> I of course know Shapefiles but they are deprecated because e.g. they
> cut-off field names at 10 chars. GeoJSON or GeoPackage are better
> alternatives.
>

For RABA-KGZ landuse import in Slovenia we pushed the-10 character limit in
shapefiles / dbf to 11 characters and even inserted special characters
(colons) in field name (to allow us to have "source:date" tag) by altering
the binary data using bbe (sed-like binary block editor) as the last step
of data preparation:
bbe -e "s/SOURCEDATE\x00/source:date/" source.dbf -o target.dbf

JOSM reads it nicely using OpenData plugin, as well as QGIS and other
editors.

Full example and context can be seen at
https://github.com/stefanb/RabaSplitForOSM/blob/master/makeOneSplitExplode.sh#L94

Example shapefiles can be seen (in browser and in JOSM) at
http://raba.openstreetmap.si

best regards,
Stefan
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Global high-resolution model of relief

2016-03-20 Thread Martin Koppenhoefer


sent from a phone

> Am 17.03.2016 um 19:01 schrieb clustergis :
> 
> We haven't got any ftp, but you can make an script using this template


yes, I've tried this, but I got an http 502 bad gateway error 


cheers,
Martin 

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Global high-resolution model of relief

2016-03-20 Thread Mike Thompson
I think this could be very useful, especially when working with rivers and
streams.

I am having trouble finding the actual link for downloading the data and/or
connecting to the service.

Mike

On Wed, Mar 16, 2016 at 12:05 PM, clustergis  wrote:

> Hi,
>
> probably you know that recently NASA has released all SRTM data of
> elevation with a resolution of 30m.
>
> In the ClusterGIS association (http://clustergis.org) we have made a
> global model of relief of high-resolution (15m/px), in geotiff format.
>
> Data can be downloaded from the page http://theearthsrelief.com with CC
> BY license.
>
> We want to offer these data to OpenStreetMap community, especially to the
> Humanitarian OpenStreetMap Team (HOT).
>
> We thought they are a good complement to OSM data in many parts of the
> world.
>
> Kind regards,
>
> GonZaLo López
> ClusterGIS Team
> @clustergis
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk