[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave GIS integration

From: Philip Nienhuis
Subject: Re: Octave GIS integration
Date: Tue, 25 Nov 2014 12:20:13 -0800 (PST)

shash wrote
> I recently found out there is no in-built functions for reading and
> writing shape and geotiff files in Octave. I am currently doing a project
> with a defense lab and I need these functions. I am willing to do it for
> Octave.  Can somebody help me putting it inside Octave? 

There's the m_Map package, http://www.eos.ubc.ca/~rich/private/
Chances are it may well suit your needs.

It works (to some extent) in contemporary Octave, but at the time (a year
ago or so) I could't link the output formats of e.g., m_shaperead to the
tools and formats we have at work (developed for Matlab in the course of
over a decade or more).

Incidentally, I've been busy with functions "shaperead", "shapeinfo",
"shapeplot" the last weeks. My idea was to put them in the (currently
unmaintained) mapping package and make a new release of that within a few
Because "shapeplot" isn't ML-compatible and on request of Carnë, I've also
made wrapper functions "mapshow" and "geoshow" with basic functionality.
The function "dbfread" (required for shaperead) is in the just released io
package version 2.2.5.

My shaperead as it stands can do a little more than ML's, it also reads ...M
and ...Z shape variants and MultiPatch. I was busy with clipping for
BoundingBox (ML doesn't do that either) but that is harder than I hoped as
regards ..M and ...Z Point/Vertex values.
Plotting presently only works for lines and polygon outlines, filled isn't
possible yet (but half an hour of work will take care of the basics).

Plans for writing shapefiles I have (in vague form), but then also dbfwrite
is required and dbfread hasn't even been put to the test yet :-)

As to geotiff files, I have no plans, but it looks like you do?

If you would like to be cooperate in some way, just drop me an email.


View this message in context: 
Sent from the Octave - Maintainers mailing list archive at Nabble.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]