projgeom

package module
v0.0.0-...-34e9fba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2015 License: GPL-3.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

projgeom

Go library for geodesic reprojections of Open GIS Consortium-style geometry objects.

Documentation

Overview

Package projgeom is performs geodesic reprojections on Open GIS Consortium style geometry objects. It is an interface between

"github.com/pebbe/go-proj-4/proj"

and

"github.com/twpayne/gogeom/geom"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadPrj

func ReadPrj(f io.Reader) (gdal.SpatialReference, error)

ReadPrj reads an ESRI '.prj' projection file and creates a corresponding spatial reference.

Types

type CoordinateTransform

type CoordinateTransform struct {
	// contains filtered or unexported fields
}

func NewCoordinateTransform

func NewCoordinateTransform(src, dst gdal.SpatialReference) (
	ct *CoordinateTransform, err error)

func (*CoordinateTransform) Reproject

func (ct *CoordinateTransform) Reproject(g geom.T) (geom.T, error)

type UnsupportedGeometryError

type UnsupportedGeometryError struct {
	Type reflect.Type
}

func (UnsupportedGeometryError) Error

func (e UnsupportedGeometryError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址