|
POST
|
Hi all, What i want to do is to identify all the permissions a particular user has for a particular layer what sde command do i need to run to get this info? or do I have to use SQL plus (if so what would the script look like?) Cheers Halil
... View more
10-03-2011
07:46 AM
|
0
|
3
|
898
|
|
POST
|
Within the symbology tab, select all 10 State highways, right click and select Group Values, they should now be grouped as 1 colour and as 1 entry in your legend. Halil
... View more
09-08-2011
04:00 AM
|
0
|
0
|
546
|
|
POST
|
An old post, but has anyone figured out how to do this?
... View more
08-02-2011
12:46 AM
|
0
|
0
|
487
|
|
POST
|
Hi all, Does anyone know how to increase the print quality of prints. I am using the myPrint widget, from here http://www.arcgis.com/home/item.html?id=07e56ade38874471acff6e6f973ed04d. I have attached a couple of examples. Is the quality of printing better in AGS 10? (we are still on 9.3.1) Cheers halil
... View more
08-02-2011
12:40 AM
|
0
|
1
|
919
|
|
POST
|
Hi all, Can someone advise me on how to remove the first 15 characters in a field I have the following code
# Import system modules
import sys, string, os, arcgisscripting
# Create the Geoprocessor object
gp = arcgisscripting.create(9.3)
# Overwrite data
gp.OverwriteOutput = 1
# Allow fields not to be appended
gp.qualifiedFieldNames = "false"
# Local variables...
inputView = "Database Connections\\UNIFORM BIZTALK.sde\\UNI72LIVE.LLPG"
inputPoint = "Database Connections\\UNISDE on singapore 5155.sde\\UNISDELIVE.UFRM_BLPU_POINT"
featurePoint = "UFRM_BLPU_POINT_Layer"
llpgView = "GIS_LLPG_SOURCE_View"
SDELayer = "Database Connections\\CORPDATA.sde\\ESRIGIS.CORPDATA.BLPU_Property_Points_NEW"
try:
# Process: Make Feature Layer...
gp.MakeFeatureLayer_management(inputPoint, featurePoint, "", "", "KEYVAL KEYVAL VISIBLE NONE;UPRN UPRN VISIBLE NONE;CREATEDBY CREATEDBY VISIBLE NONE;MODIFIEDBY MODIFIEDBY VISIBLE NONE;DATE_CREATED DATE_CREATED VISIBLE NONE;DATE_MODIFIED DATE_MODIFIED VISIBLE NONE;STATUS STATUS VISIBLE NONE;TRANSACTION_TYPE TRANSACTION_TYPE VISIBLE NONE;SYMBOL SYMBOL VISIBLE NONE;X X VISIBLE NONE;Y Y VISIBLE NONE;LOGICAL_STATUS LOGICAL_STATUS VISIBLE NONE;ACCURACY ACCURACY VISIBLE NONE;ADDRESS ADDRESS VISIBLE NONE")
print "1 - Make BLPU points into a View - Complete"
# Process: Make Table View...
gp.MakeTableView_management(inputView, llpgView, "", "", "S_NAME S_NAME VISIBLE NONE;LOCALITY_NAME LOCALITY_NAME VISIBLE NONE;TOWN_NAME TOWN_NAME VISIBLE NONE;COUNTY_NAME COUNTY_NAME VISIBLE NONE;START_NO START_NO VISIBLE NONE;START_SFX START_SFX VISIBLE NONE;END_NO END_NO VISIBLE NONE;END_SFX END_SFX VISIBLE NONE;DESCRPT DESCRPT VISIBLE NONE;SO_START_NO SO_START_NO VISIBLE NONE;SO_START_SFX SO_START_SFX VISIBLE NONE;SO_END_NO SO_END_NO VISIBLE NONE;SO_END_SFX SO_END_SFX VISIBLE NONE;SO_DESCRPT SO_DESCRPT VISIBLE NONE;POSTCODE POSTCODE VISIBLE NONE;POST_TOWN POST_TOWN VISIBLE NONE;ORGANISATION ORGANISATION VISIBLE NONE;UPDATED_D UPDATED_D VISIBLE NONE;BLPU_CLASS BLPU_CLASS VISIBLE NONE;BLPU_CLASS_DESC BLPU_CLASS_DESC VISIBLE NONE;LOGICAL_STATUS LOGICAL_STATUS VISIBLE NONE;UPRN UPRN VISIBLE NONE")
print "2 - Make LLPG into a View - Complete"
# Process: Add Join...
gp.AddJoin_management(featurePoint, "UPRN", llpgView, "UPRN", "KEEP_COMMON")
print "3 - Join Points to table - Complete"
# Process: Delete Features...
gp.DeleteFeatures_management(SDELayer)
print "4 - Delete the features in the SDE later - Complete"
# Process: Append...
gp.Append_management(featurePoint, SDELayer, "TEST", "", "")
print "5 - Append the updated BLPU to SDE layer - Complete"
print "Done"
except:
print "Error has occured"
print gp.getmessages()
When the Add Join occurs, it calls the field UNI72LIVE_LLPG_BLPU_CLASS_DESC I just want the field to be called BLPU_CLASS_DESC, and i want this to occur for all the fields that have "UNI72LIVE_LLPG_" as part of the field name. Anyone got any idea on how to do this? Cheers halil
... View more
07-25-2011
08:18 AM
|
0
|
1
|
845
|
|
POST
|
Does this work for you?
<?xml version="1.0" ?>
<configuration>
<title>{APN}</title>
<description>
<![CDATA[<a href="http://www.go2gov.net/madison/tax/showPropertyInfo.do?account={STATE_PIN}">View Property</a>]]>
</description>
<fields>
<field name="APN"/>
<field name="STATE_PIN"/>
</fields>
</configuration>
I've tried the above and got it to work, but now it only shows the URL not any fields from the fields tag. Anyone else had this problem? or know how to fix this? Cheers Halil
... View more
07-22-2011
06:25 AM
|
0
|
0
|
1259
|
|
POST
|
Hi all, I have the following script, but for some reason in my shapefile (Step 5) , its does not keep the field name for the Joined fields.
# Name: BLPU_VIEW.py
# Author: Halil Siddique
# Description: This scripts will Join the BLPU Point layer and the GIS_LLPG_SOURCE view.
# Date: 21/07/2011
# Create the Geoprocessor object
import arcgisscripting
gp = arcgisscripting.create(9.3)
# Allow Overwrite
gp.OverwriteOutput = 1
# Set Workspace
gp.Workspace = "C:\\datadump"
datadump = gp.Workspace
# Input variables from SDE
inputPoint = "C:\\TestData on CORPGIS.sde\\TESTDATA.BLPU_POINT"
inputView = "C:\\TestData on CORPGIS.sde\\TESTDATA.GIS_LLPG_SOURCE"
BLPU_TEST = "C:\\TestData on CORPGIS.sde\\TESTDATA.BLPU_TEST"
# Input variables from datadump folder
# Allow Unqualified field names
gp.QualifiedFieldNames = "UNQUALIFIED"
#####################################################################
try:
# Create Feature Layer from BLPU point
gp.makeFeatureLayer_management(inputPoint, "point_lyr")
print "1 - ", inputPoint, "is now a feature layer"
# Export GIS_LLPG_SOURCE to datadump to get OID
gp.copyrows_management(inputView, "GIS_LLPG_SOURCEExport")
print "2 - ", "inputView", "has been exported to", datadump
# Create Table View from GIS_LLPG_SOURCE
gp.makeTableView_management("GIS_LLPG_SOURCEExport", "GIS_LLPG_SOURCEView")
print "3 - GIS_LLPG_SOURCE is now a table view"
# Join BLPU_POINT layer with GIS_LLPG_SOURCE
gp.AddJoin_management("point_lyr", "UPRN", "GIS_LLPG_SOURCEView", "UPRN")
print "4 - ", "Points has been joined to GIS_LLPG_SOURCE"
# Export Joined Point layer
gp.copyFeatures_management("point_lyr", "READY_FOR_SDE")
print "5 - ", "Joined points has been exported to", datadump
# Delete features from SDE layer
gp.deletefeatures(BLPU_TEST)
print "6 - ", "BLPU_TEST features deleted"
# Upload new BLPU points
gp.append_management("C:\\datadump\\READY_FOR_SDE.SHP", BLPU_TEST, "NO_TEST","")
print "7 - ", "new BLPU points uploaded"
except:
print "Error has occured"
print gp.getmessages()
My field names end up becoming GIS_LLPG_S GIS_LLPG_1 GIS_LLPG_2 GIS_LLPG_3 GIS_LLPG_4 GIS_LLPG_5 GIS_LLPG_6 GIS_LLPG_7 GIS_LLPG_8 GIS_LLPG_9 GIS_LLP_10 GIS_LLP_11 GIS_LLP_12 GIS_LLP_13 GIS_LLP_14 GIS_LLP_15 GIS_LLP_16 Anyone got any ideas or workarounds? Cheers halil
... View more
07-21-2011
07:43 AM
|
0
|
8
|
3128
|
|
POST
|
Robert, Me again :o... I have got a search on Planning Applications, and want to hyperlink one of the fields (KEYVAL), but cant seem to get it to work, I get no option to click a link or click on a button to take me to the url. Heres part of the code
<layer>
<definitionexpression></definitionexpression>
<enableexport>true</enableexport>
<name>Planning Apps</name>
<url>http://baltimore/ArcGIS/rest/services/ATLAS_Plan/ATLAS_Plan_Dynamic/MapServer/17</url>
<expressions>
<expression alias="Planning Applications" textsearchlabel="Enter Planning Application Number [ Example: 03/00981/FUL ]:">UNISDELIVE.UFRM_DCAPPL_POLY.REFVAL LIKE ('[value]%')</expression>
</expressions>
<graphicalsearchlabel>Use one of the graphical search tools to select Planning Application</graphicalsearchlabel>
<spatialsearchlayer>true</spatialsearchlayer>
<titlefield>UNISDELIVE.UFRM_DCAPPL_POLY.REFVAL</titlefield>
<linkfield linkprefix="" linksuffix=""></linkfield>
<fields all="false">
<field name="UNISDELIVE.UFRM_DCAPPL_POLY.REFVAL" gridfield="true"/>
<field name="UNI73LIVE.PLAN_APPS.DCAPPTYP" gridfield="true"/>
<field name="UNI73LIVE.PLAN_APPS.DCSTAT" gridfield="true"/>
<field name="UNI73LIVE.PLAN_APPS.DATEAPRECV" gridfield="true" dateformat="DD/MM/YYYY"/>
<field name="UNI73LIVE.PLAN_APPS.ALTREF" gridfield="true"/>
<field name="UNI73LIVE.PLAN_APPS.KEYVAL" gridfield="false" hyperlinkgridfield="false" hyperlinkaliastext="UNI73LIVE.PLAN_APPS.KEYVAL" linkprefix="http://planning.southend.gov.uk/PublicAccess/tdc/DcApplication/application_detailview.aspx?caseno=" linksuffix=""/>
</fields>
<linkfield linkprefix="http://planning.southend.gov.uk/PublicAccess/tdc/DcApplication/application_detailview.aspx?caseno=" linksuffix="">UNI73LIVE.PLAN_APPS.KEYVAL</linkfield>
<icon isfield="true" iconsuffix="" iconprefix=""/>
<zoomscale usegeometry="false">5000</zoomscale>
</layer>
Where am I going wrong? Also when doing a search how to I get only certain fields to show in the search area, and other fields on the map tip? Cheers Halil
... View more
07-21-2011
07:10 AM
|
0
|
0
|
1077
|
|
POST
|
The easiest way is probably to wait a little, as later this month (July) we plan to release version 2.4 which will come with a generic geoprocessing widget. Bjorn, will the presentations about the Application Builder which were shown in the UC be available?
... View more
07-21-2011
07:02 AM
|
0
|
0
|
529
|
|
POST
|
Robert, Perfect, thanks lot. One thing of note that i have noticed is that both widgets need to be opened, for the buffer point widget to be active. halil
... View more
07-18-2011
06:05 AM
|
0
|
0
|
1077
|
|
POST
|
Hi Robert, Have a you got any plans of linking the Point Buffer Widget with the eSearch widget. My users to do the following: Click on Map to create buffer Use the Search Widget to select the layer to search. Click button to apply Graphical Search (from buffer created) Return results Cheers Halil
... View more
07-15-2011
07:52 AM
|
0
|
0
|
1077
|
|
POST
|
Robert, Thanks for adding that in, but im being a bit thick here...... I can move the text but not rotate it (im on http://gis.calhouncounty.org/FlexViewer2.3.1/index.html?config=config-eDraw.xml) what do I have to do to rotate? Cheers.
... View more
07-13-2011
02:00 PM
|
0
|
0
|
844
|
|
POST
|
Hi Robert, I've downloaded your widget and does exactly what I need it to do, but some of the users are asking whether its possible to rotate text, is this possible? Cheers Halil
... View more
07-13-2011
04:24 AM
|
0
|
0
|
844
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-01-2023 03:44 AM | |
| 2 | 07-01-2020 02:30 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-03-2025
02:39 AM
|