Tweeted twitter.com/StackMma/status/1093207888221356037
5 added 65 characters in body; edited tags
source | link
positions = {GeoPosition[{30.446, -97.6482}], 
   GeoPosition[{30.446, -97.6482}], GeoPosition[{30.3898, -97.8822}], 
   GeoPosition[{30.3898, -97.8828}], GeoPosition[{30.286, -97.7639}], 
   GeoPosition[{30.1128, -97.7853}], GeoPosition[{30.3346, -97.9689}],
    GeoPosition[{30.4366, -97.6139}], 
   GeoPosition[{30.2571, -97.6118}], 
   GeoPosition[{30.3876, -97.9066}]};
weights = {1/32632, 1/32632, 1/36224, 1/36224, 1/129325, 1/14217, 
   1/48702, 1/28012, 1/20287, 1/35752};
weightedPositions = WeightedData[positions, weights];

This works

GeoHistogram[positions, GeoRange -> Quantity[3, "Miles"]]

This works

GeoHistogram[weightedPositions]

This fails

GeoHistogram[weightedPositions, GeoRange -> Quantity[3, "Miles"]]

with the error message

MapThread::mptc: Incompatible dimensions of objects at positions {2, 1} and {2, 2} of MapThread[Append,{{{-97.7639,31.8036}},{1/32632,1/32632,1/36224,1/36224,1/129325,1/14217,1/48702,1/28012,1/20287,1/35752}}]; dimensions are 1 and 10.

This seems like a bug. Any ideas on how to work around it?

Update

Reported to WRI, CASE:4220082.

Update 2

WRI has confirmed that this is a bug in 11.3.

positions = {GeoPosition[{30.446, -97.6482}], 
   GeoPosition[{30.446, -97.6482}], GeoPosition[{30.3898, -97.8822}], 
   GeoPosition[{30.3898, -97.8828}], GeoPosition[{30.286, -97.7639}], 
   GeoPosition[{30.1128, -97.7853}], GeoPosition[{30.3346, -97.9689}],
    GeoPosition[{30.4366, -97.6139}], 
   GeoPosition[{30.2571, -97.6118}], 
   GeoPosition[{30.3876, -97.9066}]};
weights = {1/32632, 1/32632, 1/36224, 1/36224, 1/129325, 1/14217, 
   1/48702, 1/28012, 1/20287, 1/35752};
weightedPositions = WeightedData[positions, weights];

This works

GeoHistogram[positions, GeoRange -> Quantity[3, "Miles"]]

This works

GeoHistogram[weightedPositions]

This fails

GeoHistogram[weightedPositions, GeoRange -> Quantity[3, "Miles"]]

with the error message

MapThread::mptc: Incompatible dimensions of objects at positions {2, 1} and {2, 2} of MapThread[Append,{{{-97.7639,31.8036}},{1/32632,1/32632,1/36224,1/36224,1/129325,1/14217,1/48702,1/28012,1/20287,1/35752}}]; dimensions are 1 and 10.

This seems like a bug. Any ideas on how to work around it?

Update

Reported to WRI, CASE:4220082.

positions = {GeoPosition[{30.446, -97.6482}], 
   GeoPosition[{30.446, -97.6482}], GeoPosition[{30.3898, -97.8822}], 
   GeoPosition[{30.3898, -97.8828}], GeoPosition[{30.286, -97.7639}], 
   GeoPosition[{30.1128, -97.7853}], GeoPosition[{30.3346, -97.9689}],
    GeoPosition[{30.4366, -97.6139}], 
   GeoPosition[{30.2571, -97.6118}], 
   GeoPosition[{30.3876, -97.9066}]};
weights = {1/32632, 1/32632, 1/36224, 1/36224, 1/129325, 1/14217, 
   1/48702, 1/28012, 1/20287, 1/35752};
weightedPositions = WeightedData[positions, weights];

This works

GeoHistogram[positions, GeoRange -> Quantity[3, "Miles"]]

This works

GeoHistogram[weightedPositions]

This fails

GeoHistogram[weightedPositions, GeoRange -> Quantity[3, "Miles"]]

with the error message

MapThread::mptc: Incompatible dimensions of objects at positions {2, 1} and {2, 2} of MapThread[Append,{{{-97.7639,31.8036}},{1/32632,1/32632,1/36224,1/36224,1/129325,1/14217,1/48702,1/28012,1/20287,1/35752}}]; dimensions are 1 and 10.

This seems like a bug. Any ideas on how to work around it?

Update

Reported to WRI, CASE:4220082.

Update 2

WRI has confirmed that this is a bug in 11.3.

4 added 48 characters in body
source | link
positions = {GeoPosition[{30.446, -97.6482}], 
   GeoPosition[{30.446, -97.6482}], GeoPosition[{30.3898, -97.8822}], 
   GeoPosition[{30.3898, -97.8828}], GeoPosition[{30.286, -97.7639}], 
   GeoPosition[{30.1128, -97.7853}], GeoPosition[{30.3346, -97.9689}],
    GeoPosition[{30.4366, -97.6139}], 
   GeoPosition[{30.2571, -97.6118}], 
   GeoPosition[{30.3876, -97.9066}]};
weights = {1/32632, 1/32632, 1/36224, 1/36224, 1/129325, 1/14217, 
   1/48702, 1/28012, 1/20287, 1/35752};
weightedPositions = WeightedData[positions, weights];

This works

GeoHistogram[positions, GeoRange -> Quantity[3, "Miles"]]

This works

GeoHistogram[weightedPositions]

This fails

GeoHistogram[weightedPositions, GeoRange -> Quantity[3, "Miles"]]

with the error message

MapThread::mptc: Incompatible dimensions of objects at positions {2, 1} and {2, 2} of MapThread[Append,{{{-97.7639,31.8036}},{1/32632,1/32632,1/36224,1/36224,1/129325,1/14217,1/48702,1/28012,1/20287,1/35752}}]; dimensions are 1 and 10.

This seems like a bug. Any ideas on how to work around it?

Update

Reported to WRI, CASE:4220082.

positions = {GeoPosition[{30.446, -97.6482}], 
   GeoPosition[{30.446, -97.6482}], GeoPosition[{30.3898, -97.8822}], 
   GeoPosition[{30.3898, -97.8828}], GeoPosition[{30.286, -97.7639}], 
   GeoPosition[{30.1128, -97.7853}], GeoPosition[{30.3346, -97.9689}],
    GeoPosition[{30.4366, -97.6139}], 
   GeoPosition[{30.2571, -97.6118}], 
   GeoPosition[{30.3876, -97.9066}]};
weights = {1/32632, 1/32632, 1/36224, 1/36224, 1/129325, 1/14217, 
   1/48702, 1/28012, 1/20287, 1/35752};
weightedPositions = WeightedData[positions, weights];

This works

GeoHistogram[positions, GeoRange -> Quantity[3, "Miles"]]

This works

GeoHistogram[weightedPositions]

This fails

GeoHistogram[weightedPositions, GeoRange -> Quantity[3, "Miles"]]

with the error message

MapThread::mptc: Incompatible dimensions of objects at positions {2, 1} and {2, 2} of MapThread[Append,{{{-97.7639,31.8036}},{1/32632,1/32632,1/36224,1/36224,1/129325,1/14217,1/48702,1/28012,1/20287,1/35752}}]; dimensions are 1 and 10.

This seems like a bug. Any ideas on how to work around it?

positions = {GeoPosition[{30.446, -97.6482}], 
   GeoPosition[{30.446, -97.6482}], GeoPosition[{30.3898, -97.8822}], 
   GeoPosition[{30.3898, -97.8828}], GeoPosition[{30.286, -97.7639}], 
   GeoPosition[{30.1128, -97.7853}], GeoPosition[{30.3346, -97.9689}],
    GeoPosition[{30.4366, -97.6139}], 
   GeoPosition[{30.2571, -97.6118}], 
   GeoPosition[{30.3876, -97.9066}]};
weights = {1/32632, 1/32632, 1/36224, 1/36224, 1/129325, 1/14217, 
   1/48702, 1/28012, 1/20287, 1/35752};
weightedPositions = WeightedData[positions, weights];

This works

GeoHistogram[positions, GeoRange -> Quantity[3, "Miles"]]

This works

GeoHistogram[weightedPositions]

This fails

GeoHistogram[weightedPositions, GeoRange -> Quantity[3, "Miles"]]

with the error message

MapThread::mptc: Incompatible dimensions of objects at positions {2, 1} and {2, 2} of MapThread[Append,{{{-97.7639,31.8036}},{1/32632,1/32632,1/36224,1/36224,1/129325,1/14217,1/48702,1/28012,1/20287,1/35752}}]; dimensions are 1 and 10.

This seems like a bug. Any ideas on how to work around it?

Update

Reported to WRI, CASE:4220082.

3 added 1 character in body
source | link
positions = {GeoPosition[{30.446, -97.6482}], 
   GeoPosition[{30.446, -97.6482}], GeoPosition[{30.3898, -97.8822}], 
   GeoPosition[{30.3898, -97.8828}], GeoPosition[{30.286, -97.7639}], 
   GeoPosition[{30.1128, -97.7853}], GeoPosition[{30.3346, -97.9689}],
    GeoPosition[{30.4366, -97.6139}], 
   GeoPosition[{30.2571, -97.6118}], 
   GeoPosition[{30.3876, -97.9066}]};
weights = {1/32632, 1/32632, 1/36224, 1/36224, 1/129325, 1/14217, 
   1/48702, 1/28012, 1/20287, 1/35752};
weightedPositions = WeightedData[positions, weights];

This works

GeoHistogram[positionGeoHistogram[positions, GeoRange -> Quantity[3, "Miles"]]

This works

GeoHistogram[weightedPositions]

This fails

GeoHistogram[weightedPositions, GeoRange -> Quantity[3, "Miles"]]

with the error message

MapThread::mptc: Incompatible dimensions of objects at positions {2, 1} and {2, 2} of MapThread[Append,{{{-97.7639,31.8036}},{1/32632,1/32632,1/36224,1/36224,1/129325,1/14217,1/48702,1/28012,1/20287,1/35752}}]; dimensions are 1 and 10.

This seems like a bug. Any ideas on how to work around it?

positions = {GeoPosition[{30.446, -97.6482}], 
   GeoPosition[{30.446, -97.6482}], GeoPosition[{30.3898, -97.8822}], 
   GeoPosition[{30.3898, -97.8828}], GeoPosition[{30.286, -97.7639}], 
   GeoPosition[{30.1128, -97.7853}], GeoPosition[{30.3346, -97.9689}],
    GeoPosition[{30.4366, -97.6139}], 
   GeoPosition[{30.2571, -97.6118}], 
   GeoPosition[{30.3876, -97.9066}]};
weights = {1/32632, 1/32632, 1/36224, 1/36224, 1/129325, 1/14217, 
   1/48702, 1/28012, 1/20287, 1/35752};
weightedPositions = WeightedData[positions, weights];

This works

GeoHistogram[position, GeoRange -> Quantity[3, "Miles"]]

This works

GeoHistogram[weightedPositions]

This fails

GeoHistogram[weightedPositions, GeoRange -> Quantity[3, "Miles"]]

with the error message

MapThread::mptc: Incompatible dimensions of objects at positions {2, 1} and {2, 2} of MapThread[Append,{{{-97.7639,31.8036}},{1/32632,1/32632,1/36224,1/36224,1/129325,1/14217,1/48702,1/28012,1/20287,1/35752}}]; dimensions are 1 and 10.

This seems like a bug. Any ideas on how to work around it?

positions = {GeoPosition[{30.446, -97.6482}], 
   GeoPosition[{30.446, -97.6482}], GeoPosition[{30.3898, -97.8822}], 
   GeoPosition[{30.3898, -97.8828}], GeoPosition[{30.286, -97.7639}], 
   GeoPosition[{30.1128, -97.7853}], GeoPosition[{30.3346, -97.9689}],
    GeoPosition[{30.4366, -97.6139}], 
   GeoPosition[{30.2571, -97.6118}], 
   GeoPosition[{30.3876, -97.9066}]};
weights = {1/32632, 1/32632, 1/36224, 1/36224, 1/129325, 1/14217, 
   1/48702, 1/28012, 1/20287, 1/35752};
weightedPositions = WeightedData[positions, weights];

This works

GeoHistogram[positions, GeoRange -> Quantity[3, "Miles"]]

This works

GeoHistogram[weightedPositions]

This fails

GeoHistogram[weightedPositions, GeoRange -> Quantity[3, "Miles"]]

with the error message

MapThread::mptc: Incompatible dimensions of objects at positions {2, 1} and {2, 2} of MapThread[Append,{{{-97.7639,31.8036}},{1/32632,1/32632,1/36224,1/36224,1/129325,1/14217,1/48702,1/28012,1/20287,1/35752}}]; dimensions are 1 and 10.

This seems like a bug. Any ideas on how to work around it?

2 edited title
| link
1
source | link