|
POST
|
If I run as below will this work? Just wont have the fail safe of whether or not one of the scripts failed? @echo off start /wait D://PythonScripts/Script1 start /wait D://PythonScripts/Script2 start /wait D://PythonScripts/Script3 start /wait D://PythonScripts/Script4
... View more
04-19-2017
09:45 AM
|
0
|
2
|
18804
|
|
POST
|
I am looking for info on how to properly write a .bat file that will run multiple python scripts sequentially. If one of those scripts fails then I need the process to stop. BUT i need then to run in sequence and wait before starting the next. I think this is close but nothing in there that aborts if fails. @echo off start /wait D://PythonScripts/Script1 start /wait D://PythonScripts/Script2 start /wait D://PythonScripts/Script3 start /wait D://PythonScripts/Script4
... View more
04-19-2017
08:01 AM
|
0
|
9
|
31940
|
|
POST
|
Bit confused here and want to make sure we are on the same page. I have a simple Javascript app that I wrote. Nothing is pointing to to ArcGIS online, but rather one of my own Map Services which prompts the user for credentials. When they enter those and the app opens I want to write UserName to a variable.
... View more
04-04-2017
10:32 AM
|
0
|
1
|
1082
|
|
POST
|
Is there a way to capture the User Name when the user is prompted to add their credentials for a secured service? I want to write the user name to a variable in Javascript
... View more
04-04-2017
09:17 AM
|
0
|
4
|
1388
|
|
POST
|
thats it.....THANKS....I knew there was something small you could add....
... View more
04-04-2017
08:50 AM
|
0
|
0
|
647
|
|
POST
|
seems to be working now....but still have to set the spatial reference to query.outSpatialReference = {wkid: 102100}; instead of query.outSpatialReference = map.spatialReference; Last question....is there a way to set the extent but then back off a bit....it zooms fine but a little to close for my liking...can I back off a fraction or some setting.
... View more
04-04-2017
08:20 AM
|
0
|
3
|
2784
|
|
POST
|
think its working now...ONE second.....Thanks Again dude....BRB
... View more
04-04-2017
08:14 AM
|
0
|
4
|
2784
|
|
POST
|
Its working but zooming in a bit much....can I back off the zoom a little bit to include all the graphics?
... View more
04-04-2017
07:58 AM
|
0
|
0
|
2784
|
|
POST
|
I got it to work but ONLY by setting it this way. query.outSpatialReference = {wkid: 102100}; if I use this is does not work. query.outSpatialReference = map.spatialReference;
... View more
04-04-2017
07:53 AM
|
0
|
7
|
2784
|
|
POST
|
If I do this query.outSpatialReference = map.spatialReference; and may map looks like this: var map = new Map("map", { basemap: "dark-gray", center: [-79.665, 37.629], zoom: 8, logo: false, showLabels: true }); Now its not only zooming to Africa but drawing the graphics there....tried clearing my cache etc...
... View more
04-04-2017
07:16 AM
|
0
|
9
|
2784
|
|
POST
|
I included the relevant code I think for this issue.... I have my Map I am setting the spatial reference of the query results Using the results to create a new graphics Layer The Graphics are located in the correct position so that works fine... BUT when the below runs it zooms off the coast of Africa. I know this is a Spatial Reference issue but not sure where and how to set it... Thoughts? var extGraphics = graphicsUtils.graphicsExtent(map.graphics.graphics); map.setExtent(extGraphics); //SET THE MAP
var map = new Map("map", {
basemap: "dark-gray",
center: [-79.665, 37.629],
zoom: 8,
logo: false,
showLabels: true
});
// QUERY FOR County and Squad
var queryTask = new QueryTask("https://vafwisdev.dgif.virginia.gov/arcgis/rest/services/Projects/Summons/FeatureServer/5");
var query = new Query();
query.outSpatialReference = {wkid: 4326}; //4326 //102100 //3857
query.returnGeometry = true;
/// SNIP
var countiesGraphicsLayer = new GraphicsLayer({opacity:0.75});
//This is the click event for the graphics on the map
countiesGraphicsLayer.on("click", selectGrid);
map.addLayer(countiesGraphicsLayer);
/// SNIP
arrayUtils.map(results.features, function(feature) {
feature.setSymbol(symbol);
feature.setInfoTemplate(infoTemplate);
countiesGraphicsLayer.add(feature);
var featureAttributes = feature.attributes;
for (var attr in featureAttributes) {
resultItems.push("<b>" + attr + ":</b> " + featureAttributes[attr] + "<br>");
}
resultItems.push("<br>");
});
dom.byId(ActivePane).innerHTML = resultItems.join("");
var extGraphics = graphicsUtils.graphicsExtent(map.graphics.graphics);
map.setExtent(extGraphics);
/// SNIP
... View more
04-04-2017
06:51 AM
|
0
|
12
|
4043
|
|
POST
|
Had to add two ) after value for start and end date but worked great (dom.byId("StartDate").value
(dom.byId("StartDate").value)
... View more
04-03-2017
01:37 PM
|
0
|
0
|
4155
|
|
POST
|
SQL Server...This query works fine....just need the Date Range
... View more
04-03-2017
12:37 PM
|
0
|
0
|
4155
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-20-2018 11:09 AM | |
| 1 | 09-10-2018 06:26 AM | |
| 1 | 09-15-2022 11:02 AM | |
| 1 | 05-21-2021 07:35 AM | |
| 1 | 08-09-2022 12:39 PM |
| Online Status |
Offline
|
| Date Last Visited |
09-19-2022
09:23 PM
|