Browse our Products
Aspose.GIS for for Python via .NET 26.7 Release Notes
This page contains release notes information for Aspose.GIS for Python via .NET 26.7.
Full List of Issues Covering all Changes in this Release
| Key | Summary | Category |
|---|---|---|
| GISPYTHON- | Gdb To GeoPackage - SQLite Error 1 syntax error | Bug |
| GISPYTHON- | Exception During Conversion Shapefile to MapInfoTab | Bug |
| GISPYTHON- | Improve CSV parser empty-field handling | Bug |
| GISPYTHON- | Improvement of conversion logging details to find the errors data | Bug |
| GISPYTHON- | Add regression test for TopoJSON to GML conversion | Bug |
| GISPYTHON- | CSV to MapInfo TAB conversion succeeds, but QGIS does not see output attributes | Bug |
Public API and Backward Incompatible Changes
Following members have been added:
- P:Aspose.Gis.Formats.TopoJson.TopoJsonOptions.TrimTo2DGeometry
Following members have been removed:
- None
Usage examples:
**PSDPYTHON-314. Gdb To GeoPackage - SQLite Error 1 syntax error **
source_path = "national_monuments_wgs84.gpx"
destination_path = "output_national_monuments_wgs84.gpx"
# Ensure conversion does not raise an exception
VectorLayer.convert(source_path, Drivers.gpx, destination_path, Drivers.gpx)GISPYTHON-315. Exception During Conversion Shapefile to MapInfoTab
options = ConversionOptions()
topo_options = TopoJsonOptions()
topo_options.trim_to_2d_geometry = True
options.destination_driver_options = topo_options
source_path = "מחוזות מאוחד.shp"
destination_path = "output.json"
VectorLayer.convert(source_path, Drivers.shapefile, destination_path, Drivers.topo_json, options)GISPYTHON-316. Improve CSV parser empty-field handling
source_path = "מחוזות מאוחד.shp"
destination_path = "output.mif"
VectorLayer.convert(source_path, Drivers.shapefile, destination_path, Drivers.map_info_interchange)
with VectorLayer.open(destination_path, Drivers.map_info_interchange) as layer:
assert layer.count == 6
assert layer.attributes.count == 4GISPYTHON-317. Improvement of conversion logging details to find the errors data
source_path = "1.osm"
destination_path = "output.gml"
VectorLayer.convert(source_path, Drivers.osm_xml, destination_path, Drivers.gml)
gmlOpt = GmlOptions()
gmlOpt.restore_schema = True
with VectorLayer.open(destination_path, Drivers.gml, gmlOpt) as layer:
assert layer.count == 30
assert layer.attributes.count == 37GISPYTHON-318. Add regression test for TopoJSON to GML conversion
source_path = "1.osm"
destination_path = "output.mif"
VectorLayer.convert(source_path, Drivers.osm_xml, destination_path, Drivers.map_info_interchange)
with VectorLayer.open(destination_path, Drivers.map_info_interchange) as layer:
assert layer.count == 30
assert layer.attributes.count == 36GISPYTHON-319. CSV to MapInfo TAB conversion succeeds, but QGIS does not see output attributes
source_path = "1.osm"
destination_path = "output.mif"
VectorLayer.convert(source_path, Drivers.osm_xml, destination_path, Drivers.map_info_interchange)
with VectorLayer.open(destination_path, Drivers.map_info_interchange) as layer:
assert layer.count == 30
assert layer.attributes.count == 36