Giter Club home page Giter Club logo

maptools's Introduction

Signal K

signal-k-logo-tagline

Signal K is a modern and open data format for marine use. Built on standard web technologies including JSON, WebSockets and HTTP, Signal K provides a method for sharing information in a way that is friendly to WiFi, cellphones, tablets and the Internet. A format available to everyone, where anyone can contribute, Signal K is the first truly open data format for the marine industry and is set to revolutionize how we consume and interact with data on boats.

https://signalk.org

maptools's People

Contributors

rberliner avatar rob42 avatar tblanchard avatar tkurki avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

maptools's Issues

Build failure on OSX - junit imports in KAPProcessor

Stray junit imports in KAPProcessor prevents building unless test target is invoked.

Also, java version defaults to 1.5 in the mvn that comes on yosemite so I had to add a plugin reference for the build section to specify java 1.7.

Pull request forthcoming.

Some openseamap charts dont convert.

Somehow the image is corrupted as its converted from the KAP format to PNG format. This only happens for some files. Needs some-one who understands image format reading/converting

Example:
InstalManager INFO run Processing /home/robert/temp/OSM-OpenCPN-KAP2-Baltic-20170112-0651/OSM-OpenCPN-KAP2-Baltic-20170112-0651/L10-288-568-16-32_1.kap
ProcessingPanel INFO process Processing /home/robert/temp/OSM-OpenCPN-KAP2-Baltic-20170112-0651/OSM-OpenCPN-KAP2-Baltic-20170112-0651/L10-288-568-16-32_1.kap
ChartProcessor INFO processKapChart Chart dir:/home/robert/temp/OSM-OpenCPN-KAP2-Baltic-20170112-0651/OSM-OpenCPN-KAP2-Baltic-20170112-0651/L10-288-568-16-32_1
KAPParser DEBUG loadHeader reference x= 0 y= 0 lat=61.606396 lon19.687500
KAPParser DEBUG loadHeader reference x=8192 y= 0 lat=61.606396 lon30.937500
KAPParser DEBUG loadHeader reference x=8192 y=4096 lat=58.813742 lon30.937500
KAPParser DEBUG loadHeader reference x= 0 y=4096 lat=58.813742 lon19.687500
KAPParser DEBUG loadHeader ply lat=61.606396 lon=19.687500
KAPParser DEBUG loadHeader ply lat=61.606396 lon=30.937500
KAPParser DEBUG loadHeader ply lat=58.813742 lon=30.937500
KAPParser DEBUG loadHeader ply lat=58.813742 lon=19.687500
255
255
java.lang.ArrayIndexOutOfBoundsException: 255java.lang.ArrayIndexOutOfBoundsException: 255

at com.sun.imageio.plugins.png.PNGImageWriter.encodePass(PNGImageWriter.java:842)	

   InstalManager INFO  run Elapsed time 4.553

at com.sun.imageio.plugins.png.PNGImageWriter.write_IDAT(PNGImageWriter.java:942)	
at com.sun.imageio.plugins.png.PNGImageWriter.write(PNGImageWriter.java:1158)
at javax.imageio.ImageWriter.write(ImageWriter.java:615)
at javax.imageio.ImageIO.doWrite(ImageIO.java:1612)	
at javax.imageio.ImageIO.write(ImageIO.java:1536)	
at org.signalk.maptools.KAPParser.saveAsPNG(KAPParser.java:1586)
at org.signalk.maptools.KAPParser.loadHeader(KAPParser.java:1181)	
at org.signalk.maptools.KAPParser.<init>(KAPParser.java:429)	
at org.signalk.maptools.KapProcessor.createTilePyramid(KapProcessor.java:102)	
at nz.co.fortytwo.freeboard.installer.ChartProcessor.processKapChart(ChartProcessor.java:192)	

This bug sounds similar, https://bugzilla.redhat.com/show_bug.cgi?id=662230
Relevant code is in maptools project line 641 getImage() method.

png tiles not created

Am struggling with this. Builds OK but doesn't create the tile pngs either at all or properly. Am trying to convert 6161.kap within the Stockholm archipelago. Directory structure and top level files get created but the tile pngs never get created because they are considered 'out of bounds' by the create image function in the KAPP processor..

Even the default NZ kaps included with the distribution don't get created ok. The pngs seem to get created but they are blank. No errors in the build log.
Any ideas? What am I doing wrong?

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.