Re: [OSM-dev] Kothic JS - a full-featured JavaScript map rendering engine using HTML5 Canvas
And my question: how do you actually retrieve the vector OSM data to a browser? And in what form - the pure OSM model or something adapted for Kothic? Great work, BTW. Igor On Sat, Jun 11, 2011 at 8:25 AM, Frederik Ramm frede...@remote.org wrote: Hi, Komяpa wrote: Glad to announce the first release of Kothic JS map rendering engine. That looks quite impressive. Are the vector tiles generated live or are they pre-rendered? How long does it take to compute the tiles? Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Kothic JS - a full-featured JavaScript map rendering engine using HTML5 Canvas
Hi, 2011/6/11 Frederik Ramm frede...@remote.org: That looks quite impressive. Are the vector tiles generated live or are they pre-rendered? Vector tiles are served from cache if it is available there, and are generated on the fly if there's nothing in cache. Minsk, the default city on demo map, is in cache entirely. How long does it take to compute the tiles? Longer than usual OSM mapnik, faster than komap-generated Mapnik stylesheet - it doesn't have to work around of lots of Mapnik's problems. No load balancing / throttling are implemented on serverside for now - tirex/renderd could be useful if they will let tiles be non-images. Basically, if you render tens of styles on the same server, kothic-js will be more effective than mapnik - data is fetched from database already by the time user needs to render tiles in a second/third/...th way. -- Darafei Komяpa Praliaskouski OSM BY Team xmpp:m...@komzpa.net mailto:m...@komzpa.net ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Kothic JS - a full-featured JavaScript map rendering engine using HTML5 Canvas
On Sat, Jun 11, 2011 at 12:47, Komяpa m...@komzpa.net wrote: That looks quite impressive. Are the vector tiles generated live or are they pre-rendered? Vector tiles are served from cache if it is available there, and are generated on the fly if there's nothing in cache. Minsk, the default city on demo map, is in cache entirely. I see you suggest here: https://github.com/kothic/kothic-js/wiki/Tiles-format to use osm2pgsql PostGIS database to transform osm data to the needed format. Is there a way to transform a .osm file to a tile vector without going through postgis? -- -S ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Kothic JS - a full-featured JavaScript map rendering engine using HTML5 Canvas
2011-06-11 Komяpa wrote: Vector tiles are served from cache if it is available there, and are generated on the fly if there's nothing in cache. Minsk, the default city on demo map, is in cache entirely. From your wiki[1] and the example tiles linked there I get the impression that the vector tiles contain plain OSM tags. To what extent are tags and features in there filtered or otherwise optimized based on the stylesheet(s) used by the client renderers? I'm asking because it would be even more awesome if you could use the same set of vector tiles for completely different map styles, or switch between, say, name:ru and name:en for labels purely client-side. -- Tobias Knerr [1] https://github.com/kothic/kothic-js/wiki/Tiles-format ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Kothic JS - a full-featured JavaScript map rendering engine using HTML5 Canvas
Hi all, Glad to announce the first release of Kothic JS map rendering engine. There's live demo on http://kothic.org/js/ Main features are: * Pure javascript - no closed-source proprietary components like Silverlight or Flash; * Crossbrowser and cross-platform - works wherever you've got JavaScript and Canvas; * Rendering quality is superb and is on par with server-side renderers like Mapnik; * MapCSS support - reuse your stylesheet in other renderer, like Mapnik (using komap preprocessor), Halcyon or JOSM. * BSD license. GitHub repo: https://github.com/kothic/kothic-js (contributions welcome!) Core contributors: Darafei Praliaskouski (me=Komzpa, RDC ScanEx) Vladimir Agafonkin (Mourner, CloudMade) Maksim Gurtovenko (Miroff) PS: June 10th, it's my birthday :3 -- Darafei Komяpa Praliaskouski OSM BY Team xmpp:me at komzpa.net mailto:me at komzpa.net ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev