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)

In this context, mapping refers to the process of creating data element mappings between two distinct data models (objects).

When it refers to mapping in data integration, it is a set of source and target definitions linked by the transformation objects that define the rules for data transformation. Mappings represent the data flow between sources and targets.

Data mapping is typically used as a first step for a wide variety of data integration tasks such as:

  1. Data transformation or data mediation between a data source and a destination

  2. Identification of data relationships as part of data lineage analysis

  3. Replication of data between two entities with different key-value assignments

  4. Discovery of hidden sensitive data such as the last four digits social security number hidden in another user id as part of a data masking or de-identification project

  5. Consolidation of multiple databases into a single data base and identifying redundant columns of data for consolidation or elimination.

9739 questions
22
votes
6 answers

Should I map a DTO to/from a domain entity on both client and server sides?

I've got a rich domain model, where most classes have some behaviour and some properties that are either calculated or expose the properties of member objects (which is to say that the values of these properties are never persisted). My client…
Jay
  • 56,361
  • 10
  • 99
  • 123
22
votes
2 answers

is there a way to resize marker icons depending on zoom level in leaflet?

I'm making a project for the school and I need to resize the marker icons depending on zoom level in a leaflet map, Is there an easy way to accomplish this? Any tutorial on the web? Thanks in advance for the help!!!
user2533531
22
votes
2 answers

Projection Mapping with Kinect and OpenGL

Im currently using a JavaCV software called procamcalib to calibrate a Kinect-Projector setup, which has the Kinect RGB Camera as origin. This setup consists solely of a Kinect RGB Camera (Im roughly using the Kinect just as an ordinary camera at…
Trmotta
  • 385
  • 4
  • 13
21
votes
2 answers

How to determine if a table relationship is bidirectional or unidirectional in Doctrine 2?

I am in the process of upgrading from Doctrine 1.1.4 to Doctrine 2.0.6 in my Zend application. Currently, I am working on mapping the associations between entities. In Doctrine 2's Documentation it says 'relationships maybe bidirectional or…
Mr B
  • 3,980
  • 9
  • 48
  • 74
21
votes
5 answers

What is a mapping object, according to dict type?

The documentation lists 3 ways for creating a dict instance: class dict(**kwarg) class dict(mapping, **kwarg) class dict(iterable, **kwarg) What exactly is a mapping here? What's the minimal interface required for dict(mapping) to work?
wim
  • 338,267
  • 99
  • 616
  • 750
21
votes
5 answers

Why is my hosts file entry being ignored by the browser?

I mapped a website with the IP of www.facebook.com to load Facebook when I request a different url (let's say www.x.lk) particular site. It worked well. But when I tried to map the inverse, which should load www.x.lk when I ask for Facebook, it…
Kalana Shalitha
  • 231
  • 1
  • 2
  • 5
21
votes
2 answers

Entity Framework proper way to replace collection in one to many

Suppose a customer has many phone numbers and a phone number has only one customer. public class PhoneNumber : IValueObject { public string Number {get; set;} public string Type {get; set;} } public class Customer : IEntity { public…
George Mauer
  • 117,483
  • 131
  • 382
  • 612
21
votes
1 answer

Vim: Remove mapping created by vim-plugin

I use the Vimwiki-Plugin a lot, but remapping and is just anoying. If I use :nmap, the mapping is shown: n @VimwikiFollowLink n @VimwikiGoBackLink If I try to remove tha mapping…
f00860
  • 3,486
  • 7
  • 41
  • 59
20
votes
3 answers

How to indent multiple lines on Vim?

I want to be able to highlight lines I want to indent/reverse-indent and indent with tab and shift-tab respectively. " for command mode reverse tab nmap << " for insert mode reverse tab imap <
deadghost
  • 5,017
  • 3
  • 34
  • 46
20
votes
3 answers

Is there something like AutoMapper for Scala?

I have been looking for some scala fluent API for mapping object-object, similar to AutoMapper. Are there such tools in Scala?
mrcaramori
  • 2,503
  • 4
  • 29
  • 47
20
votes
4 answers

Three lists zipped into list of dicts

Consider the following: >>> # list of length n >>> idx = ['a', 'b', 'c', 'd'] >>> # list of length n >>> l_1 = [1, 2, 3, 4] >>> # list of length n >>> l_2 = [5, 6, 7, 8] >>> # first key >>> key_1 = 'mkt_o' >>> # second key >>> key_2 =…
Jason Strimpel
  • 14,670
  • 21
  • 76
  • 106
20
votes
1 answer

Mapstruct: Ignore specific field only for collection mapping

I am using following mapper to map entities: public interface AssigmentFileMapper { AssigmentFileDTO assigmentFileToAssigmentFileDTO(AssigmentFile assigmentFile); AssigmentFile assigmentFileDTOToAssigmentFile(AssigmentFileDTO…
Dmitry K
  • 1,142
  • 2
  • 16
  • 27
20
votes
1 answer

map degrees to 0 - 360 in python

is it possible to map a value of rotation to be inside the range of 0-360 degrees? For example: a angle of -10° should be 350° a angle of 760° should be 40° degrees? Is there an easy solution? Maybe in mathutils? best, chris
Christoph Müller
  • 483
  • 1
  • 5
  • 16
20
votes
13 answers

How to create a "dependency graph" for IT assets

One of my customers is trying to create an interactive "matrix" of interdependencies for the various applications used in their company (it's a travel&leisure company with around 2500 employees). The idea (still at the prototype stage) is to create…
p.marino
  • 6,244
  • 3
  • 25
  • 36
20
votes
3 answers

Ffmpeg to duplicate an audio stream and encode this new stream

I have some video files that I need to re-encode due to compatibility issues. They are currently mkv files with h.264 video and ac3-a52 audio. I want to keep the h.264 video, convert the container to m4v and create two audio tracks, one with the…
sion
  • 1,367
  • 6
  • 17
  • 21