6
votes
Accessing geometry in Shape files (SHP)
I will use an example to demonstrate the code. First, download the shape file "2022-05-20-delim-parcellar-aoc-shp.zip" from https://data.europa.eu/data/datasets/5aaf6b7ec751df67b0d7a87f?...
6
votes
Import YAML file into Mathematica
I wrote such a cross-platform tool to convert other formats to wolfram format: WolframExchange
Usage
...
5
votes
Import YAML file into Mathematica
I just wrote an importer: https://github.com/zbjornson/MYaml. It's built on SnakeYAML and supports all language-independent types.
Example 2.10 from the spec:
...
3
votes
How to make Import recognize a new file extension?
Here's a nice trick. We can simply figure out how FileFormat works and write a little wrapper, which frees us from overloading ...
1
vote
Interpolation error to generate a two variable function
You won't have much luck attempting to use interpolation using both $X$ and $Y$ with any software package. Here is a plot of your data:
...
1
vote
Accepted
Strange behavior exporting UnsignedInteger64 in HDF5 format
This is, unfortunately, a bug in HDF5 Export, which we will try to fix in the next release of the Wolfram Language.
A workaround for versions 12.3.1 and below is to use (undocumented) ...
1
vote
Import structure from Matlab into Mathematica 12 and nested lookup
Your P has reproduced your Structs as Associations but embedded them in some frustrating ...
1
vote
Getting EPS imports to respect the original fill rule
We're getting closer. In Mathematica 12, there are now more filling rules available. The documentation of the new function WindingPolygon lists the following:
The ...
1
vote
Converting other C++ classes to MTensor in LibraryLink
As @halirutan said, it is not possible to take already allocated memory and return it to Mathematica. The LibraryLink API does not provide any access to Mathematica's memory management (like malloc, ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
data-format × 40import × 18
export × 6
data × 4
graphics × 3
performance-tuning × 3
data-structures × 3
data-acquisition × 3
plotting × 2
list-manipulation × 2
numerics × 2
bugs × 2
formatting × 2
curated-data × 2
excel × 2
save × 2
databaselink × 2
hdf5-format × 2
differential-equations × 1
function-construction × 1
mathematical-optimization × 1
fitting × 1
image-processing × 1
programming × 1
evaluation × 1