Skip to content

Instantly share code, notes, and snippets.

View nuest's full-sized avatar

Daniel Nüst nuest

View GitHub Profile
Catalog cat = new Catalog(workingDir + "feature/test.gpx");
String[] catItems = {"route_points", "route_points", "routes", "routes", "track_points", "track_points",
"tracks", "tracks", "waypoints", "waypoints"};
for(int i=0;i<catItems.length;++i)
assertEquals(catItems[i], cat.items().get(i));
assertTrue(cat.isValid());
FeatureCoverage trks = FeatureCoverage.toFeatureCoverage( cat._getitem("tracks") );
assertTrue(trks.isValid());
FeatureIterator it = trks.iterator();
assertEquals(1, trks.featureCount());
@nuest
nuest / contribute.md
Last active August 29, 2015 14:17
ows.js contribute.md

This is the contribute.md of the project ows.js. Great to have you here! Here are a few ways you can help!

Contribute.md

This page describes what you need to know to contribute code to ol3 as a developer, documenter or bug reporter.

Contributing Code

Our preferred means of receiving contributions is through pull requests since we use the fork & pull development model. Make sure that your pull request follows our pull request guidelines below before submitting it.