How jeethesh022/landinsight works
LandInsight is a Flask land-valuation application. Users enter property details in quick or advanced valuation flows; the app resolves and fills property data, predicts price per square foot, adds comparable-based range and reliability information, explains the estimate, and offers reports and saved history. Account access, area lookup, and map-related endpoints are also represented. The source excerpts establish the app-to-explainer integration, but not all internal route calls or template wiring, so uncertain connections are omitted.
Main entry points: app.py Flask routes · train_model.py Model training · quick.html Quick valuation · advanced.html Advanced valuation
Components 21
Valuation
- Flask routes
app.py - Property input
app.py - Location resolution
app.py - Area defaults
app.py - Price prediction
app.py - Trained models
land_price_model_final.pkl - Land dataset
Land_Datasets_2.csv - Area lookup
app.py - Model training
train_model.py
Pricing insights
- Comparable price range
app.py - Feature explanations
explainer.py - Explanation display
static/why_price.js - Valuation report
app.py
Accounts and history
- Registration and login
app.py - Saved valuations
app.py - SQLite database
app.py
User experience
- Quick valuation
templates/quick.html - Advanced valuation
templates/advanced.html - Valuation result
templates/result.html - History page
templates/history.html
Other components
- Property owner
Connections 23
- Property owner → Quick valuation: enters details
- Property owner → Advanced valuation: enters details
- Quick valuation → Flask routes: submits valuation
- Advanced valuation → Flask routes: submits valuation
- Flask routes → Property input: processes input
app.py - Property input → Location resolution: resolves place
app.py - Property input → Area defaults: fills defaults
app.py - Flask routes → Price prediction: predicts price
app.py - Price prediction → Trained models: loads model
- Price prediction → Land dataset: uses property data
- Flask routes → Comparable price range: computes range
app.py - Flask routes → Feature explanations: builds explanation
app.py - Flask routes → Valuation result: renders result
- Valuation result → Explanation display: renders explanation
- Flask routes → Valuation report: builds report
app.py - Property owner → Registration and login: manages account
- Registration and login → SQLite database: reads and writes
app.py - Flask routes → Saved valuations: loads valuations
app.py - Saved valuations → SQLite database: reads records
app.py - Saved valuations → History page: renders history
app.py - Property owner → Area lookup: requests area data
- Model training → Land dataset: trains from
train_model.py - Model training → Trained models: writes model
train_model.py