Skip to content

Commit

Permalink
manual: use consistent dict style (#1475)
Browse files Browse the repository at this point in the history
  • Loading branch information
shenriotpro authored Dec 29, 2024
1 parent c4d6431 commit 0e0bc96
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docs/manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -862,12 +862,12 @@ Tower using a point geometry with UTM coordinates in zone 31N.
... 'type': 'Point',
... 'coordinates': (448252, 5411935)
... },
... 'properties': dict([
... ('name', 'Eiffel Tower'),
... ('height', 300.01),
... ('view', 'scenic'),
... ('year', 1889)
... ])
... 'properties': {
... 'name': 'Eiffel Tower',
... 'height': 300.01,
... 'view': 'scenic',
... 'year': 1889
... }
... }
A corresponding scheme could be:
Expand All @@ -876,12 +876,12 @@ A corresponding scheme could be:
>>> landmarks_schema = {
... 'geometry': 'Point',
... 'properties': dict([
... ('name', 'str'),
... ('height', 'float'),
... ('view', 'str'),
... ('year', 'int')
... ])
... 'properties': {
... 'name': 'str',
... 'height': 'float',
... 'view': 'str',
... 'year': 'int'
... }
... }
The coordinate reference system of these landmark coordinates is ETRS89 / UTM
Expand Down

0 comments on commit 0e0bc96

Please sign in to comment.