Message Boards Message Boards

1
|
6585 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Use of GeoRange or GeoRangePadding options in GeoElevationData[]?

Posted 5 years ago

Hello,

I need some help specifying the square range of the data retrieved.

Use of GeoRange or GeoRangePadding options in GeoElevationData[] function causes error:

Unknown option GeoRange for GeoElevationData

Here is an example call (I am on mathematica 11.x and those are supposed to be available since 2014 introduced in Mathematica 10.0)

GeoElevationData[IslandData["Corsica"], GeoRange -> 200km]
GeoElevationData[IslandData["Corsica"], GeoRangePadding -> 10km]

Both of the above lines will error out.

More and more I am finding that docs are outdated or sometime none of the examples cover newer syntax, it is quite disappointing.

POSTED BY: LV VS
2 Replies

GeoElevationData has several new options in version 12.0, with GeoRange and GeoRangePadding among them.

In versions 11.x, a possible way to obtain a geo elevation matrix for a region or radius r around point p is to use GeoDisk[p, r]:

GeoElevationData[GeoDisk[IslandData["Corsica"], Quantity[200, "Kilometers"]]]

It is the quantity specification that you need to get right:

GeoElevationData[IslandData["Corsica"], 
 GeoRange -> Quantity[200, "Kilometers"]]
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract