|
POST
|
Hi Brandon Price, Looking for a Python example? You may want to have a look at this video, just to start somewhere: Writing Your Own Python DateTime Functions in the Arcmap Field Calculator HTH, Egge-Jan
... View more
04-30-2019
01:18 AM
|
1
|
0
|
4669
|
|
POST
|
Hi Jia Wang, I just wondered: what does stop you from georeferencing the .jpg yourself? Georeferencing a raster to a referenced layer—ArcGIS Pro | ArcGIS Desktop
... View more
04-30-2019
12:59 AM
|
0
|
0
|
749
|
|
BLOG
|
Calcite Maps contains CSS classes that can be used with Bootstrap to quickly build responsive map apps with a great UI and UX. After some trial and error I managed to create a first map app with those libraries. You can see it in action here: Happy coding! Egge-Jan <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="description" content="ArcGIS JS v4, Calcite Maps and Bootstrap Example">
<title>Gemeente West Betuwe</title>
<!-- Calcite Maps Bootstrap -->
<link rel="stylesheet" href="https://esri.github.io/calcite-maps/dist/css/calcite-maps-bootstrap.min-v0.10.css">
<!-- Calcite Maps -->
<link rel="stylesheet" href="https://esri.github.io/calcite-maps/dist/css/calcite-maps-arcgis-4.x.min-v0.10.css">
<!-- ArcGIS JS 4 -->
<link rel="stylesheet" href="https://js.arcgis.com/4.11/esri/css/main.css">
<style>
html, body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}
</style>
</head>
<body class="calcite-maps calcite-nav-top">
<!-- Navbar -->
<nav class="navbar calcite-navbar navbar-fixed-top calcite-text-light calcite-bgcolor-dark-blue">
<!-- Menu -->
<div class="dropdown calcite-dropdown calcite-text-dark calcite-bg-light" role="presentation">
<a class="dropdown-toggle" role="menubutton" aria-haspopup="true" aria-expanded="false" tabindex="0">
<div class="calcite-dropdown-toggle">
<span class="sr-only">Toggle dropdown menu</span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</a>
<ul class="dropdown-menu" role="menu">
<li><a role="menuitem" tabindex="0" data-target="#panelInfo" aria-haspopup="true"><span class="glyphicon glyphicon-info-sign"></span> Over deze kaart</a></li>
</ul>
</div>
<!-- Title -->
<div class="calcite-title calcite-overflow-hidden">
<span class="calcite-title-main">Gemeente West Betuwe</span>
<span class="calcite-title-divider hidden-xs"></span>
<span class="calcite-title-sub hidden-xs">De gemeente West Betuwe bestaat uit 26 kernen</span>
</div>
<!-- Nav -->
<ul class="nav navbar-nav calcite-nav">
<li>
<div class="calcite-navbar-search calcite-search-expander">
<div id="searchWidgetDiv"></div>
</div>
</li>
</ul>
</nav>
<!--/.calcite-navbar -->
<!-- Map -->
<div class="calcite-map calcite-map-absolute">
<div id="mapViewDiv"></div>
</div>
<!-- /.calcite-map -->
<!-- Panels -->
<div class="calcite-panels calcite-panels-left calcite-text-dark calcite-bg-light panel-group">
<!-- Panel - About -->
<div id="panelInfo" class="panel collapse in">
<div id="headingInfo" class="panel-heading" role="tab">
<div class="panel-title">
<a class="panel-toggle" role="button" data-toggle="collapse" href="#collapseInfo" aria-expanded="true" aria-controls="collapseInfo"><span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span><span class="panel-label">Interactieve kaart van de gemeente West Betuwe</span></a>
<a class="panel-close" role="button" data-toggle="collapse" tabindex="0" href="#panelInfo"><span class="esri-icon esri-icon-close" aria-hidden="true"></span></a>
</div>
</div>
<div id="collapseInfo" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingInfo">
<div class="panel-body">
<a href="https://www.westbetuwe.nl/" target="_blank" title="West Betuwe"><img src="https://www.westbetuwe.nl/sites/all/themes/westbetuwe/logo.svg" alt="West Betuwe" width="132px" height="77px"></a>
<p>De <a href="https://www.westbetuwe.nl/" target="_blank">Gemeente West Betuwe</a> bestaat uit 24 dorpen en 2 kleine steden. Het gemeentehuis staat in Geldermalsen.</p>
<p>Gebruik de knoppen aan de rechterkant om de kaart te verkennen:</p>
<ul>
<li>kies een andere basiskaart of een luchtfoto</li>
<li>spring met de bladwijzers langs elk van de 26 kernen.</li>
</ul>
Deze kaart is samengesteld door <a href="https://www.tensing.com/">Tensing GIS Consultancy B.V.</a>
</div>
</div>
</div>
</div>
<!-- /.calcite-panels -->
<script type="text/javascript">
var dojoConfig = {
packages: [{
name: "bootstrap",
location: "https://esri.github.io/calcite-maps/dist/vendor/dojo-bootstrap"
},
{
name: "calcite-maps",
location: "https://esri.github.io/calcite-maps/dist/js/dojo"
}]
};
</script>
<!-- ArcGIS JS 4 -->
<script src="https://js.arcgis.com/4.11/"></script>
<script>
require([
// ArcGIS
"esri/WebMap",
"esri/views/MapView",
// Widgets
"esri/Basemap",
"esri/widgets/BasemapGallery",
"esri/widgets/BasemapGallery/support/LocalBasemapsSource",
"esri/widgets/Expand",
"esri/geometry/Point",
"esri/tasks/Locator",
"esri/widgets/Home",
"esri/widgets/Zoom",
"esri/widgets/Search",
"esri/widgets/ScaleBar",
"esri/widgets/Attribution",
"esri/layers/FeatureLayer",
"esri/widgets/LayerList",
"esri/widgets/Bookmarks",
// Bootstrap
"bootstrap/Collapse",
"bootstrap/Dropdown",
// Calcite Maps
"calcite-maps/calcitemaps-v0.10",
// Calcite Maps ArcGIS Support
"calcite-maps/calcitemaps-arcgis-support-v0.10",
"dojo/domReady!"
], function(WebMap, MapView, Basemap, BasemapGallery, LocalBasemapsSource, Expand, Point, Locator, Home, Zoom, Search, ScaleBar, Attribution, FeatureLayer, LayerList, Bookmarks, Collapse, Dropdown, CalciteMaps, CalciteMapArcGISSupport) {
/******************************************************************
*
* Create the map, view and widgets
*
******************************************************************/
// Basemaps Esr Nederland
var lightGrayCanvas_RD_EsriNL = new Basemap({portalItem: {id: "9ff6521e85d24df1aa9cd4aebfef748b"}}); //Lichtgrijze Canvas RD
var darkGrayCanvas_RD_EsriNL = new Basemap({portalItem: {id: "62a3befb579e4d9f9c5c51576c8a7c25"}}); //Donkergrijze Canvas RD
var topo_RD_EsriNL = new Basemap({portalItem: {id: "7aea6fa913a94176a1074edb40690318"}}); //Topo RD
var open_Topo_RD_EsriNL = new Basemap({portalItem: {id: "0698b71eb7cf47898086d072e574ac32"}}); //Open Topo RD
var stratenkaart_RD_EsriNL = new Basemap({portalItem: {id: "9fe1a753955f418fa1cbaf1c47610a47"}}); //Stratenkaart RD
var luchtfoto_RD_EsriNL = new Basemap({portalItem: {id: "38e1a1c6ee2c421290622400d22ecf57"}}); //Luchtfoto RD
var localBasemaps = new LocalBasemapsSource({
basemaps : [topo_RD_EsriNL, open_Topo_RD_EsriNL, stratenkaart_RD_EsriNL, luchtfoto_RD_EsriNL, lightGrayCanvas_RD_EsriNL, darkGrayCanvas_RD_EsriNL]
});
var municipalitiesRenderer = {
"type": "simple",
"symbol": {
"color": [
193,157,188,0
],
"outline": {
"width": 3,
"color": [255,0,0,255]
},
"type": "simple-fill",
"style": "solid"
}
}
var westBetuweLayer = new FeatureLayer({
url: "https://services.arcgis.com/nSZVuSZjHpEZZbRo/arcgis/rest/services/Bestuurlijke_Grenzen_Gemeenten_2019/FeatureServer/0",
definitionExpression: "Gemeentenaam = 'West Betuwe'",
renderer: municipalitiesRenderer,
title: "Gemeente West Betuwe"
});
// Map
var map = new WebMap({
basemap: topo_RD_EsriNL,
bookmarks: []
});
// View
var centerPoint = new Point({
x: 141000,
y: 431000,
spatialReference: 28992
});
var mapView = new MapView({
spatialReference: 28992,
container: "mapViewDiv",
map: map,
center: centerPoint,
zoom: 7,
padding: {
top: 50,
bottom: 0
},
ui: {components: []}
});
// Popup and panel sync
mapView.when(function(){
CalciteMapArcGISSupport.setPopupPanelSync(mapView);
});
// Search - add to navbar
var searchWidget = new Search({
container: "searchWidgetDiv",
view: mapView,
sources: [{
locator: new Locator({ url: "https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"}),
singleLineFieldName: "SingleLine", // This allows to search on the combination of Postal Code and House number, e.g. 4181 AE 38
countryCode:"NL", //use the default GeocodeServer, but limit the results to the Netherlands only
placeholder: "Adres of plaats zoeken"
}],
includeDefaultSources: false
});
CalciteMapArcGISSupport.setSearchExpandEvents(searchWidget);
var basemapGallery = new BasemapGallery({
container: document.createElement("div"),
view: mapView,
source: localBasemaps
});
basemapGalleryExpand = new Expand({
expandIconClass: "esri-icon-basemap",
expandTooltip: "Basiskaarten",
view: mapView,
content: basemapGallery.domNode,
group: "top-right"
});
// 26 bookmarks, one for each settlement in the municipality West Betuwe
var acquoy = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 138503.35304403925, "xmin": 136631.68680070675, "ymax": 432739.07342354086, "ymin": 431723.0713915368}, "name": "Acquoy"}
var asperen = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 136622.16178165673, "xmin": 134750.49553832423, "ymax": 432993.0739315419, "ymin": 431977.0718995378}, "name": "Asperen"}
var beesd = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 143550.49825170927, "xmin": 139807.16576504428, "ymax": 434558.7619750061, "ymin": 432526.75791099796}, "name": "Beesd"}
var buurmalsen = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 149563.92921902513, "xmin": 147692.26297569263, "ymax": 434331.74646668794, "ymin": 433315.7444346839}, "name": "Buurmalsen"}
var deil = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 145914.8999798049, "xmin": 144043.2337364724, "ymax": 433349.8428156855, "ymin": 432333.84078368143}, "name": "Deil"}
var enspijk = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 143824.1582983215, "xmin": 141952.492054989, "ymax": 433286.3426886853, "ymin": 432270.3406566812}, "name": "Enspijk"}
var est = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 150885.78617204374, "xmin": 149014.11992871124, "ymax": 429857.2684293447, "ymin": 428841.26639734063}, "name": "Est"}
var geldermalsen = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 152072.72858544375, "xmin": 144586.06361211382, "ymax": 434355.4041321138, "ymin": 430291.39600409754}, "name": "Geldermalsen"}
var gellicum = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 139809.74584502002, "xmin": 137938.07960168752, "ymax": 432562.79321577866, "ymin": 431546.7911837746}, "name": "Gellicum"}
var haaften = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 144804.84772048338, "xmin": 141061.51523381838, "ymax": 426469.7671901477, "ymin": 424437.7631261396}, "name": "Haaften"}
var heesselt = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 152986.67343878676, "xmin": 151115.00719545427, "ymax": 425528.9288043354, "ymin": 424512.92677233135}, "name": "Heesselt"}
var hellouw = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 141734.09537931997, "xmin": 139862.42913598748, "ymax": 426967.99866790266, "ymin": 425951.9966358986}, "name": "Hellouw"}
var herwijnen = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 139057.28484307035, "xmin": 135313.95235640535, "ymax": 427292.3445488486, "ymin": 425260.34048484045}, "name": "Herwijnen"}
var heukelum = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 134357.71964230874, "xmin": 132486.05339897625, "ymax": 432002.7877464117, "ymin": 430986.7857144076}, "name": "Heukelum"}
var meteren = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 149720.9209097724, "xmin": 145977.5884231074, "ymax": 431895.130998323, "ymin": 429863.12693431485}, "name": "Meteren"}
var neerijnen = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 148605.2236977566, "xmin": 146733.5574544241, "ymax": 427592.99739405577, "ymin": 426576.9953620517}, "name": "Neerijnen"}
var ophemert = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 155858.63468991983, "xmin": 153986.96844658733, "ymax": 428995.5784613015, "ymin": 427979.57642929745}, "name": "Ophemert"}
var opijnen = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 150153.02875367695, "xmin": 148281.36251034445, "ymax": 427178.9951751489, "ymin": 426162.9931431448}, "name": "Opijnen"}
var rhenoy = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 139883.65542643785, "xmin": 138011.98918310535, "ymax": 433465.3423578122, "ymin": 432449.34032580815}, "name": "Rhenoy"}
var rumpt = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 141623.5589062448, "xmin": 139751.89266291232, "ymax": 433311.3545498366, "ymin": 432295.35251783254}, "name": "Rumpt"}
var spijk = {"extent": {"spatialReference": {"wkid": 28992},"xmax": 129845.6697719994, "xmin": 127974.0035286669, "ymax": 430100.6874421172, "ymin": 429084.68541011313}, "name": "Spijk"}
var tricht = {"extent": {"spatialReference": {"wkid": 28992},"xmax": 147787.92126019052, "xmin": 145916.25501685802, "ymax": 434052.5306966994, "ymin": 433036.52866469533}, "name": "Tricht"}
var tuil = {"extent": {"spatialReference": {"wkid": 28992},"xmax": 146090.7356022319, "xmin": 144219.0693588994, "ymax": 426628.87806301774, "ymin": 425612.8760310137}, "name": "Tuil"}
var varik = {"extent": {"spatialReference": {"wkid": 28992}, "xmax": 154870.568815881, "xmin": 152998.9025725485, "ymax": 426641.3284201823, "ymin": 425625.3263881782}, "name": "Varik"}
var vuren = {"extent": {"spatialReference": {"wkid": 28992},"xmax": 132126.59084458242, "xmin": 130254.92460124994, "ymax": 426615.1489074081, "ymin": 425599.14687540405}, "name": "Vuren"}
var waardenburg = {"extent": {"spatialReference": {"wkid": 28992},"xmax": 147507.45807096915, "xmin": 143764.12558430416, "ymax": 427905.2744644191, "ymin": 425873.270400411}, "name": "Waardenburg"}
map.bookmarks.addMany([acquoy, asperen, beesd, buurmalsen, deil, enspijk, est, geldermalsen, gellicum, haaften, heesselt, hellouw, herwijnen, heukelum, meteren, neerijnen, ophemert, opijnen, rhenoy, rumpt, spijk, tricht, tuil, varik, vuren, waardenburg]);
const bookmarksWidget = new Bookmarks({
container: document.createElement("div"),
view: mapView
});
bookmarksWidgetExpand = new Expand({
expandIconClass: "esri-icon-bookmark", // see https://developers.arcgis.com/javascript/latest/guide/esri-icon-font/
expandTooltip: "Bladwijzers", // optional, defaults to "Expand" for English locale
view: mapView,
content: bookmarksWidget.domNode,
group: "top-right"
});
var layerList = new LayerList({
container: document.createElement("div"),
view: mapView
});
layerListExpand = new Expand({
expandIconClass: "esri-icon-layer-list", // see https://developers.arcgis.com/javascript/latest/guide/esri-icon-font/
expandTooltip: "Lagen aan- of uitzetten", // optional, defaults to "Expand" for English locale
view: mapView,
content: layerList.domNode,
group: "top-right"
});
var home = new Home({
view: mapView,
group: "top-right"
});
var zoom = new Zoom({
view: mapView,
group: "top-right"
});
mapView.ui.add([basemapGalleryExpand, bookmarksWidgetExpand, layerListExpand, home, zoom], "top-right");
var scaleBar = new ScaleBar({
view: mapView,
unit: "metric"
});
mapView.ui.add(scaleBar, "bottom-left");
var attribution = new Attribution({
view: mapView
});
mapView.ui.add(attribution, "manual");
map.layers.addMany([westBetuweLayer]);
});
</script>
</body>
</html>
... View more
04-29-2019
03:27 AM
|
3
|
0
|
1695
|
|
POST
|
Hi Adeola Awe, Did you have a look at this tutorial? About the ArcGIS Network Analyst extension tutorial—Help | ArcGIS Desktop It contains 12 exercises and comes with a set of Tutorial data which you can download for free. And the second exercise is called Creating a multimodal network dataset, so this should cover your question about the 3 modes of transportation: bus, train and ferry. Hope this helps, Egge-Jan
... View more
04-25-2019
07:36 AM
|
0
|
5
|
3110
|
|
BLOG
|
Hi, Currently I am preparing myself for the new Technical Certification ArcGIS API for JavaScript 19-001, working my way through the documentation: ArcGIS API for JavaScript | ArcGIS for Developers (Latest) (in this case: 4.11). And I am sharing my first result here. Maybe no rocket science, but at least a working web map. You can see it in action here: ArcGIS API for JavaScript 4.11 Tutorial - Welcome to the Netherlands (source code shared below - all html, css and javascript in one file) I managed to add some widgets: a Home button, a Search bar and a Basemap Gallery The Search widget has a custom Locator to limit search results to the Netherlands only Both the Search widget and the Basemap Gallery are collapsible (using the Expand widget) The custom basemaps are in RD_New (EPSG: 28992) and are hosted by Esri Nederland I am not too unhappy with this first map. What do you think? Improvement suggestions are always welcome. Egge-Jan <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" href="https://js.arcgis.com/4.11/esri/themes/light/main.css">
<script src="https://js.arcgis.com/4.11/"></script>
<title>ArcGIS API for JavaScript 4.11 Tutorial - Welcome to the Netherlands</title>
<style>
html, body, #viewDiv {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
}
#titleDiv {
font-weight: 400;
font-style: normal;
font-size: 2.4rem;
padding: 10px;
}
</style>
<script>
require([
"esri/Map",
"esri/views/MapView",
"esri/geometry/Point",
"esri/widgets/Home",
"esri/widgets/Search",
"esri/tasks/Locator",
"esri/widgets/BasemapGallery",
"esri/widgets/BasemapGallery/support/LocalBasemapsSource",
"esri/widgets/Expand",
"esri/widgets/Zoom",
"esri/Basemap"
], function(Map, MapView, Point, Home, Search, Locator, BasemapGallery, LocalBasemapsSource, Expand, Zoom, Basemap) {
var titleDiv = document.getElementById("titleDiv");
var lightGrayCanvas_RD_EsriNL = new Basemap({
portalItem: {id: "9ff6521e85d24df1aa9cd4aebfef748b"} //Lichtgrijze Canvas RD hosted by Esri Nederland
});
var darkGrayCanvas_RD_EsriNL = new Basemap({
portalItem: {id: "62a3befb579e4d9f9c5c51576c8a7c25"} //Donkergrijze Canvas RD hosted by Esri Nederland
});
var topo_RD_EsriNL = new Basemap({
portalItem: {id: "7aea6fa913a94176a1074edb40690318"} //Topo RD hosted by Esri Nederland
});
var open_Topo_RD_EsriNL = new Basemap({
portalItem: {id: "0698b71eb7cf47898086d072e574ac32"} //Open Topo RD hosted by Esri Nederland
});
var luchtfoto_RD_EsriNL = new Basemap({
portalItem: {id: "38e1a1c6ee2c421290622400d22ecf57"} //Luchtfoto RD hosted by Esri Nederland
});
var localBasemaps = new LocalBasemapsSource({
basemaps : [lightGrayCanvas_RD_EsriNL, darkGrayCanvas_RD_EsriNL, topo_RD_EsriNL, open_Topo_RD_EsriNL, luchtfoto_RD_EsriNL]
});
var map = new Map({
basemap: topo_RD_EsriNL
});
var rdOrigin = new Point({
x: 155000,
y: 463000,
spatialReference: 28992
});
var view = new MapView({
spatialReference: 28992,
map: map,
container: "viewDiv",
center: rdOrigin,
zoom: 3
});
view.ui.empty("top-left"); //remove default Zoom Buttons to be able to add map title first
view.ui.add(titleDiv, "top-left");
var zoomBtns = new Zoom({
view: view
});
view.ui.add(zoomBtns, "top-left"); //add Zoom Buttons again underneath the map title
var homeBtn = new Home({
view: view
});
// Add the home button to the top left corner of the view
view.ui.add(homeBtn, "top-left");
var searchWidget = new Search({
container: document.createElement("div"),
sources: [{
locator: new Locator({ url: "https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"}),
singleLineFieldName: "SingleLine", // This allows to search on the combination of Postal Code and House number, e.g. 4181 AE 38
countryCode:"NL", //use the default GeocodeServer, but limit the results to the Netherlands only
placeholder: "Adres of plaats zoeken"
}],
view: view,
includeDefaultSources: false
});
searchWidgetExpand = new Expand({
expandIconClass: "esri-icon-search", // see https://developers.arcgis.com/javascript/latest/guide/esri-icon-font/
expandTooltip: "Search", // optional, defaults to "Expand" for English locale
view: view,
content: searchWidget.domNode,
group: "top-right"
});
var basemapGallery = new BasemapGallery({
container: document.createElement("div"),
view: view,
source: localBasemaps
});
basemapGalleryExpand = new Expand({
expandIconClass: "esri-icon-basemap",
expandTooltip: "Basemaps",
view: view,
content: basemapGallery.domNode,
group: "top-right"
});
// Add widgets to the top-right corner of the view
view.ui.add([searchWidgetExpand, basemapGalleryExpand], "top-right");
});
</script>
</head>
<body>
<div id="viewDiv">
<div id="titleDiv" class="esri-widget">
Welkom in Nederland
</div>
</div>
</body>
</html>
... View more
04-24-2019
02:42 PM
|
1
|
1
|
1469
|
|
POST
|
Hmmm, you should be owner of the layer (or admin) to have this option to Delete Features...
... View more
04-24-2019
02:19 PM
|
0
|
1
|
2028
|
|
POST
|
Sorry to hear it is all messed up now. Updating existing features only works with a unique identifier... 😞 Update existing features: Optionally, you can choose to update existing features by matching a field that contains a unique identifier. If this option is left unchecked, all updates will be created as new features. You may wish to delete all features from this corrupt layer and add your revised dataset again. How to delete all features? Click Service URL for the layer you want to clean On the ArcGIS REST Services Directory page, scroll all the way down and click Delete Features On the deleteFeatures page, select all features (Where: 1=1) and click Delete Features Watch out: no undo possible!! Now you have an empty layer to add your features again Does this solve your issue? Egge-Jan
... View more
04-24-2019
02:05 PM
|
0
|
3
|
2028
|
|
POST
|
Hi Janet Brewster, Please go to your Hosted Feature Layer's page in ArcGIS Online and, on the Overview tab, click on the Update Data > Append Data to Layer option. This will bring you to an Append Data dialog where you can upload a shapefile or FGDB with data for one of the layers in your Hosted Feature Layer. In a second dialog you can choose the specific layer to append data to, and whether you want to update existing records or add new ones. Please see screen captures below for a little more explanation. HTH, Egge-Jan
... View more
04-24-2019
01:09 PM
|
0
|
5
|
2028
|
|
POST
|
Did you see this post by Andrew Shoemaker? https://community.esri.com/groups/technical-support/blog/2017/06/13/declining-decimal-degrees-in-survey123-for-arcgis
... View more
04-24-2019
08:07 AM
|
0
|
1
|
866
|
|
POST
|
Hi Nakia Porter, The formula to calculate decimal degrees from DMS is: dd = d + m/60 + s/3600 So: 52° 9' 18.62" = 52° + 9'/60 + 18.62"/3600 = 52,15517222222222° But wait, isn't there a setting to display the coordinates in decimal degrees? Egge-Jan
... View more
04-24-2019
07:57 AM
|
0
|
3
|
866
|
|
POST
|
Oh yeah, deep waters. Definitely! The ArcGIS Online Assistant will warn you when you dare to edit an item's JSON: You are about to directly modify the contents of an item. Do not proceed unless you are absolutely certain of the risks. See also screen capture below. So, don't try this at home if you don't dare. And - very important - don't blame me if things go wrong... 🙂 But all that said, I do think it is doable... and it will save you the tedious work with all the popups and cartography stuff. Above you state the new data source has the same structure so let's suppose only the URL and the item id are different (and all the rest is the same). Steps to take: Login to ArcGIS Online Assistant and search your web map Choose I want to view an item's JSON Just having a look will hurt nobody. As long as you do not edit, nothing can go wrong - see second screen capture below Go to the Data section of your Web Map and copy the content (to have a backup) Search and replace the url and the itemId of your layer. It might work (and save you a lot of work). Please let us know how it worked out. Cheers, Egge-Jan
... View more
04-24-2019
06:54 AM
|
0
|
0
|
6066
|
|
POST
|
Hi nancy vonmeyer, Of course you could go to the ArcGIS Online Map Viewer to remove the old feature service and add the new feature service, but in that case you will loose all settings on the old layer and you will have to reset everything on the new one... Another solution might be to log in to the ArcGIS Online Assistant. This tool allows you to view and edit (!!) an items JSON. So, you could search the definition of your AGOL web map for the URL to the old feature service and replace it with a new URL. HTH, Egge-Jan
... View more
04-24-2019
05:50 AM
|
1
|
2
|
6066
|
|
POST
|
Hi Colleen Madigan Schelde, (Maybe you did already solve the issue since you posted this question...?) As far as I know it should be possible to add a zipped Shapefile to ArcGIS Online using the Windows 10 OS. Maybe there is something wrong with your zip file - the ArcGIS Online error message mentions an 'Invalid Shapefile'. Let's check a few things: Can you confirm that you can unzip the WIN10 zip file locally and open the shapefile in ArcGIS Desktop? If not, the shapefile might be corrupt... Can you confirm that the WIN10 zip file does contain all the necessary files (*.shp, *.dbf, *.shx, *.prj, etc.) to make up a complete Shapefile? Maybe you can try and use another zipping utility, like 7-Zip: https://www.7-zip.org/ (instead of the default Windows zipping functionality). Please let us know how you proceed. BR, Egge-Jan
... View more
04-23-2019
06:26 AM
|
0
|
1
|
893
|
|
POST
|
Hi Dambé SANWOGOU, Yes, that is possible. You can create a Tile Layer showing only the country you are interested in (Togo) and set this as your basemap. Egge-Jan
... View more
04-23-2019
05:40 AM
|
1
|
0
|
4550
|
|
POST
|
Hi Shouvik Jha, Please have a look at this page: PyScripter | Support for PyScripter at SourceForge.net PyScripter says the best way to get help with its software is by visiting https://groups.google.com/forum/#!forum/pyscripter. A good alternative? Personally I do write all my Python scripts in Notepad++ HTH, Egge-Jan
... View more
04-23-2019
01:46 AM
|
1
|
1
|
1491
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-30-2020 09:03 AM | |
| 2 | 12-12-2024 03:56 AM | |
| 2 | 04-15-2024 03:25 AM | |
| 2 | 03-25-2024 02:06 PM | |
| 1 | 01-17-2024 10:19 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-19-2025
02:25 AM
|