A B C D E G H I J L M N O P R S T W

A

addRoute(Track) - Method in class net.divbyzero.gpx.GPX
Adds a track to the collection.
addSegment(TrackSegment) - Method in class net.divbyzero.gpx.Track
Adds a new segment to the track.
addTrack(Track) - Method in class net.divbyzero.gpx.GPX
Adds a track to the collection.
addWaypoint(Waypoint) - Method in class net.divbyzero.gpx.TrackSegment
Adds a new way point to the segment.
appendNearestFeatures(Generic, double) - Method in class com.reades.mapthing.Generic
Incomplete implementation -- this is supposed to allow you to select features falling within a particular distance of a polygon, but as yet I've not quite figured how to do it properly.

B

BoundingBox - Class in com.reades.mapthing
An implementation of a bounding box for Processing sketches.
BoundingBox(float, float, float, float) - Constructor for class com.reades.mapthing.BoundingBox
The default constructor creates a bounding box that assumes standard lat/long coordinates.
BoundingBox(int, float, float, float, float) - Constructor for class com.reades.mapthing.BoundingBox
Right now there's not much 'smarts' behind the use of the projection, but in future releases I plan to make this much more relevant by allowing you to use multiple projections and have the code be clever enough to reproject everything on the fly so that it 'just works' without your having to do a lot of faffing about on your own.

C

calculateDistanceTo(Waypoint) - Method in class net.divbyzero.gpx.Waypoint
Calculates the distance between this way point and another one
com.reades.mapthing - package com.reades.mapthing
 
Coordinate - Class in net.divbyzero.gpx
Coordinate for way points
Coordinate() - Constructor for class net.divbyzero.gpx.Coordinate
 
cumulativeAscent() - Method in interface net.divbyzero.gpx.Measurable
 
cumulativeAscent() - Method in class net.divbyzero.gpx.Track
Calculates the total ascent in the track.
cumulativeAscent() - Method in class net.divbyzero.gpx.TrackSegment
Calculates the total ascent in the segment.
cumulativeDescent() - Method in interface net.divbyzero.gpx.Measurable
 
cumulativeDescent() - Method in class net.divbyzero.gpx.Track
Calculates the total descent in the track.
cumulativeDescent() - Method in class net.divbyzero.gpx.TrackSegment
Calculates the total descent in the segment.

D

DEBUG - Variable in class com.reades.mapthing.BoundingBox
 
DEBUG - Variable in class com.reades.mapthing.Generic
 
DEBUG - Variable in class com.reades.mapthing.Lines
 
DEBUG - Variable in class com.reades.mapthing.Link
 
DEBUG - Variable in class com.reades.mapthing.Node
 
DEBUG - Variable in class com.reades.mapthing.Points
 
DEBUG - Variable in class com.reades.mapthing.Polygons
 
dedupe(boolean) - Method in class com.reades.mapthing.Points
Use to remove duplicates -- by geographical coordinates -- from the data you are about to show.

E

endTime() - Method in interface net.divbyzero.gpx.Measurable
 
endTime() - Method in class net.divbyzero.gpx.Track
Returns the point in time when the track was left
endTime() - Method in class net.divbyzero.gpx.TrackSegment
Returns the point in time when the segment was left

G

Generic - Class in com.reades.mapthing
This serves as a Generic template and super-class for implementations of various entity-drawing classes.
Generic(BoundingBox, <any>) - Constructor for class com.reades.mapthing.Generic
A default implementation.
Generic(BoundingBox, SimpleFeature) - Constructor for class com.reades.mapthing.Generic
A default implementation.
getBounds() - Method in class com.reades.mapthing.Generic
Get the boundary envelope of the shape file itself
getCentroids() - Method in class com.reades.mapthing.Generic
Returns the centroids of an object in a Processing sketch.
getCoordinate() - Method in class net.divbyzero.gpx.Waypoint
Returns the coordinate of the way point
getCoordinates(PApplet) - Method in class com.reades.mapthing.Lines
Return an ArrayList, each row of which contains an array of Nodes.
getCoordinates() - Method in class com.reades.mapthing.Lines
Returns an ArrayList of the raw coordinates contained in the shape file.
getCoordinates(PApplet) - Method in class com.reades.mapthing.Points
Return an ArrayList, each row of which contains a single Node object.
getCoordinates() - Method in class com.reades.mapthing.Points
Returns the raw coordinates without any transformation to fit into the sketch.
getCoordinates(PApplet) - Method in class com.reades.mapthing.Polygons
Return an ArrayList, each row of which contains an array of Nodes.
getCoordinates() - Method in class com.reades.mapthing.Polygons
Returns the raw SimpleFeature coordinates associated with the polygons as an ArrayList of coordinate arrays.
getEast() - Method in class com.reades.mapthing.BoundingBox
 
getElevation() - Method in class net.divbyzero.gpx.Waypoint
Returns the elevation of the way point
getFeatures() - Method in class com.reades.mapthing.Generic
Retrieves all features contained in the data source and returns them as a FeatureCollection.
getId() - Method in class com.reades.mapthing.Link
Get the id of the link
getId() - Method in class com.reades.mapthing.Node
Get the (preferably) unique identifier
getLatitude() - Method in class net.divbyzero.gpx.Coordinate
Returns the value for the latitude of the coordinate
getLongitude() - Method in class net.divbyzero.gpx.Coordinate
Returns the value for the longitude of the coordinate
getMultipleFeaturesById(String, String) - Method in class com.reades.mapthing.Generic
Deprecated.
getMultipleFeaturesById(String, String[]) - Method in class com.reades.mapthing.Generic
Deprecated.
getMultipleFeaturesById(String, Set<String>) - Method in class com.reades.mapthing.Generic
Deprecated.
getMultipleFeaturesByPattern(String, String) - Method in class com.reades.mapthing.Generic
Retrieves the set of features identified by a particular 'id' in a given field of a shape file and then returns it as a FeatureCollection.
getMultipleFeaturesByPattern(String, String[]) - Method in class com.reades.mapthing.Generic
Retrieves all features identified by a particular id in a given field of the shape file and then returns them as a FeatureCollection.
getMultipleFeaturesByPattern(String, Set<String>) - Method in class com.reades.mapthing.Generic
Retrieves all features identified by a particular id in a given field of the shape file and then returns them as a FeatureCollection.
getMultipleFeaturesByValue(String, double) - Method in class com.reades.mapthing.Generic
Select a set of attributes using a double-precision value instead of a SQL-like string.
getName() - Method in class com.reades.mapthing.Link
Get the name of the link
getName() - Method in class com.reades.mapthing.Node
Get the (preferably) unique name
getName() - Method in class net.divbyzero.gpx.Waypoint
Returns the name of the way point.
getNode1() - Method in class com.reades.mapthing.Link
Get the first node
getNode2() - Method in class com.reades.mapthing.Link
Get the second node
getNorth() - Method in class com.reades.mapthing.BoundingBox
 
getPolygonsWithId(String) - Method in class com.reades.mapthing.Polygons
Return a HashMap which contains all of the polygons keyed on the named ID field.
getProjection() - Method in class com.reades.mapthing.BoundingBox
 
getProjection() - Method in class com.reades.mapthing.Generic
 
getProjection(<any>) - Method in class com.reades.mapthing.Generic
 
getRoutes() - Method in class net.divbyzero.gpx.GPX
Returns the list of track that make up the collection.
getSegments() - Method in class net.divbyzero.gpx.Track
Returns the segments of which the track consists.
getSouth() - Method in class com.reades.mapthing.BoundingBox
 
getTime() - Method in class net.divbyzero.gpx.Waypoint
Returns the time stamp of the way point.
getTracks() - Method in class net.divbyzero.gpx.GPX
Returns the list of track that make up the collection.
getValue() - Method in class com.reades.mapthing.Node
A better way to get a value that is distinct from some z-value such as an altitude.
getWaypoints() - Method in class net.divbyzero.gpx.TrackSegment
Returns the way points of which the segment consists.
getWest() - Method in class com.reades.mapthing.BoundingBox
 
getX() - Method in class com.reades.mapthing.Node
The x-position of the node
getY() - Method in class com.reades.mapthing.Node
The y-position of the node
getZ() - Method in class com.reades.mapthing.Node
The z-position of the node -- you can overload this as the value of the node if you like since it doesn't have to be a geographical z-axis.
GPX - Class in net.divbyzero.gpx
GPX track collection
GPX() - Constructor for class net.divbyzero.gpx.GPX
 

H

heightFromWidth(int) - Method in class com.reades.mapthing.BoundingBox
 

I

interpolateColor(PApplet, float, float, float) - Method in class com.reades.mapthing.Generic
 
isClosed(boolean) - Method in class com.reades.mapthing.Polygons
Specify whether polygons should be drawn closed or open.
isClosed() - Method in class com.reades.mapthing.Polygons
Check whether polygons should be drawn closed or open.
isEqual(BoundingBox) - Method in class com.reades.mapthing.BoundingBox
 
isEqual(BoundingBox, float) - Method in class com.reades.mapthing.BoundingBox
 

J

JDOM - Class in net.divbyzero.gpx.parser
GPX parser based on the JDOM XML parsing toolkit
JDOM() - Constructor for class net.divbyzero.gpx.parser.JDOM
 

L

label(PApplet) - Method in class com.reades.mapthing.Points
 
labelOffset(int, int) - Method in class com.reades.mapthing.Points
 
length() - Method in interface net.divbyzero.gpx.Measurable
 
length() - Method in class net.divbyzero.gpx.Track
Calculates the length of the track
length() - Method in class net.divbyzero.gpx.TrackSegment
Calculates the length of the track segment
Lines - Class in com.reades.mapthing
Creates lines from a MultiLine shape file in ArcGIS or (still looking for test cases) x/y pairs in a CSV file.
Lines(BoundingBox, String) - Constructor for class com.reades.mapthing.Lines
Instantiate the GeoLine object with a BoundingBox and String.
Lines(BoundingBox, <any>) - Constructor for class com.reades.mapthing.Lines
Instantiate the GeoLine object with a BoundingBox and Feature Collection object.
Link - Class in com.reades.mapthing
A simple link class that holds references to two Node objects.
Link(int, Node, Node) - Constructor for class com.reades.mapthing.Link
Constructor takes two SimpleNode (or extensions of SimpleNode) objects and stores them for later retrieval.
Link(int, Node, Node, String) - Constructor for class com.reades.mapthing.Link
Constructor takes two SimpleNode (or extensions of SimpleNode) objects and stores them for later retrieval.
Link(int, Node, Node, double) - Constructor for class com.reades.mapthing.Link
Create a Link object
Link(int, Node, Node, double, String) - Constructor for class com.reades.mapthing.Link
Create a Link object

M

map(float, float, float, float, float) - Method in class com.reades.mapthing.Generic
Used by all classes to map their contents on to the plane of the sketch.
mapToScreenHeight() - Method in class com.reades.mapthing.BoundingBox
 
mapToScreenWidth() - Method in class com.reades.mapthing.BoundingBox
 
mapToScreenX() - Method in class com.reades.mapthing.BoundingBox
 
mapToScreenY() - Method in class com.reades.mapthing.BoundingBox
 
Measurable - Interface in net.divbyzero.gpx
Common interface for tracks and track segments.

N

net.divbyzero.gpx - package net.divbyzero.gpx
 
net.divbyzero.gpx.parser - package net.divbyzero.gpx.parser
 
Node - Class in com.reades.mapthing
A simple node class that holds references to a position and an identifier.
Node(int, double, double) - Constructor for class com.reades.mapthing.Node
Create a Node object
Node(int, double, double, String) - Constructor for class com.reades.mapthing.Node
Create a Node object
Node(int, double, double, double, String) - Constructor for class com.reades.mapthing.Node
Create a Node object
Node(int, double, double, double, double) - Constructor for class com.reades.mapthing.Node
Create a Node object
Node(int, double, double, double, double, String) - Constructor for class com.reades.mapthing.Node
Create a Node object

O

osgb - Static variable in class com.reades.mapthing.BoundingBox
 

P

parse(File) - Method in class net.divbyzero.gpx.parser.JDOM
 
parse(URL) - Method in class net.divbyzero.gpx.parser.JDOM
 
parse(File) - Method in interface net.divbyzero.gpx.parser.Parser
Parses a GPX file and returns the resulting GPX track collection
parse(URL) - Method in interface net.divbyzero.gpx.parser.Parser
Parses a GPX URL and returns the resulting GPX track collection
Parser - Interface in net.divbyzero.gpx.parser
Interface that all GPX file parsers must built upon
ParsingException - Exception in net.divbyzero.gpx.parser
Exception class for all GPX parsers
ParsingException(String, Throwable) - Constructor for exception net.divbyzero.gpx.parser.ParsingException
 
Points - Class in com.reades.mapthing
Creates points from a Point shape file in ArcGIS.
Points(BoundingBox, String) - Constructor for class com.reades.mapthing.Points
Instantiate the GeoLine object with a BoundingBox and String.
Points(BoundingBox, <any>) - Constructor for class com.reades.mapthing.Points
Instantiate the Points object with a BoundingBox and Feature Collection object.
Polygons - Class in com.reades.mapthing
Creates polygons from a Polygon shape file in ArcGIS.
Polygons(BoundingBox, String) - Constructor for class com.reades.mapthing.Polygons
Instantiate the GeoLine object with a BoundingBox and String.
Polygons(BoundingBox, <any>) - Constructor for class com.reades.mapthing.Polygons
Usually used to instantiate a Polygon object from within the general feature collection of the shape file so that it can be manipulated separately from the other polygons.
Polygons(BoundingBox, SimpleFeature) - Constructor for class com.reades.mapthing.Polygons
Usually used to instantiate a Polygon object from within the processing of the shape file so that it can be manipulated separately from the other polygons.
project(PApplet) - Method in class com.reades.mapthing.Lines
Draws all of the lines contained in a Lines object loaded from a file.
project(PApplet, PGraphics) - Method in class com.reades.mapthing.Lines
Draws all of the lines contained in a Lines object loaded from a file into a PGraphics object so that you can use it as a buffer.
project(PApplet, float, float) - Method in class com.reades.mapthing.Points
Draws all of the points contained in a Points object loaded from a file.
project(PApplet, PImage, float, float) - Method in class com.reades.mapthing.Points
Draws all of the points contained in a Points object loaded from a shape file.
project(PApplet, PGraphics, float, float) - Method in class com.reades.mapthing.Points
Draws all of the points contained in a Points object loaded from a file.
project(PApplet, PGraphics, PImage, float, float) - Method in class com.reades.mapthing.Points
Draws all of the points contained in a Points object loaded from a file.
project(PApplet) - Method in class com.reades.mapthing.Polygons
Draws all of the vertices contained in a Polygon object loaded from a file.
project(PApplet, PGraphics) - Method in class com.reades.mapthing.Polygons
Draws all of the vertices contained in a Polygon object loaded from a file.
projectAreas(PApplet, float, float) - Method in class com.reades.mapthing.Points
Scales the size of the point according to the value of the data associated with the point.
projectAreasAndValues(PApplet, float, float, float) - Method in class com.reades.mapthing.Points
Scales the size of the point and the colour according to the data value associated with that location.
projectValues(PApplet, float, float) - Method in class com.reades.mapthing.Lines
Apply a color scale to the the polygons so that it is possible to represent the values in a useful way.
projectValues(PApplet, float, float, float, float) - Method in class com.reades.mapthing.Points
Colours all of the points according to the specified colour scale.
projectValues(PApplet, float, float) - Method in class com.reades.mapthing.Polygons
Apply a color scale to the the polygons so that it is possible to represent the values in a useful way.

R

reverse() - Method in class com.reades.mapthing.Lines
Reverses the order of the points in a polygon.
reverse() - Method in class com.reades.mapthing.Polygons
Reverses the order of the points in a polygon.

S

setColorScale(int, int, int) - Method in class com.reades.mapthing.Generic
Apply a scale that will be used for values or categories within this object.
setColorScale(int, int, int, int) - Method in class com.reades.mapthing.Generic
Apply a scale that will be used for values or categories within this object.
setColourScale(int, int, int) - Method in class com.reades.mapthing.Generic
Apply a scale that will be used for values or categories within this object.
setColourScale(int, int, int, int) - Method in class com.reades.mapthing.Generic
Apply a scale that will be used for values or categories within this object.
setContext(BoundingBox, int, int) - Method in class com.reades.mapthing.BoundingBox
 
setCoordinate(Coordinate) - Method in class net.divbyzero.gpx.Waypoint
Sets the coordinate of the way point.
setElevation(double) - Method in class net.divbyzero.gpx.Waypoint
Sets the elevation of the way point in meters
setGlobalSimplificationThreshold(double) - Method in class com.reades.mapthing.Generic
Used by the Lines and Polygons objects to implement various types of simplification appropriate to the object being displayed.
setLabelField(String) - Method in class com.reades.mapthing.Generic
Specify the name of the column that contains the values (i.e.
setLabelField(int) - Method in class com.reades.mapthing.Generic
Specify the column position that contains the values that you want to use as a label in your Processing sketch.
setLatitude(double) - Method in class net.divbyzero.gpx.Coordinate
Sets the latitude of the coordinate
setLocalSimplificationThreshold(double) - Method in class com.reades.mapthing.Generic
Used by the Lines and Polygons objects to implement various types of simplification appropriate to the object being displayed.
setLongitude(double) - Method in class net.divbyzero.gpx.Coordinate
Sets the longitude of the coordinate
setName(String) - Method in class net.divbyzero.gpx.Waypoint
Sets the name of the way point.
setProjection(int) - Method in class com.reades.mapthing.BoundingBox
Use this if you need to manually re-set the projection for some reason.
setTime(Date) - Method in class net.divbyzero.gpx.Waypoint
Sets the time stamp of the way point.
setValueField(String) - Method in class com.reades.mapthing.Generic
Specify the name of the column that contains the values (i.e.
setValueField(int) - Method in class com.reades.mapthing.Generic
Specify the column position that contains the values that you want to use in your Processing sketch.
startingTime() - Method in interface net.divbyzero.gpx.Measurable
 
startingTime() - Method in class net.divbyzero.gpx.Track
Returns the point in time when the track was entered
startingTime() - Method in class net.divbyzero.gpx.TrackSegment
Returns the point in time when the segment was entered

T

Track - Class in net.divbyzero.gpx
A GPS track
Track() - Constructor for class net.divbyzero.gpx.Track
 
TrackSegment - Class in net.divbyzero.gpx
Track segment of a GPS track
TrackSegment() - Constructor for class net.divbyzero.gpx.TrackSegment
 
transformCoordinates(PApplet) - Method in class com.reades.mapthing.Lines
You don't normally need to call this directly, as it will be done for you when you ask for the file to be projected in the Applet.
transformCoordinates(PApplet) - Method in class com.reades.mapthing.Points
Must be called before you can display the points in a Processing sketch.
transformCoordinates(PApplet) - Method in class com.reades.mapthing.Polygons
Called before you can display the polygons in a Processing sketch.

W

Waypoint - Class in net.divbyzero.gpx
Way point for the GPS tracks.
Waypoint() - Constructor for class net.divbyzero.gpx.Waypoint
 
wgs - Static variable in class com.reades.mapthing.BoundingBox
 
widthFromHeight(int) - Method in class com.reades.mapthing.BoundingBox
 

A B C D E G H I J L M N O P R S T W

Processing library MapThing by Jon Reades. (C) 2013