@@ -12,48 +12,12 @@ Utility for easily getting data from Overture into ArcGIS Pro.
1212 > make env
1313```
1414
15- 3 - Explore - If you are more into Python, a good place to start is ` jupyter lab ` from the root of the project, and
16- look in the ` ./notebooks ` directory. If GIS is more your schtick, open the project
17- ` ./arcgis/overture-to-arcgis.aprx ` .
15+ 3 - Try it out!
1816
19- ## Using Make - common commands
17+ ``` python
18+ from arcgis_overture import get_spatially_enabled_dataframe
2019
21- Based on the pattern provided in the
22- [ Cookiecutter Data Science template by Driven Data] ( https://drivendata.github.io/cookiecutter-data-science/ ) this
23- template streamlines a number of commands using the ` make ` command pattern.
20+ extent = (- 119.911 ,48.3852 ,- 119.8784 ,48.4028 )
2421
25- - ` make env ` - Clone the default ArcGIS Pro Conda environment, ` arcgispro-pyu3 ` , add all the dependencies in
26- ` environment.yml ` and install the local project package using the command
27- ` python -m pip install -e ./src/src/<project_package> ` so you can easily test against the package as you are
28- developing it.
29-
30- - ` make data ` - Run ` ./scripts/make_data.py ` , which should be the data pipeline to create an output dataset.
31-
32- - ` make pytpkg ` - Create a zipped achive of the Python (` *.pyt ` ) toolbox located in ` ./arcgis ` . This uses the script,
33- ` ./scripts/make_pyt_archive.py ` , to collect the Python toolbox (` *.pyt ` ) along with all the supporting
34- dependencies listed in ` pyproject.toml ` and ` *.xml ` files with the tool documentation, and put into a zipped archive
35- ready for sharing.
36-
37- - ` make docserve ` - Run live MkDocs documentation server to view documentation updates at http://127.0.0.1:8000 .
38-
39- - ` make docs ` - Build the documentation using MkDocs from files in ` ./docsrc ` and save the output in ` ./docs ` .
40-
41- - ` make test ` - activates the environment created by the ` make env ` or ` make env_clone ` and runs all the tests in the
42- ` ./testing ` directory using PyTest.
43-
44- ## BumpVersion Cliff Notes
45-
46- [ Bump2Version] ( https://github.com/c4urself/bump2version ) is preconfigured based on hints from
47- [ this article on Medium] ( https://williamhayes.medium.com/versioning-using-bumpversion-4d13c914e9b8 ) .
48-
49- If you want to...
50-
51- - apply a patch, ` bumpversion patch `
52- - update version with no breaking changes (minor version update), ` bumpversion minor `
53- - update version with breaking changes (major version update), ` bumpversion major `
54- - create a release (tagged in version control - Git), ` bumpversion --tag release `
55-
56- <p ><small >Project based on the <a target =" _blank " href =" https://github.com/knu2xs/cookiecutter-geoai " >cookiecutter
57- GeoAI project template</a >. This template, in turn, is simply an extension and light modification of the
58- <a target =" _blank " href =" https://drivendata.github.io/cookiecutter-data-science/ " >cookiecutter data science project
59- template</a >. #cookiecutterdatascience</small ></p >
22+ df = get_spatially_enabled_dataframe(' places' , extent)
23+ ```
0 commit comments