Browse our Products
Aspose.GIS for for Python via .NET 26.5 Release Notes
This page contains release notes information for Aspose.GIS for Python via .NET 26.5.
Full List of Issues Covering all Changes in this Release
| Key | Summary | Category |
|---|---|---|
| GISPYTHON-81 | Object reference not set to an instance of an object during GPX-to-GPX | Bug |
| GISPYTHON-80 | Shapefile To TopoJson - Results Does Not See in QGIS | Bug |
| GISPYTHON-82 | Shapefile To MapInfoInterChange - Results Does Not See in other solutions | Enhancement |
| GISPYTHON-83 | GML to MapInfoInterchange Corrupted in other solutions | Bug |
| GISPYTHON-84 | Osm To MapInfoInterChange - Results Does Not See in other solutions | 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:
GISPYTHON-81. Object reference not set to an instance of an object during GPX-to-GPX
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-80. Shapefile To TopoJson - Results Does Not See in QGIS
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-82. Shapefile To MapInfoInterChange - Results Does Not See in other solutions
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-83. GML to MapInfoInterchange Corrupted in other solutions
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-84. Osm To MapInfoInterChange - Results Does Not See in other solutions
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