|
POST
|
Hi art zaifman, Always happy to help 🙂 If you consider your initial question being answered you might consider to 'close the call' by marking my answer as correct. Regarding your follow-up question: I guess this has something to do with the use of different coordinate systems being used. It looks like your input latitude and longitude are in WGS84 (EPSG:4326) whereas the coordinates in the SHAPE column are - most probably - in EPSG:3857. (EPSG:3857 is a Spherical Mercator projection coordinate system popularized by web services such as Google and later OpenStreetMap, and also being used by Esri, with WKID:102100). I guess the points do appear in the right location when plotted on the map, don't they? BR, Egge-Jan
... View more
03-31-2020
08:30 AM
|
2
|
3
|
3584
|
|
POST
|
Hi art zaifman, The answer to your question might be found here: Introduction to the Spatially Enabled DataFrame | ArcGIS for Developers New at version 1.5, the Spatially Enabled DataFrame is an evolution of the SpatialDataFrame object that you may be familiar with. While the SDF object is still avialable for use, the team has stopped active development of it and is promoting the use of this new Spatially Enabled DataFrame pattern. The SEDF provides you better memory management, ability to handle larger datasets and is the pattern that Pandas advocates as the path forward. HTH, Egge-Jan
... View more
03-31-2020
05:48 AM
|
1
|
0
|
3584
|
|
POST
|
Hi Siyabonga Kubeka, Yes, of course! You can view the source in your browser, and copy the full .htm file from there. You can access the source - both in Firefox and Google Chrome - by hitting Ctrl+U with the page open --> the source will then be opened in a separate window. Did you know this trick already? Cheers, Egge-Jan
... View more
03-31-2020
02:48 AM
|
0
|
0
|
1468
|
|
POST
|
Hi Siyabonga Kubeka, Recently, I did create a little app - with the ArcGIS API for JavaScript 4.x - with a custom tool to enter WGS84 Coordinates to zoom to a certain point, see screen capture attached. These entries are used to create a new Graphic that is added to the MapView. You can find (the source code of) the app here: ArcGIS JavaScript Tutorial - Go to Latitude/Longitude Is this useful to you? Cheers, Egge-Jan
... View more
03-31-2020
12:59 AM
|
0
|
2
|
1468
|
|
POST
|
Hi Ben Jackson, The trick here is to change ownership, as only the owner can modify or edit a Web Mapping Application. From your description of their rights, it looks to me like all your team members have the power to take the ownership of the app themselves. I.e. it is not necessary for the owner to hand over ownership; a user with sufficient rights can take it anyway... Does this solve your issue? Egge-Jan
... View more
03-30-2020
09:03 AM
|
1
|
0
|
16117
|
|
POST
|
Hi Vince Legendre, I tried to access this WFS service in the ArcGIS Online Map Viewer and I managed to add the layer Alluvial_Fans - see screen captures attached. So, in the Map Viewer the Alluvial_Fans are visible, but trying to add them as a layer in ArcGIS Pro 2.5 I get this error message: Failed to add data. Bad address. Verify the server is running. So, my error message is longer than yours! :-):-):-):-) So, I guess it is up to you to choose who to blame, the WFS service or ArcGIS Pro 2.5. I tend to opt for the latter... HTH, Egge-Jan
... View more
03-30-2020
08:22 AM
|
0
|
0
|
10032
|
|
POST
|
Hi Michelle Couden, Yes, you are right. In my workflow I did update the Web Map, but you can also create a new Web Map and add that to an existing Web Mapping Application, as you did. There is quite some documentation available online, but yeah, it remains complicated stuff, web mapping. That's what we are GIS professionals for 🙂 And the community is there to help. Good luck, Egge-Jan
... View more
03-27-2020
09:34 AM
|
2
|
1
|
4297
|
|
POST
|
Hi Michelle Couden, I think you have to make a distinction here between the Feature Layers, the Web Map and the Web Mapping Application. It is the Feature Layers that contains the data for a certain year, say 2020. You combine these Feature Layers together with a basemap layer into a Web Map. And this Web Map will be presented in a Web Mapping Application. It is the app that contains all the functionality (zoom in, zoom out, search, layer control, legend, etc.) The only thing you will have to do early next year is to publish the Feature Layers for 2021 and update the Web Map with these new layers (removing the 2020 ones). In this way your Web Mapping Application will stay entirely as it is, automatically showing the new 2021 data. And you have a backup of your 2020 data as long as you do not delete these Feature Layers. Is this an answer to your question? BR, Egge-Jan
... View more
03-27-2020
09:21 AM
|
1
|
3
|
4297
|
|
POST
|
Hmmm, let's see. Maybe others have any suggestions..?
... View more
03-26-2020
09:32 AM
|
0
|
0
|
1243
|
|
POST
|
Hi Tyler Lawson, Please note: I am not from Esri. Just another user who tries to think with you to solve the issue... 🙂 And the discussion is open to others to jump in with ideas and suggestions. Thank you for the additional information about your particular setup. My hypothesis was that it is not a bug in the ArcGIS API for JavaScript version 4.14 as such, as it seams to work under 'normal' circumstances. So, something else is causing the problem in your case... You are talking about Durandal, is that this Durandal? Could that be causing the issue? Can you confirm that the 4.6 version of your application does work correctly in combination with Durandal, or are you introducing Durandal just now for the new version? Any (error) messages in your console? ... Please let us know. Cheers, Egge-Jan
... View more
03-26-2020
08:20 AM
|
0
|
2
|
1243
|
|
POST
|
Hi Tyler Lawson, This sounds weird. It is not the normal behavior. If you check the Intro to PopupTemplate in the sandbox, which you have surely done, you will see the normal behavior is for the title to appear and to stay. I tested this in my favorite browser (Firefox), but it also runs in Internet Explorer. So, we've got to find out where your application deviates from the functionality in this sample... Can you share an application (i.e. in CodePen) to show the issue in real-time? What browser or browsers are you using? Only modern ones, I hope 🙂 HTH, Egge-Jan
... View more
03-26-2020
03:45 AM
|
0
|
4
|
1243
|
|
BLOG
|
https://community.esri.com/people/EPolle_TensingInternational/blog/2020/03/24/arcgis-javascript-with-uk-data-table-of-content Basemapgallery In the first exercise in this series we just had a single basemap in our map. Here we are going to add a BasemapGallery allowing users to switch basemaps. Please note: all basemaps added to the gallery need to have the same spatial reference. And because our first basemap is projected in British National Grid, all the other ones should have this same spatial reference. We have found these basemaps which meet this requirement: OS Open Background OS Open Grey OS Open Grey Labels OS Open Carto OS Open Rasters GB Dark Grey In the code below we use the Basemap class to create six basemap objects. Next we combine these objects in a single LocalBasemapsSource, which in turn we add to the BasemapGallery widget. Follow this link to see the end result of this exercise: ArcGIS JavaScript with UK data - OS Basemapgallery <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<title>ArcGIS JavaScript with UK data - OS Basemapgallery</title>
<link rel="stylesheet" href="https://js.arcgis.com/4.15/esri/css/main.css">
<script src="https://js.arcgis.com/4.15/"></script>
<style>
html, body, #viewDiv {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
}
.esri-basemap-gallery__item-thumbnail {
width: auto;
}
</style>
<script>
require([
"esri/Map",
"esri/geometry/Point",
"esri/views/MapView",
"esri/Basemap",
"esri/widgets/BasemapGallery",
"esri/widgets/BasemapGallery/support/LocalBasemapsSource"
], function(Map, Point, MapView, Basemap, BasemapGallery, LocalBasemapsSource) {
// Basemaps Esri UK
let OS_Open_Background_Esri_UK = new Basemap({portalItem: {id: "a4ee9f2805754f4b9004103f67688bf1"}}); //OS Open Background
let OS_Open_Gray_Esri_UK = new Basemap({portalItem: {id: "93320e50f3f3419795946b1243aadb1e"}}); //OS Open Grey
let OS_Open_Gray_Labels_Esri_UK = new Basemap({portalItem: {id: "7be6d1f81ab047fda02107a97079ccd3"}}); //OS Open Grey Labels
let OS_Open_Carto_Esri_UK = new Basemap({portalItem: {id: "0bd3a4a6fd674a90a7d0a9e5f36fb59b"}}); //OS Open Carto
let OS_Open_Raster_Esri_UK = new Basemap({portalItem: {id: "5b5ff94ca7414a26b75e0d337a023d38"}}); //OS Open Rasters
let GB_Dark_Grey_Esri_UK = new Basemap({portalItem: {id: "a118075240bc4e4f8062265ecdad0e7e"}}); //GB Dark Grey
let UKBasemaps = new LocalBasemapsSource({
basemaps : [OS_Open_Background_Esri_UK, OS_Open_Carto_Esri_UK, OS_Open_Gray_Esri_UK, OS_Open_Gray_Labels_Esri_UK, OS_Open_Raster_Esri_UK, GB_Dark_Grey_Esri_UK]
});
let map = new Map({
basemap: OS_Open_Carto_Esri_UK
});
let view = new MapView({
spatialReference: 27700,
container: "viewDiv",
map: map,
center: new Point({x: 500000, y: 500000, spatialReference: 27700}),
zoom: 7
});
let basemapGallery = new BasemapGallery({
view: view,
source: UKBasemaps
});
view.ui.add([basemapGallery], "top-right");
});
</script>
</head>
<body>
<div id="viewDiv"></div>
</body>
</html>
... View more
03-24-2020
03:21 PM
|
1
|
0
|
838
|
|
BLOG
|
In a series of tutorials we will play around with ArcGIS API for JavaScript using only UK data. This is the link to the first exercise: https://community.esri.com/people/EPolle_TensingInternational/blog/2020/03/24/arcgis-javascript-with-uk-data-os-basemap Widgets https://community.esri.com/people/EPolle_TensingInternational/blog/2020/03/24/arcgis-javascript-with-uk-data-os-basemapgallery widget More advanced stuff https://community.esri.com/people/EPolle_TensingInternational/blog/2020/07/06/arcgis-javascript-with-uk-data-urlsearchparams: Setting x, y and zoom level in url to retain map view More exercises will follow. Stay tuned.
... View more
03-24-2020
12:25 PM
|
0
|
1
|
870
|
|
BLOG
|
https://community.esri.com/people/EPolle_TensingInternational/blog/2020/03/24/arcgis-javascript-with-uk-data-table-of-content ArcGIS API for JavaScript In this tutorial - the first of a series - we are going to play around with ArcGIS API for JavaScript using only UK data. We start with a fairly simple starter app - just a basemap allowing you to zoom in and zoom out. Nothing really special, except for the fact that we are not using one of the default Esri basemaps in web mercator. Instead we are using OS Open Carto, a UK (or even GB) only basemap, based on Ordnance Survey (OS) data, hosted in ArcGIS Online (Living Atlas). The projection of this map is British National Grid (EPSG:27700). In the code below you can see that we reference the web map by its id: 0bd3a4a6fd674a90a7d0a9e5f36fb59b To be able to add this map to the view, we do set the spatialReference of the view to 27700. And to center the view we create a new point in this very same projection: center: new Point({x: 500000, y: 500000, spatialReference: 27700}) Follow this link to see the end result of this exercise: ArcGIS JavaScript with UK data - OS Basemap And please note: we have only just begun! More functionality will be added in later exercises. To be continued. <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<title>ArcGIS JavaScript with UK data - OS Basemap</title>
<link rel="stylesheet" href="https://js.arcgis.com/4.15/esri/css/main.css">
<script src="https://js.arcgis.com/4.15/"></script>
<style>
html, body, #viewDiv {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
}
</style>
<script>
require([
"esri/Map",
"esri/geometry/Point",
"esri/views/MapView"
], function(Map, Point, MapView) {
let map = new Map({
basemap: {
portalItem: {
id: "0bd3a4a6fd674a90a7d0a9e5f36fb59b" // OS Open Carto
}
}
});
let view = new MapView({
spatialReference: 27700,
container: "viewDiv",
map: map,
center: new Point({x: 500000, y: 500000, spatialReference: 27700}),
zoom: 7
});
});
</script>
</head>
<body>
<div id="viewDiv"></div>
</body>
</html>
... View more
03-24-2020
12:10 PM
|
1
|
1
|
1223
|
|
POST
|
Hi Damian Smith, Yes, you can! You can add multiple editable layers to a map. You can find additional information about setting this up for Collector for ArcGIS via this link: Make a map—Collector for ArcGIS | Documentation HTH, Egge-Jan
... View more
03-24-2020
07:55 AM
|
2
|
0
|
649
|
| 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
|