Questions tagged [od]

27 questions
0
votes
1 answer

How do I calculate shortest path between Origin - Destination pairs using pgRouting?

First of all I just want to state that I'm very new to GIS and that I'm probably not that great at the terminology yet, so bear with me. I'm having my internship right now and have been tasked with making a bike commuting potential analysis. The…
SweGIS
  • 1
  • 2
0
votes
0 answers

Bash: reverse octal dump (od)

Once I have octal dumped a file, how can I reverse this process? I have found several other questions related to this but in all of those cases the choice of flags for the od command causes the result to contains hexadecimal characters. Many of them…
scorch855
  • 302
  • 1
  • 9
0
votes
1 answer

How paths/routes are defined in sets?

I am trying to decide the location of recharge station for electric vehicles by using CPLEX. I have created 5 nodes and m vehicles are traveling on 2 routes stopping by different nodes. According to that information, optimum location of the recharge…
0
votes
1 answer

How do I make a dictionary of OD pairs from a distance Matrix using python?

I have a flow matrix from an excel workbook that shows me the movement of cargo between 2 points similar to this: 1 2 3 ... n 1 0 7 8 2 5 0 3 . 3 6 9 0 . . . . . ... . . . n 0 I'm trying to create a…
0
votes
1 answer

Make an O/D table in R from a DF

Good evening everyone. I'm having some trouble creating an O/D based on my DF. My DF has the number of the trip, the index of each stop, the time od departure from each stop and the stops name: Trip Index Time OD 16 1 a A 16 10 b …
mmsddf
  • 15
  • 3
0
votes
1 answer

get the most common source-destination trajectories in R

I have two spatial points dataset, one for origins and one for destinations. I'd like to take the most recurring trajectories from these coordinates. > salidas class : SpatialPointsDataFrame features : 4385 extent : -8.694846,…
0
votes
0 answers

Odd ratio vs Wald test. Contradiction or missunderstanding?

I have the folowing model: mod.log.diab <- glm(data = data_train, INFEC ~ DIABETES, family = binomial(link = 'logit')) This gives the folowing OR: >exp(mod.log.diab$coefficients) (Intercept) DIABETESno 2.826087 1.469822 This value is…
hardsoft
  • 7
  • 2
0
votes
1 answer

PHP encoding problem: how to encode base64 encoded uint8 bytes to hex

My problem is that I was some time ago base64 encoding random bytes from openssl sha256 in C (as uint8_t), feeding them into a shell script and using the output. What I can recreate from my data now is: Content of…
Mathias A
  • 13
  • 4
0
votes
0 answers

How to write a basic assembler in C?

So im attempting to write a basic Assembler in C that will take in two files, one input and one output. The Input will contain the instruction and the output will contain the assembled code which can be seen using "od -x output.txt | head -5" for…
Bret Hasel
  • 303
  • 1
  • 11
0
votes
2 answers

Why does xxd add chars?

I am trying to reverse an od command from a system where I have no hexdump or base64 tools. I do this like that (of course, in reality, the encoding takes place at the "small" system, the decoding is done on my workstation, but to test it, I try the…
Bowi
  • 1,378
  • 19
  • 33
0
votes
1 answer

read a .bmp image using od command

I have an image (grayscale image .bmp) . that I am trying to read.So, I used the imread() function using matlab and python and I get the same results. the image /* with Matlab */ 109 107 104 101 96 91 87 84 76 75 75 77 78 80 …
A.SDR
  • 177
  • 2
  • 11
0
votes
2 answers

grep transformed content via od and show original file location

I am transforming some binary files and grepping a value in them: od -t uL * | grep 0000 this is showing the matches that I am after but it's not showing the filename, and if I do use grep with the -H flag I only get 'standard input': od -t uL * |…
Tamas
  • 10,953
  • 13
  • 47
  • 77
1
2