Geo data mapping

Hi guys,

I am very new to Bokeh and to programming too.I have an excel file with two columns LAT and LONG (latitude and longitudes 500 different locations)and I want to visualize it on the map.
Is it possible to show the points on the map using an excel file or does it have to be a geojson file?
I have no idea what is a a geojson file .Can someone tell me how I can change my excel file to geojson and also how can I import it and get the points on the Map
I would really appreciate your help,it is my school project .Thanks alot

1 Like

Hi Nily,

        If you just want to put points on a map, you don't

need a geojson file.

A combin ation of the two examples
here:
will probably get you what you w

                    The challenge will be to

make sure th at the
coordinates for your lat long, are in the same
project ion as your
map. This is the most annoying bit.

Best,

Bird

···

http://bokeh.pydata.org/en/latest/docs/user_guide/geo.htmlant.
On 10/18/16 12:07 PM, Nily n wrote:

Hi guys,

    I am very new to Bokeh and to programming too.I have an excel

file with two columns LAT and LONG (latitude and longitudes 500
different locations)and I want to visualize it on the map.

    Is it possible to show the points on the map using an excel file

or does it have to be a geojson file?

    I have no idea what is a a geojson file .Can someone tell me how

I can change my excel file to geojson and also how can I import
it and get the points on the Map

    I would really appreciate your help,it is my school project

.Thanks alot

  You received this message because you are subscribed to the Google

Groups “Bokeh Discussion - Public” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to [email protected].

  To post to this group, send email to [email protected].

  To view this discussion on the web visit [https://groups.google.com/a/continuum.io/d/msgid/bokeh/afa0d423-f3ff-40d9-b85b-cf0651579a84%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/afa0d423-f3ff-40d9-b85b-cf0651579a84%40continuum.io?utm_medium=email&utm_source=footer).

  For more options, visit [https://groups.google.com/a/continuum.io/d/optout](https://groups.google.com/a/continuum.io/d/optout).


Sarah Bird
Developer, Bokeh

    [
      ![Continuum Analytics](http://docs.continuum.io/_static/img/ContinuumWordmark.png)
    ](http://continuum.io)

Sarah:

Is it possible to handle tile servers with different map projections (CRS). A cool one I have access to is “Midnight” or “Slate” but the projection is 4326 and not 3857? Is it already possible with the existing classes here? tiles — Bokeh 3.3.2 Documentation

Leaflet has the “L.CRS.EPSG4326” parameter you can change:

var map = L.map(‘map’, {
crs: L.CRS.EPSG4326
});

``

Is it possible to do the same thing in Bokeh or, is Web Mercator the only projection (I can do these plots just fine, just trying to use more aesthetically pleasing tile servers).

I get the points on maps fine with 3857 baselayers (convert all my points with a custom function), etc. But, some baselayers are in different projections so just wanted to ask.

···

On Tuesday, October 18, 2016 at 9:41:30 PM UTC-4, Sarah Bird wrote:

Hi Nily,

        If you just want to put points on a map, you don't

need a geojson file.

A combin ation of the two examples
here:
http://bokeh.pydata.org/en/latest/docs/user_guide/geo.html
will probably get you what you want.

                    The challenge will be to

make sure th at the
coordinates for your lat long, are in the same
project ion as your
map. This is the most annoying bit.

Best,

Bird

On 10/18/16 12:07 PM, Nily n wrote:

Hi guys,

    I am very new to Bokeh and to programming too.I have an excel

file with two columns LAT and LONG (latitude and longitudes 500
different locations)and I want to visualize it on the map.

    Is it possible to show the points on the map using an excel file

or does it have to be a geojson file?

    I have no idea what is a a geojson file .Can someone tell me how

I can change my excel file to geojson and also how can I import
it and get the points on the Map

    I would really appreciate your help,it is my school project

.Thanks alot

  You received this message because you are subscribed to the Google

Groups “Bokeh Discussion - Public” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to [email protected].

  To post to this group, send email to [email protected].

  To view this discussion on the web visit [https://groups.google.com/a/continuum.io/d/msgid/bokeh/afa0d423-f3ff-40d9-b85b-cf0651579a84%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/afa0d423-f3ff-40d9-b85b-cf0651579a84%40continuum.io?utm_medium=email&utm_source=footer).

  For more options, visit [https://groups.google.com/a/continuum.io/d/optout](https://groups.google.com/a/continuum.io/d/optout).


Sarah Bird
Developer, Bokeh

    [
      <img alt="Continuum Analytics" src="https://lh6.googleusercontent.com/proxy/VYgVjggTk1hCXSN9wFkffE3I6kxTvJ51tT4KvDXOuKbs1WyFG66k7kt2-vkDimbyxfWtP-d1paJmstMYhPPnDYSUF4rLPoYM2GM2QFM=w5000-h5000" style="width:150px;min-height:30px" height="30" width="150">
    ](http://continuum.io)

You can do any project ion
you want, you just have to transform your points yourself.

···

On 10/21/16 4:49 AM,
wrote:

[email protected]

Sarah:

      Is it possible to handle tile servers with different map

projections (CRS). A cool one I have access to is “Midnight”
or “Slate” but the projection is 4326 and not 3857? Is it
already possible with the existing classes here?

Leaflet has the “L.CRS.EPSG4326” parameter you can change:

var map = L.map(‘map’, {
crs: L.CRS.EPSG4326
});

``

      Is it possible to do the same thing in Bokeh or, is Web

Mercator the only projection (I can do these plots just fine,
just trying to use more aesthetically pleasing tile servers).

      I get the points on maps fine with 3857 baselayers (convert

all my points with a custom function), etc. But, some
baselayers are in different projections so just wanted to
ask.

      On Tuesday, October 18, 2016 at 9:41:30 PM UTC-4, Sarah Bird

wrote:

Hi Nily,

                  If you just want to put

points on a map, you don’t need a geojson file.

A combin ation of the two
examples here: http://bokeh.pydata.org/en/latest/docs/user_guide/geo.html
will probably get you what you want.

                              The challenge

will be to make sure th at the
coordinates for your lat long, are
in the same project ion as your
map. This is the most
annoying bit.

Best,

Bird

On 10/18/16 12:07 PM, Nily n wrote:

Hi guys,

              I am very new to Bokeh and to programming too.I have

an excel file with two columns LAT and LONG (latitude
and longitudes 500 different locations)and I want to
visualize it on the map.

              Is it possible to show the points on the map using an

excel file or does it have to be a geojson file?

              I have no idea what is a a geojson file .Can someone

tell me how I can change my excel file to geojson and
also how can I import it and get the points on the
Map

              I would really appreciate your help,it is my school

project .Thanks alot

            You received this message because you are subscribed to

the Google Groups “Bokeh Discussion - Public” group.

            To unsubscribe from this group and stop receiving emails

from it, send an email to [email protected].

            To post to this group, send email to [email protected].

            To view this discussion on the web visit [https://groups.google.com/a/continuum.io/d/msgid/bokeh/afa0d423-f3ff-40d9-b85b-cf0651579a84%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/afa0d423-f3ff-40d9-b85b-cf0651579a84%40continuum.io?utm_medium=email&utm_source=footer).

            For more options, visit [https://groups.google.com/a/continuum.io/d/optout](https://groups.google.com/a/continuum.io/d/optout).


Sarah Bird
Developer, Bokeh

              [ ![Continuum
                  Analytics](https://lh6.googleusercontent.com/proxy/VYgVjggTk1hCXSN9wFkffE3I6kxTvJ51tT4KvDXOuKbs1WyFG66k7kt2-vkDimbyxfWtP-d1paJmstMYhPPnDYSUF4rLPoYM2GM2QFM=w5000-h5000) ](http://continuum.io)

  You received this message because you are subscribed to the Google

Groups “Bokeh Discussion - Public” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to [email protected].

  To post to this group, send email to [email protected].

  To view this discussion on the web visit [https://groups.google.com/a/continuum.io/d/msgid/bokeh/a78ad071-62fd-4dc2-81d9-cc7de05c23ef%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/a78ad071-62fd-4dc2-81d9-cc7de05c23ef%40continuum.io?utm_medium=email&utm_source=footer).

  For more options, visit [https://groups.google.com/a/continuum.io/d/optout](https://groups.google.com/a/continuum.io/d/optout).


Sarah Bird
Developer, Bokeh

    [
      ![Continuum Analytics](http://docs.continuum.io/_static/img/ContinuumWordmark.png)
    ](http://continuum.io)

http://bokeh.pydata.org/en/latest/docs/reference/models/tiles.html

Thanks for responding.

···

Transform the points of the tileserver tiles? Sorry if it’s a dumb question.

On Fri, Oct 21, 2016 at 3:50 PM, Sarah Bird - Continuum [email protected] wrote:

You can do any project ion
you want, you just have to transform your points yourself.

  On 10/21/16 4:49 AM,

[email protected] wrote:

Sarah:

      Is it possible to handle tile servers with different map

projections (CRS). A cool one I have access to is “Midnight”
or “Slate” but the projection is 4326 and not 3857? Is it
already possible with the existing classes here?
http://bokeh.pydata.org/en/latest/docs/reference/models/tiles.html

Leaflet has the “L.CRS.EPSG4326” parameter you can change:

var map = L.map(‘map’, {
crs: L.CRS.EPSG4326
});

``

      Is it possible to do the same thing in Bokeh or, is Web

Mercator the only projection (I can do these plots just fine,
just trying to use more aesthetically pleasing tile servers).

      I get the points on maps fine with 3857 baselayers (convert

all my points with a custom function), etc. But, some
baselayers are in different projections so just wanted to
ask.

      On Tuesday, October 18, 2016 at 9:41:30 PM UTC-4, Sarah Bird

wrote:

Hi Nily,

                  If you just want to put

points on a map, you don’t need a geojson file.

A combin ation of the two
examples here: http://bokeh.pydata.org/en/latest/docs/user_guide/geo.html
will probably get you what you want.

                              The challenge

will be to make sure th at the
coordinates for your lat long, are
in the same project ion as your
map. This is the most
annoying bit.

Best,

Bird

On 10/18/16 12:07 PM, Nily n wrote:

Hi guys,

              I am very new to Bokeh and to programming too.I have

an excel file with two columns LAT and LONG (latitude
and longitudes 500 different locations)and I want to
visualize it on the map.

              Is it possible to show the points on the map using an

excel file or does it have to be a geojson file?

              I have no idea what is a a geojson file .Can someone

tell me how I can change my excel file to geojson and
also how can I import it and get the points on the
Map

              I would really appreciate your help,it is my school

project .Thanks alot

            You received this message because you are subscribed to

the Google Groups “Bokeh Discussion - Public” group.

            To unsubscribe from this group and stop receiving emails

from it, send an email to [email protected].

            To post to this group, send email to [email protected].

            To view this discussion on the web visit [https://groups.google.com/a/continuum.io/d/msgid/bokeh/afa0d423-f3ff-40d9-b85b-cf0651579a84%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/afa0d423-f3ff-40d9-b85b-cf0651579a84%40continuum.io?utm_medium=email&utm_source=footer).

            For more options, visit [https://groups.google.com/a/continuum.io/d/optout](https://groups.google.com/a/continuum.io/d/optout).


Sarah Bird
Developer, Bokeh

              [ ![Continuum
                  Analytics](http://docs.continuum.io/_static/img/ContinuumWordmark.png) ](http://continuum.io)

  You received this message because you are subscribed to the Google

Groups “Bokeh Discussion - Public” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to [email protected].

  To post to this group, send email to [email protected].

  To view this discussion on the web visit [https://groups.google.com/a/continuum.io/d/msgid/bokeh/a78ad071-62fd-4dc2-81d9-cc7de05c23ef%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/a78ad071-62fd-4dc2-81d9-cc7de05c23ef%40continuum.io?utm_medium=email&utm_source=footer).

  For more options, visit [https://groups.google.com/a/continuum.io/d/optout](https://groups.google.com/a/continuum.io/d/optout).


Sarah Bird
Developer, Bokeh

    [
      ![Continuum Analytics](http://docs.continuum.io/_static/img/ContinuumWordmark.png)
    ](http://continuum.io)

You received this message because you are subscribed to a topic in the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/MuTUrk-SW1U/unsubscribe.

To unsubscribe from this group and all its topics, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/ee9e68b0-e4b8-5d57-73be-f0fd53c60d40%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

" I have
an excel file with two columns LAT and LONG"

  Make sure those points are in the same coordinate system as your

tiles

···

On 10/23/16 8:39 PM, Linwood Creekmore
wrote:

I have an excel file with two columns LAT and LONG


Sarah Bird
Developer, Bokeh

    [
      ![Continuum Analytics](http://docs.continuum.io/_static/img/ContinuumWordmark.png)
    ](http://continuum.io)