Jump to content

 
Photo

Choropleth maps in MAPublisher 8?

- - - - -

  • Please log in to reply
5 replies to this topic

#1
David Medeiros

David Medeiros

    Hall of Fame

  • Validated Member
  • PipPipPipPipPipPipPip
  • 1,082 posts
  • Gender:Male
  • Location:Redwood City CA
  • Interests:Cartography, wood working, wooden boats, fishing, camping, overland travel, exploring.
  • United States

Can somebody walk me through creating a choropleth map in MAPublisher 8? I have a series of counties in the SW with various attributes that I want to color by data ranges. Looks like Style-sheets is where I should do this but not sure exactly how.

dave

GIS Reference and Instruction Specialist, Stanford Geospatial Center.

 

www.mapbliss.com

 


#2
Hans van der Maarel

Hans van der Maarel

    CartoTalk Editor-in-Chief

  • Admin
  • PipPipPipPipPipPipPip
  • 3,868 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Cartography, GIS, history, popular science, music.
  • Netherlands

Can somebody walk me through creating a choropleth map in MAPublisher 8? I have a series of counties in the SW with various attributes that I want to color by data ranges. Looks like Style-sheets is where I should do this but not sure exactly how.


In short (because I don't have a lot of time right now)
- Determine your class breaks. MAPublisher does not offer an automated way to do this.
- Create a unique style for each of your classes and drag them to the Graphic Styles pallette. It's probabely a good idea to assign unique names to them too.
- Create a new area stylesheet
- In the stylesheet panel, drag your layer to the newly created stylesheet
- Start editing the stylesheet by doubleclicking.

You can now set up a number of rules that will select data and assign styles to them. This should be pretty self-explanatory. Do note that you have a "simple" and "advanced" option in the expression builder.

If you have any other questions, feel free to ask. I'm sure there's many MAPublisher users here that can help you out.
Hans van der Maarel - Cartotalk Editor
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics

#3
David Medeiros

David Medeiros

    Hall of Fame

  • Validated Member
  • PipPipPipPipPipPipPip
  • 1,082 posts
  • Gender:Male
  • Location:Redwood City CA
  • Interests:Cartography, wood working, wooden boats, fishing, camping, overland travel, exploring.
  • United States

Can somebody walk me through creating a choropleth map in MAPublisher 8? I have a series of counties in the SW with various attributes that I want to color by data ranges. Looks like Style-sheets is where I should do this but not sure exactly how.


In short (because I don't have a lot of time right now)
- Determine your class breaks. MAPublisher does not offer an automated way to do this.
- Create a unique style for each of your classes and drag them to the Graphic Styles pallette. It's probabely a good idea to assign unique names to them too.
- Create a new area stylesheet
- In the stylesheet panel, drag your layer to the newly created stylesheet
- Start editing the stylesheet by doubleclicking.

You can now set up a number of rules that will select data and assign styles to them. This should be pretty self-explanatory. Do note that you have a "simple" and "advanced" option in the expression builder.

If you have any other questions, feel free to ask. I'm sure there's many MAPublisher users here that can help you out.


Thanks Hans,

I was hoping MAPub would have a more direct way to accomplish this (similar to ARC). Trial an error got me more or less through what you described. I think I'm having trouble with the query now. I need to select data ranges (1990 - 1992). My query looks like this: NAME = 1990 OR 1991 OR 1992. It seems to work at first but as I do this for all 5 data ranges I'm not getting the results I see in ARC. Is that the proper way to select a value range?

If I can't get this to work I'll have to do an attribute query to separate the polygons onto new layers by date and do a color ramp manually.

GIS Reference and Instruction Specialist, Stanford Geospatial Center.

 

www.mapbliss.com

 


#4
David Medeiros

David Medeiros

    Hall of Fame

  • Validated Member
  • PipPipPipPipPipPipPip
  • 1,082 posts
  • Gender:Male
  • Location:Redwood City CA
  • Interests:Cartography, wood working, wooden boats, fishing, camping, overland travel, exploring.
  • United States

Answered my own question after a little more trial and error. The correct expression reads: YEAR = 1990 OR YEAR = 1991 OR YEAR = 1992 (and so on). Now I just need to figure out how to edit the style once its applied to a set of features.

GIS Reference and Instruction Specialist, Stanford Geospatial Center.

 

www.mapbliss.com

 


#5
kay

kay

    Key Contributor

  • Validated Member
  • PipPipPip
  • 65 posts
  • Canada

Hello!
When I make choropleth map with MAPublisher, I make more than one stylesheet. (I assume that the defined class and the range in the values will not change) because map layers can easily be dragged and dropped from one map stylesheet to another stylesheet..

For example, I generally use one color scheme for the chropleth map... like 5 or 6 classes with the color range between darker green to lighter green..etc. When I show my map to clients, they usually say "what if the color scheme is different, what the map would look like?"

So... What I do is to create several sets of graphic styles (see the graphic paletts in the screen capture image) and duplicate a stylesheet once one stylesheet is set with the expression and the graphic style. In this way, all the class (category) and every range (or expression) are kept nicely. What I do is just change the graphic styles for each class.

The attached screencapture shows my simple example. I originally created with one stylesheet with the green color scheme. Then duplicate the stylesheet, then changed the graphic styles.

If I drag and drop the usa_area layer from one stylesheet to another, the chropleth map changes color! Personally I like doing this when I make choropleth maps :)


I may not be answering your question... but I hope it might help you!

Happy mapping, Dave!
Kay

Attached Files



#6
Andrew Patterson

Andrew Patterson

    Key Contributor

  • Validated Member
  • PipPipPip
  • 99 posts
  • Gender:Male
  • Location:Toronto, ON
  • Canada

Answered my own question after a little more trial and error. The correct expression reads: YEAR = 1990 OR YEAR = 1991 OR YEAR = 1992 (and so on). Now I just need to figure out how to edit the style once its applied to a set of features.


Just wondering, but since it sounds like you're using the Advanced mode, is there a reason "YEAR >= 1990 AND YEAR <= 1992" wouldn't work? And the Simple mode should work for regular ranges like that too -- you should only have to get into Advanced when you want to do more complicated criteria.
Andrew Patterson
Lead Software Architect
Avenza Systems Inc.

email: andrew@avenza.com
phone: 416.487.5116




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->