GDAL 3.10.2__tar.gz → 3.10.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. {gdal-3.10.2 → gdal-3.10.3}/PKG-INFO +2 -2
  2. {gdal-3.10.2 → gdal-3.10.3}/README.rst +1 -1
  3. {gdal-3.10.2 → gdal-3.10.3}/extensions/osr_wrap.cpp +21 -7
  4. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/GDAL.egg-info/PKG-INFO +2 -2
  5. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/__init__.py +1 -1
  6. {gdal-3.10.2 → gdal-3.10.3}/osgeo/osr.py +27 -12
  7. {gdal-3.10.2 → gdal-3.10.3}/setup.py +1 -1
  8. {gdal-3.10.2 → gdal-3.10.3}/extensions/gdal_array_wrap.cpp +0 -0
  9. {gdal-3.10.2 → gdal-3.10.3}/extensions/gdal_wrap.cpp +0 -0
  10. {gdal-3.10.2 → gdal-3.10.3}/extensions/gdalconst_wrap.c +0 -0
  11. {gdal-3.10.2 → gdal-3.10.3}/extensions/gnm_wrap.cpp +0 -0
  12. {gdal-3.10.2 → gdal-3.10.3}/extensions/ogr_wrap.cpp +0 -0
  13. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/GDAL.egg-info/SOURCES.txt +0 -0
  14. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/GDAL.egg-info/dependency_links.txt +0 -0
  15. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/GDAL.egg-info/entry_points.txt +0 -0
  16. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/GDAL.egg-info/not-zip-safe +0 -0
  17. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/GDAL.egg-info/requires.txt +0 -0
  18. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/GDAL.egg-info/top_level.txt +0 -0
  19. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/auxiliary/__init__.py +0 -0
  20. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/auxiliary/array_util.py +0 -0
  21. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/auxiliary/base.py +0 -0
  22. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/auxiliary/batch_creator.py +0 -0
  23. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/auxiliary/color_palette.py +0 -0
  24. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/auxiliary/color_table.py +0 -0
  25. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/auxiliary/extent_util.py +0 -0
  26. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/auxiliary/gdal_argparse.py +0 -0
  27. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/auxiliary/numpy_util.py +0 -0
  28. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/auxiliary/osr_util.py +0 -0
  29. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/auxiliary/progress.py +0 -0
  30. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/auxiliary/raster_creation.py +0 -0
  31. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/auxiliary/rectangle.py +0 -0
  32. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/auxiliary/util.py +0 -0
  33. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/gdal2tiles.py +0 -0
  34. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/gdal2xyz.py +0 -0
  35. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/gdal_calc.py +0 -0
  36. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/gdal_edit.py +0 -0
  37. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/gdal_fillnodata.py +0 -0
  38. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/gdal_merge.py +0 -0
  39. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/gdal_pansharpen.py +0 -0
  40. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/gdal_polygonize.py +0 -0
  41. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/gdal_proximity.py +0 -0
  42. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/gdal_retile.py +0 -0
  43. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/gdal_sieve.py +0 -0
  44. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/gdalattachpct.py +0 -0
  45. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/gdalcompare.py +0 -0
  46. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/gdalmove.py +0 -0
  47. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/ogr_layer_algebra.py +0 -0
  48. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/ogrmerge.py +0 -0
  49. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/pct2rgb.py +0 -0
  50. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/rgb2pct.py +0 -0
  51. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/__init__.py +0 -0
  52. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/assemblepoly.py +0 -0
  53. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/build_jp2_from_xml.py +0 -0
  54. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/classify.py +0 -0
  55. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/crs2crs2grid.py +0 -0
  56. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/densify.py +0 -0
  57. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/dump_jp2.py +0 -0
  58. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/epsg_tr.py +0 -0
  59. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/esri2wkt.py +0 -0
  60. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/fft.py +0 -0
  61. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/fix_gpkg.py +0 -0
  62. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gcps2ogr.py +0 -0
  63. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gcps2vec.py +0 -0
  64. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gcps2wld.py +0 -0
  65. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdal2grd.py +0 -0
  66. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdal_auth.py +0 -0
  67. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdal_cp.py +0 -0
  68. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdal_create_pdf.py +0 -0
  69. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdal_ls.py +0 -0
  70. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdal_lut.py +0 -0
  71. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdal_mkdir.py +0 -0
  72. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdal_remove_towgs84.py +0 -0
  73. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdal_rm.py +0 -0
  74. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdal_rmdir.py +0 -0
  75. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdal_vrtmerge.py +0 -0
  76. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdalbuildvrtofvrt.py +0 -0
  77. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdalchksum.py +0 -0
  78. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdalcopyproj.py +0 -0
  79. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdalfilter.py +0 -0
  80. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdalident.py +0 -0
  81. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdalimport.py +0 -0
  82. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdalinfo.py +0 -0
  83. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/gdallocationinfo.py +0 -0
  84. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/get_soundg.py +0 -0
  85. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/histrep.py +0 -0
  86. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/hsv_merge.py +0 -0
  87. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/jpeg_in_tiff_extract.py +0 -0
  88. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/load2odbc.py +0 -0
  89. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/loslas2ntv2.py +0 -0
  90. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/magphase.py +0 -0
  91. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/make_fuzzer_friendly_archive.py +0 -0
  92. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/mkgraticule.py +0 -0
  93. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/ogr2vrt.py +0 -0
  94. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/ogr_build_junction_table.py +0 -0
  95. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/ogr_dispatch.py +0 -0
  96. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/ogrinfo.py +0 -0
  97. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/ogrupdate.py +0 -0
  98. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/rel.py +0 -0
  99. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/tigerpoly.py +0 -0
  100. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/tile_extent_from_raster.py +0 -0
  101. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/tolatlong.py +0 -0
  102. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/val_repl.py +0 -0
  103. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/validate_cloud_optimized_geotiff.py +0 -0
  104. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/validate_geoparquet.py +0 -0
  105. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/validate_gpkg.py +0 -0
  106. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/validate_jp2.py +0 -0
  107. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/vec_tr.py +0 -0
  108. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/vec_tr_spat.py +0 -0
  109. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/osgeo_utils/samples/wcs_virtds_params.py +0 -0
  110. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/gdal2tiles.py +0 -0
  111. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/gdal2xyz.py +0 -0
  112. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/gdal_calc.py +0 -0
  113. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/gdal_edit.py +0 -0
  114. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/gdal_fillnodata.py +0 -0
  115. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/gdal_merge.py +0 -0
  116. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/gdal_pansharpen.py +0 -0
  117. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/gdal_polygonize.py +0 -0
  118. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/gdal_proximity.py +0 -0
  119. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/gdal_retile.py +0 -0
  120. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/gdal_sieve.py +0 -0
  121. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/gdalattachpct.py +0 -0
  122. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/gdalcompare.py +0 -0
  123. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/gdalmove.py +0 -0
  124. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/ogr_layer_algebra.py +0 -0
  125. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/ogrmerge.py +0 -0
  126. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/pct2rgb.py +0 -0
  127. {gdal-3.10.2 → gdal-3.10.3}/gdal-utils/scripts/rgb2pct.py +0 -0
  128. {gdal-3.10.2 → gdal-3.10.3}/osgeo/__init__.py +0 -0
  129. {gdal-3.10.2 → gdal-3.10.3}/osgeo/gdal.py +0 -0
  130. {gdal-3.10.2 → gdal-3.10.3}/osgeo/gdal_array.py +0 -0
  131. {gdal-3.10.2 → gdal-3.10.3}/osgeo/gdalconst.py +0 -0
  132. {gdal-3.10.2 → gdal-3.10.3}/osgeo/gdalnumeric.py +0 -0
  133. {gdal-3.10.2 → gdal-3.10.3}/osgeo/gnm.py +0 -0
  134. {gdal-3.10.2 → gdal-3.10.3}/osgeo/ogr.py +0 -0
  135. {gdal-3.10.2 → gdal-3.10.3}/pyproject.toml +0 -0
  136. {gdal-3.10.2 → gdal-3.10.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: GDAL
3
- Version: 3.10.2
3
+ Version: 3.10.3
4
4
  Summary: GDAL: Geospatial Data Abstraction Library
5
5
  Home-page: http://www.gdal.org
6
6
  Author: Frank Warmerdam, Howard Butler, Even Rouault
@@ -60,7 +60,7 @@ special about gdal.)
60
60
 
61
61
  * SWIG (4 or greater).
62
62
 
63
- * libgdal (3.10.2 or greater).
63
+ * libgdal (3.10.3 or greater).
64
64
 
65
65
  * numpy (1.0.0 or greater). This is not force-required by the build,
66
66
  but many examples and utilities will not work without it. At least
@@ -29,7 +29,7 @@ special about gdal.)
29
29
 
30
30
  * SWIG (4 or greater).
31
31
 
32
- * libgdal (3.10.2 or greater).
32
+ * libgdal (3.10.3 or greater).
33
33
 
34
34
  * numpy (1.0.0 or greater). This is not force-required by the build,
35
35
  but many examples and utilities will not work without it. At least
@@ -21109,13 +21109,20 @@ static PyMethodDef SwigMethods[] = {
21109
21109
  "\n"
21110
21110
  "Examples\n"
21111
21111
  "--------\n"
21112
- ">>> ct.TransformPoints([(-72.58, 44.26), (-72.59, 44.26)])\n"
21113
- "[(7390620.052019633, -51202148.77747277, 0.0), (7387261.070131293, -51200373.68798984, 0.0)]\n"
21112
+ ">>> wgs84 = osr.SpatialReference()\n"
21113
+ ">>> wgs84.ImportFromEPSG(4326)\n"
21114
+ "0\n"
21115
+ ">>> vt_sp = osr.SpatialReference()\n"
21116
+ ">>> vt_sp.ImportFromEPSG(5646)\n"
21117
+ "0\n"
21118
+ ">>> ct = osr.CoordinateTransformation(wgs84, vt_sp)\n"
21119
+ ">>> # Transform two points from WGS84 lat/long to Vermont State Plane easting/northing\n"
21120
+ ">>> ct.TransformPoints([(44.26, -72.58), (44.26, -72.59)])\n"
21121
+ "[(1619458.1108559777, 641509.1883246159, 0.0), (1616838.2913193079, 641511.9008312856, 0.0)]\n"
21114
21122
  "\n"
21115
21123
  ">>> import numpy as np\n"
21116
- ">>> ct.TransformPoints(np.array([[-72.58, 44.26], [-72.59, 44.26]]))\n"
21117
- "[(7390620.052019633, -51202148.77747277, 0.0), (7387261.070131293, -51200373.68798984, 0.0)]\n"
21118
- "\n"
21124
+ ">>> ct.TransformPoints(np.array([[44.26, -72.58], [44.26, -72.59]]))\n"
21125
+ "[(1619458.1108559777, 641509.1883246159, 0.0), (1616838.2913193079, 641511.9008312856, 0.0)]\n"
21119
21126
  "\n"
21120
21127
  "\n"
21121
21128
  ""},
@@ -21149,8 +21156,15 @@ static PyMethodDef SwigMethods[] = {
21149
21156
  "\n"
21150
21157
  "Examples\n"
21151
21158
  "--------\n"
21152
- ">>> ct.TransformBounds(-72.5, 44.2, -72.4, 44.3, 21)\n"
21153
- "(7415356.140468472, -51238192.683464445, 7454323.154814391, -51210287.42581475)\n"
21159
+ ">>> wgs84 = osr.SpatialReference()\n"
21160
+ ">>> wgs84.ImportFromEPSG(4326)\n"
21161
+ "0\n"
21162
+ ">>> vt_sp = osr.SpatialReference()\n"
21163
+ ">>> vt_sp.ImportFromEPSG(5646)\n"
21164
+ "0\n"
21165
+ ">>> ct = osr.CoordinateTransformation(wgs84, vt_sp)\n"
21166
+ ">>> ct.TransformBounds(44.2,-72.5, 44.3, -72.4, 21)\n"
21167
+ "(1640416.6667, 619626.4287465283, 1666641.4901271078, 656096.7597360199)\n"
21154
21168
  "\n"
21155
21169
  "\n"
21156
21170
  ""},
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: GDAL
3
- Version: 3.10.2
3
+ Version: 3.10.3
4
4
  Summary: GDAL: Geospatial Data Abstraction Library
5
5
  Home-page: http://www.gdal.org
6
6
  Author: Frank Warmerdam, Howard Butler, Even Rouault
@@ -60,7 +60,7 @@ special about gdal.)
60
60
 
61
61
  * SWIG (4 or greater).
62
62
 
63
- * libgdal (3.10.2 or greater).
63
+ * libgdal (3.10.3 or greater).
64
64
 
65
65
  * numpy (1.0.0 or greater). This is not force-required by the build,
66
66
  but many examples and utilities will not work without it. At least
@@ -1,5 +1,5 @@
1
1
  __package_name__ = "gdal-utils"
2
- gdal_utils_version = (3, 10, 2, 0)
2
+ gdal_utils_version = (3, 10, 3, 0)
3
3
  __version__ = ".".join(str(i) for i in gdal_utils_version)
4
4
  __author__ = "Frank Warmerdam"
5
5
  __author_email__ = "warmerdam@pobox.com"
@@ -2100,11 +2100,12 @@ class CoordinateTransformation(object):
2100
2100
  >>> vt_sp = osr.SpatialReference()
2101
2101
  >>> vt_sp.ImportFromEPSG(5646)
2102
2102
  0
2103
- >>> ct = osr.CoordinateTransformation(wgs84, ps)
2104
- >>> ct.TransformPoint(-72.58, 44.26)
2105
- (7390620.052019633, -51202148.77747277, 0.0)
2106
- >>> ct.TransformPoint(-72.58, 44.26, 103)
2107
- (7390620.052019633, -51202148.77747277, 103.0)
2103
+ >>> ct = osr.CoordinateTransformation(wgs84, vt_sp)
2104
+ >>> # Transform a point from WGS84 lat/long to Vermont State Plane easting/northing
2105
+ >>> ct.TransformPoint(44.26, -72.58)
2106
+ (1619458.1108559777, 641509.1883246159, 0.0)
2107
+ >>> ct.TransformPoint(44.26, -72.58, 103)
2108
+ (1619458.1108559777, 641509.1883246159, 103.0)
2108
2109
  """
2109
2110
 
2110
2111
  import collections.abc
@@ -2165,13 +2166,20 @@ class CoordinateTransformation(object):
2165
2166
 
2166
2167
  Examples
2167
2168
  --------
2168
- >>> ct.TransformPoints([(-72.58, 44.26), (-72.59, 44.26)])
2169
- [(7390620.052019633, -51202148.77747277, 0.0), (7387261.070131293, -51200373.68798984, 0.0)]
2169
+ >>> wgs84 = osr.SpatialReference()
2170
+ >>> wgs84.ImportFromEPSG(4326)
2171
+ 0
2172
+ >>> vt_sp = osr.SpatialReference()
2173
+ >>> vt_sp.ImportFromEPSG(5646)
2174
+ 0
2175
+ >>> ct = osr.CoordinateTransformation(wgs84, vt_sp)
2176
+ >>> # Transform two points from WGS84 lat/long to Vermont State Plane easting/northing
2177
+ >>> ct.TransformPoints([(44.26, -72.58), (44.26, -72.59)])
2178
+ [(1619458.1108559777, 641509.1883246159, 0.0), (1616838.2913193079, 641511.9008312856, 0.0)]
2170
2179
 
2171
2180
  >>> import numpy as np
2172
- >>> ct.TransformPoints(np.array([[-72.58, 44.26], [-72.59, 44.26]]))
2173
- [(7390620.052019633, -51202148.77747277, 0.0), (7387261.070131293, -51200373.68798984, 0.0)]
2174
-
2181
+ >>> ct.TransformPoints(np.array([[44.26, -72.58], [44.26, -72.59]]))
2182
+ [(1619458.1108559777, 641509.1883246159, 0.0), (1616838.2913193079, 641511.9008312856, 0.0)]
2175
2183
 
2176
2184
 
2177
2185
  """
@@ -2208,8 +2216,15 @@ class CoordinateTransformation(object):
2208
2216
 
2209
2217
  Examples
2210
2218
  --------
2211
- >>> ct.TransformBounds(-72.5, 44.2, -72.4, 44.3, 21)
2212
- (7415356.140468472, -51238192.683464445, 7454323.154814391, -51210287.42581475)
2219
+ >>> wgs84 = osr.SpatialReference()
2220
+ >>> wgs84.ImportFromEPSG(4326)
2221
+ 0
2222
+ >>> vt_sp = osr.SpatialReference()
2223
+ >>> vt_sp.ImportFromEPSG(5646)
2224
+ 0
2225
+ >>> ct = osr.CoordinateTransformation(wgs84, vt_sp)
2226
+ >>> ct.TransformBounds(44.2,-72.5, 44.3, -72.4, 21)
2227
+ (1640416.6667, 619626.4287465283, 1666641.4901271078, 656096.7597360199)
2213
2228
 
2214
2229
 
2215
2230
  """
@@ -17,7 +17,7 @@ from setuptools import setup
17
17
  from setuptools import find_packages
18
18
  from setuptools import Extension
19
19
 
20
- version = '3.10.2'
20
+ version = '3.10.3'
21
21
 
22
22
  # If CXX is defined in the environment, it will be used to link the .so
23
23
  # but setuptools will be confused if it is made of several words like 'ccache g++'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes