|
POST
|
I'm not sure, but it seems like it would affect incremental backups. According to the documentation: By default, the data store creates a full backup of feature layers once a week and incremental backups either when the log files are full or every 5 minutes, whichever comes first. The database controls incremental backup creation, but you can change how often the data store creates a full backup by running the updatebackupschedule utility. ...if you use default backup settings, backups will contain five full backups and 31 days of incremental backup files The backup directory retains backup files for 31 days by default. That means if you keep the default backup frequency (every 7 days) and retention schedules (31 days), the backup directory will contain five full backups and 31 days of incremental backup files. If you ran something like updatebackupretaindays 27 it seems that it would then only keep 27 days of incremental back-ups and 4 full backups (assuming you kept the full backup frequency of 7 days).
... View more
08-19-2015
07:31 AM
|
0
|
2
|
6101
|
|
POST
|
Just curious, those records that are getting returned from January, is the end date still in the future? If so, wouldn't that would put them as "ongoing" within the week time slice - you do not want to return these, right? Maybe it would help to visualize it: Week 8/24/2015 - 8/30/2015 (assuming today was 8/24 using CURRENT_DATE + 7😞 event 1 - starts 7/1/2015; ends 9/2/2015 (do not capture) event 2 - starts 8/24/2015; ends 8/30/2015 (capture) event 3 - starts 8/26/2015; ends 8/26/2015 (capture) event 4 - starts 8/25/2015; ends 8/29/2015 (capture) event 5 - starts 8/27/2015; ends 9/3/2015 (capture?) event 6 - starts 8/23/2015; ends 8/27/2015 (do not capture) event 7 - starts 8/1/2015; ends 8/22/2015 (do not capture) event 8 - starts 8/31/2015; ends 8/31/2015 (do not capture) event 9 - starts 9/3/2015; ends 9/9/2015 (do not capture) Feel free to adjust the scenarios for capturing the events - this will give me a better idea at what you're looking to pull.
... View more
08-19-2015
07:15 AM
|
0
|
1
|
3520
|
|
POST
|
Have you tried debugging your code to see the resulting URL on the request? It may be incorrect... I would also have a look at capturing the web traffic using Fiddler - this could shine some light on the issue.
... View more
08-17-2015
11:22 AM
|
0
|
1
|
1624
|
|
POST
|
If I understand correctly, you have a many-to-one point association - one main point with one or more minor points. There are a few ways to do this, but the first that comes to mind is the built-in Points to Line tool: http://resources.arcgis.com/en/help/main/10.1/#/Points_To_Line/00170000003s000000/ Based on your join, you could create a field with unique values as the "Line_Field" - this should create all of your lines based on the relationship described. Let me know if this works for you!
... View more
08-17-2015
07:06 AM
|
1
|
0
|
696
|
|
POST
|
Hrmm, interesting. So you are on step 7 of the installation guide? Installing the ArcGIS Web Adaptor (Java Platform) on Linux Insert the ArcGIS for Server (Linux) media into the appropriate drive and browse to the folder where the ArcGIS Web Adaptor (Java Platform) is located. Launch the setup program from this location. Evaluate the Introduction dialog box and click Next to continue. Review the license agreement and accept if you agree. Click Next to continue with the installation. Click Next to accept the default location, or click Choose to specify the installation folder. Review the summary information and click Install to begin the installation. When completed, click Done to exit the wizard. Navigate to the ArcGIS Web Adaptor installation folder. Deploy the arcgis.war file to your Java application server. For instructions on how to deploy a .war file, please refer to the documentation for your Java application server. Optionally, if you want to deploy multiple Web Adaptors on the host machine, redeploy the arcgis.war file as necessary. Keep in mind that if you're deploying multiple Web Adaptors on the same web site (port), they need to use different names. For example, two Web Adaptors named arcgis cannot exist on the same web site. If you want multiple Web Adaptors with the same name, you'll need to install them on separate web sites (ports). Connect the ArcGIS Web Adaptor to your ArcGIS Server site by completing the steps in Configuring the Web Adaptor after installation. If that's the case, I'm wondering that if the installation went ok (steps 1-6) whether or not you can find the configuration script mentioned on the "configuration after installation" page. What happens if you search for "ConfigureWebAdaptor.sh"?
... View more
08-16-2015
06:36 PM
|
0
|
0
|
3683
|
|
POST
|
I use ArcGIS Server on Windows/IIS - I could help you all day with that! Regarding Fedora... Is it by chance under /var/www or /usr/share?
... View more
08-15-2015
05:56 PM
|
0
|
2
|
3683
|
|
POST
|
Emily, From what I gather, you want to select events occurring within the next week (from the current date); you are encountering issues with ongoing events taking place during that slice not getting returned. If my understanding is correct, I would suggest the following... In SQL Server, I would do something like this: select *
from now_playing np
where (np.EndDate >= Getdate()
and np.StartDate <= (Getdate()+7)) I think the where clause in the tool would look something like this: EndDate >= CURRENT_DATE AND StartDate <= (CURRENT_DATE + 7) This returns records where the end date is today or any point in the future AND ALSO the start date is on or before 7 days in the future. The combination of both will return ongoing events in addition to any starting/ending within the time slice. In other words, the query *should* accomplish the following (I haven't had a chance to test this): * A now playing record can begin within the next week (the end date is inconsequential) * A now playing record can end within the next week (the start date is inconsequential) * A now playing record can start today and end 7 days from now (spans the entire time slice of interest) * A now playing record can start and end at any point within the time slice Let me know if this works for you!
... View more
08-15-2015
04:23 PM
|
1
|
3
|
3520
|
|
POST
|
Paul, I am not familiar with QML, but saw you hadn't received a response, yet. I perused the API reference - ArcGIS Runtime QML Extras: FileFolder Class Reference - but couldn't see anything that natively supported appending to the file. This is a really basic feature - I'm surprised it's not something made available to you. As an alternative, how about reading the existing text file using the readTextFile method, appending it yourself, then calling the writeTextFile method with the full string object?
... View more
08-15-2015
03:29 PM
|
1
|
1
|
719
|
|
POST
|
Siva, As of 11/2014, this is on the to-do list, but has taken a back seat to other items of higher priority: node.js proxy page · Issue #63 · Esri/resource-proxy · GitHub Maybe if enough people ask - at that point, though, if there's enough interested parties, chances are someone would contribute to the project! Are you volunteering?
... View more
08-15-2015
03:06 PM
|
0
|
0
|
1139
|
|
POST
|
As far as best practices, addresses are messy. It really depends on how you're using them... The fixed format provides easier editing - if you're just storing addresses to print on letters, or something, this would probably be ok. It keeps the table thinner/smaller, too, depending on the datatype of the field. The parsed format would make it easier to analyze and search; additionally, you can apply fk constraints and indexing. If you are dealing with international addresses, that's another ball of wax - I would check-out EndsWithSaurus...: A lesson in address storage if it applies to you. Here's some info on US addresses - http://pe.usps.gov/text/pub28/welcome.htm Additional info on best practices: http://stackoverflow.com/questions/310540/best-practices-for-storing-postal-addresses-in-a-database-rdbms One thing is for sure, make sure you carefully choose how you architect your db now, otherwise you may be hurting later.
... View more
08-14-2015
01:32 PM
|
1
|
1
|
1070
|
|
POST
|
Here's the full app: <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--The viewport meta tag is used to improve the presentation and behavior of the samples
on iOS devices-->
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
<title>QueryTask with geometry, results as an InfoWindow onHover</title>
<link rel="stylesheet" href="http://js.arcgis.com/3.14/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.14/esri/css/esri.css">
<script src="http://js.arcgis.com/3.14/"></script>
<script>
var map;
require([
"esri/map",
"esri/graphic",
"esri/InfoTemplate",
"esri/SpatialReference",
"esri/geometry/Extent",
"esri/layers/GraphicsLayer",
"esri/symbols/SimpleFillSymbol",
"esri/symbols/SimpleLineSymbol",
"esri/tasks/query",
"esri/tasks/QueryTask",
"esri/Color",
"dojo/domReady!"
],
function (
Map, Graphic, InfoTemplate, SpatialReference, Extent, GraphicsLayer,
SimpleFillSymbol, SimpleLineSymbol, Query, QueryTask, Color
) {
map = new Map("mapDiv", {
basemap: "streets",
center: [-80.94, 33.646],
zoom: 8
});
map.on("load", setUpQuery);
function setUpQuery () {
//set-up listener for county layer click event
dojo.connect(map.graphics,"onClick",identifyFeatures);
function identifyFeatures(evt){
var extent = evt.graphic.geometry.getExtent();
map.setExtent(extent);
}
var queryTask = new QueryTask("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3");
//build query filter
var query = new Query();
query.returnGeometry = true;
query.outFields = ["NAME", "POP2000", "POP2007", "POP00_SQMI", "POP07_SQMI"];
query.outSpatialReference = { "wkid": 102100 };
query.where = "STATE_NAME = 'South Carolina'";
var infoTemplate = new InfoTemplate();
var content = "<b>2000 Population: </b>${POP2000}<br/>" +
"<b>2000 Population per Sq. Mi.: </b>${POP00_SQMI}<br/>" +
"<b>2007 Population: </b>${POP2007}<br/>" +
"<b>2007 Population per Sq. Mi.: </b>${POP07_SQMI}";
infoTemplate.setTitle("${NAME}");
infoTemplate.setContent(content);
map.infoWindow.resize(245, 125);
//Can listen for complete event to process results
//or can use the callback option in the queryTask.execute method.
queryTask.on("complete", function (event) {
map.graphics.clear();
var highlightSymbol = new SimpleFillSymbol(SimpleFillSymbol.STYLE_SOLID,
new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID,
new Color([255, 0, 0]), 3), new Color([125, 125, 125, 0.35]));
var symbol = new SimpleFillSymbol(SimpleFillSymbol.STYLE_SOLID,
new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID,
new Color([255, 255, 255, 0.35]), 1), new Color([125, 125, 125, 0.35]));
var features = event.featureSet.features;
var countiesGraphicsLayer = new GraphicsLayer();
//QueryTask returns a featureSet.
//Loop through features in the featureSet and add them to the map.
var featureCount = features.length;
for (var i = 0; i < featureCount; i++) {
//Get the current feature from the featureSet.
var graphic = features; //Feature is a graphic
graphic.setSymbol(symbol);
graphic.setInfoTemplate(infoTemplate);
countiesGraphicsLayer.add(graphic);
}
map.addLayer(countiesGraphicsLayer);
map.graphics.enableMouseEvents();
//listen for when the mouse-over event fires on the countiesGraphicsLayer
//when fired, create a new graphic with the geometry from event.graphic
//and add it to the maps graphics layer
countiesGraphicsLayer.on("mouse-over",function (event) {
map.graphics.clear(); //use the maps graphics layer as the highlight layer
var graphic = event.graphic;
map.infoWindow.setContent(graphic.getContent());
map.infoWindow.setTitle(graphic.getTitle());
var highlightGraphic = new Graphic(graphic.geometry, highlightSymbol);
map.graphics.add(highlightGraphic);
//uncomment below to show infoWindow contents
//map.infoWindow.show(event.screenPoint,
//map.getInfoWindowAnchor(event.screenPoint));
});
//listen for when map.graphics mouse-out event is fired
//and then clear the highlight graphic
//and hide the info window
map.graphics.on("mouse-out", function () {
map.graphics.clear();
map.infoWindow.hide();
});
});
queryTask.execute(query);
}
});
</script>
</head>
<body class="claro">
Hover over a county in South Carolina to get more information.
<div id="mapDiv" style="width:900px; height:600px; border:1px solid #000;"></div>
</body>
</html> If you are unfamiliar with the API, I would start here: Build your first application | Guide | ArcGIS API for JavaScript
... View more
08-14-2015
12:56 PM
|
0
|
1
|
2836
|
|
POST
|
You can do quite a bit in the JSAPI if you are willing to get dirty - the link I shared is a full, working app - you can copy that into an html file (you'll have to add back the headers and css/resources links that jsfiddle wants stripped-out/added elsewhere) and deploy on your web server and the map would work - you can replace the services with your own and modify as needed to work with these services. Do you have access to modify whatever Geocortex is creating for you? Is it in a friendly format, or minified? If it's friendly, it should be easy enough to modify further the codebase - I'm still not entirely sure how Geocortex works... I've never used it. Another thing you could try is getting in touch with Geocortex to see if they can add this as a feature enhancement for you.
... View more
08-14-2015
12:52 PM
|
0
|
2
|
2836
|
|
POST
|
I am not familiar with Geocortex - I'd need to know more information on how to help you with your current set-up, but it sounds like Geocortex repackages the Esri product with their own, which is why the JSAPI is available. The best I can do without knowing more would be to put a jsfiddle together doing what you described (I think!): Interactive Web Map - JSFiddle I quickly modified the sample you gave and instead of opening the pop-up (infoWindow), the app zooms-in to the extent of the selected polygon. If you want to zoom into a defined urban area within the polygon, this would be more complicated... you would need to have an urban areas layer and need to key off of its extent. I haven't done this before, but I have some ideas of how it could be done.
... View more
08-14-2015
11:53 AM
|
0
|
4
|
2836
|
|
POST
|
Emily, I am not a user of ArcGIS Online - I develop against the ArcGIS JSAPI - but according to the help documentation, it doesn't seem you can do this dynamically: Create labels—ArcGIS Online Help | ArcGIS The map viewer places as many labels on the map as possible without overlapping them. Thus, in areas where features are tightly clustered, some features may not get labeled. As you zoom in to an area, more labels will dynamically appear. Labeling priority follows the layer order in your map from top to bottom. Layers at the top get labeled first and thus, will have the most labels. There is no guarantee that you’ll get the labels you want positioned exactly where you want them. Thus, dynamic labeling is best suited for maps where you don’t need precise control and only want to label a few layers.
... View more
08-13-2015
02:02 PM
|
0
|
1
|
2296
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-16-2020 01:25 PM | |
| 1 | 03-20-2019 09:07 AM | |
| 2 | 07-31-2015 07:31 AM | |
| 1 | 09-14-2015 12:14 PM | |
| 1 | 05-12-2015 12:04 PM |
| Online Status |
Offline
|
| Date Last Visited |
07-27-2023
02:30 AM
|