David,
The 512 limit is arbitrary and imposed by the GUI, not the program itself.
But before we look at bypassing that limit, let me ask you something. Have you
considered using the "Merge by Value" (Tools... Geographic Analysis... Merge by
Value) function instead? It seems to me that creating a new geographic file
where each of these selection sets was simply its own polygon would be much
more efficient.
If that solution is truly no good for your purposes, you *can* define more than
512 classes via the DK, using the code below. For layer_name, put in the name
of the layer you'd have active when invoking the color theme drop box; for
field_name use the name that you would under "field" in the color theme drop
box; for n_cats, use the maximum number of classes you think you'd need for
your application:
layer_name = "tl_2010_tabblock10"
field_name = "GEOID10"
n_cats = 1000
theme_name = CreateTheme("Districts", layer_name + "." + field_name,
"Categories", n_cats, null)
ShowTheme(null, theme_name)
Then you can run "Selection... Select by Theme" from the GUI. I tested it
successfully with 1,000 classes, but it took forever to run even on a high-end
workstation under Mapt 6.0.
Understand that we're pushing Maptitude beyond its designed limits. I take no
responsibility for crashing Maptitude (or your entire computer for that
matter).
--- In [email protected], "David" <david@...> wrote:
>
>
>
> To create districts, I click the Color Theme icon. I then choose my field and
> select [LIST of VALUES] from the dialog box that opens. For [Max Classes], I
> select the largest possible number which is 512. I then use [Select by Theme]
> to produce selection sets which I manually edit.
>
> For most of my projects, the 512 limitation isn't an issue. For a few
> projects, however, I need around a 1,000 maybe 1,500.
>
> Is there a way to increase the 512 maximum number of selection sets? ..say
> with a registry value or something? Any ideas for a work-around?
>
> Thanks!!!!
>
> P.S. And if I manage to increase the color theme 512 limitation, is there a
> limit on the number of selection sets?
>
> I'm running Maptitude 5 and Maptitude 2012.
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Maptitude/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/Maptitude/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/