pyogrio 0.10.0__cp313-cp313-win_amd64.whl

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.

Potentially problematic release.


This version of pyogrio might be problematic. Click here for more details.

Files changed (246) hide show
  1. pyogrio/__init__.py +68 -0
  2. pyogrio/_compat.py +47 -0
  3. pyogrio/_env.py +59 -0
  4. pyogrio/_err.c +11520 -0
  5. pyogrio/_err.cp313-win_amd64.pyd +0 -0
  6. pyogrio/_geometry.c +8157 -0
  7. pyogrio/_geometry.cp313-win_amd64.pyd +0 -0
  8. pyogrio/_io.c +68161 -0
  9. pyogrio/_io.cp313-win_amd64.pyd +0 -0
  10. pyogrio/_ogr.c +14826 -0
  11. pyogrio/_ogr.cp313-win_amd64.pyd +0 -0
  12. pyogrio/_version.py +21 -0
  13. pyogrio/_vsi.c +11871 -0
  14. pyogrio/_vsi.cp313-win_amd64.pyd +0 -0
  15. pyogrio/core.py +386 -0
  16. pyogrio/errors.py +25 -0
  17. pyogrio/gdal_data/GDAL-targets-release.cmake +20 -0
  18. pyogrio/gdal_data/GDAL-targets.cmake +105 -0
  19. pyogrio/gdal_data/GDALConfig.cmake +23 -0
  20. pyogrio/gdal_data/GDALConfigVersion.cmake +85 -0
  21. pyogrio/gdal_data/GDALLogoBW.svg +138 -0
  22. pyogrio/gdal_data/GDALLogoColor.svg +126 -0
  23. pyogrio/gdal_data/GDALLogoGS.svg +126 -0
  24. pyogrio/gdal_data/LICENSE.TXT +467 -0
  25. pyogrio/gdal_data/MM_m_idofic.csv +321 -0
  26. pyogrio/gdal_data/copyright +467 -0
  27. pyogrio/gdal_data/cubewerx_extra.wkt +48 -0
  28. pyogrio/gdal_data/default.rsc +0 -0
  29. pyogrio/gdal_data/ecw_cs.wkt +1453 -0
  30. pyogrio/gdal_data/eedaconf.json +23 -0
  31. pyogrio/gdal_data/epsg.wkt +1 -0
  32. pyogrio/gdal_data/esri_StatePlane_extra.wkt +631 -0
  33. pyogrio/gdal_data/gdalicon.png +0 -0
  34. pyogrio/gdal_data/gdalinfo_output.schema.json +346 -0
  35. pyogrio/gdal_data/gdalmdiminfo_output.schema.json +321 -0
  36. pyogrio/gdal_data/gdaltileindex.xsd +269 -0
  37. pyogrio/gdal_data/gdalvrt.xsd +880 -0
  38. pyogrio/gdal_data/gfs.xsd +246 -0
  39. pyogrio/gdal_data/gml_registry.xml +117 -0
  40. pyogrio/gdal_data/gml_registry.xsd +66 -0
  41. pyogrio/gdal_data/grib2_center.csv +251 -0
  42. pyogrio/gdal_data/grib2_process.csv +102 -0
  43. pyogrio/gdal_data/grib2_subcenter.csv +63 -0
  44. pyogrio/gdal_data/grib2_table_4_2_0_0.csv +261 -0
  45. pyogrio/gdal_data/grib2_table_4_2_0_1.csv +261 -0
  46. pyogrio/gdal_data/grib2_table_4_2_0_13.csv +261 -0
  47. pyogrio/gdal_data/grib2_table_4_2_0_14.csv +261 -0
  48. pyogrio/gdal_data/grib2_table_4_2_0_15.csv +261 -0
  49. pyogrio/gdal_data/grib2_table_4_2_0_16.csv +261 -0
  50. pyogrio/gdal_data/grib2_table_4_2_0_17.csv +11 -0
  51. pyogrio/gdal_data/grib2_table_4_2_0_18.csv +261 -0
  52. pyogrio/gdal_data/grib2_table_4_2_0_19.csv +261 -0
  53. pyogrio/gdal_data/grib2_table_4_2_0_190.csv +261 -0
  54. pyogrio/gdal_data/grib2_table_4_2_0_191.csv +261 -0
  55. pyogrio/gdal_data/grib2_table_4_2_0_2.csv +261 -0
  56. pyogrio/gdal_data/grib2_table_4_2_0_20.csv +261 -0
  57. pyogrio/gdal_data/grib2_table_4_2_0_21.csv +261 -0
  58. pyogrio/gdal_data/grib2_table_4_2_0_3.csv +261 -0
  59. pyogrio/gdal_data/grib2_table_4_2_0_4.csv +261 -0
  60. pyogrio/gdal_data/grib2_table_4_2_0_5.csv +261 -0
  61. pyogrio/gdal_data/grib2_table_4_2_0_6.csv +261 -0
  62. pyogrio/gdal_data/grib2_table_4_2_0_7.csv +261 -0
  63. pyogrio/gdal_data/grib2_table_4_2_10_0.csv +261 -0
  64. pyogrio/gdal_data/grib2_table_4_2_10_1.csv +261 -0
  65. pyogrio/gdal_data/grib2_table_4_2_10_191.csv +261 -0
  66. pyogrio/gdal_data/grib2_table_4_2_10_2.csv +261 -0
  67. pyogrio/gdal_data/grib2_table_4_2_10_3.csv +261 -0
  68. pyogrio/gdal_data/grib2_table_4_2_10_4.csv +261 -0
  69. pyogrio/gdal_data/grib2_table_4_2_1_0.csv +261 -0
  70. pyogrio/gdal_data/grib2_table_4_2_1_1.csv +261 -0
  71. pyogrio/gdal_data/grib2_table_4_2_1_2.csv +261 -0
  72. pyogrio/gdal_data/grib2_table_4_2_20_0.csv +261 -0
  73. pyogrio/gdal_data/grib2_table_4_2_20_1.csv +261 -0
  74. pyogrio/gdal_data/grib2_table_4_2_20_2.csv +261 -0
  75. pyogrio/gdal_data/grib2_table_4_2_2_0.csv +261 -0
  76. pyogrio/gdal_data/grib2_table_4_2_2_3.csv +261 -0
  77. pyogrio/gdal_data/grib2_table_4_2_2_4.csv +261 -0
  78. pyogrio/gdal_data/grib2_table_4_2_2_5.csv +261 -0
  79. pyogrio/gdal_data/grib2_table_4_2_2_6.csv +261 -0
  80. pyogrio/gdal_data/grib2_table_4_2_3_0.csv +261 -0
  81. pyogrio/gdal_data/grib2_table_4_2_3_1.csv +261 -0
  82. pyogrio/gdal_data/grib2_table_4_2_3_2.csv +28 -0
  83. pyogrio/gdal_data/grib2_table_4_2_3_3.csv +8 -0
  84. pyogrio/gdal_data/grib2_table_4_2_3_4.csv +14 -0
  85. pyogrio/gdal_data/grib2_table_4_2_3_5.csv +11 -0
  86. pyogrio/gdal_data/grib2_table_4_2_3_6.csv +11 -0
  87. pyogrio/gdal_data/grib2_table_4_2_4_0.csv +261 -0
  88. pyogrio/gdal_data/grib2_table_4_2_4_1.csv +261 -0
  89. pyogrio/gdal_data/grib2_table_4_2_4_10.csv +261 -0
  90. pyogrio/gdal_data/grib2_table_4_2_4_2.csv +261 -0
  91. pyogrio/gdal_data/grib2_table_4_2_4_3.csv +261 -0
  92. pyogrio/gdal_data/grib2_table_4_2_4_4.csv +261 -0
  93. pyogrio/gdal_data/grib2_table_4_2_4_5.csv +261 -0
  94. pyogrio/gdal_data/grib2_table_4_2_4_6.csv +261 -0
  95. pyogrio/gdal_data/grib2_table_4_2_4_7.csv +261 -0
  96. pyogrio/gdal_data/grib2_table_4_2_4_8.csv +261 -0
  97. pyogrio/gdal_data/grib2_table_4_2_4_9.csv +261 -0
  98. pyogrio/gdal_data/grib2_table_4_2_local_Canada.csv +5 -0
  99. pyogrio/gdal_data/grib2_table_4_2_local_HPC.csv +2 -0
  100. pyogrio/gdal_data/grib2_table_4_2_local_MRMS.csv +175 -0
  101. pyogrio/gdal_data/grib2_table_4_2_local_NCEP.csv +401 -0
  102. pyogrio/gdal_data/grib2_table_4_2_local_NDFD.csv +38 -0
  103. pyogrio/gdal_data/grib2_table_4_2_local_index.csv +7 -0
  104. pyogrio/gdal_data/grib2_table_4_5.csv +261 -0
  105. pyogrio/gdal_data/grib2_table_versions.csv +3 -0
  106. pyogrio/gdal_data/gt_datum.csv +229 -0
  107. pyogrio/gdal_data/gt_ellips.csv +24 -0
  108. pyogrio/gdal_data/header.dxf +1124 -0
  109. pyogrio/gdal_data/inspire_cp_BasicPropertyUnit.gfs +57 -0
  110. pyogrio/gdal_data/inspire_cp_CadastralBoundary.gfs +60 -0
  111. pyogrio/gdal_data/inspire_cp_CadastralParcel.gfs +81 -0
  112. pyogrio/gdal_data/inspire_cp_CadastralZoning.gfs +161 -0
  113. pyogrio/gdal_data/jpfgdgml_AdmArea.gfs +59 -0
  114. pyogrio/gdal_data/jpfgdgml_AdmBdry.gfs +49 -0
  115. pyogrio/gdal_data/jpfgdgml_AdmPt.gfs +59 -0
  116. pyogrio/gdal_data/jpfgdgml_BldA.gfs +54 -0
  117. pyogrio/gdal_data/jpfgdgml_BldL.gfs +54 -0
  118. pyogrio/gdal_data/jpfgdgml_Cntr.gfs +54 -0
  119. pyogrio/gdal_data/jpfgdgml_CommBdry.gfs +49 -0
  120. pyogrio/gdal_data/jpfgdgml_CommPt.gfs +59 -0
  121. pyogrio/gdal_data/jpfgdgml_Cstline.gfs +54 -0
  122. pyogrio/gdal_data/jpfgdgml_ElevPt.gfs +54 -0
  123. pyogrio/gdal_data/jpfgdgml_GCP.gfs +94 -0
  124. pyogrio/gdal_data/jpfgdgml_LeveeEdge.gfs +49 -0
  125. pyogrio/gdal_data/jpfgdgml_RailCL.gfs +54 -0
  126. pyogrio/gdal_data/jpfgdgml_RdASL.gfs +44 -0
  127. pyogrio/gdal_data/jpfgdgml_RdArea.gfs +54 -0
  128. pyogrio/gdal_data/jpfgdgml_RdCompt.gfs +59 -0
  129. pyogrio/gdal_data/jpfgdgml_RdEdg.gfs +59 -0
  130. pyogrio/gdal_data/jpfgdgml_RdMgtBdry.gfs +49 -0
  131. pyogrio/gdal_data/jpfgdgml_RdSgmtA.gfs +59 -0
  132. pyogrio/gdal_data/jpfgdgml_RvrMgtBdry.gfs +49 -0
  133. pyogrio/gdal_data/jpfgdgml_SBAPt.gfs +49 -0
  134. pyogrio/gdal_data/jpfgdgml_SBArea.gfs +54 -0
  135. pyogrio/gdal_data/jpfgdgml_SBBdry.gfs +44 -0
  136. pyogrio/gdal_data/jpfgdgml_WA.gfs +54 -0
  137. pyogrio/gdal_data/jpfgdgml_WL.gfs +54 -0
  138. pyogrio/gdal_data/jpfgdgml_WStrA.gfs +54 -0
  139. pyogrio/gdal_data/jpfgdgml_WStrL.gfs +54 -0
  140. pyogrio/gdal_data/nitf_spec.xml +3306 -0
  141. pyogrio/gdal_data/nitf_spec.xsd +189 -0
  142. pyogrio/gdal_data/ogrinfo_output.schema.json +528 -0
  143. pyogrio/gdal_data/ogrvrt.xsd +546 -0
  144. pyogrio/gdal_data/osmconf.ini +132 -0
  145. pyogrio/gdal_data/ozi_datum.csv +131 -0
  146. pyogrio/gdal_data/ozi_ellips.csv +35 -0
  147. pyogrio/gdal_data/pci_datum.txt +530 -0
  148. pyogrio/gdal_data/pci_ellips.txt +129 -0
  149. pyogrio/gdal_data/pdfcomposition.xsd +721 -0
  150. pyogrio/gdal_data/pds4_template.xml +65 -0
  151. pyogrio/gdal_data/plscenesconf.json +1985 -0
  152. pyogrio/gdal_data/ruian_vf_ob_v1.gfs +1455 -0
  153. pyogrio/gdal_data/ruian_vf_st_uvoh_v1.gfs +86 -0
  154. pyogrio/gdal_data/ruian_vf_st_v1.gfs +1489 -0
  155. pyogrio/gdal_data/ruian_vf_v1.gfs +2126 -0
  156. pyogrio/gdal_data/s57agencies.csv +249 -0
  157. pyogrio/gdal_data/s57attributes.csv +484 -0
  158. pyogrio/gdal_data/s57expectedinput.csv +1008 -0
  159. pyogrio/gdal_data/s57objectclasses.csv +287 -0
  160. pyogrio/gdal_data/seed_2d.dgn +0 -0
  161. pyogrio/gdal_data/seed_3d.dgn +0 -0
  162. pyogrio/gdal_data/stateplane.csv +259 -0
  163. pyogrio/gdal_data/tms_LINZAntarticaMapTileGrid.json +190 -0
  164. pyogrio/gdal_data/tms_MapML_APSTILE.json +268 -0
  165. pyogrio/gdal_data/tms_MapML_CBMTILE.json +346 -0
  166. pyogrio/gdal_data/tms_NZTM2000.json +243 -0
  167. pyogrio/gdal_data/trailer.dxf +434 -0
  168. pyogrio/gdal_data/usage +4 -0
  169. pyogrio/gdal_data/vcpkg-cmake-wrapper.cmake +23 -0
  170. pyogrio/gdal_data/vcpkg.spdx.json +264 -0
  171. pyogrio/gdal_data/vcpkg_abi_info.txt +42 -0
  172. pyogrio/gdal_data/vdv452.xml +367 -0
  173. pyogrio/gdal_data/vdv452.xsd +63 -0
  174. pyogrio/gdal_data/vicar.json +164 -0
  175. pyogrio/geopandas.py +683 -0
  176. pyogrio/proj_data/CH +22 -0
  177. pyogrio/proj_data/GL27 +23 -0
  178. pyogrio/proj_data/ITRF2000 +24 -0
  179. pyogrio/proj_data/ITRF2008 +94 -0
  180. pyogrio/proj_data/ITRF2014 +55 -0
  181. pyogrio/proj_data/copyright +34 -0
  182. pyogrio/proj_data/deformation_model.schema.json +582 -0
  183. pyogrio/proj_data/nad.lst +142 -0
  184. pyogrio/proj_data/nad27 +810 -0
  185. pyogrio/proj_data/nad83 +745 -0
  186. pyogrio/proj_data/other.extra +53 -0
  187. pyogrio/proj_data/proj-config-version.cmake +44 -0
  188. pyogrio/proj_data/proj-config.cmake +79 -0
  189. pyogrio/proj_data/proj-targets-release.cmake +19 -0
  190. pyogrio/proj_data/proj-targets.cmake +105 -0
  191. pyogrio/proj_data/proj.db +0 -0
  192. pyogrio/proj_data/proj.ini +51 -0
  193. pyogrio/proj_data/proj4-targets-release.cmake +19 -0
  194. pyogrio/proj_data/proj4-targets.cmake +105 -0
  195. pyogrio/proj_data/projjson.schema.json +1174 -0
  196. pyogrio/proj_data/triangulation.schema.json +214 -0
  197. pyogrio/proj_data/usage +4 -0
  198. pyogrio/proj_data/vcpkg.spdx.json +198 -0
  199. pyogrio/proj_data/vcpkg_abi_info.txt +28 -0
  200. pyogrio/proj_data/world +214 -0
  201. pyogrio/raw.py +887 -0
  202. pyogrio/tests/__init__.py +0 -0
  203. pyogrio/tests/conftest.py +398 -0
  204. pyogrio/tests/fixtures/README.md +108 -0
  205. pyogrio/tests/fixtures/curve.gpkg +0 -0
  206. pyogrio/tests/fixtures/curvepolygon.gpkg +0 -0
  207. pyogrio/tests/fixtures/line_zm.gpkg +0 -0
  208. pyogrio/tests/fixtures/multisurface.gpkg +0 -0
  209. pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.cpg +1 -0
  210. pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.dbf +0 -0
  211. pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.prj +1 -0
  212. pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shp +0 -0
  213. pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shx +0 -0
  214. pyogrio/tests/fixtures/sample.osm.pbf +0 -0
  215. pyogrio/tests/fixtures/test_gpkg_nulls.gpkg +0 -0
  216. pyogrio/tests/test_arrow.py +1195 -0
  217. pyogrio/tests/test_core.py +678 -0
  218. pyogrio/tests/test_geopandas_io.py +2314 -0
  219. pyogrio/tests/test_path.py +364 -0
  220. pyogrio/tests/test_raw_io.py +1515 -0
  221. pyogrio/tests/test_util.py +56 -0
  222. pyogrio/util.py +247 -0
  223. pyogrio-0.10.0.dist-info/DELVEWHEEL +2 -0
  224. pyogrio-0.10.0.dist-info/LICENSE +21 -0
  225. pyogrio-0.10.0.dist-info/METADATA +129 -0
  226. pyogrio-0.10.0.dist-info/RECORD +246 -0
  227. pyogrio-0.10.0.dist-info/WHEEL +5 -0
  228. pyogrio-0.10.0.dist-info/top_level.txt +1 -0
  229. pyogrio.libs/Lerc-089e3fef3df84b17326dcddbf1dedaa4.dll +0 -0
  230. pyogrio.libs/gdal-debee5933f0da7bb90b4bcd009023377.dll +0 -0
  231. pyogrio.libs/geos-ace4c5b5c1f569bb4213e7bbd0b0322e.dll +0 -0
  232. pyogrio.libs/geos_c-7478ca0a86136b280d9b2d245c6f6627.dll +0 -0
  233. pyogrio.libs/geotiff-c8fe8a095520a4ea4e465d27e06add3a.dll +0 -0
  234. pyogrio.libs/iconv-2-27352d156a5467ca5383d3951093ea5a.dll +0 -0
  235. pyogrio.libs/jpeg62-e56b6f95a95af498f4623b8da4cebd46.dll +0 -0
  236. pyogrio.libs/json-c-c84940e2654a4f8468bfcf2ce992aa93.dll +0 -0
  237. pyogrio.libs/libcurl-d69cfd4ad487d53d58743b6778ec85e7.dll +0 -0
  238. pyogrio.libs/libexpat-6576a8d02641b6a3dbad35901ec200a7.dll +0 -0
  239. pyogrio.libs/liblzma-9ee4accb476ec1ae24e924953140273d.dll +0 -0
  240. pyogrio.libs/libpng16-7c36142dda59f186f6bb683e8dae2bfe.dll +0 -0
  241. pyogrio.libs/msvcp140-98b3e5b80de1e5e9d1703b786d795623.dll +0 -0
  242. pyogrio.libs/proj-a408c5327f3fd2f5fabe8c56815beed7.dll +0 -0
  243. pyogrio.libs/qhull_r-516897f855568caab1ab1fe37912766c.dll +0 -0
  244. pyogrio.libs/sqlite3-9bc109d8536d5ed9666332fec94485fc.dll +0 -0
  245. pyogrio.libs/tiff-9b3f605fffe0bccc0a964c374ee4f820.dll +0 -0
  246. pyogrio.libs/zlib1-e5af16a15c63f05bd82d90396807ae5b.dll +0 -0
@@ -0,0 +1,132 @@
1
+ #
2
+ # Configuration file for OSM import
3
+ #
4
+
5
+ # put here the name of keys, or key=value, for ways that are assumed to be polygons if they are closed
6
+ # see http://wiki.openstreetmap.org/wiki/Map_Features
7
+ closed_ways_are_polygons=aeroway,amenity,boundary,building,craft,geological,historic,landuse,leisure,military,natural,office,place,shop,sport,tourism,highway=platform,public_transport=platform
8
+
9
+ # Uncomment to avoid laundering of keys ( ':' turned into '_' )
10
+ #attribute_name_laundering=no
11
+
12
+ # Some tags, set on ways and when building multipolygons, multilinestrings or other_relations,
13
+ # are normally filtered out early, independent of the 'ignore' configuration below.
14
+ # Uncomment to disable early filtering. The 'ignore' lines below remain active.
15
+ #report_all_tags=yes
16
+
17
+ # uncomment to report all nodes, including the ones without any (significant) tag
18
+ #report_all_nodes=yes
19
+
20
+ # uncomment to report all ways, including the ones without any (significant) tag
21
+ #report_all_ways=yes
22
+
23
+ # uncomment to specify the the format for the all_tags/other_tags field should be JSON
24
+ # instead of the default HSTORE formatting.
25
+ # Valid values for tags_format are "hstore" and "json"
26
+ #tags_format=json
27
+
28
+ [points]
29
+ # common attributes
30
+ osm_id=yes
31
+ osm_version=no
32
+ osm_timestamp=no
33
+ osm_uid=no
34
+ osm_user=no
35
+ osm_changeset=no
36
+
37
+ # keys to report as OGR fields
38
+ attributes=name,barrier,highway,ref,address,is_in,place,man_made
39
+ # keys that, alone, are not significant enough to report a node as a OGR point
40
+ unsignificant=created_by,converted_by,source,time,ele,attribution
41
+ # keys that should NOT be reported in the "other_tags" field
42
+ ignore=created_by,converted_by,source,time,ele,note,todo,openGeoDB:,fixme,FIXME
43
+ # uncomment to avoid creation of "other_tags" field
44
+ #other_tags=no
45
+ # uncomment to create "all_tags" field. "all_tags" and "other_tags" are exclusive
46
+ #all_tags=yes
47
+
48
+ [lines]
49
+ # common attributes
50
+ osm_id=yes
51
+ osm_version=no
52
+ osm_timestamp=no
53
+ osm_uid=no
54
+ osm_user=no
55
+ osm_changeset=no
56
+
57
+ # keys to report as OGR fields
58
+ attributes=name,highway,waterway,aerialway,barrier,man_made,railway
59
+
60
+ # type of attribute 'foo' can be changed with something like
61
+ #foo_type=Integer/Real/String/DateTime
62
+
63
+ # keys that should NOT be reported in the "other_tags" field
64
+ ignore=created_by,converted_by,source,time,ele,note,todo,openGeoDB:,fixme,FIXME
65
+ # uncomment to avoid creation of "other_tags" field
66
+ #other_tags=no
67
+ # uncomment to create "all_tags" field. "all_tags" and "other_tags" are exclusive
68
+ #all_tags=yes
69
+
70
+ #computed_attributes must appear before the keywords _type and _sql
71
+ computed_attributes=z_order
72
+ z_order_type=Integer
73
+ # Formula based on https://github.com/openstreetmap/osm2pgsql/blob/master/style.lua#L13
74
+ # [foo] is substituted by value of tag foo. When substitution is not wished, the [ character can be escaped with \[ in literals
75
+ # Note for GDAL developers: if we change the below formula, make sure to edit ogrosmlayer.cpp since it has a hardcoded optimization for this very precise formula
76
+ z_order_sql="SELECT (CASE [highway] WHEN 'minor' THEN 3 WHEN 'road' THEN 3 WHEN 'unclassified' THEN 3 WHEN 'residential' THEN 3 WHEN 'tertiary_link' THEN 4 WHEN 'tertiary' THEN 4 WHEN 'secondary_link' THEN 6 WHEN 'secondary' THEN 6 WHEN 'primary_link' THEN 7 WHEN 'primary' THEN 7 WHEN 'trunk_link' THEN 8 WHEN 'trunk' THEN 8 WHEN 'motorway_link' THEN 9 WHEN 'motorway' THEN 9 ELSE 0 END) + (CASE WHEN [bridge] IN ('yes', 'true', '1') THEN 10 ELSE 0 END) + (CASE WHEN [tunnel] IN ('yes', 'true', '1') THEN -10 ELSE 0 END) + (CASE WHEN [railway] IS NOT NULL THEN 5 ELSE 0 END) + (CASE WHEN [layer] IS NOT NULL THEN 10 * CAST([layer] AS INTEGER) ELSE 0 END)"
77
+
78
+ [multipolygons]
79
+ # common attributes
80
+ # note: for multipolygons, osm_id=yes instantiates a osm_id field for the id of relations
81
+ # and a osm_way_id field for the id of closed ways. Both fields are exclusively set.
82
+ osm_id=yes
83
+ osm_version=no
84
+ osm_timestamp=no
85
+ osm_uid=no
86
+ osm_user=no
87
+ osm_changeset=no
88
+
89
+ # keys to report as OGR fields
90
+ attributes=name,type,aeroway,amenity,admin_level,barrier,boundary,building,craft,geological,historic,land_area,landuse,leisure,man_made,military,natural,office,place,shop,sport,tourism
91
+ # keys that should NOT be reported in the "other_tags" field
92
+ ignore=area,created_by,converted_by,source,time,ele,note,todo,openGeoDB:,fixme,FIXME
93
+ # uncomment to avoid creation of "other_tags" field
94
+ #other_tags=no
95
+ # uncomment to create "all_tags" field. "all_tags" and "other_tags" are exclusive
96
+ #all_tags=yes
97
+
98
+ [multilinestrings]
99
+ # common attributes
100
+ osm_id=yes
101
+ osm_version=no
102
+ osm_timestamp=no
103
+ osm_uid=no
104
+ osm_user=no
105
+ osm_changeset=no
106
+
107
+ # keys to report as OGR fields
108
+ attributes=name,type
109
+ # keys that should NOT be reported in the "other_tags" field
110
+ ignore=area,created_by,converted_by,source,time,ele,note,todo,openGeoDB:,fixme,FIXME
111
+ # uncomment to avoid creation of "other_tags" field
112
+ #other_tags=no
113
+ # uncomment to create "all_tags" field. "all_tags" and "other_tags" are exclusive
114
+ #all_tags=yes
115
+
116
+ [other_relations]
117
+ # common attributes
118
+ osm_id=yes
119
+ osm_version=no
120
+ osm_timestamp=no
121
+ osm_uid=no
122
+ osm_user=no
123
+ osm_changeset=no
124
+
125
+ # keys to report as OGR fields
126
+ attributes=name,type
127
+ # keys that should NOT be reported in the "other_tags" field
128
+ ignore=area,created_by,converted_by,source,time,ele,note,todo,openGeoDB:,fixme,FIXME
129
+ # uncomment to avoid creation of "other_tags" field
130
+ #other_tags=no
131
+ # uncomment to create "all_tags" field. "all_tags" and "other_tags" are exclusive
132
+ #all_tags=yes
@@ -0,0 +1,131 @@
1
+ NAME,EPSG_DATUM_CODE,ELLIPSOID_CODE,DELTAX,DELTAY,DELTAZ
2
+ #
3
+ # Note : We have permission from Des Newman on behalf of OziExplorer to use this list.
4
+ # See : http://trac.osgeo.org/gdal/ticket/3929#comment:2
5
+ # Note 2: EPSG_DATUM_CODE is used in priority to retrieve ellipsoid and datum shift values
6
+ # from the CSV files imported from EPSG database, that are more up-to-date. It
7
+ # overrides the values found in this file and from ozi_ellips.csv. See #3929 for more details.
8
+ #
9
+ Adindan,4201,5,-162,-12,206 # Africa - Eritrea, Ethiopia and Sudan
10
+ Afgooye,4205,15,-43,-163,45 # Somalia
11
+ Ain el Abd 1970,4204,14,-150,-251,-2 # Asia - Middle East - Bahrain, Kuwait and Saudi Arabia
12
+ Anna 1 Astro 1965,4708,2,-491,-22,435 # Cocos (Keeling) Islands
13
+ Arc 1950,4209,5,-143,-90,-294 # Africa - Botswana, Malawi, Zambia, Zimbabwe
14
+ Arc 1960,4210,5,-160,-8,-300 # Africa - Kenya, Tanzania and Uganda
15
+ Ascension Island 1958,4712,14,-207,107,52 # St Helena - Ascension Island
16
+ Astro B4 Sorol Atoll,4707,14,114,-116,-333 # USA - Hawaii - Tern Island and Sorel Atoll
17
+ Astro Beacon 1945,4709,14,145,75,-272 # Japan - Iwo Jima
18
+ Astro DOS 71/4,4710,14,-320,550,-494 # St Helena - St Helena Island
19
+ Astronomic Stn 1952,4711,14,124,-234,-25 # Japan - Minamitori-shima (Marcus Island)
20
+ Australian Geodetic 1966,4202,2,-133,-48,148 # Australasia - Australia and PNG - AGD66
21
+ Australian Geodetic 1984,4203,2,-134,-48,149 # Australia - AGD84
22
+ Australian Geocentric 1994 (GDA94),4283,11,0,0,0 # Australia - GDA94
23
+ Austrian,4312,3,594,84,471 # MGI - Europe, Austria and former Yugoslavia
24
+ Bellevue (IGN),4714,14,-127,-769,472 # Vanuatu - southern islands
25
+ Bermuda 1957,4216,4,-73,213,296 # Bermuda
26
+ Bogota Observatory,4218,14,307,304,-318 # Colombia
27
+ Campo Inchauspe,4221,14,-148,136,90 # Argentina
28
+ Canton Astro 1966,4716,14,298,-304,-375 # Kiribati - Phoenix Islands
29
+ Cape,4222,5,-136,-108,-292 # Africa - Botswana and South Africa
30
+ Cape Canaveral,4717,4,-2,150,181 # North America - Bahamas and USA - Florida
31
+ Carthage,4223,5,-263,6,431 # Tunisia
32
+ CH-1903,4149,3,674,15,405 # Europe - Liechtenstein and Switzerland
33
+ Chatham 1971,4672,14,175,-38,113 # New Zealand - Chatham Islands
34
+ Chua Astro,4224,14,-134,229,-29 # South America - Brazil ; N Paraguay
35
+ Corrego Alegre,4225,14,-206,172,-6 # Brazil - Corrego Alegre
36
+ Djakarta (Batavia),4211,3,-377,681,-50 # Indonesia - Java
37
+ DOS 1968,,14,230,-199,-752 # Solomon Islands - Gizo Island : EPSG:4718 + EPSG:15805 (gcs.csv uses EPSG:15807)
38
+ Easter Island 1967,4719,14,211,147,111 # Chile - Easter Island
39
+ Egypt,,14,-130,-117,-151 # Egypt - EPSG code is 4199, but transformation parameters are missing in gcs.csv
40
+ European 1950,4230,14,-87,-98,-121 # Europe
41
+ European 1950 (Mean France),,14,-87,-96,-120 # Europe -France
42
+ European 1950 (Spain and Portugal),,14,-84,-107,-120 # Europe - Spain and Portugal
43
+ European 1979,4668,14,-86,-98,-119 # Europe - west
44
+ Finland Hayford,4123,14,-78,-231,-97 # Finland (KKJ)
45
+ Gandajika Base,4233,14,-133,-321,50 # Maldives
46
+ Geodetic Datum 1949,4272,14,84,-22,209 # New Zealand (NZGD49)
47
+ GGRS 87,4121,11,-199.87,74.79,246.62 # Greece
48
+ Guam 1963,4675,4,-100,-248,259 # Guam
49
+ GUX 1 Astro,4718,14,252,-209,-751 # Solomon Islands - Guadalcanal Island
50
+ Hartebeeshoek94,4148,20,0,0,0 # South Africa
51
+ Hermannskogel,3906,3,653,-212,449 # Boznia and Herzegovina; Croatia; FYR Macedonia; Montenegro; Serbia; Slovenia (MGI 1901)
52
+ Hjorsey 1955,4658,14,-73,46,-86 # Iceland
53
+ Hong Kong 1963,4739,14,-156,-271,-189 # China - Hong Kong
54
+ Hu-Tzu-Shan,4236,14,-634,-549,-201 # Taiwan
55
+ Indian Bangladesh,4682,6,289,734,257 # Bangladesh (Gulshan 303)
56
+ Indian Thailand,4240,6,214,836,303 # Thailand
57
+ Israeli,4281,23,-235,-85,264 # Asia - Middle East - Israel, Jordan and Palestine Territory (Palestine 1923)
58
+ Ireland 1965,4299,1,506,-122,611 # Europe - Ireland (Republic and Ulster)
59
+ ISTS 073 Astro 1969,4724,14,208,-435,-229 # British Indian Ocean Territory - Diego Garcia
60
+ Johnston Island,4725,14,191,-77,-204 # Johnston Island
61
+ Kandawala,4244,6,-97,787,86 # Sri Lanka
62
+ Kerguelen Island,4698,14,145,-187,103 # French Southern Territories - Kerguelen
63
+ Kertau 1948,4245,7,-11,851,5 # Asia - Malaysia (west) and Singapore
64
+ L.C. 5 Astro,4726,4,42,124,147 # Cayman Islands - Little Cayman and Cayman Brac
65
+ Liberia 1964,4251,5,-90,40,88 # Liberia
66
+ Luzon Mindanao,,4,-133,-79,-72 # Philippines - Mindanao (EPSG:4253 + EPSG:1162 Coordinate Transformation)
67
+ Luzon Philippines,4253,4,-133,-77,-51 # Philippines - excluding Mindanao
68
+ Mahe 1971,4256,5,41,-220,-134 # Seychelles
69
+ Marco Astro,4616,14,-289,-124,60 # Portugal - Selvagens islands (Madeira)
70
+ Massawa,4262,3,639,405,60 # Eritrea
71
+ Merchich,4261,5,31,146,47 # Morocco
72
+ Midway Astro 1961,4727,14,912,-58,1227 # Midway Islands - Sand and Eastern Islands
73
+ Minna,4263,5,-92,-93,122 # Nigeria
74
+ NAD27 Alaska,,4,-5,135,172 # Alaska (EPSG:4269 + EPSG:1176 Coordinate Transformation)
75
+ NAD27 Bahamas,,4,-4,154,178 # Bahamas (EPSG:4269 + EPSG:1177 Coordinate Transformation)
76
+ NAD27 Canada,,4,-10,158,187 # Canada (EPSG:4269 + EPSG:1172 Coordinate Transformation)
77
+ NAD27 Canal Zone,,4,0,125,201 # Panama (EPSG:4269 + EPSG:1184 Coordinate Transformation)
78
+ NAD27 Caribbean,,4,-7,152,178 # Caribbean
79
+ NAD27 Central,,4,0,125,194 # Central America (EPSG:4269 + EPSG:1171 Coordinate Transformation)
80
+ NAD27 CONUS,,4,-8,160,176 # Continental US (EPSG:4269 + EPSG:1173 Coordinate Transformation)
81
+ NAD27 Cuba,,4,-9,152,178 # Cuba (EPSG:4269 + EPSG:1185 Coordinate Transformation)
82
+ NAD27 Greenland,,4,11,114,195 # Greenland - Hayes Peninsula (EPSG:4269 + EPSG:1186 Coordinate Transformation)
83
+ NAD27 Mexico,,4,-12,130,190 # Mexico (EPSG:4269 + EPSG:1187 Coordinate Transformation)
84
+ NAD27 San Salvador,,4,1,140,165 # San Salvador (EPSG:4269 + EPSG:1178 Coordinate Transformation)
85
+ NAD83,4269,11,0,0,0 # North America
86
+ Nahrwn Masirah Ilnd,,5,-247,-148,369 # Oman - Masirah Island (EPSG:4270 + EPSG:1189)
87
+ Nahrwn Saudi Arbia,,5,-231,-196,482 # Saudi Arabia (EPSG:4270 + EPSG:1190)
88
+ Nahrwn United Arab,,5,-249,-156,381 # United Arab Emirates (UAE) (EPSG:4270 + EPSG:1191)
89
+ Naparima BWI,4271,14,-2,374,172 # Trinidad and Tobago - Tobago
90
+ NGO1948,4273,27,315,-217,528 # Norway
91
+ NTF France,4275,24,-168,-60,320 # France
92
+ Norsk,4817,27,278,93,474 # Norway (NGO 1948)
93
+ NZGD1949,4272,14,84,-22,209 # New Zealand
94
+ NZGD2000,4167,20,0,0,0 # New Zealand
95
+ Observatorio 1966,4182,14,-425,-169,81 # Portugal - western Azores
96
+ Old Egyptian,4229,12,-130,110,-13 # Egypt (1907)
97
+ Old Hawaiian,4135,4,61,-285,-181 # USA - Hawaii
98
+ Oman,4232,5,-346,-1,224 # Oman
99
+ Ord Srvy Grt Britn,4277,0,375,-111,431 # UK - Great Britain; Isle of Man
100
+ Pico De Las Nieves,4728,14,-307,-92,127 # Spain - Canary Islands
101
+ Pitcairn Astro 1967,4729,14,185,165,42 # Pitcairn Island
102
+ Potsdam Rauenberg DHDN,4314,3,606,23,413 # Germany
103
+ Prov So Amrican 1956,4248,14,-288,175,-376 # South America - PSAD56
104
+ Prov So Chilean 1963,4254,14,16,196,93 # South America - Tierra del Fuego
105
+ Puerto Rico,4139,4,11,72,-101 # Caribbean - Puerto Rico and the Virgin Islands
106
+ Pulkovo 1942 (1),4284,15,28,-130,-95 # Europe - FSU
107
+ Pulkovo 1942 (2),4284,15,28,-130,-95 # Europe - FSU
108
+ Qatar National,4285,14,-128,-283,22 # Qatar
109
+ Qornoq,4287,14,164,138,-189 # Greenland
110
+ Reunion,4626,14,94,-948,-1262 # France - Reunion Island
111
+ Rijksdriehoeksmeting,4289,3,593,26,478 # Netherlands
112
+ Rome 1940,4806,14,-225,-65,9 # Italy - including San Marino and Vatican
113
+ RT 90,4124,3,498,-36,568 # Sweden
114
+ S42,4179,15,28,-121,-77 # Europe - eastern - S-42
115
+ Santo (DOS),4730,14,170,42,84 # Vanuatu - northern islands
116
+ Sao Braz,4184,14,-203,141,53 # Portugal - eastern Azores
117
+ Sapper Hill 1943,4292,14,-355,16,74 # Falkland Islands
118
+ Schwarzeck,4293,21,616,97,-251 # Namibia
119
+ South American 1969,4291,16,-57,1,-41 # South America - SAD69
120
+ South Asia,,8,7,-10,-26 # Singapore (unknown EPSG code)
121
+ Southeast Base,4615,14,-499,-249,314 # Porto Santo and Madeira Islands
122
+ Southwest Base,4183,14,-104,167,-38 # Faial, Graciosa, Pico, Sao Jorge and Terceira
123
+ Timbalai 1948,4298,6,-689,691,-46 # Asia - Brunei and East Malaysia
124
+ Tokyo,4301,3,-128,481,664 # Asia - Japan and Korea
125
+ Tristan Astro 1968,4734,14,-632,438,-609 # St Helena - Tristan da Cunha
126
+ Viti Levu 1916,4731,5,51,391,-36 # Fiji - Viti Levu
127
+ Wake-Eniwetok 1960,4732,13,101,52,-39 # Marshall Islands - Eniwetok, Kwajalein and Wake islands
128
+ WGS 72,4322,19,0,0,5 # World
129
+ WGS 84,4326,20,0,0,0 # World
130
+ Yacare,4309,14,-155,171,37 # Uruguay
131
+ Zanderij,4311,14,-265,120,-358 # Suriname
@@ -0,0 +1,35 @@
1
+ ELLIPSOID_CODE,NAME,A,INVF
2
+ #
3
+ # Note : We have permission from Des Newman on behalf of OziExplorer to use this list.
4
+ # See : http://trac.osgeo.org/gdal/ticket/3929#comment:2
5
+ #
6
+ 0,Airy 1830,6377563.396,299.3249646
7
+ 1,Modified Airy,6377340.189,299.3249646
8
+ 2,Australian National,6378160.0,298.25
9
+ 3,Bessel 1841,6377397.155,299.1528128
10
+ 4,Clarke 1866,6378206.4,294.9786982
11
+ 5,Clarke 1880,6378249.145,293.465
12
+ 6,Everest (India 1830),6377276.345,300.8017
13
+ 7,Everest (1948),6377304.063,300.8017
14
+ 8,Modified Fischer 1960,6378155.0,298.3
15
+ 9,Everest (Pakistan),6377309.613,300.8017
16
+ 10,Indonesian 1974,6378160.0,298.247
17
+ 11,GRS 80,6378137.0,298.257222101
18
+ 12,Helmert 1906,6378200.0,298.3
19
+ 13,Hough 1960,6378270.0,297.0
20
+ 14,International 1924,6378388.0,297.0
21
+ 15,Krassovsky 1940,6378245.0,298.3
22
+ 16,South American 1969,6378160.0,298.25
23
+ 17,Everest (Malaysia 1969),6377295.664,300.8017
24
+ 18,Everest (Sabah Sarawak),6377298.556,300.8017
25
+ 19,WGS 72,6378135.0,298.26
26
+ 20,WGS 84,6378137.0,298.257223563
27
+ 21,Bessel 1841 (Namibia),6377483.865,299.1528128
28
+ 22,Everest (India 1956),6377301.243,300.8017
29
+ 23,Clarke 1880 Palestine,6378300.789,293.466
30
+ 24,Clarke 1880 IGN,6378249.2,293.466021
31
+ 25,Hayford 1909,6378388.0,296.959263
32
+ 26,Clarke 1858,6378350.87,294.26
33
+ 27,Bessel 1841 (Norway),6377492.0176,299.1528
34
+ 28,Plessis 1817 (France),6376523.0,308.6409971
35
+ 29,Hayford 1924,6378388.0,297.0