|
POST
|
Hi Vince You are right �?? I dropped the WHERE statement. In real life we use next_rowid to get the OBJECTID. We use ITM (Israel TM Grid) projection. The default tolerance is 0.001, the resolution is 0.0001 Measure of the result envelope gives 0.0004 from side to side instead of 0.002. The length is 0.0016 (0.0004 * 4) �?? it should be 0.004 (0.001 * 4) Thanks Mody
... View more
04-29-2014
05:40 AM
|
0
|
0
|
863
|
|
POST
|
Hello all We are trying to populate a polygon st_geometry layer with envelopes from a few other layers. Using something like this: insert into polyLayer (objectid,shape) values (1,(select sde.st_envelope(shape)from pointLayer) ); The docs say that the tolerance will be used to create a valid envelope. It looks like the created envelope is smaller than the tolerance (we use meter coordinate system with 0.001 tolerance). The result layer cannot be edit and have a few other problems but it can be drown without errors. Is anybody out there is doing any similar process? Thanks Mody
... View more
04-29-2014
03:48 AM
|
0
|
4
|
1319
|
|
POST
|
Hi Jamari Yes, you open a cursor the same way and do NextRow only once. You do not need to loop if you are sure there is only one result. Have fun Mody
... View more
04-26-2014
09:55 PM
|
0
|
0
|
1880
|
|
POST
|
Hi Dan Can I put a mosaic dataset in map service without using the extension? My understanding was that you need the extension for map service too. Thanks
... View more
04-03-2014
07:55 PM
|
0
|
0
|
1455
|
|
POST
|
If I am using the Manage Tile Cache to create cache for Image dataset and then try to publish it as a tile service ??? will it work? Second option ??? can I build Image service and cache it on a local (EDN?) machine that has a image extension license and then copy it to a machine without that license? If it can be done technically ??? will it violated the license agreement? Thanks
... View more
04-03-2014
03:53 AM
|
0
|
4
|
1675
|
|
POST
|
We have Map service based on a single mosaic dataset. When we build cache we find holes (missing tiles) in some scales. The tiles on the same area with higher/lower scale are fine. Building the cache did not give any error or warning messages. Publishing the same mosaic as image service and building cache produce good cache with no holes. Trying to rebuild all cache or just the area with the problem did not solve the problem. Did anyone run into similar problem? Thanks Mody
... View more
03-24-2014
03:51 AM
|
0
|
0
|
558
|
|
POST
|
hello What is really needed is some tool to check the integrity of the database. The Pre-Requisite Check is the closest we get. The main problem is that you cannot run it on the current version �?? it just say the version is up to date. It will be very useful to get such a tool for regular check of the database, not only when you upgrade. I agree that if the pre check works without any errors it does not mean necessary that the upgrade will work. check this: http://ideas.arcgis.com/ideaView?id=08730000000bmXSAAY#comments Mody
... View more
01-26-2014
07:57 PM
|
1
|
0
|
1451
|
|
POST
|
Hello I have AGS 10.1 with map service accessing SQL Server database on a different machine. The two machines have firewall between them. Occasionally the service's ARCSOC.exe loses its underlying connection to the SDE. When it happened we get the following error in the sdedc_log: "SDE DBMS Error: 10054 Microsoft SQL Server Native Client: Communication link failure", followed by multiple "SDE DBMS Error: 0 Microsoft SQL Server Native Client: Communication link failure" errors. I've discovered that the firewall between these two machines terminates every connection which is idle for above two hours. Creating exceptions in the firewall in my organization is inacceptable. Any attempt to write a "keep alive" which queries the service fails because the SQL Server Native client DLL randomizes a different client port for every query, therefore the firewall will treat some of the connections as idle and terminate them. Doing a recycle every hour did not helped too. Can you think about any way to make the firewall understands that the connection should not be killed? Will application connect helps? I understand it is not recommended. Thanks Mody
... View more
01-12-2014
08:28 PM
|
0
|
0
|
2281
|
|
POST
|
Hi If you like a stand alone application (exe file) to run on a machine with desktop or engine runtime only your bind should look like this:
if (!RuntimeManager.Bind(ProductCode.Engine))
{
if (!RuntimeManager.Bind(ProductCode.Desktop))
{
MessageBox.Show("Unable to bind to ArcGIS runtime. Application will be shut down.");
return;
}
}
If you want your code to use different licenses you should write something like this (then it will look for different licenses):
if (!aoLicenseInitializer.InitializeApplication(new esriLicenseProductCode[] { esriLicenseProductCode.esriLicenseProductCodeEngine, esriLicenseProductCode.esriLicenseProductCodeBasic, esriLicenseProductCode.esriLicenseProductCodeStandard },
new esriLicenseExtensionCode[] { }))
happy New Year
... View more
01-01-2014
09:01 PM
|
0
|
0
|
1110
|
|
POST
|
Hi I can see the Project tool in DataManagement both in 10.1 VS2010 and 10.2 VS2012 without any problems. Check your refrences - maybe you got the wrong path. Have Fun Mody
... View more
12-29-2013
08:00 PM
|
0
|
0
|
2219
|
|
POST
|
Hi Yes, you should install to versions of Oracle client. Check this: http://resources.arcgis.com/en/help/main/10.2/002n/002n00000038000000.htm for setting the two clients for desktop and server Have Fun Mody
... View more
12-22-2013
08:22 PM
|
0
|
0
|
808
|
|
POST
|
Hi Try to give the second parameter to the cursor as a python list (closed in square brackets). You can try to use the densify GP Editing tool to create line with Vertices and then use Feature Vertices to Points (GP Data Management -> Features) to create points form the Vertices. Have fun Mody
... View more
12-15-2013
08:25 PM
|
0
|
0
|
3696
|
|
POST
|
Hi From version 10.0 the installation directory include the version (C:\Program Files (x86)\ArcGIS\Engine10.1). You can look under C:\Program Files (x86)\ArcGIS and look for it. Note that if you uninstall 10.0 and install 10.1 sometime the 10.0 directory is not deleted but is almost empty. It still looks easier then check registry. Have fun Mody
... View more
12-02-2013
09:09 PM
|
0
|
0
|
903
|
|
POST
|
Hi If you need to save it into a feature class you must create a feature class (there is a snippet for this) and use cursor to add the point. If you need a graphic I do not think the line: "elem = point as IElement;" works (elem will be null). It should be IElement elem = new MarkerElementClass(); elem.geometry = point; ArcMap have a default symbol but you better set a marker symbol too for the element. Have Fun Mody
... View more
12-01-2013
08:10 PM
|
0
|
0
|
1911
|
|
POST
|
If I understand you it is extremely simple Here is an example: if __name__ == "__main__": dataset_name = r"C:\temp\name1" output_file = r: C:\temp\out.csv" format = "CSV" Have fun Mody
... View more
12-01-2013
07:51 PM
|
0
|
0
|
565
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a week ago | |
| 1 | 11-25-2024 06:09 AM | |
| 1 | 01-21-2026 09:53 PM | |
| 1 | 12-15-2025 10:07 PM | |
| 1 | 09-17-2025 06:35 AM |
| Online Status |
Online
|
| Date Last Visited |
52m ago
|