Coder Social home page Coder Social logo

Comments (8)

jbeezley avatar jbeezley commented on July 28, 2024

I think this is resolved. There is no configuration for adjusting the supersampling, but resolution has been bumped up about as much as is reasonably possible.

from geojs.

jeffbaumes avatar jeffbaumes commented on July 28, 2024

When looking at

http://opengeoscience.github.io/minerva/

I am seeing very low-res data when zooming on a large-resolution monitor in full screen mode. This seems to be the highest-resolution image I can get:

screen shot 2014-11-07 at 12 25 51 pm

Is the transition point percent-of-window based instead of pixel-based? When I have a much smaller browser window I can get tiles that more closely match pixels and it looks better.

from geojs.

jbeezley avatar jbeezley commented on July 28, 2024

I think you're right. The initial view depends on the vertical size of the canvas. We should really make it so that the scale (pixels per gcs unit) is independent of the canvas size at each zoom level.

from geojs.

aashish24 avatar aashish24 commented on July 28, 2024

@jeffbaumes what you are seeing is the artifcat of sampling which is not matching up with the image resolution. One of the reason is that we doing it in pespective mode. I will be looking at this issue more closely once I am done finishing up some clean up work in webgl world which may help with this as well.

from geojs.

jeffbaumes avatar jeffbaumes commented on July 28, 2024

@aashish24 I do not think this is just sampling, images would look clearer with higher-res tiles. For example look at the tip of a yellow triangle zoomed below. Image pixels are ~4 screen pixels.

screen shot 2014-11-07 at 1 00 04 pm

from geojs.

aashish24 avatar aashish24 commented on July 28, 2024

Are you talking about gradient (like anti-aliased)? That would be sampling artifact as well as its trying to sample the data for those pixel locations. Or may be something else you are referring to which I didn't get int this image.

from geojs.

jbeezley avatar jbeezley commented on July 28, 2024

With #318 in, the image quality is much better. Have a look at the updated examples page. This causes the tile levels to be chosen correctly according to the viewport size. As @aashish24 has noted in the PR, there are some artifacts due to having a non-orthographic projection.

http://opengeoscience.github.io/geojs/examples/index.html

from geojs.

jbeezley avatar jbeezley commented on July 28, 2024

With #421, I think we can finally close this for real. I put up a demo here using the parallel projection and discrete zoom to display the tile images without any interpolation. Note to touchpad users, the zoom interaction is overly sensitive (issue #424).

from geojs.

Related Issues (20)

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.