Modify

Opened 12 years ago

Closed 8 years ago

Last modified 19 months ago

#7307 closed enhancement (fixed)

Option to save data in GeoJSON

Reported by: sism Owned by: simon04
Priority: normal Milestone: 16.08
Component: Core geojson 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 8 years ago.

Download all attachments as: .zip

Change History (17)

comment:1 by simon04, 12 years ago

In [4886/josm]:

see #7307 - basic version of GeoJSON export

comment:2 by simon04, 12 years ago

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 12 years ago by simon04 (previous) (diff)

comment:3 by Don-vip, 10 years ago

In 6484/josm:

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

comment:4 by Don-vip, 10 years ago

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

comment:5 by Don-vip, 10 years ago

In 6485/josm:

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

comment:7 by anonymous, 8 years ago

osmtogeojson is the best to get OSM in GeoJSON.

by simon04, 8 years ago

Attachment: 7307.patch added

comment:8 by simon04, 8 years ago

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 by Don-vip, 8 years ago

patch can be applied :)

comment:10 by simon04, 8 years ago

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 by simon04, 8 years ago

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

comment:12 by Don-vip, 8 years ago

still something to do?

comment:13 by Don-vip, 8 years ago

Resolution: fixed
Status: assignedclosed

comment:14 by Don-vip, 4 years ago

Component: CoreCore geojson

comment:15 by Cayenne17, 19 months ago

Hello,
Would it be possible to add the node osm_id or the way osm_id in JOSM to export in .geojson format like overpass-turbo does?

comment:16 by Cayenne17, 19 months ago

Hello,
Would it be possible to add the node osm_id or the way osm_id in JOSM to export in .geojson format like overpass-turbo does?

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.