POST
|
I just talked to Kevin Johnston. The problem was by setting the Maximum to 255 for the parameter defining the function, I was fitting the linear function only to 0 to 255 of the input values. I needed to fit the function to the full range of the dataset, therefore I have to specify the Maximum to be 65535. For the output scale, I keep what I have, 0 to 255. By using these parameters, I am fitting the function to the full range of the input values of the dataset and linearly transforming to the 0 to 255 scale. I just tried it and worked as I hoped.
... View more
04-10-2020
09:37 AM
|
1
|
0
|
1606
|
POST
|
Hi Noman, Thanks for the reply! I'm using ArcMap. I did check the statistics and it looks incorrect to me. It appears as though the average is 255 (or close enough 254.999). Best, Kyle
... View more
04-09-2020
03:32 PM
|
0
|
3
|
1606
|
POST
|
I am trying to fit all of my pixel values on my raster in between 0 and 255. Currently, they range from 0 to 65535. I wanted to use the Rescale by Function tool with the TfLinear to scale it, but when I put the output on a map I only see 0 values. Here are the parameters I used: Here is the original raster: Here is the output of the tool: Am I doing anything wrong?
... View more
04-09-2020
01:10 PM
|
0
|
5
|
1720
|
POST
|
Sorry, you're right. I edited my post. I am using multiprocessing not multithreading.
... View more
05-20-2019
03:02 PM
|
0
|
0
|
705
|
POST
|
I have a script tool that does a lot of processing on large amounts of data and needs to split the work between multiple CPUs to be efficient; however, I am having trouble understanding how I can debug the work that is happening within each CPU. It seems that arcpy.AddMessage does not work inside multiprocessing and I can't seem to attach my debugger to the command window that is opened when I run the tool. When I try attaching none of my breakpoints are hit and it says no symbols have been loaded.
... View more
05-20-2019
02:49 PM
|
0
|
3
|
824
|
POST
|
Yeah and that's fine I understand that it doesn't have lat/long, but it doesn't even have any values in the dropdown. You'd think GeoEvent would at least populate the dropdown with values that could be lat/long. For instance, the id is a double in the field definition, so it should show up in the dropdown. I point to that link because my actual data is sensitive and can't be shared, but that data does have lat/long values and still nothing in the dropdown.
... View more
05-20-2019
10:30 AM
|
0
|
0
|
1883
|
POST
|
I tried both ways, no luck. I was just using this API for testing purposes: https://api.wheretheiss.at/v1/satellites JSON looks like this: [{"name":"iss","id":25544}]
... View more
05-20-2019
10:05 AM
|
0
|
2
|
1883
|
POST
|
When I do that no data goes through and I get errors in the logs because it can't find the fields.
... View more
05-17-2019
12:30 PM
|
0
|
0
|
1883
|
POST
|
No, the JSON isn't nested and I have my lat and long set to double in the geoevent definition.
... View more
05-17-2019
12:24 PM
|
0
|
2
|
1883
|
POST
|
For some reason when I try using construct geometry from fields the drop down for the x, y, and z values don't populate. It is unable to read the fields from my GeoEvent definitions, but other dropdowns work. For instance, I was able to create the geometry using a field calculator processor. I haven't tried all input connectors, but I saw it on the watch a folder for files connector and the poll a website for JSON connector. Has anyone else had this issue and know a solution?
... View more
05-17-2019
08:10 AM
|
0
|
10
|
2537
|
POST
|
The Catalog has these tabs at the top and I was wondering if there was a way to do that with the Pro SDK or if it would have to be custom.
... View more
03-12-2019
07:34 AM
|
0
|
1
|
504
|
POST
|
I am trying to import a GeoFence from a MapServer, but the Layer dropdown is grayed out and I can't select my layer.
... View more
03-11-2019
02:05 PM
|
0
|
0
|
478
|
POST
|
Hey Sean, Thanks for the reply. I am editing a Field on the Feature Class, but I am actually using an inspector to do the edits. This solutions seems good though. Is there a similar way to do that in the Inspector class?
... View more
01-11-2019
09:48 AM
|
0
|
1
|
895
|
POST
|
I ended up doing this: if extent and extent.spatialReference.linearUnitName == 'Meter':
boundingBox = extent.projectAs(SpatialReference(4326)) It seems to work.
... View more
01-07-2019
07:28 AM
|
0
|
1
|
1100
|
POST
|
Extent is a parameter in the script tool, but I've been using the current extent of my map.
... View more
01-07-2019
06:59 AM
|
0
|
3
|
1099
|
Title | Kudos | Posted |
---|---|---|
1 | 04-10-2020 09:37 AM |
Online Status |
Offline
|
Date Last Visited |
04-12-2021
10:56 AM
|