Skip to content

Commit 7e7c0fe

Browse files
author
Atma Mani
committed
John
's comments, other minor edits
1 parent 5266a76 commit 7e7c0fe

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

guide/15-working-with-geometries/part1_introduction_what_is_geometry.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Introduction - what is geometry?"
7+
"# Part 1: Introduction - what is geometry?"
88
]
99
},
1010
{

guide/15-working-with-geometries/part2_working_with_geometries.ipynb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Working with Geometries"
7+
"# Part 2: Working with Geometries"
88
]
99
},
1010
{
@@ -23,7 +23,7 @@
2323
"source": [
2424
"## Creating geometries\n",
2525
"\n",
26-
"The `arcgis.geometry` module defines geometry types for working with geographic features in a GIS. It provides functions which use geometric types as input and output as well as functions for easily converting geometries between different representations.\n",
26+
"The [`arcgis.geometry`](https://developers.arcgis.com/python/api-reference/arcgis.geometry.html#) module defines geometry types for working with geographic features in a GIS. It provides functions which use geometric types as input and output as well as functions for easily converting geometries between different representations.\n",
2727
"\n",
2828
"Several functions in this module accept geometries represented as Python dictionary objects. To get started, we import the following classes and functions from the `geometry` module."
2929
]
@@ -287,6 +287,13 @@
287287
"print(polyline.is_valid())"
288288
]
289289
},
290+
{
291+
"cell_type": "markdown",
292+
"metadata": {},
293+
"source": [
294+
"The geometry we just created is invalid, yet the API allowed you to still create it. This because, the API does not check for validity in an eager fashion. Rather it checks when `is_valid()` is called, in an on-demand fashion. This is for performance reasons."
295+
]
296+
},
290297
{
291298
"cell_type": "code",
292299
"execution_count": 49,

0 commit comments

Comments
 (0)