Bill Finzer

Forum Replies Created

Viewing 15 posts - 331 through 345 (of 401 total)
  • Author
    Posts
  • in reply to: Working with maps – Creating boundaries. #691
    Bill Finzer
    Keymaster

    I agree we need much better documentation on how to get boundaries in maps. We’re very close to having maps able to display multiple layers of points and boundaries together in the same map. That will definitely require new (and better) documentation.

    Thanks for your feedback.

    Bill

    in reply to: Working with maps – Creating boundaries. #687
    Bill Finzer
    Keymaster

    Hi Andrew,

    In addition to the boundary attribute that contains the formula, you’ll need another attribute for the names of the states. Let’s say you called that attribute state_name. Then your formula for the boundary would be:

    LookupBoundary(US_state_boundaries, state_name)

    Then enter the names (or abbreviations) of states in the cells in the state_name attribute column of the table.

    If you already have a map open, you may need to close it and open another one after you’ve got your attributes defined. (I’m working on a fix for this right now!)

    Bill

    in reply to: Working with maps – Creating boundaries. #682
    Bill Finzer
    Keymaster

    Hello Andrew,

    Your post relates to a powerful and interesting capability of CODAP, one that has been used by a number of projects.

    The Map Data example pulls in state boundaries with a formula:

    lookupBoundary(US_state_boundaries, state)

    There are four other sets of boundaries available by these means: US_congressional_districts, US_county_boundaries, US_puma_boundaries, and country_boundaries. You can see documentation for how to do this in the formula editor under lookupBoundary as shown in the screenshot I’ve enclosed.

    If an attribute is named one of ‘boundary’, ‘boundaries’, ‘polygon’, ‘polygons’ (case independent), CODAP will attempt to use it to plot boundaries in a map. If the type of an attribute is boundary as specified using attribute properties, it won’t matter what the name is.

    The boundaries themselves are expressed in geojson which you can read about on the web. You can actually paste geojson into a value and have it display a boundary on a map.

    There are online utilities for converting SHP files to geojson. Then you can export these to ‘csv’ and import them into CODAP.

    I hope this helps you get started!

    Bill

    Attachments:
    in reply to: Sorting Days of the Week in a Graph #678
    Bill Finzer
    Keymaster

    Hi Heinrich,

    You have definitely revealed a bug, but there is a nice workaround. Put the days on the y-axis instead of the x-axis. You can do this on a second graph if you like, and as you drag the days in this second graph, they will also reorder in the original graph.

    Meanwhile, I’ll log the bug.

    Thanks,

    Bill

    in reply to: Plotting different samples #676
    Bill Finzer
    Keymaster

    Hi Sue,

    Glad you got that to work! The sample attribute is typed as “categorical” just for this purpose.

    Don’t hesitate to ask for help with the Sampler.

    Bill

    in reply to: Gray color on graphs #670
    Bill Finzer
    Keymaster

    Hi Andee,

    Excellent point, and I’ll log it as a story.

    You probably know this, but you can change the color corresponding to the category that has been assigned gray using the ‘brush’ menu on the graph inspector. (But you can’t change color assigned to missing values.)

    Bill

    in reply to: Combine categories? #665
    Bill Finzer
    Keymaster

    Hi Andee,

    It would be very nice to be able to combine categories using a graph. (TinkerPlots gives you a way of doing this.) I’ll add it as a feature request.

    You don’t have to write a formula, though. As shown in the screen capture, you can use the case table to group by the attribute that has the categories you want to combine. Create a new attribute in which you copy the existing category names, except where you want to combine.

    Hope that helps!

    Bill

    Attachments:
    in reply to: More about new cases #662
    Bill Finzer
    Keymaster

    Perhaps. Alternatively we could just get rid of Insert Case. Thanks for the suggestion.

    in reply to: Possible explanation for thinking I wasn't getting a copy #661
    Bill Finzer
    Keymaster

    Looking into it.

    in reply to: Opening documents #660
    Bill Finzer
    Keymaster

    You’re right. If you want a second document, then choose New. This will open a new CODAP tab. (But I believe it will not know about your last location on Google drive. Sorry.)

    in reply to: How robust is UNDO? #659
    Bill Finzer
    Keymaster

    Hi Andee,

    You should be able to Undo most everything. Getting an Error is evidence of a bug.

    Fortunately, I just checked, and this particular bug is fixed in the next release of CODAP.

    Thanks for the bug report! We really appreciate it.

    Bill

    in reply to: Mapping attributes not working #653
    Bill Finzer
    Keymaster

    Hi Christine,

    At the moment CODAP will only plot points from one dataset, and you don’t have the ability to choose which one. So, the only workaround I can suggest is that you make documents with just one of the datasets at a time.

    We are working right now on giving you full control over as many point or polygon map layers as you like from as many different datasets as you like. This should release around the end of August.

    Bill

     

    in reply to: Opening documents #646
    Bill Finzer
    Keymaster

    I find that if I don’t close the document but go straight to Open, I get taken to the same place.

    Clearly this area needs work!

    in reply to: add cases to the very bottom of a case table #645
    Bill Finzer
    Keymaster

    Hi Andee,

    Good catch with the ambiguous instructions.

    It should say something like “Click in an empty cell in the bottom row.”

    Bill

    in reply to: Deleting newly-added case #644
    Bill Finzer
    Keymaster

    Hi Andee,

    Definitely a bug. Thanks for letting us know.

    Bill

Viewing 15 posts - 331 through 345 (of 401 total)