Questions tagged [mapping]
Corresponding every element of a given set to a unique element of another set or it may refer to a process of creating data element mappings between two distinct data models (objects)
mapping
9,925
questions
1
vote
1
answer
22
views
Set property without mapping in mapper Java Mapstruct
I have a mapper like:
Cat toAnotherCat(Cat origin);
And I need an another mapper like that (CatsHouse has a property: Cat oneOfCats;):
CatsHouse toNewCatsHouse(CatsHouse catsHouse)
When I run Maven ...
-3
votes
1
answer
51
views
.map function in react is bringing a error [closed]
I am writing this code in which i have to map an array in some divs...
there is first code which has the mapping and the ui
import { useContext } from "react";
import "./index.scss"...
-1
votes
0
answers
20
views
Types Not Defined in new AutoMapper NuGet Package
I'm trying to update the AutoMapper NuGet package to a newer version. It looks like IMappingEngine, MappingEngine, and ConfigurationStore have been removed and all are throwing a "not defined&...
2
votes
1
answer
35
views
Rotating/angle of ggplot key_glpyh, custom legend key glyph
I am trying to emulate a plot style ive seen online, created by Chris Canipe (https://www.axios.com/2017/12/15/the-flow-of-goods-between-states-1513304375). Looking at trade flows, I've managed to ...
0
votes
1
answer
19
views
How to map EDI file looped items in Boomi?
This is my EDI file:
UNH+19472232+ORDERS:D:96A:UN:EAN008'
BGM+220::9+19472232'
DTM+137:20170823:102'
DTM+2:20171031:102'
NAD+BY+8714252029536::9'
NAD+SU+4046568000003::9'
NAD+DP+8714252029536::9'
NAD+...
0
votes
0
answers
13
views
How do you combine two json map files?
I am looking to map data across local authorities in the UK, but the only json files of LAs I have been able to find are of GB only (England, Scotland, Wales), whereas I want to include data for ...
1
vote
2
answers
75
views
Map projections using ggplot
I used Chatgpt to make a plot based on the following:
Using R, I want to create an array with 50x50 grid cells with 10 degrees spacing east-west (x coordinate) and 10 degrees north-south (y ...
0
votes
1
answer
67
views
Mapping nested JSON Object to SQL table through Data flow in Azure Data Factory
I have a JSON object containing a nested array without keys. I want to extract all elements from this nested array, assign each element to a separate column with appropriate names, and sink the data ...
0
votes
0
answers
18
views
bulk convert lon lat coordinates to EPSG 3031 (antarctic) coordinates using python
I am trying to write a code that will bulk convert lon lat coordinates to EPSG 3031 so that I can plot them in the Polar ToolKit through Python. I have lon lat coordinates on an excel sheet. How can ...
0
votes
1
answer
44
views
mapstruct, nested classes avoid writing mapper for each nested class
I have source and target classes that look like this
class UserHistorySource {
private DetailsSource details;
}
and
class DetailsSource {
private List<BalanceSource> balance;
private ...
0
votes
0
answers
64
views
DataByte to List<int> using map function?
I have a buffer byteBuffer in ByteData format that is 500 bytes long. It's a list of 250 Uint16 values. I can convert it to List using a loop with the following code (and it works).
List<int> ...
0
votes
1
answer
59
views
Adding Census Tract to a dataframe based on Latitude and Longitude
I have a large dataset, with two of the following columns:
Latitude Longitude
39.18207 -76.53715
39.18207 -76.53715
39.17810 -76.52680
39.17810 -76.52680
39.17810 ...
1
vote
0
answers
30
views
connecting and disconnecting to OPCUA server not working
So in my while loop, in the first iteration i do get values for PLC Phoenix Contact and Bachman 1, but when trying to re iterate for the second time, it gives me an error for both PLC' stating
'An ...
0
votes
0
answers
21
views
How to use ApplyConfigurationsFromAssembly?
Solution structure:
Domain
Entities
Data
Context
MyDbContext.cs
Maps
20+ configs
MyApp – startup project
Currently I'm applying configs like this:
protected override void OnModelCreating(...
3
votes
2
answers
89
views
derive (approximate) rotation transform matrix (numpy) on a unit sphere given a mapping of vectors (n=12)
While I am aware of vaguely similar questions, I seem to be stuck on this.
Buckminster Fuller introduced a spherical mapping of the world onto an icosahedron - it's known as the Dymaxion Map
A common ...