https://github.com/benzap/mappt-editor
Used to map out pathways and lay out areas of a map for path finding
https://github.com/benzap/mappt-editor
Last synced: 10 months ago
JSON representation
Used to map out pathways and lay out areas of a map for path finding
- Host: GitHub
- URL: https://github.com/benzap/mappt-editor
- Owner: benzap
- License: epl-1.0
- Created: 2013-06-13T23:24:36.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-11-17T01:37:22.000Z (about 11 years ago)
- Last Synced: 2025-03-15T03:42:08.274Z (10 months ago)
- Language: Clojure
- Size: 11.6 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.html
- License: LICENSE
Awesome Lists containing this project
README
Mappt Editor Readme
<!--/*--><![CDATA[/*><!--*/
html { font-family: Times, serif; font-size: 12pt; }
.title { text-align: center; }
.todo { color: red; }
.done { color: green; }
.tag { background-color: #add8e6; font-weight:normal }
.target { }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.right {margin-left:auto; margin-right:0px; text-align:right;}
.left {margin-left:0px; margin-right:auto; text-align:left;}
.center {margin-left:auto; margin-right:auto; text-align:center;}
p.verse { margin-left: 3% }
pre {
border: 1pt solid #AEBDCC;
background-color: #F3F5F7;
padding: 5pt;
font-family: courier, monospace;
font-size: 90%;
overflow:auto;
}
table { border-collapse: collapse; }
td, th { vertical-align: top; }
th.right { text-align:center; }
th.left { text-align:center; }
th.center { text-align:center; }
td.right { text-align:right; }
td.left { text-align:left; }
td.center { text-align:center; }
dt { font-weight: bold; }
div.figure { padding: 0.5em; }
div.figure p { text-align: center; }
div.inlinetask {
padding:10px;
border:2px solid gray;
margin:10px;
background: #ffffcc;
}
textarea { overflow-x: auto; }
.linenr { font-size:smaller }
.code-highlighted {background-color:#ffff00;}
.org-info-js_info-navigation { border-style:none; }
#org-info-js_console-label { font-size:10px; font-weight:bold;
white-space:nowrap; }
.org-info-js_search-highlight {background-color:#ffff00; color:#000000;
font-weight:bold; }
/*]]>*/-->
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2013 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
Mappt Editor Readme
d#+AUTHOR: Benjamin Zaporzan
Table of Contents
- 1 Introduction
-
2 Programming Tasks
- 3 libmappt
-
4 Mappt Specification
- 5 Gui Application
- 6 Notes
-
7 Programming Tasks
1 Introduction
Mappt is an application to build maps with intelligent routing
capabilitites
2 Programming Tasks
2.1 mappt backend [0%]
-
[ ] Begin work on the design
-
[ ] Decide on a database schema
2.2 Mappt Specification [%]
-
[ ] Develop JSON Sample specification
2.3 mappt web frontend [%]
-
[ ] Develop Design for frontend application
3 libmappt
4 Mappt Specification
4.1 Definitions
4.1.1 Mappt
- name
- The name of our current map that we'd like to
traverse. ex. "Ohio Regional Hospital" if we were
developing a layout for that particular hospital
- maps
- a dictionary list consisting of all of the maps that make
up the current application.
- name
- The name of the particular map within the set of maps
- description
- a unique description describing info about this
map. ex. First floor of shuniah building
- mapid
- A GUID to uniquely identify this map
- points
- Traversal points to represent within Map Units.
- pointid
- A GUID to uniquely identify this point
- x
- the x dimension for the given point
- y
- the y dimension for the given point
- z
- the z dimension for the given point
- images
- maps consist of images.
- ref
- A reference to the location of the given
file. Supported formats have not been determined
- scale
- The scale of the given image in order to determine
it's representation in Map Units.
- position
- The position of the image relative to the
dimensions of the map.
- rotation
- the rotation of the given image relative to the
map. Expressed in quaternions.
- dimensions
- The dimensions of the given map. This determines
how many units the map makes up in Map Units.
- links
- links make up the connections between points in the
given map. It forms a relation between them.
- first
- Guid representing the first point
- second
- Guid representing the second point
- entrances
- the relationship between two points between any two
given maps. They can be thought of as 'global'
links
- first
- Guid representing the first point
- second
- Guid representing the second point
4.2 Json Sample
mappt : {
name : ":String",
maps : [{
name : ":String",
description : ":String",
mapid : ":Guid",
points : [{
pointid : ":Guid",
x : ":Float",
y : ":Float",
z : ":Float",
tags : {
":String" : ":Any",
...
},
}],
images : [{
ref : ":FileUri",
scale : [:Float, :Float, :Float],
position : [:Float, :Float, :Float],
rotation : [:Float, :Float, :Float, :Float],
}],
dimensions : [:Float, :Float, :Float],
links : [{
first : ":Guid",
second : ":Guid",
}],
}],
entrances : [{
first : ":Guid",
second : ":Guid",
}],
}
4.3 XML Sample
<mappt>
<name>Example</name>
<maps>
<map mapid="0000-0000-0000-0000">
<name>Map Name</name>
<description>Here is a description</description>
<points>
<point pointid="0000-0000-0000-0000">
<position x="0.0" y="0.0" z="0.0"></position>
<tags>
<tag key="someKey" value="someValue"></tag>
</tags>
</point>
</points>
<images>
<image ref="./somefile">
<scale x="0.0" y="0.0" z="0.0"></scale>
<position x="0.0" y="0.0" z="0.0"></position>
<rotation i="0.0" j="0.0" z="0.0" w="0.0"></rotation>
</image>
</images>
<dimensions>
<position x="0.0" y="0.0" z="0.0"></position>
</dimensions>
<links>
<link first="0000-0000-0000-0000" second="0000-0000-0000-0000"></link>
</links>
</map>
</maps>
<entrances>
<entrance first="0000-0000-0000-0000" second="0000-0000-0000-0000"></entrance>
</entrances>
</mappt>
5 Gui Application
6 Notes
- using clojure, should I use clojurescript for the frontend, or
stick to javascript?
7 Programming Tasks PROJECTS MAPPT
7.1 TODO Develop the base project.clj file
- make sure that the development environment is painless to work
with. Who wants to spend hours working in an environment that is
annoying to work in?