Questions tagged [xyz]

The XYZ file format is a chemical file format. There is no formal standard and several variations exist, but a typical XYZ format specifies the molecule geometry by giving the number of atoms with Cartesian coordinates that will be read on the first line, a comment on the second, and the lines of atomic coordinates in the following lines.

The XYZ file format is a chemical file format. There is no formal standard and several variations exist. See the Wikipedia article on the XYZ file format for more information.

51 questions
2
votes
1 answer

How can you set the extent of a XYZ source using OpenLayers 6?

I have a map with a background layer of Europe and another ( XYZ ) layer displaying a much smaller area. How can I avoid the 404 error message from the XYZ layer for tiles that don't exist? I have tried to pass: extent:…
2
votes
1 answer

RGB / XYZ and XYZ-LAB color space conversion algorithm

I tried to convert RGB color space to CIE-LAB color space. But there is a mistake. input RGB values = (50,125,50) received result LAB vaues = (41,-38,34) LAB values should be (46.41,-39.24,33.51) I checked this values from …
erncncbk
  • 59
  • 1
  • 7
1
vote
0 answers

Problem of getting url from ACF using XYZ PHP SNIPPET

I have Created a text Field (ACF) that contains an URL and would like to re-use this URL for href link, but the code below doesnt work for me:
1
vote
0 answers

OpenLayers TileLayer Extent issues on an infinitely panning map

Apologies in advance, this is my first StackOverflow question. I need to use an OpenLayers layer extent to place a boundary on a region of the map in order to prevent an XYZSource's url from trying to grab tiles that don't exist (resulting in 404…
jeffdbx
  • 11
  • 2
1
vote
1 answer

.txt XYZ coordinates into DEM - MATLAB

I have a .txt file containing x,y,z coordinates for a given landscape. I'm trying to convert it to a DEM so I can further manipulate it. So far I've been doing the conversion in ArcGIS, but Id like to do it in Matlab instead. Here is my…
Kempell
  • 21
  • 4
1
vote
2 answers

How to convert a long lat data dataframe to a xyz dataframe using R?

I want to convert the data frame below (dataset) into a xyz format, getting the longitude (x variable, the first 36 values in each column of the first row), latitude (y variable, the first 30 values in each row of the first column) and the current…
Anyone
  • 47
  • 1
  • 5
1
vote
0 answers

Creating markers from raster pixel values at Openlayers

I am creating a raster from XYZ layer using this code with latest version of Openlayers: const source = new XYZ({ url: "https://gibs-{a-c}.earthdata.nasa.gov/wmts/epsg4326/best/" + …
Buğra Otken
  • 91
  • 1
  • 8
1
vote
2 answers

Row organized raster file to Column organized raster file

I have a (2x3) raster file with the following values: -5-6 -4-5 -1-2 Normally the .xyz GIS file format would be column organised represented by the following numpy array: (coordinates are lower left corner) col =…
1
vote
1 answer

iterating, calculating, and combining two lists with multiple tuples

I am working with a projected coordinate dataset that contains x,y,z data (432 line csv with X Y Z headers, not attached). I wish to import this dataset, calculate a new grid based on user input and then start performing some statistics on points…
DMo
  • 11
  • 2
1
vote
2 answers

Python Visualising a Graph of Atoms - How to use xyz2graph to visualise different atomic species as different colors?

This is the .xyz file that I want to visualise using xyz2graph: 18 Atoms. File created from networkx graph by get_decomposition_calc_SRO1.py_edited_by_hand Ga 0.0 0.0 0.0 In 1.59 0.917986928012 2.583 In 0.0 0.0 5.166 Ga 1.59 0.917986928012 7.749 Ga…
hkh
  • 350
  • 1
  • 5
  • 13
1
vote
1 answer

Generate a heatmap in a set X, Y, Z with Z being the intensity of the color

I have a numerical set X, Y, Z and I would like to reproduce a heatmap with these values. The size of the bin is 20 x 20 and the range of the X and Y axes are from -150 to 150 with Z being the color. Within that bin it should contain the average of…
Sarah Gomes
  • 15
  • 1
  • 7
1
vote
1 answer

gdal.Translate missing spatial reference system

I am trying to convert lots of xyz file to raster, using gdal.Translate in Spyder. But I came across several problems. I first try with convert only one xyz file. Code is like: import os from osgeo import gdal,osr xyz =…
Xue
  • 65
  • 11
1
vote
1 answer

Using python can I parallel duplicate a line of x,y,z points, so that x and z remain the same and y increases by a specified spacing?

I have a line in x,y,z format. I would like to duplicate the line in parallel with increasing y values. For example I have: x,y,z 320300,6225380,-8.8 320310,6225380,-8.8 320320,6225380,-8.8 There are about 2000 entries. I would…
Kaya Wilson
  • 53
  • 1
  • 6
1
vote
0 answers

How is the cieplot 1931 chromaticity diagram calculated in matlab?

I'm completely baffled by the chromaticity diagram calculation in matlab. It is found here code found here. The xyz to srgb conversion is standard.. though it seems to be missing an illuminant adaptation. function [rgb] = xyz2srgb(xyz) M = […
Union find
  • 7,759
  • 13
  • 60
  • 111
0
votes
0 answers

How to using SampleICC to Convert XYZ Values to RGB Values with ICC Profile

I've been working on a piece of code that does precisely this. I input a color value, either RGB or CMYK, then utilize an ICC profile—specifically AdobeRGB1998.icc for RGB and CoatedFOGRA39.icc for CMYK—coupled with a rendering intent set to…
Edward
  • 11
  • 2
1
2 3 4