<?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: Solution for a many to one spatial view or query layer in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619204#M34953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Registering with the geodatabase (right click) is &lt;STRONG&gt;&lt;EM&gt;very&lt;/EM&gt;&lt;/STRONG&gt; different than registering with ArcSDE.&amp;nbsp; You&lt;EM&gt; can't&lt;/EM&gt; register views with the geodatabase because they require an SDE-set registered rowid.&amp;nbsp; Using 'sdelayer -o register' is your only option at this point -- ArcGIS 10.3 will have a better solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the view doesn't work as a Query Layer, then you may have a problem with your join rules.&amp;nbsp; Try running database queries, to see if your rowid is unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Sep 2014 21:09:28 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2014-09-26T21:09:28Z</dc:date>
    <item>
      <title>Solution for a many to one spatial view or query layer</title>
      <link>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619198#M34947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dataset of polygons that are measured on a regular interval.&amp;nbsp; The polygons are fairly large and complex and never change.&amp;nbsp; Maybe some would get added but that hasn't happened in years.&amp;nbsp; Every week, each polygon gets a measure.&amp;nbsp; Measurements get stored in a table with the polygon id and the date and time of the measurement, the value and some other metadata.&amp;nbsp; It amounts to a vertical table with a composite key of polygon id and date time.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I need to display the table as a feature class with the polygon geometry.&amp;nbsp; I don't want to store the geometry over and over for each row in the table.&amp;nbsp; Relates don't work because I can't filter on date, user are going to want to change the filter on date to look at a particular time slice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have tried making a spatial view using joining the table and polygons based on polygon id and including the objectid of the measurement table but ArcMap doesn't recognize the objectid as a proper id and will not do selections or identifies, also it sometimes just crashes or hangs trying to do that.&lt;/P&gt;&lt;P&gt;I tried a query layer but that also failed to be able to do a selection and identify.&amp;nbsp; The objectids in the measurement table would be unique in the join but not the objectids in the polygon featureclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a feature class with the polygons stacked for each valid date time (with the idea of setting definition queries or doing other queries based on time) but I don't want to stored the geometry over and over again...&amp;nbsp; Someone suggested materialized views in the database (oracle) I am still looking into that but it kind of defeats the purpose of not storing the geometry since, well the view is materialized, so it would be stored.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 13:35:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619198#M34947</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2014-09-25T13:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Solution for a many to one spatial view or query layer</title>
      <link>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619199#M34948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of ArcGIS are you using?&lt;/P&gt;&lt;P&gt;What exact version of Oracle are you using?&lt;/P&gt;&lt;P&gt;What is the geometry storage type of the base polygon table (ST_GEOMETRY. SDELOB, SDO_GEOMETRY)?&lt;/P&gt;&lt;P&gt;What, exactly, did you do to construct a spatial view?&lt;/P&gt;&lt;P&gt;How is the objectid of the management table defined?&lt;/P&gt;&lt;P&gt;What do you mean by "ArcMap doesn't recognize the objectid as a proper id"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you had posted this over in &lt;A _jive_internal="true" href="https://community.esri.com/community/gis/managing-data"&gt;Managing Data&lt;/A&gt; you might have gotten more responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 16:28:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619199#M34948</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-09-26T16:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Solution for a many to one spatial view or query layer</title>
      <link>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619200#M34949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No official help is provided for your problem by Esri.&amp;nbsp; They don't support these relationships for any sizable datasets for all practical purposes.&amp;nbsp; Every user is on their own to come up with whatever they can after experimenting with their data for weeks.&amp;nbsp; All in memory configurations I have tried take hours for the tools to complete and are extremely slow at redrawing, so I have given up on them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At 10.1 the ability to duplicate the geometry over and over again with a standard join and an export to a geodatabase is the only solution that works for me.&amp;nbsp; The export time is minimal and the redraw time is fantastic.&amp;nbsp; I can save my company far more money by not wasting my time and or my user's time with slow performance and using up a fraction of the unused Terabytes of disk space that is on our servers to duplicate the geometry over and over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I doubt Esri has much else to offer, given that the geoprocessing paradigm supported by Esri practically always requires you to create a new derivative feature class with nearly every geoprocessing tool you use.&amp;nbsp; Using that paradigm I have created huge numbers of copies of the same geometry over and over to get anything done, like it or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 17:57:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619200#M34949</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2014-09-26T17:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Solution for a many to one spatial view or query layer</title>
      <link>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619201#M34950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcGIS 10.2.2, SDE 10.0, Oracle 11g&amp;nbsp; 11.2.0.4.0&lt;/P&gt;&lt;P&gt;Geometry is ST_GEOMETRY&lt;/P&gt;&lt;P&gt;Spatial view was constructed in the Geoprocessing toolbox tool.&amp;nbsp; (my understanding is the command line tools are being deprecated)&amp;nbsp; The sql is just a where clause join between the table and the featureclass&lt;/P&gt;&lt;P&gt;The table is registered with geodatabase (not versioned) and has a geodatabase managed objectid&lt;/P&gt;&lt;P&gt;ArcMap doesn't recognize in the sense that spatial select using the select tool and identify doesn't work, I haven't tested a whole of lot beyond that because I found that trying to use either of these tools can hang or crash arcmap.&amp;nbsp; (Both of which happened a lot as soon as I added this view to the map)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry I didn't post this in the right place, I am still trying to get the hang of the new forum (again.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 18:15:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619201#M34950</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2014-09-26T18:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Solution for a many to one spatial view or query layer</title>
      <link>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619202#M34951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The toolbox tool is &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//001700000177000000"&gt;documented&lt;/A&gt; as &lt;STRONG&gt;not&lt;/STRONG&gt; registering the view with ArcSDE (third bullet in Usage), which is required for ArcGIS to be able to use it as part of a Database Connection (using it as a Query Layer should be possible without registration).&amp;nbsp; If you register the view with 'sdelayer -o register -C objectid,USER ...' you might have more success rendering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may still have issues with poor join performance (due to fragmentation -- spatial, attribute, or both).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You probably want to evaluate upgrading that geodatabase to use a modern ST_GEOMETRY implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only recently set up an explicit "geodatabase" tag query stream, or I would have missed your post.&amp;nbsp; Posting in your own Discussions folder is&amp;nbsp; possible, and can be found by indexing if it's tagged correctly, but not generally right away.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 18:35:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619202#M34951</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-09-26T18:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Solution for a many to one spatial view or query layer</title>
      <link>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619203#M34952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I noticed the registration too.&amp;nbsp; I tried the register with geodatabase tool but it says it is not supported with views.&amp;nbsp; Geoprocessing has been a bit of a let down in this case.&amp;nbsp; Which brings us back to using command line tools, which I have to get my hands on now.&amp;nbsp; I am just worried that it is not a viable long term solution...&lt;/P&gt;&lt;P&gt;I tried the query layer too but I got the same problem with the select and identify not working. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 19:17:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619203#M34952</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2014-09-26T19:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Solution for a many to one spatial view or query layer</title>
      <link>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619204#M34953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Registering with the geodatabase (right click) is &lt;STRONG&gt;&lt;EM&gt;very&lt;/EM&gt;&lt;/STRONG&gt; different than registering with ArcSDE.&amp;nbsp; You&lt;EM&gt; can't&lt;/EM&gt; register views with the geodatabase because they require an SDE-set registered rowid.&amp;nbsp; Using 'sdelayer -o register' is your only option at this point -- ArcGIS 10.3 will have a better solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the view doesn't work as a Query Layer, then you may have a problem with your join rules.&amp;nbsp; Try running database queries, to see if your rowid is unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 21:09:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619204#M34953</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-09-26T21:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Solution for a many to one spatial view or query layer</title>
      <link>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619205#M34954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, it took me a while to get this going.&amp;nbsp; It seems that the 10.2 sde command line tools are not compatible with a 10.0 database.&amp;nbsp; The 10.1 ArcGIS server will not install on a workstation with 10.2 desktop but the 10.0 ArcSDE will install along with desktop 10.2, just cancel the post install...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So...&amp;nbsp; I use sdetable -o createview (no registering) and it made the spatial view no problem, works great, draws much much faster than toolbox views and query layers.&amp;nbsp; Select, Identify works great.&amp;nbsp; No silly popup windows to ask for the unique field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Query layers didn't work right.&amp;nbsp; The field is unique in the output.&amp;nbsp; I checked with SQL developer queries.&amp;nbsp; The value table objectids are geodatabase objectids and are unique to the table.&amp;nbsp; The join is a many to one, so each feature in the value table is kept and not duplicated but they join to the same polygons over and over again.&amp;nbsp; According to the documentation, both views and query layers need a column with a unique constraint in the spatial featureclass to be added to the view.&amp;nbsp; This precludes any many to one between a table and a featureclass.&amp;nbsp; This means even the basest normalization of data is still impossible in a geodatabase without the sde commands...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will look out for what is new in 10.3, I hope it allows for this sort of view.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 19:43:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619205#M34954</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2014-09-30T19:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Solution for a many to one spatial view or query layer</title>
      <link>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619206#M34955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richard, it has been my experience that flattening your data is the only way to go, especially when versioning.&amp;nbsp; Geoprocessing creates a bunch of intermediate data that is redundant but it can be eliminated after the processing.&lt;/P&gt;&lt;P&gt;In my case I just want to create a view of the data that can be queried based on time slice.&amp;nbsp; For this particular data subset the geometry never changes and is really just for display purposes. &lt;/P&gt;&lt;P&gt;I find esri's focus seems to be drifting away from the desktop GIS analyst crunching the data on desktop as the specialist in his particular outfit but I suspect we still make up the core of the licenses out there, it just might not be the growth segment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 19:50:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619206#M34955</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2014-09-30T19:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Solution for a many to one spatial view or query layer</title>
      <link>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619207#M34956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3051"&gt;Vince Angelo&lt;/A&gt;‌ Now that 10.3 Pre-release is out, can you clarify what the better solution is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 14:00:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619207#M34956</guid>
      <dc:creator>NateArnold</dc:creator>
      <dc:date>2014-10-31T14:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Solution for a many to one spatial view or query layer</title>
      <link>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619208#M34957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not yet. As John &lt;A _jive_internal="true" href="https://community.esri.com/message/434722#434722"&gt;indicated&lt;/A&gt;, the 10.3 work-around for the post-10.3 "better solution" is still being validated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Nov 2014 14:40:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619208#M34957</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-11-01T14:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Solution for a many to one spatial view or query layer</title>
      <link>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619209#M34958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I read &lt;A href="https://community.esri.com/migrated-users/50877"&gt;John Baleja&lt;/A&gt;‌'s comment as meaning there will be a post-10.3 solution.&amp;nbsp; If there is going to be a 10.3 stop-gap solution, I look forward to learning more about it at final release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Nov 2014 16:16:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619209#M34958</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2014-11-01T16:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Solution for a many to one spatial view or query layer</title>
      <link>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619210#M34959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting so the sde tools are gone but there is no solution to this problem.&amp;nbsp; So what imperfect work-around there was is now gone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 20:39:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/solution-for-a-many-to-one-spatial-view-or-query/m-p/619210#M34959</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2015-01-06T20:39:03Z</dc:date>
    </item>
  </channel>
</rss>

