<?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 ST_GEOMETRY function in PostgreSQL does not update sde.sde_layers with new extent. in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/st-geometry-function-in-postgresql-does-not-update/m-p/36484#M2042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have created a point feature class with ArcCatalog and used ArcMap editing to insert a few features. Then I used direct sql calls to st_geometry() in order to populate this feature class with values i get from a web application interface. The values get inserted to the feature class, but I have discovered that the maxx ,maxy, minx, miny fields of sde.sde_layers do not get updated with new values when I manually insert new points to the table. The new points show up in ArcMap but the full extent function zooms to the extent of the initial points i inserted with ArcMap. Also, when i use the web interface, the respective map service layer that exposes features from the mentioned feature class does not render to the browser unless the extent partly overlaps with the extent of the initial points I inserted through ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems Oracle works alright. I would like to know if this is some Postgresql specific bug and if there is some better way to update sde.sde_layers than manually finding out the new minx, miny, maxx, maxy from my table and updating.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jun 2010 09:02:25 GMT</pubDate>
    <dc:creator>NikosLefkaditis</dc:creator>
    <dc:date>2010-06-08T09:02:25Z</dc:date>
    <item>
      <title>ST_GEOMETRY function in PostgreSQL does not update sde.sde_layers with new extent.</title>
      <link>https://community.esri.com/t5/data-management-questions/st-geometry-function-in-postgresql-does-not-update/m-p/36484#M2042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have created a point feature class with ArcCatalog and used ArcMap editing to insert a few features. Then I used direct sql calls to st_geometry() in order to populate this feature class with values i get from a web application interface. The values get inserted to the feature class, but I have discovered that the maxx ,maxy, minx, miny fields of sde.sde_layers do not get updated with new values when I manually insert new points to the table. The new points show up in ArcMap but the full extent function zooms to the extent of the initial points i inserted with ArcMap. Also, when i use the web interface, the respective map service layer that exposes features from the mentioned feature class does not render to the browser unless the extent partly overlaps with the extent of the initial points I inserted through ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems Oracle works alright. I would like to know if this is some Postgresql specific bug and if there is some better way to update sde.sde_layers than manually finding out the new minx, miny, maxx, maxy from my table and updating.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 09:02:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-geometry-function-in-postgresql-does-not-update/m-p/36484#M2042</guid>
      <dc:creator>NikosLefkaditis</dc:creator>
      <dc:date>2010-06-08T09:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: ST_GEOMETRY function in PostgreSQL does not update sde.sde_layers with new extent</title>
      <link>https://community.esri.com/t5/data-management-questions/st-geometry-function-in-postgresql-does-not-update/m-p/36485#M2043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It would be quite wasteful to update the layer extent every time a geometry is inserted.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The layer load utilities generally maintain an envelope of the&amp;nbsp; newly added features and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;update once at the end of loading (and only if it would change the extent).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I usually set my envelope to the full extent at layer creation, so it &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;doesn't&lt;/SPAN&gt;&lt;SPAN&gt; get updated &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(which also has the side effect of always having the same display extent in ArcCatalog &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for all layers).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The 'sdelayer -o alter' command allows you to set an extent ('-E minx,miny,maxx,maxy') &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or calculate one ('-E CALC').&amp;nbsp; I recommend the former.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 10:54:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-geometry-function-in-postgresql-does-not-update/m-p/36485#M2043</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2010-06-08T10:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: ST_GEOMETRY function in PostgreSQL does not update sde.sde_layers with new extent</title>
      <link>https://community.esri.com/t5/data-management-questions/st-geometry-function-in-postgresql-does-not-update/m-p/36486#M2044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot for the answer, it helps a lot.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 08:00:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-geometry-function-in-postgresql-does-not-update/m-p/36486#M2044</guid>
      <dc:creator>NikosLefkaditis</dc:creator>
      <dc:date>2010-06-09T08:00:48Z</dc:date>
    </item>
  </channel>
</rss>

