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)

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

How to Host Leaflet Webmap Using Real Time data on Github

I am trying to publish a web map online that displays real-time air-craft locations. I have used Jupyter notebook to retrieve real-time data from 'airplanes.live' API, and displayed it on a leaflet ...
Ali Turab Hani's user avatar
0 votes
0 answers
14 views

What is annotation_scale() referencing from coords_sf() that is makes the scale inaccurate?

I am trying to make a map with with lat and long data. I am able to scale the data plotted on my map using coords_sf() but when I try to add a scale bar using annotation_scale() to the geom_plot(), it ...
maribio18's user avatar
0 votes
0 answers
20 views

Re-Order Summaries Of Hierarchical Data In R

I am working with R and dplyr. I'd like to re-order my data summary according to the hierarchical (geographic) structure given in two columns of my data set (R1 & R2). I have summary values for ...
olivator1000's user avatar
0 votes
1 answer
23 views

Mapping a field to specific source value when there are multiple sources

Hey guys I'm having an issue right now. I have a mapper to map a request to response also a CC5Response to response. I'm doing it in one method. But the problem is the field order id is both in ...
Adem Galitekin's user avatar
-2 votes
0 answers
31 views

SQL Server Join tables based on 2 columns

I have working on a table query in order to bring the data from multiple tables, but facing issues to map 2 columns from the parent table to child table. My scenario will be like this select * from ...
Ratna Srikanth's user avatar
0 votes
0 answers
18 views

How to map a range of logarithmically increasing values in Octave?

I measured the response of a circuit by sweeping a range of frequencies (30Hz to 8000Hz) across it in a 10s logarithmic sweep. The device I used to make measurements of the response of the circuit ...
TedAnderson's user avatar
0 votes
0 answers
33 views

Map an array, but sorted by values inside the array [duplicate]

I have an array like this: [{ "title": "Home", "url": "/", "order": 1 }, { "title": "Services", "url": "#services&...
Ivan's user avatar
  • 315
-1 votes
1 answer
26 views

C# Merge Null Or Not Existing Properties and its properties from strongly typed Model after deserialization

The problem is I have a config which I can update using my Model, I deploy new update and user won't get updated configuration file, so it will cause null reference exception, etc. Now I just set ...
sunnamed's user avatar
  • 144
0 votes
0 answers
5 views

what is the error description for a mapping exception?

Error Name Error Description Mapping Exception. what can I use to describe a mapping exception? Error Name Error Description Mapping Exception. Mapping does not conform ...
Oluwaseun Alli-balogun's user avatar
0 votes
0 answers
12 views

Bam files generated with STAR cause a segmentation fault core dump error when used with another tool

I am mapping RNA-Seq data using STAR, using multi-sample two-pass mapping. I first mapped all samples with one-pass then concatenated their SJOut files and filtered junctions. I launched the second ...
Fadia Bkf's user avatar
0 votes
2 answers
47 views

the scene which containing a table view in java fx is not opening from the button provided in another scene

I am trying to build a small java desktop application using JavaFX to enter student details. On the opening scene I have provided buttons to switch into different scenes. I can access the other ...
vchandu's user avatar
-2 votes
4 answers
90 views

Array time slots: check for appointment availability by searched datetime and next 2 datetimes

I'm programming an appointment scheduling system. It checks several Google calendars. I divided the day (9:00 a.m. - 6:00 p.m.) into 10-minute slots. Now I have an array with the respective slots and ...
freshwebs's user avatar
-1 votes
1 answer
26 views

Java Strategy for mapping byte array contents to value classes

My goal is to improve a Java application to write data from a serial port to a MySQL database. The data is read as a byteArray with a fixed length, which contains different values and value types (...
snx's user avatar
  • 43
-1 votes
0 answers
27 views

I’m trying to make a program that will load in normal map into this OpenGL program [closed]

So i tried to make a file that will allow a user to load in textures and normal maps to an object I don’t think I did it right I haven’t had the chance to try it out yet but I’m pretty sure I did it ...
CodingStudent's user avatar
0 votes
0 answers
13 views

Draw 4-way set associative mapping

can you help me about this? I tried that about draw something but i thought it was wrong. Thats why im asking to you. QUESTION: Assume you have 32-bit processor with 4-way set associative 16KB cache ...
Uzay Bilimcilik's user avatar
-1 votes
2 answers
49 views

Looping through file with lists is returning "none" with mapping but works when I test manually [duplicate]

first time attempting Advent of Code with python and running into an issue with my loop. I've successfully been able to take the input file and break it into lists as shown below for the output.txt. I'...
justFF's user avatar
  • 1
0 votes
1 answer
20 views

Is it possible to interrupt the map and put another element in the middle?

I'm making a navbar in Nextjs, and I want to put a different element in the middle of the map. {navLinks.map((link, index) => ( <li key={index}> <...
riccardoboe's user avatar
0 votes
1 answer
27 views

How map DTO to Entity without the @GenerateValue field in JPA

I have a DTO class with some field and i'm trying to map DTO in Entity class, in my entity class I have an id field (generate value), but not in DTO because i don't need to set a ID. I have a DTO ...
Thomas's user avatar
  • 1
1 vote
1 answer
31 views

JOLT transformation for references

I'm looking for a JOLT transformation for replacing a reference by it's entity: My input is as follows: { "users": [ { "id": 1, "firstname": "Max&...
Alex Schmidt's user avatar
-2 votes
1 answer
46 views

React error message "map is not a function"

I created a search engine on my site, so that users can be searched for by their names. Suggestions for user names are supposed to appear based on the letters entered, but as soon as you click on any ...
Phoenix Phoenix's user avatar
0 votes
1 answer
11 views

Elasticsearch shared field name for different fields

I'm a bit confused how to best handle the following scenario with Elasticsearch. I've different types of documents, which have fields with semantically the same content but different field names (see ...
Alex Schmidt's user avatar
2 votes
3 answers
79 views

Merge dictionaries with same key using ChainMap

I have two dictionaries a = {'123': {'player': 1, 'opponent': 2}, '18': {'player': 10, 'opponent': 12} } b = {'123': {'winner': 1}, '180': {'winner': 2} } ...
HJA24's user avatar
  • 422
0 votes
0 answers
19 views

How to InheritConfiguration from prototype of mapping method of iterable types using Mapstruct?

I have created a MapperConfig where I have a prototype of mapping method that can be used to inherit method-level mapping annotations. @MapperConfig(componentModel = MappingConstants.ComponentModel....
Paul Marcelin Bejan's user avatar
0 votes
0 answers
12 views

not getting data from Sanity.io showing undefined

Schema of blog is import { MdNewspaper } from "react-icons/md"; import { defineField } from "sanity"; const blog = { name: "blog", title: "Blog", ...
Shubhjeet Paul's user avatar
1 vote
1 answer
23 views

How can I set a value for each element of a Matrix of N dimension?

So, this is kinda long and complicated but hear me out, recently I´ve been studing about Matrices and setting coordinates to map the movement of NPCs in videogames and that got me into ...
Megalomaniacal Programmer's user avatar
0 votes
0 answers
27 views

Why does mapster fail mapping when the class to map to has a property

Hi I have the following code: using Mapster; var cat = new Cat("Felix", 3); var cat2 = cat.Adapt<Cat2>(); Console.ReadKey(); public record Cat(string Name, int Age); public record ...
CraftyFox's user avatar
  • 165
1 vote
0 answers
14 views

Can character devices be mapped to memory?

Why we can map block device files to memory but not character files? I know block devices can be mapped to memory, but character devices can't. Why is it like that? I have no idea. Maybe someone can ...
Jan Nowak's user avatar
-1 votes
0 answers
30 views

Spring. Error in jar file when starting it. How fixed This application has no explicit mapping for /error, so you are seeing this as a fallback

This error occurs in the jar file with the code 500. When compiling and running via Intellij Idea, everything worked correctly. Error text: enter image description here Class ...
Lev's user avatar
  • 1
1 vote
2 answers
68 views

Mapping in react from API

Here is the code on AddCourse.tsx. I want to show the instructors name from API. It's run fine on console log but it didn't show up in dropdown options. const [instructorOptions, setInstructorOptions] ...
Beverly Vladislav's user avatar
0 votes
0 answers
29 views

cannot choose knn_vector when creating an index in opensearch

I am having a weird problem when studying opensearch and use it's embedding vectors. I create an index from opensearch dashboard like this: You can see that vector_field is a float now. But I created ...
Feng Chen's user avatar
  • 2,161
0 votes
0 answers
57 views

Quantile Transformation with qmap Package in R: Unexpected Zero Values and Negatives Absent in Resultant Data

In R, I'm attempting quantile transformation using the qmap package. I have two datasets: one contains annual TWS model data spanning 1950 to 2100, and the other holds annual water elevation data from ...
Amrit's user avatar
  • 53
1 vote
1 answer
69 views

How to serve uploaded Images from external Folder with Vaadin?

Dear all I am using Vaadin v24 and created an upload feature for images. I know how to read and serve single images by using Vaadin Resource Classes, but I am wondering how I can configure the Vaadin ...
megloff's user avatar
  • 1,440
0 votes
0 answers
24 views

Mapping a view from an App directory to a URLS.py file in the project Directory for Django

On Django using VS as the Editor, I have 2 directories in the root folder. A Project Directory named Hell and an App Directory named Rango. I have already defined the Rango app Directory in the ...
Kaizer's user avatar
  • 11
6 votes
1 answer
182 views

Create buffer from coastline 25km in R and calculate nearshore area

I am trying to create a map containing polygons that represent 25km buffer into the ocean from every country's coastline, so that I can calculate the area within this buffer for each country. I am ...
Alyssa C's user avatar
0 votes
3 answers
62 views

Group 2d array data by one column, populate subarrays with defaults, sum values from another column using a mapping array

I am trying to group data from a 2d array while leveraging a lookup array to ensure that default values exist in each group. My lookup/mapping array associates language ids with language names. $langs ...
devie's user avatar
  • 83
1 vote
1 answer
38 views

Mapping an array of objects nested in array of objects

Apologies if I'm missing something basic here. This is my JSON, I want to extract the "tag" value form the objects in the "cows" array. I'm not very familiar with nested data and ...
vinnyWebDev's user avatar
0 votes
1 answer
50 views

How to fix the mapping structure for Elastic search ? I am trying to migrate from 5.6 to 7.10

Need help with fixing mapping of ES from 5.6 to 7.10 Below is a sample structure. Tried multiple things, but doesnt seem to work, need help. "_parent": { "type": "brand&...
Manoj K's user avatar
  • 389
-1 votes
0 answers
23 views

Use Java ModelMapper with an argument

case is simple, but I can't find any answers to this topic. In my entity class I have a field Map<Language, Translations> localizedFields where Translations is a simple class with String ...
Jan Rojowski's user avatar
0 votes
1 answer
47 views

Mapstruck null failure for inner field mapped by another mapper

In my application, each chat contains a list of messages, and each message contains info about the users who are their sender and receiver. However, I’m struggling to use a mapper with mapstruct that ...
Francislainy Campos's user avatar
1 vote
1 answer
129 views

Ambassador mapping causing permanent redirects

Been trying to diagnose an issue with a couple ambassador mappings which appear to result in a 301 Permanent Redirect when from what I understand it shouldn't. Here is the behavior: Go to https://[...
Adeithe's user avatar
  • 313
0 votes
1 answer
21 views

How to Clear and Re-Select Items Dropdown Based on Store Filter in React?

const items: any = !_.isEmpty(filters["store"]) ? [...new Set(recentFound.map(({ item }: any) => item))] : []; I have a React application with two dropdowns: "Store" ...
Janani N's user avatar
1 vote
1 answer
62 views

map by searching in two lists

I want to do a mapping. I have two lists from which to extract the info and do the mapping. If we don't find the available entries from the first list, we check the second list. The first list is a ...
George's user avatar
  • 5,588
0 votes
1 answer
13 views

Keep record in mapping (no over-writing)

contract YourContract { struct student_marks { uint maths ; uint science ; } mapping (address => student_marks) public record ; function add_marks(uint _maths, ...
Asad Arslan's user avatar
0 votes
1 answer
26 views

Solidity Basic:an example of Mapping Types from Solidity doc

I'm self learning Solidity, forgive my stupid questions please, I'm an absolute beginner.The following ss is from the dochttps://docs.soliditylang.org/en/v0.8.22/types.html#mapping-types My question ...
Angus's user avatar
  • 55
0 votes
2 answers
32 views

How can i map a computed list property in nhibernate

My model contais the following: public virtual DateTime LastSessionDate { get; set; } public virtual List<double> Values { get; set; } Values should be selected from other tables in a custom ...
jgayer's user avatar
  • 3
0 votes
1 answer
31 views

copying data from one file to template file not copying to the right columns

I am writing a code that selects data from a catalogue file and copies it into a template file without modifying it. A column ("product type") in the catalogue file determines which sheet it'...
Maria Parellada Peco's user avatar
0 votes
2 answers
40 views

Plotting a 2D list of co ordinates to a 2D map

This is my attempt at mapping a set of co-ordinates in a 2d list to a 2d map. Each co ordinate is given as(y,x) y and x representing the given axis on the map. the map is simply a grid of 0's, the ...
Ben Iskauskas's user avatar
0 votes
1 answer
23 views

i cant access to user profile image even thaugh is exist

when i console.log(user) it shows every thing i made in user model that suppose to appear even the profile avatar url is showing and when i console.log(user.avatar) the console giving me undefined ...
Phoenix Phoenix's user avatar
2 votes
2 answers
57 views

How to use mapping method of base class for derived class?

Imagine I have the following in python (actual language does not really matter, since I have the problem in other languagues like php too. A base class "CarModel" and a derived class "...
briston82's user avatar
0 votes
0 answers
17 views

How to fetch data with navigation properties in One to many Relationship

I am trying to fetch data with One to many relationship using navigation properties in linq queries but i got ArgumentNullException error. My entities in here to creating two one to many relationships ...
Jossoft's user avatar
  • 13

1
2 3 4 5
196