
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@esri/arcgis-to-geojson-utils
Advanced tools
Tools to convert ArcGIS JSON geometries to GeoJSON geometries and vica-versa.
Tools to convert ArcGIS JSON geometries to GeoJSON geometries and vice versa.
npm install @esri/arcgis-to-geojson-utils
This package is distributed as a UMD module and can also be used in AMD based systems or as a global under the ArcgisToGeojsonUtils
namespace.
<script src="https://unpkg.com/@esri/arcgis-to-geojson-utils"></script>
ArcgisToGeojsonUtils.arcgisToGeoJSON({
"x":-122.6764,
"y":45.5165,
"spatialReference": {
"wkid": 4326
}
});
import { arcgisToGeoJSON } from '@esri/arcgis-to-geojson-utils';
import { geojsonToArcGIS } from '@esri/arcgis-to-geojson-utils';
// parse ArcGIS JSON, convert it to GeoJSON
const geojson = arcgisToGeoJSON({
"x":-122.6764,
"y":45.5165,
"spatialReference": {
"wkid": 4326
}
});
// take GeoJSON and convert it to ArcGIS JSON
const arcgis = geojsonToArcGIS({
"type": "Point",
"coordinates": [45.5165, -122.6764]
});
const esriUtils = require('@esri/arcgis-to-geojson-utils');
esriUtils.geojsonToArcGIS(/* ... */);
esriUtils.arcgisToGeoJSON(/* ... */);
Thanks to @JeffJacobson, TypeScript typings and tests can be found on npm.
We recommend using --moduleResolution Node
to ensure the compiler recognizes the types.
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.
Project | Language | Status | Maintainer |
---|---|---|---|
arcgis2geojson | Python | Incomplete | @chris48s |
Copyright © 2015-2018 Esri
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
A copy of the license is available in the repository's LICENSE file.
FAQs
Tools to convert ArcGIS JSON geometries to GeoJSON geometries and vica-versa.
The npm package @esri/arcgis-to-geojson-utils receives a total of 2,920 weekly downloads. As such, @esri/arcgis-to-geojson-utils popularity was classified as popular.
We found that @esri/arcgis-to-geojson-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 16 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.