Comments (2)
Thanks so much for the documentation at
https://github.com/eurostat/gridviz/blob/master/docs/tiledformat.md
I am trying to get a grip on this and prepare my data accordingly using Pandas, however, here's where I struggle:
- Why isn't
originPoint
the xMin and yMin oftilingBounds
- Is the gridded data referenced by their cell center or as INSPIRE defines by the lower left corner? If the former is the case, then would one have to add/substract half of
resolutionGeo
to the min/max of a gridded dataset to gettilingBounds
? - does the value for
tileSizeCell
have to be a power of two (64, 128, 256) for computational effectiveness or how does one chose the value? - what are the coordinates for grid-cells within each tile, are they the same as without being tiled or are they relative to the respective tile they are in, e.g. is it comparable to how topojson works?
It's probably a lot of work but a sketch as to how this works or a link to how this is done elsewhere would be helpful.
How did you create the tiled data for the examples?
from gridviz.
Thank you for these questions: I will further improve the documentation to clarify this !
- originPoint is the geographique coordinates of the lower left point of the grid. tilingBounds refers to how the tiling frame is filled with data: Not all tiles may be provided, due to data sparsity. tilingBounds is used by the application to avoid requesting tiles where no tile is expected to be found.
- The grid cell coordinate is of the lower left corner point.
- there is no special constraint on tileSizeCell value. It is not forced to be a power of two. It should be chosen to ensure the tile size is low enough (so that it is fast enough to download and parse) and high enought (so that there are not too many tiles to be requested).
- The coordinates of the grid cells within a tile are those relative to the tile. It is an integer value within [0,tileSizeCell[ interval for both x and y. This is indeed comparable to topojson coordinates compression mechanism: the affine transform to retrieve the cell geo coordinate from the cell tile coordinate uses the tile origin geo coordinate and the resolution.
The tiled datasets here
https://github.com/jgaffuri/tiledgrids/
were created in java.
Here is the generic procedure:
https://github.com/eurostat/JGiscoTools/tree/dev/modules/gproc/src/main/java/eu/europa/ec/eurostat/jgiscotools/gridProc
Here are examples of use:
https://github.com/eurostat/JGiscoTools/tree/dev/modules/gproc/src/main/java/eu/europa/ec/eurostat/jgiscotools/gisco_processes/gridvizprep
We plan to deploy this tiling procedure there:
https://github.com/eurostat/gridtiler
from gridviz.
Related Issues (20)
- TextStyle properties behave inconsistently HOT 3
- Time series style
- When 'transparentBackground' is set to 'true', the red selection rectangle is not shown HOT 1
- Add zoom in/out button HOT 1
- Blend Modes not working in Firefox HOT 4
- GridViz with React HOT 6
- Fix tooltip position HOT 1
- BlendModes fixed in Firefox HOT 2
- Add BlendMode to Documentation HOT 1
- Control outer diameter of donut shape HOT 1
- Single CSV tooltip not working HOT 4
- Pinch to zoom not centred when embedded HOT 1
- Add line layer unclear HOT 2
- Mobile double-tap zoom bug
- visualize tif ? HOT 4
- WMS background would like to have filterColor as well HOT 2
- Combine ShapeColorSizeStyle with TextStyle HOT 5
- csv-tiling with Python, example implementation HOT 1
- Aria labels on tooltip HOT 2
- Dragging on touch starts too late (ontouchend) – with video HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gridviz.