POST
|
Environment: Client : ArcGIS 10.2.1 - ArcCatalog Database: Oracle 12c for new SDE 10.2 GDB and Oracle 10g for old SDE 9.2 GDB SDE: Old GDB: ArcSDE 9.2 , New GDB: ArcSDE 10.2 Issues: Connection to old ArcSDE 9.2 GDB using ArcSDE 10.2 I researched and found that the ArcGIS 10.1 onwards it is not possible to connected to ArcGIS 9.2 http://resources.arcgis.com/en/help/main/10.2/index.html#//003n00000008000000 "Pre-9.3 direct connect drivers are an optional separate installation available on the ArcGIS 9.3 client installation media." In old system, Oracle 10g database is configured to ArcSDE 9.2 Geodatabase. I also have the extracted dump (data) from Oracle 10g database to 12c Database and trying to connect it using ArcCatalog 10.2. But ArcCatalog get crashed upon direct connection. I don’t have license for ArcCatalog 9.2 to connect to Old Database. Also I tried connecting old ArcSDE 9.2 GDB using ArcGIS 10.2.1 but I get below error message: "Failed to connect to the specified server. Do you want to continue? ArcSDE Direct Connect driver release isn't compatible with ArcSDE database instance release [Connection failed when attempting to connect using 10.2 ArcGIS client to a 9.2 geodatabase. A 9.2 geodatabase is too old to be supported by this ArcGIS client release. ArcSDE Direct Connect driver release - 102001; ArcSDE database instance release - 92011; ArcSDE low release for instance 93001]" I would like to know if there is any workaround to get the ArcSDE 9.2 data from oracle 10g in the ArcGIS 10.2.1 geodatabase (whether import/connect/extract)? Any help/suggestion would be highly appreciated. Thanks in advance!!
... View more
08-25-2014
04:16 AM
|
0
|
5
|
4675
|
POST
|
Hi Brandon, You can try to set the layerDefinitions for the dynamic map service layer you are trying to add to the map. for eg: var imageParameters = new ImageParameters(); imageParameters.layerIds = [0,1]; var layerDef = []; layerDef[] = "upper(MAPNOTE_TYPE)='PUBLIC' and RECORD_STATUS='A'"; //where clause here imageParameters.layerDefinitions = layerDef; imageParameters.layerOption = esri.layers.ImageParameters.LAYER_OPTION_SHOW; imageParameters.format = "jpeg"; //set the image type to PNG24, note default is PNG8. var dynamicMapServiceLayer = new ArcGISDynamicMapServiceLayer(MapServiceLyrURL, { "imageParameters": imageParameters, "id": MapServiceLyrId, "visible": true }); map.addLayer(dynamicMapServiceLayer); For further info refer to the below links: Image Parameters https://developers.arcgis.com/javascript/jsapi/imageparameters-amd.html Layer Definitions: https://developers.arcgis.com/javascript/jsapi/imageparameters-amd.html#layerdefinitions Hope this helps. Regards, Manish
... View more
07-01-2014
11:15 PM
|
0
|
0
|
487
|
POST
|
Hi Chu Cheuk Yiu, The difference in the projection of the One Map map service and ESRI will not allow it to add as a basemap or feature layer. Since One Map is using SVY21 projection what you can do is overlay the onemap as an ArcGISDynamicMapServiceLayer on top of the ESRI basemap. Althought if you add One Map as dynamic map service layer it will not adhere to the One Map scales and display map projection as the esri basemap projection. Another option is that you will need to write your own custom function to handle the change of the basemaps where in you will need destroy and create the map again and then add any basemap as per requirement. In this case the map projection will adhere to the One Map projection. map.destroy(); map = new map("mapdiv"); Hope this helps. Regards, Manish Patel
... View more
06-24-2014
05:56 PM
|
0
|
0
|
921
|
POST
|
Hi Justin, The date value you mentioned is epoch time,which is defined as the number of seconds since midnight (UTC) on 1st January 1970. What is epoch time? The Unix epoch (or Unix time or POSIX time or Unix timestamp) is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), not counting leap seconds (in ISO 8601: 1970-01-01T00:00:00Z). Literally speaking the epoch is Unix time 0 (midnight 1/1/1970), but 'epoch' is often used as a synonym for 'Unix time'. Many Unix systems store epoch dates as a signed 32-bit integer, which might cause problems on January 19, 2038 (known as the Year 2038 problem or Y2038). Human readable time Seconds 1 hour 3600 seconds 1 day 86400 seconds 1 week 604800 seconds 1 month (30.44 days) 2629743 seconds 1 year (365.24 days) 31556926 seconds Although when you are retrieving the value and want to display in your application you will have to convert it using the below: var someDate = new Date(dateString); http://jsfiddle.net/patelmanya/Yz8Lv/ Hope this helps. Best Regards, Manish Patel
... View more
06-24-2014
05:22 PM
|
0
|
0
|
422
|
POST
|
Hi Maxim, You can set the id for the layer you add to the map as follow: var TiledMapServiceLayer = new ArcGISTiledMapServiceLayer(baseMapServiceLyr, { "id": "LayerNamegoeshere" }); You can refer to the below API documentation for further reference: https://developers.arcgis.com/javascript/jsapi/arcgistiledmapservicelayer-amd.html Hope this helps. Regards, Manish
... View more
06-22-2014
06:27 PM
|
0
|
0
|
257
|
POST
|
Hi Cindy, I created a jsfiddle for you to refer. http://jsfiddle.net/patelmanya/7Vgv7/ Click the Get layer Definition button to get the layer defintion for the layer added to the map. Hope this helps. Regards, Manish
... View more
06-17-2014
08:15 AM
|
0
|
0
|
422
|
POST
|
Hope this link helps: https://developers.arcgis.com/javascript/jssamples/map_explicitlayerlist.html Regards, Manish
... View more
06-17-2014
02:41 AM
|
0
|
0
|
497
|
POST
|
Hi Marcus, Do you mean that you want the locate button on top of the map so if you click that it should not consider it as a map click and instead call the button click function. Hope this helps. updated fiddle: http://jsfiddle.net/patelmanya/644nr/1/ Let me know if there's anything else you need. Thanks & Regards, Manish
... View more
06-16-2014
10:55 PM
|
0
|
0
|
205
|
POST
|
Hi Cindy, You can try to use the below code to get the layer definition if it exists. map.getLayer(map.layerIds[1]).layerDefinitions or map.getLayer("layerId").layerDefinitions If there is no layerDefinitions then the lenght will be 0. Hope this helps. Regards, Manish
... View more
06-16-2014
10:32 PM
|
0
|
0
|
422
|
POST
|
Hi All, Although I am aware that if Feature Access capability needs to be enabled for a map service the data/layer needs to be from a registered database or EGDB (Enterprise Geo database). I was curious to know if it is possible to enable feature access for a map service if the authored data is from local FGDB. I have tried this but getting message while analyzing the map service that the data needs to be from registered database. If any one can provide some info. Thanks in advance!! Regards, Manish
... View more
06-09-2014
08:07 PM
|
0
|
0
|
478
|
POST
|
I have a map on my page. I would like to add a second map that displays on top of the first map. It would be similar to an overview map, but I want it to show a different extent and have onClick events. How do I get the small map to appear on top? I've tried setting the z-index on the div tags without success. Thanks. Hi Beth, Please find the jsfiddle hope this is what you are looking for. Have a nice weekend ahead!!! http://jsfiddle.net/patelmanya/d23uj/ Best regards, Manish
... View more
06-06-2014
06:54 AM
|
0
|
0
|
149
|
POST
|
Hi Tait, Owen suggestion is one way of doing it. Alternatively you can also try setting the opacity as below:
var lyrOpac = map.getLayer(map.getLayer[0]); //assuming your the layer is at 0 index.
lyrOpac.setOpacity(0.5);
This can also help to set the opacity for any layer you want just need to set the specific index for that layer. for further details please refer to the below link: https://developers.arcgis.com/javascript/jsapi/layer-amd.html#setopacity Hope this helps. Regards, Manish
... View more
06-04-2014
11:19 PM
|
0
|
0
|
691
|
POST
|
I have one scenario in my product related to address search over multiple geocoding services. My product is integrated with ArcGIS Server (on premises or arcgisonline). I am allowing user to enter address on the form and performing address search. I am using Locator for that. I need to use one primary geocoding service and other as a backup services. Let's say if I don't find address from primary geocoding service then I have to use other backup services from the list. The question is - can I perform synchronous address search using Locator? That way, in case primary service fails then I can send request to another service and loop it. Hi, you could try making ajax calls based on the response you can try to loop through and call another ajax till condition is satisfied.
... View more
06-02-2014
02:09 AM
|
0
|
0
|
208
|
Title | Kudos | Posted |
---|---|---|
1 | 10-23-2013 11:16 PM | |
12 | 03-19-2014 03:13 AM | |
12 | 03-19-2014 03:13 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|