Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

airspace-calculator

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

airspace-calculator - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

arcgis-rest-api-ext.d.ts

10

AirspaceCalculator.d.ts

@@ -0,1 +1,5 @@

/**
* Calculates surface penetrations
* @module AirspaceCalculator
*/
import ElevationQueryResponse from "usgs-ned/ElevationQueryResult";

@@ -19,3 +23,3 @@ import SurfacePenetrationInfo from "./SurfacePenetrationInfo";

imageServiceUrl: string;
elevationServiceUrl: string | undefined;
elevationServiceUrl?: string | undefined;
/**

@@ -27,3 +31,3 @@ * Performs calculation

* @param imageServiceUrl - E.g.,
* http://example.com/arcgis/rest/services/Airport/Airport_Surfaces_40ft_Int/ImageServer
* https://example.com/arcgis/rest/services/Airport/Airport_Surfaces_40ft_Int/ImageServer
* @param [elevationServiceUrl] - Override the default URL to the USGS National Map Elevation service,

@@ -35,3 +39,3 @@ * in case they move the service in the future.

* @param imageServiceUrl - E.g.,
* http://example.com/arcgis/rest/services/Airport/Airport_Surfaces_40ft_Int/ImageServer
* https://example.com/arcgis/rest/services/Airport/Airport_Surfaces_40ft_Int/ImageServer
* @param [elevationServiceUrl] - Override the default URL to the USGS National Map Elevation service,

@@ -38,0 +42,0 @@ * in case they move the service in the future.

@@ -6,6 +6,7 @@ /**

var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());

@@ -21,4 +22,4 @@ });

while (_) try {
if (f = 1, y && (t = y[op[0] & 2 ? "return" : op[0] ? "throw" : "next"]) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [0, t.value];
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {

@@ -130,3 +131,3 @@ case 0: case 1: t = op; break;

* @param imageServiceUrl - E.g.,
* http://example.com/arcgis/rest/services/Airport/Airport_Surfaces_40ft_Int/ImageServer
* https://example.com/arcgis/rest/services/Airport/Airport_Surfaces_40ft_Int/ImageServer
* @param [elevationServiceUrl] - Override the default URL to the USGS National Map Elevation service,

@@ -148,3 +149,3 @@ * in case they move the service in the future.

* @param imageServiceUrl - E.g.,
* http://example.com/arcgis/rest/services/Airport/Airport_Surfaces_40ft_Int/ImageServer
* https://example.com/arcgis/rest/services/Airport/Airport_Surfaces_40ft_Int/ImageServer
* @param [elevationServiceUrl] - Override the default URL to the USGS National Map Elevation service,

@@ -151,0 +152,0 @@ * in case they move the service in the future.

var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {

@@ -133,3 +136,3 @@ extendStatics(d, b);

a = document.createElement("a");
a.href = "http://www.faa.gov/forms/index.cfm/go/document.information/documentID/186273";
a.href = "https://www.faa.gov/forms/index.cfm/go/document.information/documentID/186273";
a.target = "_blank";

@@ -176,2 +179,5 @@ a.textContent = a.title = "Form FAA 7460-1: Notice of Proposed Construction or Alteration";

_this._map = null;
_this._markerGraphic = null;
_this._markerLayer = null;
_this._resultLayer = null;
_this._mapMarkerSymbol = new SimpleMarkerSymbol();

@@ -178,0 +184,0 @@ return _this;

{
"name": "airspace-calculator",
"version": "2.1.0",
"version": "2.1.1",
"description": "Module that uses ArcGIS image service and USGS elevation service to determine if a structure can be erected at a given height. Also provides UI controls.",

@@ -11,17 +11,5 @@ "main": "AirspaceCalculator.js",

"files": [
"ac-worker.js",
"AirspaceCalculator.d.ts",
"AirspaceCalculator.js.map",
"AirspaceCalculator.ts",
"AirspaceCalculator.css",
"AirspaceCalculator.min.css",
"ArcGisUI.js",
"SurfacePenetrationInfo.d.ts",
"SurfacePenetrationInfo.js",
"SurfacePenetrationInfo.js.map",
"SurfacePenetrationInfo.ts",
"UI.d.ts",
"UI.js",
"UI.js.map",
"UI.ts"
"*.js",
"*.d.ts",
"*.js.map"
],

@@ -45,14 +33,14 @@ "repository": {

"devDependencies": {
"@types/arcgis-js-api": "^3.20.0 <4",
"@types/geojson": "^7946.0.0",
"@types/jasmine": "^2.8.3",
"jasmine": "^2.8.0",
"tslint": "^5.9.1",
"typescript": "^2.6.2"
"@types/arcgis-js-api": "^3.26.0",
"@types/geojson": "^7946.0.4",
"@types/jasmine": "^2.8.11",
"jasmine": "^3.5.0",
"tslint": "^5.20.0",
"typescript": "^3.6.3"
},
"dependencies": {
"@types/arcgis-rest-api": "^10.4.3",
"dms-conversion": "^3.0.0",
"dms-conversion": "^3.1.1",
"usgs-ned": "~3.0.2"
}
}

@@ -5,3 +5,2 @@ Airspace Calculator

[![Build Status](https://travis-ci.org/WSDOT-GIS/airspace-calculator.svg?branch=master)](https://travis-ci.org/WSDOT-GIS/airspace-calculator)
[![bitHound Score](https://www.bithound.io/github/WSDOT-GIS/airspace-calculator/badges/score.svg)](https://www.bithound.io/github/WSDOT-GIS/airspace-calculator)

@@ -13,3 +12,3 @@ A module that will calculate surface penetration using the [USGS NED Point Query Service] and an ArcGIS [Image service].

[You can see the library in action with this single-page application (SPA) web map.](http://wsdot-gis.github.io/airspace-calculator/demo/) This application is built with the [ArcGIS API for JavaScript] (the older version, [3.X](https://developers.arcgis.com/javascript/3/)).
[You can see the library in action with this single-page application (SPA) web map.](https://wsdot-gis.github.io/airspace-calculator/demo/) This application is built with the [ArcGIS API for JavaScript] (the older version, [3.X](https://developers.arcgis.com/javascript/3/)).

@@ -21,3 +20,3 @@ Setup

You will need an image service in order to use this library. Instructions for setting up an image service can be found [here](http://enterprise.arcgis.com/en/server/latest/publish-services/windows/key-concepts-for-image-services.htm).
You will need an image service in order to use this library. Instructions for setting up an image service can be found [here](https://enterprise.arcgis.com/en/server/latest/publish-services/windows/key-concepts-for-image-services.htm).

@@ -38,3 +37,5 @@ ### Installing the library via NPM ###

```TypeScript
const ac = new AirspaceCalculator("http://example.com/arcgis/rest/services/AirportMapApplication/AirspaceCalculatorSurface/ImageServer");
import AirspaceCalculator from "airspace-calculator";
const ac = new AirspaceCalculator("https://example.com/arcgis/rest/services/AirportMapApplication/AirspaceCalculatorSurface/ImageServer");
const x = -122.9033660888309;

@@ -41,0 +42,0 @@ const y = 46.972736571798244;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc