Browse our Products

Aspose.GIS for for Python via .NET 26.5 Release Notes

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
GISPYTHON-81Object reference not set to an instance of an object during GPX-to-GPXBug
GISPYTHON-80Shapefile To TopoJson - Results Does Not See in QGISBug
GISPYTHON-82Shapefile To MapInfoInterChange - Results Does Not See in other solutionsEnhancement
GISPYTHON-83GML to MapInfoInterchange Corrupted in other solutionsBug
GISPYTHON-84Osm To MapInfoInterChange - Results Does Not See in other solutionsBug

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 == 4

GISPYTHON-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 == 37

GISPYTHON-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