<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: layer.dataSource Capitalization in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705704#M39982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Table names are case-insensitive.&amp;nbsp; All comparisons should be done with an insensitive&lt;BR /&gt;operator or by first upcasing both strings.&lt;BR /&gt;&lt;BR /&gt;Best practice is to reserve the SDE user for geodatabase administration.&amp;nbsp; Instead of&lt;BR /&gt;creating spatial data as SDE you really ought to create user(s) (with same-named&lt;BR /&gt;schemas) to own spatial tables, and user(s) to access it (without the possibility of &lt;BR /&gt;removing the tables accidentally, or as a result of a DOS attack).&lt;BR /&gt;&lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vince,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a new version under my user and connected to it using database connections.&amp;nbsp; Is that more or less what you were referring to?&amp;nbsp; The owner of my editing version is now richard instead of sde.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Richard&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jun 2014 15:37:14 GMT</pubDate>
    <dc:creator>RichardHughes3</dc:creator>
    <dc:date>2014-06-24T15:37:14Z</dc:date>
    <item>
      <title>layer.dataSource Capitalization</title>
      <link>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705699#M39977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am developing python addins that access a replica 10.2.1 file geodatabase.&amp;nbsp; When I list my layers and the access layer.datasource, I put these data sources into a python set object so that I will have one source path for multiple layers.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a problem I am having with the capitalization of the dataSource in one of the layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;['Database Connections\\Siskiyou.sde\\SISKIYOU.SDE.sdm_CrescentLink\\&lt;/SPAN&gt;&lt;STRONG&gt;SISKIYOU&lt;/STRONG&gt;&lt;SPAN&gt;.SDE.sdm_CablePathAccess', 'Database Connections\\Siskiyou.sde\\SISKIYOU.SDE.sdm_CrescentLink\\&lt;/SPAN&gt;&lt;STRONG&gt;Siskiyou&lt;/STRONG&gt;&lt;SPAN&gt;.SDE.sdm_CablePathAccess']&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;notice how one is in all caps and the other is not?&amp;nbsp; If there is a behavior layer dataSources that results in this behavior I am unaware of it.&amp;nbsp; Any advice would be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 13:28:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705699#M39977</guid>
      <dc:creator>RichardHughes3</dc:creator>
      <dc:date>2014-06-23T13:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: layer.dataSource Capitalization</title>
      <link>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705700#M39978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Table names are case-insensitive.&amp;nbsp; All comparisons should be done with an insensitive&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;operator or by first upcasing both strings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best practice is to reserve the SDE user for geodatabase administration.&amp;nbsp; Instead of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;creating spatial data as SDE you really ought to create user(s) (with same-named&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;schemas) to own spatial tables, and user(s) to access it (without the possibility of &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;removing the tables accidentally, or as a result of a DOS attack).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 14:05:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705700#M39978</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-06-23T14:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: layer.dataSource Capitalization</title>
      <link>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705701#M39979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have noticed depending on how and where layers are created in SDE the software changes the capitalization regardless of what I entered as the creation or output name.&amp;nbsp; What problem is it causing you?&amp;nbsp; If trying to set a layer by the source name then I would suggest to uppercase all layer name variables when looking for them, so they will match.&amp;nbsp; Would that help with this situation?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Sol&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using .upper() at the end of the dataSource fixed the problem and my python set() condensed the layer's dataSources down to a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;single source.&amp;nbsp; This is just something I has to be included in all scripts with dataSources.&amp;nbsp; Thank you for your input.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 14:30:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705701#M39979</guid>
      <dc:creator>RichardHughes3</dc:creator>
      <dc:date>2014-06-23T14:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: layer.dataSource Capitalization</title>
      <link>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705702#M39980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Table names are case-insensitive.&amp;nbsp; All comparisons should be done with an insensitive&lt;BR /&gt;operator or by first upcasing both strings.&lt;BR /&gt;&lt;BR /&gt;Best practice is to reserve the SDE user for geodatabase administration.&amp;nbsp; Instead of&lt;BR /&gt;creating spatial data as SDE you really ought to create user(s) (with same-named&lt;BR /&gt;schemas) to own spatial tables, and user(s) to access it (without the possibility of &lt;BR /&gt;removing the tables accidentally, or as a result of a DOS attack).&lt;BR /&gt;&lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Setting all upper case did solve the issue.&amp;nbsp; It will just remain a mystery.&amp;nbsp; I will have to do some additional research into your second &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;paragraph.&amp;nbsp; We operate by using versions, but alas I am not at that stearing wheel.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 14:37:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705702#M39980</guid>
      <dc:creator>RichardHughes3</dc:creator>
      <dc:date>2014-06-23T14:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: layer.dataSource Capitalization</title>
      <link>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705703#M39981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ArcGIS seems to be quirky on naming, depending on whether a user or an automated process&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;generated the table names.&amp;nbsp; Another variable is how the table was created, and how it was&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;registered with ArcSDE and/or the geodatabase.&amp;nbsp; The underlying databases which actually&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;support miXeD-cASe objects don't generally permit objects with alternate case representation,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so they're doing case-insensitive comparisons as well (sometimes, at least).&amp;nbsp; ArcGIS stores&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the mixed-case name specified by the user in XML, but then the underlying ArcSDE executive&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;code might change case so it can find it later when the table is queried.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 15:19:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705703#M39981</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-06-23T15:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: layer.dataSource Capitalization</title>
      <link>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705704#M39982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Table names are case-insensitive.&amp;nbsp; All comparisons should be done with an insensitive&lt;BR /&gt;operator or by first upcasing both strings.&lt;BR /&gt;&lt;BR /&gt;Best practice is to reserve the SDE user for geodatabase administration.&amp;nbsp; Instead of&lt;BR /&gt;creating spatial data as SDE you really ought to create user(s) (with same-named&lt;BR /&gt;schemas) to own spatial tables, and user(s) to access it (without the possibility of &lt;BR /&gt;removing the tables accidentally, or as a result of a DOS attack).&lt;BR /&gt;&lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vince,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a new version under my user and connected to it using database connections.&amp;nbsp; Is that more or less what you were referring to?&amp;nbsp; The owner of my editing version is now richard instead of sde.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Richard&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 15:37:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705704#M39982</guid>
      <dc:creator>RichardHughes3</dc:creator>
      <dc:date>2014-06-24T15:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: layer.dataSource Capitalization</title>
      <link>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705705#M39983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, version name is completely orthogonal to table ownership.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sol and I recommended that you create at least one new user, not associated with any &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;individual login, to own the spatial data.&amp;nbsp; For example, I have a QA database with,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;USA, EUROPE, and WORLD owners, who own the Usa.Highways_2m, Europe.Highways_2m,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and World.Highways_15m feature classes.&amp;nbsp; Others use departments or data sources as&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;owners (usgs.highways, census.blockgroups,...), or at a minimum a single owner &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(projecta.table1).&amp;nbsp; This reduces the opportunity of accidently destroying the entire&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;geodatabase with a single unfortunate script or SQL command, isolates data from&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;individuals ("Who's Bob?" "Oh, he left years ago, but he created our geodatabase...")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and gives you the opportunity to follow the rest of best practices by creating roles&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for table management, and granting access to users through roles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 16:18:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705705#M39983</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-06-24T16:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: layer.dataSource Capitalization</title>
      <link>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705706#M39984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My current task is developing a python addin toolbar to help with my data production.&amp;nbsp; It works great most &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of the time, but there are closed state issues that I need to seriously address at some point.&amp;nbsp; Anyway, I've read into the 'headless' user technique for restricting what operations can be performed on the database during scripting.&amp;nbsp; I've been absorbing the previous replies and seem to understand them as a need for user tiers with groups and permissions.&amp;nbsp; Is this an accurate assessment?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 20:17:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/layer-datasource-capitalization/m-p/705706#M39984</guid>
      <dc:creator>RichardHughes3</dc:creator>
      <dc:date>2014-06-24T20:17:46Z</dc:date>
    </item>
  </channel>
</rss>

