Giter Site home page Giter Site logo

bhare1985 / windwalker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cartodb/windshaft

2.0 2.0 1.0 4.86 MB

A node.js dynamic map tile server that can connect to ODBC connections, with CartoCSS styling

License: BSD 4-Clause "Original" or "Old" License

JavaScript 99.47% Batchfile 0.53%

windwalker's People

Contributors

bhare1985 avatar javisantana avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

arethasamuel

windwalker's Issues

Setup dev/production environment variable understanding

This will determine rather or not to hide errors by default, user can always override though.
Look at standard if its normal to log errors or not with env variable, don't want to confuse people that it acts one way in dev and not the same way in production, with the exception of maybe security concerns (showing errors as a tile response)

Allow non-database datasources to have custom styles

Reuse as much of grainstore as possible o allow allow non-database datasources to go through grainstore. Would be able to provide a remote zipped shape file and supply a .mss style without having to create a mml file.

This required mml file support first

format from URL

Make sure format from URL is working correctly and investigate all possibilities and make sure they are valid. Throw an error for bad formats. Also if format is supplied then take it as an override despite the request extention.

Consider json and js too for utfgrids

Return 204 no content for empty tiles

Return HTTP header 204 with no payload when mapnik has no data for the tile. This in turn should/can be taken advantage of for user interface map libraries not to request a utf grid for that tile.

Requests for grids returns valid json with no data

Currently tilelive-mapnik will throw an error, which windshaft intercepts and doesnt give a json. Unit tests prefer valid jason when a request is made, but without data. Not sure which one is better at this time.

Allow for templated request sql

Instead of taking the SQL sent as a request as a brand new sql, assume it is a wrapper to the existing SQL and allow queries like SELECT TOP 10 * FROM %TABLE% where %TABLE% is the subquery of the original SQL.

Error handling

Allow them to specify error handling via express and improve the log errors and error trace to use object

ODBC and database auto detect

Make sure ODBC connections will correctly get put into the mapnik xml. Default mssql to ODBC and possibly add support for additional mapnik datasource/connections via plugins to Windwalker. For example using mssql-mapnik would be a simply nodejs package that windwalker would automatically know how to inject the input file where they need it.

Start off with ODBC and mssql and then include from a huge list of possible mapnik plugins that can be used.

Remove underscore

Remove underscore in favor of lodash. Make sure all underscore functions are working properly with lodash.

Allow MML files to be provided

Use millistone to be able to take in a .mml file.

I don't think modifying grainstore is worth while, instead make a wrapper including grainstore that encompasses all 3 inputs (grainstore/mml (millstone)/xml)

  • Take in local mml file with local datasource
  • Take in local mml file with remote datasource
  • Take in local mml file with remote zipped datasource
  • Take in remote mml file and treat it like a local mml file

replace minzoom and maxzoom

'maxzoom' is deprecated and will be removed in Mapnik 4.x, use 'maximum-scale-denominator'

Modify grainstore/carto/millstone as needed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.