Versions in this module Expand all Collapse all v1 v1.1.5 Sep 16, 2025 Changes in this version + func ConvertDXFToGeoJSON2(dxfFilePath string) (*geojson.FeatureCollection, string) + func ConvertGeoJSONToSHP(GeoData *geojson.FeatureCollection, shpfileFilePath string) + func ConvertGeoJSONToSHP3(GeoData *geojson.FeatureCollection, shpfileFilePath string) + func ConvertPointToArrow(pics []models.GeoPic, shpfileFilePath string) + func ConvertPolygonToMultiPolygon(points []shp.Point, parts []int32) (orb.MultiPolygon, string) + func ConvertSHPToGeoJSON2(shpfileFilePath string) (*geojson.FeatureCollection, string) + func CoordTransform4326To4523(x, y float64) (x1, y1 float64) + func CoordTransformAToB(x float64, y float64, A string, B string) (x1, y1 float64) + func DatToGeojson(FilePath string) (*geojson.FeatureCollection, string) + func FindFiles(root string, Exc string) []string + func GbkToUtf8(s string) string + func GeoJsonTransformTo4326(original *geojson.FeatureCollection, EPSG string) (*geojson.FeatureCollection, error) + func GeoJsonTransformToCGCS(original *geojson.FeatureCollection) (*geojson.FeatureCollection, error) + func GetFeatureString(originals []*geojson.Feature) string + func GetGeometryString(original *geojson.Feature) string + func IsClockwise(points []orb.Point) bool + func KmlToGeojson(path string) (*geojson.FeatureCollection, string) + func SplitPoints(points []shp.Point, parts []int32) [][]shp.Point + func StringToCoords(Coords string) []orb.Point + func TrimTrailingZeros(input string) string + func TxtToGeojson(FilePath string) (*geojson.FeatureCollection, string) + func Utf8ToGbk(input string) []byte + type ConvertedPoint struct + Lat float64 + Lng float64 + type Document struct + Folder Folder + Name string + Placemark []Placemark + Schema Schema + Visibility int + type ExtendedData struct + SchemaData SchemaData + type Folder struct + ID string + Name string + Placemark []Placemark + type GeometryData struct + GeoJSON []byte + Lenth float64 + type IconStyle struct + Scale float32 + type Kml struct + Document Document + XMLName xml.Name + type LabelStyle struct + type LineStyle struct + Color string + LabelVisibility int + Width int + type Placemark struct + Description string + ExtendedData ExtendedData + ID string + LineString *KmlGeo.LineString + MultiGeometry *KmlGeo.MultiGeometry + Name string + Point *KmlGeo.Point + Polygon *KmlGeo.Polygon + Style Style + type Point struct + X float64 + Y float64 + func RotatePoint(A, B Point, angle float64) Point + type Schema struct + ID string + Name string + SimpleField []SimpleField + type SchemaData struct + SimpleData []SimpleData + type ShapeData struct + Attributes map[string][]byte + GeomType string + Shape shp.Shape + type SimpleData struct + Name string + Value string + type SimpleField struct + DisplayName string + Name string + Type string + type Style struct + IconStyle IconStyle + LabelStyle LabelStyle + LineStyle LineStyle