POST
|
Hello, I have a published WMS service that supports EPSG:27700 (projection of the map document) and EPSG:4326. I want to leave these as supported projections but also include EPSG:3857. I've been reading online: Defining a custom projection for a WMS service—Documentation (10.3 and 10.3.1) | ArcGIS for Server about defining custom projections, but the example isn't described very well and after trying a few things I'm left rather confused. I get the impression I can Edit the WMS service via Admin by adding the listCustomCRS property, however I don't know what value(s) to set to add EPSG:3857. The example on the page says it "overwrites the definition of EPSG:3857 using another WKT string", but I don't want to overwrite it, I want to add it. I've tried adding the property: "listCustomCRS": "EPSG:3857=DEFAULT", but this doesn't work, it could be because "DEFAULT" needs setting to something else, but how do I find out what? So can anyone please give me the answer, how do I add EPSG:3857 as an additionally supported projection to a WMS service which is already supporting EPSG:27700 and EPSG:4326 (without changing the projection of the source map document, this is 27700)? Thank you. Mark.
... View more
12-22-2015
06:11 AM
|
0
|
2
|
4373
|
POST
|
Hello, I have a graphics refresh issue. I'm adding a PictureMarkerSymbol into a graphics layer which has a png image as its source url. var theSymbol = new esri.symbol.PictureMarkerSymbol({ "url": "IMAGES/TestImage.png", "height": 30, "width": 30 }); var mapPoint = new esri.geometry.Point(350000, 900000, new esri.SpatialReference({ wkid: 27700 })) var graphic = new esri.Graphic(mapPoint, theSymbol) customGraphicsLayer.add(graphic); This works fine, but the problem is the source image changes periodically, it's updated externally and I need the graphic icon on the map to update when the user clicks an update button (actually I've only added a button for testing, ultimately I'll automate it). However I can't get the API/browser to forget about the previous image. I've tried clearing the graphics, removing the graphics layer and adding it again, and adding a new PictureMarkerSymbol after I know the source png image has changed, but it seems that once the API/browser knows about the original image it assumes it hasn't changed and re-uses the original image from somewhere in its memory. Doing a full page refresh isn't really an option. Can anyone suggest how I can make sure my PictureMarkerSymbol grabs the latest image, not what it thinks the image is? Thank you. Mark.
... View more
11-04-2014
03:28 AM
|
0
|
0
|
663
|
POST
|
Thanks Jake, I've tested and this appears to work, thanks very much. Mark.
... View more
08-06-2014
08:14 AM
|
1
|
0
|
374
|
POST
|
Hi Jake, Thanks for the reply. The issue isn't multiple people editing the same featureclass with conflicts/versions to resolve. The problem is the 'default' version seemingly being across all featureclasses in the database, so someone editing featureclass A can get a warning when they try and save their edits even though they are the only person editing that layer. This has come about because someone else has saved edits to featureclass B. The warning says something like 'unable to save edits, the default version has changed since you last saved' (or something similar). Or, as I describe in my original message, I can be loading features into a featureclass in the database, only to receive an error at the end saying something like 'the load didn't work because the default version has changed since you started'', and I have to try and load again. This can happen even if I am the only person editing that featureclass, the 'default' version has changed because of other activity on other featureclasses in the database. Mark.
... View more
08-06-2014
07:38 AM
|
0
|
2
|
374
|
POST
|
Hi, When creating a new featureclass in my sde database (10.2) I register it as versioned so that it can be edited. So over many years I now have lots of versioned, editable featureclasses in my database. I'm getting in to an increasingly frustrating situation where a user can't save edits when they want because the default version has changed. They have to try again and again to save until the save is accepted. Similarly, if I need to load features from a shapefile for example into a featureclass in the database (using ArcCatalog), it can process the load and at the end pop up with a message saying the load didn't work because the default version has changed since I started. This can be a pain if loading thousands of records because it can waste a lot of time looking like it's loading, only to fail at the end because the default version has change, I then have to start again, and again. The default version seems to be database-wide, not a default per featureclass, so a change to one featureclass impacts on someone trying to save changes to a completely different featureclass. I'm sure it can't be designed to work this way (preventing saving and loading so frequently), so what is best practice here, how can I overcome this? Thanks, Mark.
... View more
08-06-2014
03:08 AM
|
0
|
4
|
970
|
POST
|
Hi, When creating a new featureclass in my sde database I register it as versioned so that it can be edited. So I now have lots of editable featureclasses in my database. I'm getting in to an increasingly frustrating situation where a user can't save edits when they want because the default version has changed. They have to try again and again to save until the save is accepted. Similarly, if I need to load features from a shapefile for example into a featureclass in the database (using ArcCatalog), it can process the load and at the end pop up with a message saying the load didn't work because the default version has changed since I started. This can be a pain if loading thousands of records because it can waste a lot of time looking like it's loading, only to fail at the end because the default version has change, I then have to start again. I'm sure it can't be designed to work this way, so what is best practice here, how can I overcome this? Thanks, Mark.
... View more
07-23-2014
08:23 AM
|
0
|
0
|
3894
|
POST
|
Hello, For the JavaScrpit API... When using the editor dijit with the attribute inspector, you click a feature on the map to edit it and the attribute inspector opens. When you click the map your edits are saved, the attribute inspector closes and the feature is deselected. Can anyone tell me what event(s) gets fired when you click the map when the attribute inspector is still open? I want to be able to control the behaviour when a user clicks the map during editing, so I need to replace the default behaviour that saves, closes the attribute inspector and deselects with my own custom behaviour. Thank you, Mark.
... View more
07-14-2014
02:27 AM
|
0
|
0
|
1233
|
POST
|
Hello, When editing features in the JS API, I can define an inspection template field type as a text area as follows: 'stringFieldOption': esri.dijit.AttributeInspector.STRING_FIELD_OPTION_TEXTAREA By default the gives a text area just 2 lines high. In more modern browsers like Chrome and IE10 you can drag the corner of the Text Area to resize it to see more lines, however we have a lot of users with IE8 and seeing just 2 lines at a time isn't really ideal. Can anyone please tell me how to specify a height for the Text Area (and maybe a width too)? Thank you, Mark.
... View more
09-09-2013
05:38 AM
|
0
|
3
|
721
|
POST
|
Hello, Is it me? I have ArcGIS Server 10.2 installed on a development server and on a production server and ArcGIS Desktop 10.2 installed on the servers too. On both servers I have set up and ArcGIS Server admin connection in ArcCatalog so I can administer my services without using Manager. And on both servers my lists of services show zero Instances Running and zero Instances in Use, however in Manager I see the correct numbers and all the services are working fine. If I stop a single service in ArcCatalog and start it then the numbers for that service appear, but if I then right click and refresh (the view of services, not the service itself), then it reverts to zero/zero again. Like I say, my services are all working normally, it's just the display in Catalog that shows zero/zero. Anyone else found this? Thank you. Mark.
... View more
08-19-2013
11:50 PM
|
0
|
5
|
3121
|
POST
|
Thanks again. I've taken a look, and as well as using the API as a front-end, this seems to make use of the Web ADF server-side - something I'm trying to purge my systems of. It seems very complicated for what I hoped was a simple thing. But perhaps I'm starting in the wrong place - maybe I should make use of the attachment toolset rather then a raster field type? Mark.
... View more
01-10-2013
12:46 AM
|
0
|
0
|
439
|
POST
|
Hi, Having looked at the article on attachments, I think this is different to what I have. I am not using the attachment toolset with a match table, I simply have a Raster field type in my layer's base table that I defined when I originally created the layer and fields in SDE. It is the image loaded into this field I want to access in my API. Thanks again, Mark.
... View more
01-08-2013
11:09 PM
|
0
|
0
|
439
|
POST
|
Thanks, I hadn't found that sample. However looking at the URL of the hyperlink the dijit creates, I can understand all of it except the last number: http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer/0/5505779/attachments/8867 5505779 is the objectid of the feature in layer 0, but I assume 8867 is a reference to the id of the uploaded image to that feature, but without using the dijit, I wouldn't know how to get that number. Thanks again.
... View more
01-08-2013
06:56 AM
|
0
|
0
|
439
|
POST
|
Hello, I have a point layer loaded into my SQL SDE database and one of the fields is a Raster type. I have created a couple of points in this layer and edited the attributes using ArcEditor including uploading a picture to each point into this Raster field. What I'd like to do now is programmatically get to the image so I can display it on-screen in my JavaScript API and do other stuff with it when it comes to printing. The problem is I can't seem to find any information on how to retrieve the actual image which must be stored somewhere in SDE. Using the Identify Task I can get to the other attributes fine, but I just get a value of <raster> back for the field containing the image. Can anyone please show me where to find out how to do this, or please explain it? Some JavaScript method is preferable, but I'll settle for dot net if that's the only way (e.g. by using the objectid to get the image from SDE server-side). Hope that's clear? Thanks, Mark.
... View more
01-08-2013
05:17 AM
|
0
|
7
|
1011
|
Title | Kudos | Posted |
---|---|---|
1 | 11-21-2011 06:28 AM | |
3 | 02-16-2017 12:41 AM | |
1 | 01-18-2012 02:07 AM | |
1 | 08-06-2014 08:14 AM |
Online Status |
Offline
|
Date Last Visited |
06-21-2023
09:06 AM
|