# Construct Location

![](/files/-Mihik_NKrtuq640uymk)

![](/files/-MihijsRwoKGdg5mPgpn) - [\[source code\]](https://github.com/ladybug-tools/ladybug-grasshopper/blob/master/ladybug_grasshopper/src//LB%20Construct%20Location.py)

Construct location from latitude, lognitude, and time zone data.

### Inputs

* **name**

A name for the location you are constructing. For example, "Steventon Island, Antarctica". (Default: "-")

* **latitude**

Location latitude between -90 and 90 (Default: 0).

* **longitude**

Location longitude between -180 (west) and 180 (east) (Default: 0).

* **time\_zone**

Time zone between -12 hours (west) and 12 hours (east). If None, the time zone will be an estimated integer value derived from the longitude in accordance with solar time (Default: None).

* **elevation**

A number for elevation of the location in meters. (Default: 0).

### Outputs

* **location**

Location data (use this output to construct the sun path).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ladybug.tools/ladybug-primer/components/0_import/construct_location.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
