Modify

Opened 8 years ago

Closed 3 years ago

#7307 closed enhancement (fixed)

Option to save data in GeoJSON

Reported by: sism Owned by: simon04
Priority: normal Milestone: 16.08
Component: Core Version:
Keywords: geoJSON Cc:

Description

it would be nice to export data to geoJOSN ( http://geojson.org/geojson-spec.html#examples )

the exported files could be rendered in kothic ( http://kothic.org/js/ )

Attachments (1)

7307.patch (14.1 KB) - added by simon04 3 years ago.

Download all attachments as: .zip

Change History (14)

comment:1 Changed 7 years ago by simon04

In [4886/josm]:

see #7307 - basic version of GeoJSON export

comment:2 Changed 7 years ago by simon04

Summary: opion to save data in geoJSONOption to save data in GeoJSON

Added basic GeoJSON export, i.e.,

  • export nodes as "type": "Point"
  • export ways as "type": "LineString"
  • relations are currently not supported

Other implementations for reference:

Last edited 7 years ago by simon04 (previous) (diff)

comment:3 Changed 6 years ago by Don-vip

In 6484/josm:

see #7307, fix #8474 - use org.json as lightweight internal json library (already being used by several plugins)

comment:4 Changed 6 years ago by Don-vip

Ways should be either exported as LineString or Polygon, depending on the definition of areas we must first decide in #9440.

comment:5 Changed 6 years ago by Don-vip

In 6485/josm:

see #7307 - GeoJSON export: add generator:JOSM and bbox

comment:6 Changed 5 years ago by Don-vip

comment:7 Changed 4 years ago by anonymous

osmtogeojson is the best to get OSM in GeoJSON.

Changed 3 years ago by simon04

Attachment: 7307.patch added

comment:8 Changed 3 years ago by simon04

Milestone: 16.08
Owner: changed from team to simon04
Status: newassigned
Summary: Option to save data in GeoJSON[Patch] Option to save data in GeoJSON

comment:9 Changed 3 years ago by Don-vip

patch can be applied :)

comment:10 Changed 3 years ago by simon04

In 10817/josm:

see #7307 - Enhance GeoJSON export

  • Save ways as LineString or Polygon depending on the area style.
  • Save multipolygons as MultiPolygon.

comment:11 Changed 3 years ago by simon04

Summary: [Patch] Option to save data in GeoJSONOption to save data in GeoJSON

comment:12 Changed 3 years ago by Don-vip

still something to do?

comment:13 Changed 3 years ago by Don-vip

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon04.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.