Modify

#7820 closed defect (fixed)

GeoJSON implementation incorrectly uses escape char on single quote mark

Reported by: RobJN Owned by: team
Priority: normal Component: Core
Version: Keywords: GeoJSON, JSON
Cc:

Description

The current export to GeoJSON implementation incorrectly uses escape char (\) on single quote (') within string values. This is not needed within strings [1]. As a consequence the back slash is in itself interpreted as an invalid character, causing the file to not open in OGR based software (e.g. ogr2ogr, qgis, etc..).

[1] http://www.json.org/ -> scroll down to section on strings.

Attachments (0)

Change History (1)

comment:1 Changed 11 months ago by simon04

  • Resolution set to fixed
  • Status changed from new to closed

In 5305/josm:

fix #7820 - GeoJSON implementation incorrectly uses escape char on single quote mark

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.