|
POST
|
It can be solved by creating a Hosted Feature Layer View using the Join feature tool in Online. BTW: this analysis tool takes no credits for analysis and storage when creating a Hosted View. This way you create a hosted feature layer view that joins the two tables together and returns a new hosted layer (a new item). Things to bear in mind: As data changes in your source tables the data accessed via the view will always be up to date As you will have the fields from both tables available you will be also able to filter by any combination of fields Note: in order to create a hosted layer view you do need to own both tables. Thanks to Jeremy Bartley for your help!, Raúl
... View more
09-26-2019
04:54 AM
|
1
|
0
|
1406
|
|
POST
|
I'm sorry for the inconvenience... but would you know if what I'm trying to do is possible? ^_^ // cc: Rene Rubalcava, Ionut Alixandroae, Patrick Arlt, Dave Bouwman, Tom Wayson, Gavin Rehkemper Thanks in advance one more time
... View more
09-18-2019
10:47 PM
|
0
|
0
|
1405
|
|
POST
|
Requirement: I want/need to do this using hosted feature services in ArcGIS Online I'm just trying to do something like this with just one REST API call: SELECT table1.*
FROM table1, table2
WHERE table1.primary_key = table2.foreign_key
AND table1.attr = 'Value1'
AND table2.attr = 'Value2' Now I'm going to explain the approach I have been following and the issue I'm facing, but maybe the approach is wrong. Steps: I created a file geodatabase in ArcGIS Pro with two Feature Classes (table1 & table2) I created a relationship class where: table1.primary_key = table2.foreign_key I published it in ArcGIS Online Then I tried to do a similar query to this one using the query related records end point from the REST API but I couldn't: First, I noticed that it is not possible to set the objectIds param to "*" (which I don't quite understand why) <- but I could manage it by setting all the objectIds manually. But the real problem I found was that in the definitionExpression param I could only use attributes from one table/layer (the related one) but not from both of them. So, I'm not sure if the only way to solve this is programmatically by: First query one table to get only the OBJECTIDs that meet all the criteria established to this table And then use the query related records setting the objectIds to those I recovered in step 1 and set the definitionExpression to add the pending criteria (the one to filter also the data within the related table). Is this the way to solve what I'm trying to achieve or there's some way to do it with just one API request?. Best regards, Raul BTW: I also tried doing a JOIN in memory and then selecting features by attributes and it worked in ArcGIS Pro, but I couldn't publish that on ArcGIS Online
... View more
09-17-2019
06:29 AM
|
0
|
2
|
1567
|
|
POST
|
Thanks Xander Bakker, I have used your code to create a Google Street View link: var p = Centroid( $feature )
function MetersToLatLon(x, y) {
// Converts XY point from Spherical Mercator EPSG:900913 to lat/lon in WGS84 Datum
// Fuente: http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/
var originShift = 2.0 * PI * 6378137.0 / 2.0;
var lon = (x / originShift) * 180.0;
var lat = (y / originShift) * 180.0;
lat = 180.0 / PI * (2.0 * Atan( Exp( lat * PI / 180.0)) - PI / 2.0);
return [lat, lon];
}
function CreateGoogleStreetView(lat, lon) {
return "https://www.google.com/maps/@?api=1&map_action=pano&viewpoint=" + lat + "," + lon;
}
var latlon = MetersToLatLon(p.x, p.y)
var url = CreateGoogleStreetView(latlon[0],latlon[1])
return url Thanks!
... View more
07-16-2019
02:38 AM
|
2
|
1
|
21249
|
|
POST
|
Finally Jorge Barrachina Gutiérrez fixed the issue we had, you can see how on this commit. So feel free to download the code: https://github.com/esri-es/arcgis_websocket_server FYI: We are still working on the "develop" branch. Thanks Jorge, you rules!
... View more
05-17-2019
03:22 AM
|
2
|
0
|
8367
|
|
POST
|
Hi Axelle Ribault it is possible to create a custom Stream Service, you can download the one we mentioned before. Cheers
... View more
05-17-2019
03:19 AM
|
1
|
1
|
1686
|
|
POST
|
Hi Kelly Gerrow, did you marked my previous message by mistake? ^_^, I still don't know how to find downloadable content from other users hehe. Cheers! Raul P.S: With my previous message I meant I published the original question with Raul Jimenez instead of raul.jimenezesri-es-esridist by mistake ;P.
... View more
05-08-2019
07:46 PM
|
0
|
0
|
864
|
|
POST
|
I used posted the question with my personal account by mistake
... View more
05-02-2019
04:56 AM
|
0
|
0
|
864
|
|
POST
|
bin li you are right, if you are using an essentials you can use the pay as you go model to pay extra credits. The other option is to upgrade to a prepaid plan, but if you are able to use a credit card to pay.. I would recomend you to use the pay as you go plan
... View more
04-14-2019
03:35 AM
|
0
|
0
|
865
|
|
POST
|
First of all, I would like to apologize to Jorge Barrachina Gutiérrez because in my first message I forgot to attribute recognition for the source code, since he created it. ^_^'' Said that, thanks Matt George for the explanation! though we should add some timeout logic here so we can log errors to make this more apparent. It would be nice yes . Instead, we want to enable developers to be able to just pass in their own websocket connection without having to fake an entire StreamService. Nothing is settled at this point, but we are thinking about exposing the ability for users to pass in a MessagePort that they could then use to process and stream in whatever data they would like. I'm curious to get your thoughts on this and see if this would provide an easier way of accomplishing what you have in mind. Yes, well I guess keeping something like the old implementation of the StreamLayer, maybe just renamed as a first approach would be enough at least to start. We would like to have a way to add a layer in a web map receiving data from a custom websocket server, that way we could use it also within an storymap/dashboard/etc. Cheers!
... View more
03-12-2019
02:29 AM
|
1
|
0
|
6683
|
|
POST
|
I have never tried but I guess it should be possible. Has anyone tried combining the JS API with the WebVR spec? I have also something about WebVR 2 or WebXR Device API... I have also found a slide from Esri DevSummit Europe in 2017: "Exploring VR with ArcGIS" that said: You can find ArcGIS 360 VR here, but in my understanding it was a native app. And I have also though that maybe it could be accomplished combining the Gamepad integration that Richie Carmichael did with the devideorientation provided by the browser, does it make sense? Cheers!, Raul
... View more
03-12-2019
02:01 AM
|
0
|
0
|
1043
|
|
POST
|
Ey John! Thanks! Sure, you can find it here: GitHub - hhkaos/arcgis_websocket_server: POC of Fake StreamServer Best regards!
... View more
03-07-2019
09:20 PM
|
0
|
0
|
6682
|
|
POST
|
From this question we realized that the StreamLayer documentation explained that the following could be done: You may also use your own web socket server, as long as it emits geographic features in the Esri JSON format. So Jorge Barrachina Gutiérrez and I are just doing an experiment to connect a StreamLayer with a custom websocket server (built with NodeJS) and it's working in JS API 3.x & 4.x except in versions >= 4.9. We noticed in this version (4.9) the StreamLayer was updated, so we guess something might be broken because to our understanding the changes shouldn't affect to the behaviour of this example. I have recorded a video to show you the issue: Does anyone have any idea what might be going on? In case you look the source code you can find it on this repo on Github. // cc: John Grayson John Gravois Gavin Rehkemper Sean McGee Max Payson Rene Rubalcava --- By the way..., sorry for not been at the DevSummit in Palm Springs! :___(, hopefully we'll see some of you at the DevSummit Europe this year!
... View more
03-05-2019
05:03 AM
|
0
|
13
|
9280
|
|
POST
|
Hi Kathy Smikrud , You are doing it right, I have just checked with the Google Analytics Debugger and it is sending the data: But you should not check in page views, you should check the "Events" inside "Real-Time" or "Behavior": In my case I'm filtering by "Event Label" because I wanted to know with sections were more visited. If you expand the information in the browser console (using the debugger) you will understand with "Categories", "Actions" and "Label" are sent based on the actions you perform in the site. This is what I see if I expand a message when clicking on a new section in the storymap journal I modified: Best regards, Raul
... View more
10-29-2018
02:39 AM
|
0
|
1
|
783
|
|
POST
|
Thanks Kelly, you are completely right. I tried to get some "multiplier factor" but as you said I couldn't. Just for your information, here you have some tests I have done (without specifying the field types) : Point datasets: 1377 points & 8 fields each: 752 KBs Hosted feature layer 514 KBs GeoJSON 102 KBs XLS 96 KBs SHP 79 KBs KML 46 KBs CSV 47 points & 26 fields each: 200 KBs Hosted feature layer 92 KBs GeoJSON 29 KBs XLS 21 KBs CSV 20 KBs KML 16 KBs SHP Polygon datasets: (XLS, & CSV do not apply) 84 rows & 20 cols (neighbourhoods) 489 KBs GeoJSON 432KBs Feature collection (maintaining the original features, without generalizing) 312 KBs Hosted feature layer 176 KBs KML 128 KBs SHP 121 KBs FGDB ... 52 rows & 6 cols (states) 2 MBs Feature collection (maintaining the original features, without generalizing) 1.3 MBs GeoJSON 1 MBs Hosted feature layer 839 KBs SHP 837 KBs KML 459 KBs FGDB So I have notice it is even difficult to conclude an order, right?: Thanks again, I'll recommend to upload the data and view the size then ^_^. Cheers!
... View more
09-06-2018
04:08 AM
|
0
|
0
|
5494
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-25-2023 03:27 AM | |
| 3 | 07-11-2025 08:28 AM | |
| 1 | 06-09-2025 08:42 AM | |
| 1 | 02-18-2025 03:33 AM | |
| 2 | 02-18-2025 01:14 AM |
| Online Status |
Offline
|
| Date Last Visited |
12-15-2025
04:11 AM
|