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,864
questions
-2
votes
0
answers
33
views
Optimizing data processing with AWS Lambda and DynamoDB [closed]
I'm currently working on a C++ codebase that processes high-throughput data, generating around 5000 records per second. These records are sent in batches to AWS Kinesis Firehose. The data has a column ...
0
votes
1
answer
73
views
Get values from for each sheet and put values in another sheet
I am trying to get ranges from all tabs and put values in a specific tab called 'Data' at P col.
I have range values at A2:B between all tabs and am trying to get values by mapping method.
The issue ...
-2
votes
0
answers
26
views
Mapping Values using modern packages [closed]
I do have two different tables. How can I put radiant_team_name based on radiant_team_id that will be based on team_id from the second table? Thank you!
I tried to do mapvalues function from plyr and ...
-1
votes
0
answers
19
views
Orika Mapper map abstract tree Object
I have an abstract tree class:
public abstract class TreeBase {
private String fieldName;
private List<TreeBase > treeNodeChildren = new ArrayList<>();
...
0
votes
0
answers
6
views
Unable to download GNSS data
we are using a landmeter gps device to determine coordinates of some agricultural research fields to downland the data. The manual states to use h-data software. Does anybody have any knowledge of ...
2
votes
1
answer
28
views
Why does mapboxapi return a skewed map with apparently incorrect latitude and misplaced relative to data?
I am trying to create several maps across wide latitudinal extents. I am using the Mapbox maps through mapboxapi in R. I would like to know how to do this correctly so that both the map and the data I ...
0
votes
0
answers
7
views
Decoding a mapping in Solidity: Type library IterableMapping is not implicitly convertible to expected type struct IterableMapping.Map storage pointer
Context
I am storing the content of the following mapping into a file:
pragma solidity >=0.8.25 <0.9.0;
import "test/TestConstants.sol";
library IterableMapping {
// Iterable ...
0
votes
1
answer
58
views
GoLang - looping through array of structs - can I map?
I'm new to GoLang, coming from Node. A little late to the (definitely not functional) game and need some help understanding approaches, and perhaps just understanding...
I want to omit an item from a ...
0
votes
0
answers
42
views
How to provide a circle radius that represents real-world distance on an OpenLayers map?
I want to plot a circular Polygon feature that covers 200 hectares on an OpenLayers map. The projection of the map and data is set to EPSG:3857.
I believe the solution lies in this code (source), but ...
2
votes
3
answers
68
views
The problem of mapping in creating a Generic Method
This Is My Models :
public class Result1
{
public string Price { get; set; }
public string Id { get; set; }
}
public class Result2
{
public string firstName { get; set; ...
0
votes
1
answer
78
views
how to redirect the 400 error in tomcat 9 version with custom error page
i tried to redirect the 400 error with my custom error page but its not working.
400 only not redirect, 404 and 500 its working fine
1:
<error-page>
<error-code>400</error-code&...
1
vote
0
answers
18
views
Issue with Conditional Mapping in Abstract and Derived Classes Leading to EF6 SaveChanges Error
The OfType part of the query doesn't work as expected, and there’s an error when saving changes in the database.
Code:
using System;
using System.Data.Entity;
using System.Data.Entity....
0
votes
0
answers
17
views
Type Mismatch while using FlatFileItemReader BeanWrapperFieldSetMapper from String to Date
I am trying to batch process a file which has date field. Now when I fetch Date field using FlatFileItemReader it comes as a String.
I am trying to map it to following entity
@Entity
@Data
public ...
1
vote
1
answer
54
views
How to map table references in a JSON file to corresponding values in an Excel file using Python?
I have an Excel file containing a list of requirements in 1 column and a JSON file that stores table values. The requirements in the Excel file include references to tables in the JSON file, formatted ...
0
votes
0
answers
33
views
How to map value objects in dapper
i have the following entity
using MedRaise.Domain.Enums;
namespace MedRaise.Domain.Entities;
public class Appointment : Entity
{
private Guid _clinicId;
private DateTime _date;
private ...
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 ...
0
votes
0
answers
11
views
Map by last characters in GAMS
Consider the following data in GAMS:
set SCENARIO / 02, 03 /;
set ER2M / ER2M01, ER2M02, ER2M03 /;
I want to create the following mapping:
set mapER2MSCENARIO(SCENARIO,ER2M) / 02.ER2M02, 03....
0
votes
0
answers
28
views
Rakuten RMS Product API ジャンルID (Genre ID)
I am trying to develop a system that will be able to push my products on Rakuten online marketplace in Japan with their API.
Their API for that is named Product API, or more recently Item API 2.0.
The ...
0
votes
0
answers
20
views
Longtitude sequence reversed plotting map with Cartoee Python
I am making a map using the Cartoee functionality of geemap in Python. The basemap is srtm from the Earth Engine library. When I make the map and add gridlines, the longitude sequence is backwards ...
1
vote
1
answer
35
views
What is the core difference between the map(s,d) and map<d>(s)
I have a Api method PATCH like this
[HttpPatch("{id}")]
public async Task<IActionResult>UpdateCity(int id, [FromBody] JsonPatchDocument<CityUpdateDto> patchDoc)
{
var ...
1
vote
1
answer
133
views
DTO on hexagonal architecture and DDD
I've a spring application (webservice that connect to a database and retrieve data) using a hexagonal architecture and DDD (Domain-Driven Design).
The basic struture is
Application
Controller to ...
0
votes
0
answers
25
views
Pandas iterating over columns / map /applymap / stack/unstack function [duplicate]
i have got a Dataframe similiar to this one:
d={"PERSNR":["1111","22222","3333"],"KST":["1234","2345","34556"],"...
1
vote
1
answer
24
views
Hibernate problem in Oracle handling edge Double values
I'm testing the handling of basic Java values with Hibernate and Oracle. I have an Oracle table with a binary_double column, and I want to insert from Java the value Double.MAX_VALUE, which happens to ...
2
votes
3
answers
74
views
Pandas Map Multiple Columns Based on Specific Conditions
My organization uses special codes for various employee attributes. We are migrating to a new system and I have to map these codes to a new code based on certain logic.
Here is my mappings df Mappings:...
-1
votes
1
answer
36
views
How to have multiple types of values (keyword, date..) in same name field in Opensearch
I collect the all container log by using OpenSearch.
sometimes, the log has different type value like this.
ex1)
{
"name": "david",
"age": "20"
}
ex2)
{
"...
0
votes
3
answers
49
views
Error when applying function to a column in data frame
I had a label column from a pandas dataframe that had so many variance. I want to narrow it down by putting some of the label to another label I chose.
The data is supposed to be like this (both ...
0
votes
0
answers
107
views
Mapping Tuple from Native Query Result to DTO in Spring Data JPA
I'm trying to map the results of a native SQL query executed through Spring Data JPA to a Data Transfer Object (DTO) class. The query retrieves data from two related tables: Data and Address.
Here are ...
0
votes
1
answer
44
views
How to plot x,y,z data in a polar stereographic map in matlab?
I have data from the SAR satellite instrument that is already in a polar stereographic projection. The data comes with x,y coordinates, not lat,lon. Can anyone provide insight on how to plot the z ...
0
votes
0
answers
20
views
How to make the mapping rules in red hat 3Scale, if they are not sent automatically, they are loaded as empty and sent to the backend
Good morning, I am currently starting to work with Red Hat 3Scale and I am making an api that has the following GET request with QueryParam:
/UDB/v1/UDB?ISDN={ISDN}&IMSI={IMSI}&CONTENT={...
0
votes
0
answers
21
views
How to find map coordinate in html for circle shape?
<map name="LETTERS">
<area shape="rect" coords="2,25,82,123" href="P LETTER.HTML">
<area shape="rect" coords="91,...
0
votes
0
answers
6
views
Create a Grid with a colorpattern that shows how many points are located per field in the grid
So i have an array of 168 X and Y coordinates. All of them are between 0 and 1. I would like to create a grid/mesh/heatmap that basically grids the arena into 0:0.05:1 fields and highlights through ...
0
votes
0
answers
9
views
Mapping subdomain to subfolder (WordPress)?
I have 3 WordPress websites installed in three differents subdomains : site1.domain.com, site2.domain.com, site3.domain.com.
In order to manage the new websites (I redesigning them) at one place only, ...
0
votes
1
answer
64
views
How can i map DTO to entity in typescript?
In my project, I use Vue + TypeScript and Axios to get objects from the backend. So, I have an object type like this:
class Annoucement {
id!: string;
description?: string;
deal?: Deal;
...
0
votes
0
answers
45
views
Color mapping incorrectly from shapefile in ggplot
I have this map with a shapefile I built, intersected with species occurrence data. It's mapping correctly except the coloring is wrong. There should only be 1 point of purple, because that would ...
0
votes
0
answers
74
views
Mapster - Can I use mapping with constructor and default values for ignored properties?
I try to map from class A to class B, where B is missing a property of A, using Mapster.
Usually, you do this with .Ignore(e => e.Property) but I use a non-default constructor for initialization (...
0
votes
0
answers
9
views
is there a Package in R to generate ocean routes?
I apologize for the very general question, but I don't know how to proceed.
Some of you know an R package to automatically generate routes in the sea, considering a series of variables that I give it ...