DeArmond.net

Thoughts, adventures, projects, and photography by Shawn DeArmond

Mapping with Drupal

January 18, 2012 - 12:35pm -- Shawn

Mapping means a lot of different things to a lot of different people. You ask The Word Shop, and they just want a navigable map with a single point indiciation their location. You ask Development Seed the same question, and you get a completely different answer. You ask my wife, who is a GIS analyst exceedingly proficient in ArcGIS, and you'll get an entirely different concept of the word "map".

That's what makes this hard.

Over the years, Drupal has become an extremely flexible platform with regard to geographic data. The biggest advancement, in my opinion, was the integration with OpenLayers. Thanks to Alan Palazzolo, et al, for the amazing OpenLayers module, we have a fantastic platform on which to build systems to display our data.

OpenLayers is great, but it's not the be-all, end-all, so maybe I'm getting ahead of myself. Let's start at the beginning:

First of all, if you're using Drupal 7, you want to use the Geofield module. This module adds a field type called Geofield, which, you guessed it, stores geographic information for your entity. Remember, Drupal 7 allows for fields on ANY entity, so you can put this Geofield on a node (obviously), but also a user, a taxonomy term, a comment, etc. etc.

So, Geofield will store "geographic data", so what's that? Basically, there are three main types of geographic data: points, lines, and polygons. Think of points as: "my storefront is located HERE." An example of a line is a Garmin GPS device hiking track. And a polygon is a shape that ends up where it starts, such as the Sacramento City Limits. It could also be a land parcel, or a water feature, like a lake. Geofield can store any and all of these.

Next, we need Views. Because every Drupal site needs Views. Views will let us build the query we need (including all relationships, filters, contextual filters, etc.) in order to get the data we want to display on the map. With Views, you create OpenLayers-compatible layers which can be assembled into a map. This gives you ultimate control of exactly what you want on the map, even to the point where you can have them be toggleable in your map.

There are a few other modules that are in varying states of completeness that I feel I should mention:

  • OpenLayers Proximity lets you search for distance from a point. (Show me all Ikea stores within 30 miles from this address.) [D7 version here]
  • Geocoder lets you take other fields, such as address fields, and generate the longitude/latitude points.
  • Geocoder Autocomplete will auto-fill addresses in text fields using Geocoder API.
  • Address Field is shaping up to be THE way you store address information in Drupal 7

I am making a presentation on this at the Sacramento Drupal Users Group meeting tonight. If all goes according to plan, I'll post a video of it. In the mean time, here are my slides.

UPDATE: I did a screen capture, but unfortunately, the audio didn't get recorded. I have the video, but I don't think it would be all that useful without the audio. Bummer. Sorry folks!

Comments

It is collected by various sources. Geographic data varies.Satellite imagery is collected from satellites and used for remote sensing, GIS, cartography. Demographic (population, income, employment, etc)data is collected from the census as well as other sources and is used by human geographers and economic geographers. Physical data (stream velocity, migration patterns, etc) is collected by people in the field. They physically collect the data using various methods and instruments.

Submitted by IdaWallace on

Many thanks for sharing here educational blog on Mapping with Drupal. Since I am educational experts and would like to suggest your site to finance students who are come to take finance assignment help - http://www.assignmenthelpfolks.com/finance/ from me at Assignment Help Folks and hope it become helpful for them.

Submitted by Kwan on

Well! This article is about the Mapping with Drupal. I think Drupal mapping don't have efficient results like Google Map have. We should use Maps while driving unknow way. Accident is possible in everywhere and we should be careful. We should pray for that 12 years old body who is now in critical conditions and still his life is in risk. Police investigated that case very deeply and 26 years old person who driven by truck arrested by the Police. Any how, I like to get some basic information of a site where i can get analyze http://www.rushmyessay.biz/ for me but after read this news i'm feeling very sorry for the 12 years oldy boy.

Submitted by sd on

I enjoy, cause I discovered exactly what I was looking for.
You've ended my four day lengthy hunt! God Bless you man. Have
a great day. Bye

Submitted by ErinKelly on

Fantastic post on Mapping with Drupal. And OpenLayers is wonderful module which have a fantastic platform to build structures & show data. Openlayers is a Javascript public library that permits to display maps from several causes. It works with Yahoo Maps, Mapquest, Google Street Map, Stamen, Open Street Map and more. Its useful post and share this module for IT field students, who are come to seek law essay help - http://www.essaywriter.org.uk/law-essay/ at Essay Writer institute because Openlayers' flexibility creates a very valuable decision in mapping with Drupal platform.

This is very interesting, You're a very skilled blogger.
I've joined your rss feed and look forward to seeking
more of your wonderful post. Also, I have shared your website in my social networks!

Submitted by Mike on

Thanks for providing such a great information.

Submitted by Ankit on

Drupal always creates some issue and problems but I always adopt your idea to make their clear. Great info. Nice article.

I like the valuable information you provide in your articles.

I will bookmark your blog and check again here regularly.
I'm quite certain I'll learn a lot of new stuff right here!
Best of luck for the next!

Submitted by Jack kevin on

Drupal gives you the instruments to make a site that takes care of these requests. Drupal's quality is in making collaborations between mapping information and the various sorts of information. If you want information about Assignment please visit our website http://www.assignmentstar.com/write-my-assignment

Submitted by Kellee on

Greetings I am so glad I found your webpage, I really found you by error, while I was
searching on Digg for something else, Anyways I
am here now and would just like to say many thanks for a incredible post and a all
round exciting blog (I also love the theme/design), I don?t have time to
read through it all at the moment but I have bookmarked it and
also added in your RSS feeds, so when I have time I will be back to read
a lot more, Please do keep up the fantastic jo.

Submitted by aba on

I thank you for the information! I was looking for and could not find. You helped me!

Quite a few of my clientele have, sadly, initiated the design of their kitchen with no an knowing of the
extent of what is really concerned in the course
of action, in conditions of design and style, price range, timeline and other issues.
In these instances, our structure process jointly, was discouraging for the shopper and for me.
As a consequence, this post will explain the system so that you will have the prospect to develop into greater informed in advance of you start off your kitchen area task, therefore staying away
from uninformed selections or possibly spending time and/or
income needlessly.

This posting is not about the particular style and design functions of your
kitchen and how to style and design it. There are many very good resources obtainable
for that. As a substitute, it is about the approach of coming up
with your kitchen area. It is meant to assistance in acquiring a head get started and to
expose any one who is, or might be, embarking upon the style of a new
or transformed kitchen, to the 1st and most critical step
- Preparing.

Developing a kitchen for a new or present dwelling is a
large expense in time, money and energy and it is in some cases annoying and difficult.
Sadly, some sellers and Tv set programs really don't like to dwell on this facet and therefore
mislead the buyer about the true amount of time and exertion that is demanded.
Even while developing a new kitchen area is tough, most clientele say that the
effects are a lot more than worth the energy. I hope that the data furnished herein will be a practical contribution towards owning you well on your
way to a thriving task.

In advance of you start the method of designing your new kitchen area,
you will need to set the requirements for the design. I
endorse that you interact a specialist kitchen area designer that not only layouts the cupboard
layout, but types each element of the kitchen and is associated
through the total venture, so that the last end result will be a cohesive design that displays ideal
purpose and fashion. The designer will not only assistance
you make a attractive, productive, kitchen but will help you save you sizeable time and cash and you will equally have entertaining building your joint development.

I trust that what follows will get your electrical
power flowing and thoughts racing, in planning for truly embarking on your
journey. And, it "is" a journey!

THE Kitchen OF Now

The kitchen area has typically been the most
significant area in the property because cooking and sharing foods has extensive been central to family members everyday living.
Meals will often be essential, but cooking has, in some circumstances, considerably modified.
The grocery sector has centered on replacements for home foods and
hundreds of eating places have integrated "to-go" in their enterprise design.
Whether we prepare dinner usually or not, kitchens stay the basis of household existence since it is wherever we live and
acquire. It is where most of us begin and end our days and share the details
of our working day.

Modern kitchens serve extra roles than at any time before:
enjoyment centre, household office environment, cooking and dining area.
The electronics for an entertainment heart may possibly
include things like Tv set, music and net
connection and the place of work area may perhaps have a desk,
data files, laptop and bookshelves.

THE To start with Measures

Decide with your loved ones, who works by using your current kitchen area and how,
and talk about the conveniences you would like to have in the
new version. Make a scrapbook of articles or blog posts and notes on kitchens and
kitchen area characteristics that fascination you and photographs of kitchens you like.
Assess how and when you cook, in which you provide meals to whom
and how generally you entertain and how you entertain. Inventory your dishes, silverware, serving items, cookware, linens,
and your regular grocery storage specifications so that
you can be sure that the new design and style accommodates all the things.

It would seem that no make a difference how much time you
finances for a remodeling job, it typically can take for a longer time than you expected.
For a full remodel, the down time during design can be at minimum two or a few months and substantially more time, relying on the dimension and extent of the task.
Your family members demands to eat in the meantime.
So, in advance of building starts off make preparations to retail store, warmth and
clear up, ample to continue to keep you going till the kitchen area is back again on-line.
Lots of of my consumers who have had the very good fortune to have a bar sink in the relatives home, have moved in the previous refrigerator and microwave around the bar
sink and this combination will become the interim kitchen area all through
design of the new one. The upside to this is that it gives a excellent
rationale for having out extra usually!

THE Kitchen FOOTPRINT

Let's commence with the place you have obtainable for the kitchen. Whether or not you are
building for a new residence, or remodeling in an existing just one, you are restricted by how considerably room you
have obtainable in which to build your aspiration. If the room is fairly smaller, you will want to take into consideration whether or not you have the option of expanding.

You may be equipped to achieve this in your current dwelling and, in a new
home, very often you still have time to alter the architectural approach, if desired.
In both situation, if you can do away with or relocate a wall or
walls or increase to the household to develop additional room for the kitchen,
it will improve the functionality and worth of the area significantly.

Submitted by Micky on

I am also doing development in drupal and i really like to read stuff related to it on the internet. This post is very informative for me which is about Drupal Development Workflow with Git. I think you have a great experience in drupal which you have shared here with us.
Buy heavy duty tarps from http://tarpaulinsco.uk/

Submitted by Kathryn on

I am also sending it to my friend to enjoy your working style. I would like to say that that the article is very good.It is because i love informative blogs and this is one of them. Thanks for sharing and keep it up. Please visit here in the website.
http://www.astickerprinting.com.au/

You have made some really good points there.
I checked on the net for more info about the issue and found most people will go along with your
views on this web site.

Submitted by Kathryn on

I’m excited to uncover this page. I need to to thank you for ones time for this particularly fantastic read !! I definitely really liked every part of it and i also have you saved to fav to look at new information in your site.
http://rollstickersco.com.au/

Submitted by Kathryn on

I am reading the whole content of in the post is very informative for me. I am reading the all type and conduction fellow us. I am appreciate in the work. Please share to more than people visited to here. keep it up.
http://rubberflooringsupplier.co.uk/

Wow that was odd. I just wrote an extremely long comment but after I clicked submit my comment didn't appear.

Grrrr... well I'm not writing all that over again.
Anyways, just wanted to say fantastic blog!

Submitted by Hpai on

Info lengkap katalog dan daftar harga produk Hni / <a href="http://hpai.my.id">Hpai</a> Indonesia,obat herbal dengan kualitas jaminan produk dan manajemen bisnis yang profesional.

You can search for UK colour printing services or any
business offering vibrant colors for flyer printing.
Just maintain vigilance and determination and you will also have the top posters for presenting with
a mass audience. In some cases it may be worth the cost
to order larger quantities to conserve money and lower the necessity to reorder too soon.

Pages

Comments

It is collected by various sources. Geographic data varies.Satellite imagery is collected from satellites and used for remote sensing, GIS, cartography. Demographic (population, income, employment, etc)data is collected from the census as well as other sources and is used by human geographers and economic geographers. Physical data (stream velocity, migration patterns, etc) is collected by people in the field. They physically collect the data using various methods and instruments.

Submitted by IdaWallace on

Many thanks for sharing here educational blog on Mapping with Drupal. Since I am educational experts and would like to suggest your site to finance students who are come to take finance assignment help - http://www.assignmenthelpfolks.com/finance/ from me at Assignment Help Folks and hope it become helpful for them.

Submitted by Kwan on

Well! This article is about the Mapping with Drupal. I think Drupal mapping don't have efficient results like Google Map have. We should use Maps while driving unknow way. Accident is possible in everywhere and we should be careful. We should pray for that 12 years old body who is now in critical conditions and still his life is in risk. Police investigated that case very deeply and 26 years old person who driven by truck arrested by the Police. Any how, I like to get some basic information of a site where i can get analyze http://www.rushmyessay.biz/ for me but after read this news i'm feeling very sorry for the 12 years oldy boy.

Submitted by sd on

I enjoy, cause I discovered exactly what I was looking for.
You've ended my four day lengthy hunt! God Bless you man. Have
a great day. Bye

Submitted by ErinKelly on

Fantastic post on Mapping with Drupal. And OpenLayers is wonderful module which have a fantastic platform to build structures & show data. Openlayers is a Javascript public library that permits to display maps from several causes. It works with Yahoo Maps, Mapquest, Google Street Map, Stamen, Open Street Map and more. Its useful post and share this module for IT field students, who are come to seek law essay help - http://www.essaywriter.org.uk/law-essay/ at Essay Writer institute because Openlayers' flexibility creates a very valuable decision in mapping with Drupal platform.

This is very interesting, You're a very skilled blogger.
I've joined your rss feed and look forward to seeking
more of your wonderful post. Also, I have shared your website in my social networks!

Submitted by Mike on

Thanks for providing such a great information.

Submitted by Ankit on

Drupal always creates some issue and problems but I always adopt your idea to make their clear. Great info. Nice article.

I like the valuable information you provide in your articles.

I will bookmark your blog and check again here regularly.
I'm quite certain I'll learn a lot of new stuff right here!
Best of luck for the next!

Submitted by Jack kevin on

Drupal gives you the instruments to make a site that takes care of these requests. Drupal's quality is in making collaborations between mapping information and the various sorts of information. If you want information about Assignment please visit our website http://www.assignmentstar.com/write-my-assignment

Submitted by Kellee on

Greetings I am so glad I found your webpage, I really found you by error, while I was
searching on Digg for something else, Anyways I
am here now and would just like to say many thanks for a incredible post and a all
round exciting blog (I also love the theme/design), I don?t have time to
read through it all at the moment but I have bookmarked it and
also added in your RSS feeds, so when I have time I will be back to read
a lot more, Please do keep up the fantastic jo.

Submitted by aba on

I thank you for the information! I was looking for and could not find. You helped me!

Quite a few of my clientele have, sadly, initiated the design of their kitchen with no an knowing of the
extent of what is really concerned in the course
of action, in conditions of design and style, price range, timeline and other issues.
In these instances, our structure process jointly, was discouraging for the shopper and for me.
As a consequence, this post will explain the system so that you will have the prospect to develop into greater informed in advance of you start off your kitchen area task, therefore staying away
from uninformed selections or possibly spending time and/or
income needlessly.

This posting is not about the particular style and design functions of your
kitchen and how to style and design it. There are many very good resources obtainable
for that. As a substitute, it is about the approach of coming up
with your kitchen area. It is meant to assistance in acquiring a head get started and to
expose any one who is, or might be, embarking upon the style of a new
or transformed kitchen, to the 1st and most critical step
- Preparing.

Developing a kitchen for a new or present dwelling is a
large expense in time, money and energy and it is in some cases annoying and difficult.
Sadly, some sellers and Tv set programs really don't like to dwell on this facet and therefore
mislead the buyer about the true amount of time and exertion that is demanded.
Even while developing a new kitchen area is tough, most clientele say that the
effects are a lot more than worth the energy. I hope that the data furnished herein will be a practical contribution towards owning you well on your
way to a thriving task.

In advance of you start the method of designing your new kitchen area,
you will need to set the requirements for the design. I
endorse that you interact a specialist kitchen area designer that not only layouts the cupboard
layout, but types each element of the kitchen and is associated
through the total venture, so that the last end result will be a cohesive design that displays ideal
purpose and fashion. The designer will not only assistance
you make a attractive, productive, kitchen but will help you save you sizeable time and cash and you will equally have entertaining building your joint development.

I trust that what follows will get your electrical
power flowing and thoughts racing, in planning for truly embarking on your
journey. And, it "is" a journey!

THE Kitchen OF Now

The kitchen area has typically been the most
significant area in the property because cooking and sharing foods has extensive been central to family members everyday living.
Meals will often be essential, but cooking has, in some circumstances, considerably modified.
The grocery sector has centered on replacements for home foods and
hundreds of eating places have integrated "to-go" in their enterprise design.
Whether we prepare dinner usually or not, kitchens stay the basis of household existence since it is wherever we live and
acquire. It is where most of us begin and end our days and share the details
of our working day.

Modern kitchens serve extra roles than at any time before:
enjoyment centre, household office environment, cooking and dining area.
The electronics for an entertainment heart may possibly
include things like Tv set, music and net
connection and the place of work area may perhaps have a desk,
data files, laptop and bookshelves.

THE To start with Measures

Decide with your loved ones, who works by using your current kitchen area and how,
and talk about the conveniences you would like to have in the
new version. Make a scrapbook of articles or blog posts and notes on kitchens and
kitchen area characteristics that fascination you and photographs of kitchens you like.
Assess how and when you cook, in which you provide meals to whom
and how generally you entertain and how you entertain. Inventory your dishes, silverware, serving items, cookware, linens,
and your regular grocery storage specifications so that
you can be sure that the new design and style accommodates all the things.

It would seem that no make a difference how much time you
finances for a remodeling job, it typically can take for a longer time than you expected.
For a full remodel, the down time during design can be at minimum two or a few months and substantially more time, relying on the dimension and extent of the task.
Your family members demands to eat in the meantime.
So, in advance of building starts off make preparations to retail store, warmth and
clear up, ample to continue to keep you going till the kitchen area is back again on-line.
Lots of of my consumers who have had the very good fortune to have a bar sink in the relatives home, have moved in the previous refrigerator and microwave around the bar
sink and this combination will become the interim kitchen area all through
design of the new one. The upside to this is that it gives a excellent
rationale for having out extra usually!

THE Kitchen FOOTPRINT

Let's commence with the place you have obtainable for the kitchen. Whether or not you are
building for a new residence, or remodeling in an existing just one, you are restricted by how considerably room you
have obtainable in which to build your aspiration. If the room is fairly smaller, you will want to take into consideration whether or not you have the option of expanding.

You may be equipped to achieve this in your current dwelling and, in a new
home, very often you still have time to alter the architectural approach, if desired.
In both situation, if you can do away with or relocate a wall or
walls or increase to the household to develop additional room for the kitchen,
it will improve the functionality and worth of the area significantly.

Submitted by Micky on

I am also doing development in drupal and i really like to read stuff related to it on the internet. This post is very informative for me which is about Drupal Development Workflow with Git. I think you have a great experience in drupal which you have shared here with us.
Buy heavy duty tarps from http://tarpaulinsco.uk/

Submitted by Kathryn on

I am also sending it to my friend to enjoy your working style. I would like to say that that the article is very good.It is because i love informative blogs and this is one of them. Thanks for sharing and keep it up. Please visit here in the website.
http://www.astickerprinting.com.au/

You have made some really good points there.
I checked on the net for more info about the issue and found most people will go along with your
views on this web site.

Submitted by Kathryn on

I’m excited to uncover this page. I need to to thank you for ones time for this particularly fantastic read !! I definitely really liked every part of it and i also have you saved to fav to look at new information in your site.
http://rollstickersco.com.au/

Submitted by Kathryn on

I am reading the whole content of in the post is very informative for me. I am reading the all type and conduction fellow us. I am appreciate in the work. Please share to more than people visited to here. keep it up.
http://rubberflooringsupplier.co.uk/

Wow that was odd. I just wrote an extremely long comment but after I clicked submit my comment didn't appear.

Grrrr... well I'm not writing all that over again.
Anyways, just wanted to say fantastic blog!

Submitted by Hpai on

Info lengkap katalog dan daftar harga produk Hni / <a href="http://hpai.my.id">Hpai</a> Indonesia,obat herbal dengan kualitas jaminan produk dan manajemen bisnis yang profesional.

You can search for UK colour printing services or any
business offering vibrant colors for flyer printing.
Just maintain vigilance and determination and you will also have the top posters for presenting with
a mass audience. In some cases it may be worth the cost
to order larger quantities to conserve money and lower the necessity to reorder too soon.

Pages