nanocell / s2-geometry-library Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/s2-geometry-library
Automatically exported from code.google.com/p/s2-geometry-library
What steps will reproduce the problem?
1. Add the following test to s2polygonbuilder_test.cc:
TEST(S2PolygonBuilder, Basic) {
std::vector<uint64> cell_ids({1152921504606846976ULL,
3458764513820540928ULL,
5764607523034234880ULL,
8070450532247928832ULL,
10376293541461622784ULL,
12682136550675316736ULL});
S2PolygonBuilder builder(S2PolygonBuilderOptions::DIRECTED_XOR());
for (uint64 val : cell_ids) {
S2Loop cell_loop{S2Cell(S2CellId(val))};
builder.AddLoop(&cell_loop);
}
S2Polygon polygon;
ASSERT_TRUE(builder.AssemblePolygon(&polygon, NULL));
ASSERT_GT(polygon.num_loops(), 0); // <- fails here
}
The test fails though at it should pass since those s2cells have boundary.
it seems that the builder does not handle properly the adding of edges.
Original issue reported on code.google.com by [email protected]
on 20 May 2013 at 6:31
some trivial misspellings
Original issue reported on code.google.com by [email protected]
on 9 May 2013 at 7:50
Attachments:
Compilation fails on recent versions of MacOS.
Multiple sources of problems:
-DOS_MACOSX missing in Makefile
- Usage of lots of nonstandard include files:
* base/port.h:#include <byteswap.h>
* base/stl_decl_macosx.h:
#include <bits/stl_tempbuf.h>
#include <ext/functional>
#include <ext/hash_fun.h>
#include <ext/hashtable.h>
I'm using the current version of s2-geometry-library.
Will be happy to help, owners/admins please let be in touch if interested.
OS and compiler:
$ uname -a
Darwin gwesp 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014;
root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
$ g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
Original issue reported on code.google.com by [email protected]
on 24 Feb 2015 at 6:26
Documentation page should be added to this site. At least linking to this:
https://docs.google.com/presentation/d/1Hl4KapfAENAOf4gv-pSngKwvS_jwNVHRPZTTDzXX
n6Q/edit#slide=id.i0
Original issue reported on code.google.com by [email protected]
on 4 Feb 2013 at 8:00
What steps will reproduce the problem?
1. N/A
What is the expected output? What do you see instead?
This is a very useful library and it is unfortunate that it has had no updates
in 4+ years. I do understand that not all software gets continued maintenance,
and that no good deed goes unpunished, but I would appreciate a clear statement
about whether there is any intention of fixing issues in this library, or
whether pulls/patches would be accepted, or whether the project is officially
abandoned.
A related question: Will this project be exported to github under the google
organization ahead of the upcoming decommissioning of Google Code?
What version of the product are you using? On what operating system?
Latest rev, many platforms
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 2 Apr 2015 at 2:31
What steps will reproduce the problem?
1. try to build the pywraps2 python module
What is the expected output? What do you see instead?
Expected is that there are a target in the Makefile that produces it.
There are no such target.
vector_output_helper is missing.
What version of the product are you using? On what operating system?
latest'n'greatest, from hg, on ubuntu 13.10
Please provide any additional information below.
managed to find
http://or-tools.googlecode.com/svn/trunk/src/base/python-swig.cc and glue
togeather something that almost works.
Original issue reported on code.google.com by [email protected]
on 27 Feb 2014 at 4:35
What steps will reproduce the problem?
1. Open the makefile
2. look at /home/tudorh/usr at the top.
Original issue reported on code.google.com by [email protected]
on 4 Oct 2012 at 7:14
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.