OpenLayers OpenLayers

Ticket #1028 (closed feature: fixed)

Opened 11 months ago

Last modified 11 months ago

GeoJSON Draft4 Support

Reported by: crschmidt Assigned to: tschaub
Priority: minor Milestone: 2.5 Release
Component: Format.GeoJSON Version: 2.5 RC3
Keywords: Cc:
State:

Description

Follow spec. (RIGHT INTO THE GROUND)

Attachments

geojson_draft4.patch (19.2 kB) - added by crschmidt on 09/29/07 00:12:29.
update geojson to follow latest spec

Change History

09/29/07 00:12:29 changed by crschmidt

  • attachment geojson_draft4.patch added.

update geojson to follow latest spec

09/30/07 12:21:19 changed by crschmidt

  • keywords set to review.

Please review.

10/03/07 01:22:53 changed by sderle

  • keywords changed from review to commit.

This patch looks pretty good. I approve. Please commit.

One little question, though, what if someone says EPSG:4326 and means the apparently traditional lat/lon behavior? I don't care what the answer is, I'm just curious. Please go ahead and commit anyway as anyone who wants this aberration can file another ticket. ;)

10/03/07 01:32:20 changed by crschmidt

(In [4770]) GeoJSON format back up to spec with draft 4. (See #1028)

10/03/07 01:34:20 changed by crschmidt

  • keywords changed from commit to pullup.

"EPSG codes must not be used if 1) the EPSG-defined axes order of the crs is not lon, lat (for a geographic crs) or easting, northing (for a projected crs), or 2) the EPSG-defined coordinate representation of a geographic crs is not decimal degrees (e.g. if is degrees/minutes/seconds). Instead, such data should use OGC URNs that specify the ordering to be lon, lat (or easting, northing) and/or the coordinate representation to be decimal degrees."

-- http://wiki.geojson.org/GeoJSON_draft_version_4

Specification, 4.1.1.1

Marking pullup.

10/03/07 16:27:17 changed by crschmidt

  • keywords deleted.
  • status changed from new to closed.
  • resolution set to fixed.

(In [4794]) Pull up most of the changes for what will be 2.5RC4:

  • Clone on WMS/MS Untiled, 4760:4761 (Closes #1013)
  • serviceVersion on TMS, 4720:4721 (Closes #1023)
  • W3CGeo in Format.GeoRSS, 4768:4769, 4778:4779 (Closes #1024)
  • GeoJSON Draft4 Update, 4769:4770 (Closes #1028)
  • pagePosition Regression 4782:4783, (Closes #1034)
  • example changes 4691:4692 (Closes #1040)
  • WFS missing registerTileListener 4759:4760 (Closes #1045)
  • Yahoo API to stop dragging 4792:4793 (Closes #1052)