Aspatial Support
Support for aspatial data (ie. SQLite tables/views without a geometry column), potentially with associated metadata.
[root] | |
name = "example" | |
version = "0.1.0" | |
dependencies = [ | |
"iron 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "conduit-mime-types" | |
version = "0.7.3" |
#![feature(net)] | |
extern crate hyper; | |
use hyper::server::{Fresh, Request, Response, Server}; | |
use std::net::{IpAddr}; | |
fn main() { | |
// Set up the server | |
let mut listening_server = Server::http(move |_: Request, handler_res: Response<Fresh>| |
#! /bin/bash | |
cd "$(dirname "$0")" | |
outfile='output.prof' | |
echo -e "from dandelion.utils.browsers import BrowserCapabilities\nimport cProfile\ncProfile.run('BrowserCapabilities()', '$outfile')\n" | python | |
echo -e "import pstats\np = pstats.Stats('$outfile')\np.sort_stats('time').print_stats(50)" | python |
--- a/platforms/ubuntu/debian/rules | |
+++ b/platforms/ubuntu/debian/rules | |
@@ -22,3 +22,7 @@ build: | |
include /usr/share/cdbs/1/rules/debhelper.mk | |
+nodeVersion = $(shell dpkg -p nodejs | grep Version: | awk '{print $$2}') | |
+mapnikVersion = $(shell dpkg -p libmapnik | grep Version: | awk '{print $$2}') | |
+ | |
+DEB_DH_GENCONTROL_ARGS_ALL = -- -Vtilemill:Depends="nodejs (=$(nodeVersion)), libmapnik (=$(mapnikVersion))" |
diff --git a/lib/millstone.js b/lib/millstone.js | |
index 562bbf5..f4da54e 100644 | |
--- a/lib/millstone.js | |
+++ b/lib/millstone.js | |
@@ -905,6 +905,8 @@ function flush(options, callback) { | |
module.exports = { | |
resolve: resolve, | |
+ cachepath: cachepath, | |
+ localize: localize, |
srid | name | srtext | |
--------+-------------------------------------------------------+-------------------------------------------------------------------------------------------- |