|
879 | 879 | "outputs": [],
|
880 | 880 | "source": [
|
881 | 881 | "midx.center = [39, -98]\n",
|
882 |
| -<<<<<<< HEAD |
883 | 882 | "midx.basemap.basemap = 'gray-vector'"
|
884 |
| -======= |
885 |
| - "midx.basemap = \"gray-vector\"" |
886 |
| ->>>>>>> 6a0310e271c7e1d07fa30792df4a672d93260288 |
887 | 883 | ]
|
888 | 884 | },
|
889 | 885 | {
|
|
972 | 968 | " miny = child.center[1] - height_factor\n",
|
973 | 969 | " maxx = child.center[0] + width_factor\n",
|
974 | 970 | " maxy = child.center[1] + height_factor\n",
|
975 |
| -<<<<<<< HEAD |
976 | 971 | " child_geom = Geometry({\n",
|
977 | 972 | " 'rings':[[[minx,miny], [minx, maxy], [maxx, maxy], [maxx, miny], [minx, miny]]],\n",
|
978 | 973 | " 'spatialReference': sp_ref})\n",
|
979 | 974 | " #child_extent = Polygon(child_geom)\n",
|
980 | 975 | " \n",
|
981 | 976 | " sym = SimpleFillSymbolEsriSFS(**sym)\n",
|
982 | 977 | " midx.content.draw(shape = child_geom, symbol = sym)\n",
|
983 |
| -======= |
984 |
| - " child_geom = Geometry(\n", |
985 |
| - " {\n", |
986 |
| - " \"rings\": [\n", |
987 |
| - " [[minx, miny], [minx, maxy], [maxx, maxy], [maxx, miny], [minx, miny]]\n", |
988 |
| - " ],\n", |
989 |
| - " \"spatialReference\": sp_ref,\n", |
990 |
| - " }\n", |
991 |
| - " )\n", |
992 |
| - " # child_extent = Polygon(child_geom)\n", |
993 |
| - " midx.draw(shape=child_geom, symbol=sym)\n", |
994 |
| ->>>>>>> 6a0310e271c7e1d07fa30792df4a672d93260288 |
995 | 978 | " time.sleep(2)"
|
996 | 979 | ]
|
997 | 980 | },
|
|
1527 | 1510 | "metadata": {},
|
1528 | 1511 | "outputs": [],
|
1529 | 1512 | "source": [
|
1530 |
| -<<<<<<< HEAD |
1531 | 1513 | "sym_poly = SimpleFillSymbolEsriSFS(**{\n",
|
1532 | 1514 | " \"type\": \"esriSFS\",\n",
|
1533 | 1515 | " \"style\": \"esriSFSSolid\",\n",
|
|
1541 | 1523 | "\n",
|
1542 | 1524 | "# draw the dataframe extent with AOI\n",
|
1543 | 1525 | "m1.content.draw(shape = df_geoextent_geom, symbol = sym_poly)"
|
1544 |
| -======= |
1545 |
| - "sym_poly = {\n", |
1546 |
| - " \"type\": \"esriSFS\",\n", |
1547 |
| - " \"style\": \"esriSFSSolid\",\n", |
1548 |
| - " \"color\": [0, 0, 0, 0], # hollow, no fill\n", |
1549 |
| - " \"outline\": {\n", |
1550 |
| - " \"type\": \"esriSLS\",\n", |
1551 |
| - " \"style\": \"esriSLSSolid\",\n", |
1552 |
| - " \"color\": [255, 0, 0, 255], # red border\n", |
1553 |
| - " \"width\": 3,\n", |
1554 |
| - " },\n", |
1555 |
| - "}\n", |
1556 |
| - "\n", |
1557 |
| - "# draw the dataframe extent with AOI\n", |
1558 |
| - "m1.draw(shape=df_geoextent_geom, symbol=sym_poly)" |
1559 |
| ->>>>>>> 6a0310e271c7e1d07fa30792df4a672d93260288 |
1560 | 1526 | ]
|
1561 | 1527 | },
|
1562 | 1528 | {
|
|
1594 | 1560 | " {\"rings\": area_of_interest_ring, \"spatialReference\": sp_ref}\n",
|
1595 | 1561 | ")\n",
|
1596 | 1562 | "\n",
|
1597 |
| -<<<<<<< HEAD |
1598 | 1563 | "sym_poly_aoi = SimpleFillSymbolEsriSFS(**{\n",
|
1599 | 1564 | " \"type\": \"esriSFS\",\n",
|
1600 | 1565 | " \"style\": \"esriSFSSolid\",\n",
|
|
1607 | 1572 | "})\n",
|
1608 | 1573 | "\n",
|
1609 | 1574 | "m1.content.draw(shape = area_of_interest_geom, symbol = sym_poly_aoi)"
|
1610 |
| -======= |
1611 |
| - "sym_poly_aoi = {\n", |
1612 |
| - " \"type\": \"esriSFS\",\n", |
1613 |
| - " \"style\": \"esriSFSSolid\",\n", |
1614 |
| - " \"color\": [0, 0, 0, 0], # hollow, no fill\n", |
1615 |
| - " \"outline\": {\n", |
1616 |
| - " \"type\": \"esriSLS\",\n", |
1617 |
| - " \"style\": \"esriSLSSolid\",\n", |
1618 |
| - " \"color\": [0, 255, 0, 255], # green border\n", |
1619 |
| - " \"width\": 3,\n", |
1620 |
| - " },\n", |
1621 |
| - "}\n", |
1622 |
| - "\n", |
1623 |
| - "m1.draw(shape=area_of_interest_geom, symbol=sym_poly_aoi)" |
1624 |
| ->>>>>>> 6a0310e271c7e1d07fa30792df4a672d93260288 |
1625 | 1575 | ]
|
1626 | 1576 | },
|
1627 | 1577 | {
|
|
1929 | 1879 | "metadata": {},
|
1930 | 1880 | "outputs": [],
|
1931 | 1881 | "source": [
|
1932 |
| -<<<<<<< HEAD |
1933 | 1882 | "m2.content.draw(shape = area_of_interest_geom, symbol = sym_poly_aoi)"
|
1934 |
| -======= |
1935 |
| - "m2.draw(shape=area_of_interest_geom, symbol=sym_poly_aoi)" |
1936 |
| ->>>>>>> 6a0310e271c7e1d07fa30792df4a672d93260288 |
1937 | 1883 | ]
|
1938 | 1884 | },
|
1939 | 1885 | {
|
|
1952 | 1898 | " \"angle\": 0,\n",
|
1953 | 1899 | " \"xoffset\": 0,\n",
|
1954 | 1900 | " \"yoffset\": 0,\n",
|
1955 |
| -<<<<<<< HEAD |
1956 | 1901 | " \"outline\": {\n",
|
1957 | 1902 | " \"color\": [255,140,0,255],\n",
|
1958 | 1903 | " \"width\": 1}\n",
|
|
1961 | 1906 | "# draw the AOI that intersects\n",
|
1962 | 1907 | "for pt_index in index_of_features:\n",
|
1963 | 1908 | " m2.content.draw(shape = df.iloc[pt_index]['SHAPE'], symbol = pt_sym) "
|
1964 |
| -======= |
1965 |
| - " \"outline\": {\"color\": [255, 140, 0, 255], \"width\": 1},\n", |
1966 |
| - "}\n", |
1967 |
| - "\n", |
1968 |
| - "# draw the AOI that intersects\n", |
1969 |
| - "for pt_index in index_of_features:\n", |
1970 |
| - " m2.draw(shape=df.iloc[pt_index][\"SHAPE\"], symbol=pt_sym)" |
1971 |
| ->>>>>>> 6a0310e271c7e1d07fa30792df4a672d93260288 |
1972 | 1909 | ]
|
1973 | 1910 | },
|
1974 | 1911 | {
|
|
4227 | 4164 | "source": [
|
4228 | 4165 | "# draw the spatial join results on Wyoming state\n",
|
4229 | 4166 | "for idx, row in sdf2.iterrows():\n",
|
4230 |
| -<<<<<<< HEAD |
4231 | 4167 | " m3.content.draw(row['SHAPE'], symbol=pt_sym)"
|
4232 |
| -======= |
4233 |
| - " m3.draw(row[\"SHAPE\"], symbol=pt_sym)" |
4234 |
| ->>>>>>> 6a0310e271c7e1d07fa30792df4a672d93260288 |
4235 | 4168 | ]
|
4236 | 4169 | },
|
4237 | 4170 | {
|
|
0 commit comments