Question: How can I match the raw data (got from the raw object observations) with the feature layers?
See original GitHub issueHi, How can I match the raw data (got from the raw object observations) with the feature layers? For example, How can I convert the world_space_pos (x: 26.001220703125 y: 26.275634765625) to the feature_layer_pos (x: 0-84, y: 0-84)? Following is an example of the raw data i got.
[
{
display_type: Visible
alliance: Self
tag: 4303093761
unit_type: 48
owner: 1
pos {
x: 26.001220703125
y: 26.275634765625
z: 7.99609375
}
facing: 4.66746711730957
radius: 0.375
build_progress: 1.0
cloak: NotCloaked
is_selected: true
is_on_screen: true
is_blip: false
health: 45.0
health_max: 45.0
shield: 0.0
energy: 0.0
is_flying: false
is_burrowed: false
orders {
ability_id: 16
target_world_space_pos {
x: 25.428466796875
y: 20.0
}
}
assigned_harvesters: 0
ideal_harvesters: 0
weapon_cooldown: 0.0
shield_max: 0.0
energy_max: 0.0
},
...,
]
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Turn Raw Data into a Feature Layer - Esri
This blog post covers multiple ways to turn a flat file of raw data into a feature layer. Feature layers allow you to...
Read more >Displaying a subset of features in a layer—Help
If the Perform the attribute search first option is selected, all attributes that match your query from the entire dataset will be selected...
Read more >What is raw data and how does it work? - TechTarget
Raw data, in data management, is the collection of information as gathered by the source before it has been further processed, cleaned or...
Read more >Chapter 1. Data Visualization with ggplot2 - O'Reilly
This chapter will teach you how to visualize your data using ggplot2. R has several systems for making graphs, but ggplot2 is one...
Read more >Exporting Response Data - Qualtrics
Each row of the file is a different respondent, and each column is a question of the survey they answered, survey metadata (e.g....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@tjuHaoXiaotian Hi, may I ask how did you extract those raw information? Can we do that using solely pysc2? Thx
Could you say how to use
pysc2
to extract the fine-grained raw information above? Right now, I’m only able to see numbers rounded to integers within thesc2_env.SC2Env
object.