span8
span4
As announced by Google on December 11,2018, Google Fusion Tables和Fusion Tables API will be turned off on December 3,2019.Some users may start to see errors in August 2019.关闭服务后,融合表支持将从FME中删除。For ways to migrate your data out of Google Fusion Tables using FME,see the blog post 7+Google Fusion Tables备选方案.
这个演示允许你用手机拍照,通过电子邮件将其发送到FME服务器,并发送回一封电子邮件,其中包含在地图上查看照片的链接。
This demo utilizes FME Server's abilities to receive email,process it with a workspace and send an email.在这个例子中,我们处理一个图像附件,but any attachment can be processed by FME Server.
只需使用支持GPS的智能手机拍照,and send it tophoto@demos-亚搏在线safe-software.fmecloud.com.You will receive an email back with a Google static map and a link to a map which shows the location of your photo.
View Mapγ下载压缩γFollow on Github
To run this demo you need FME Server and FME Desktop.这个演示运行在FME云上,这是我们托管FME服务器的方法之一。It is perfectly suited to processing email as FME Cloud instances are publicly accessible on the web.
IMPORTANT: Check your firewall settings,Port 25 has to be open for receiving emails.
本演示使用FME服务器通知服务,使电子邮件能够发送到FME服务器。Login to FME Server and navigate to the Notifications section.Create the following topics:
Name | Description |
photo_map_incoming_photo | Will be assigned to the email publisher and receive content when people emailphoto@demos-亚搏在线safe-software.fmecloud.com. |
照片地图报告 | Used to report to the user if their photo submission was successful or not. |
To create the email address that we will use to send photos into FME Server we need to create a new publisher of type Email (SMTP).使用以下内容创建发布服务器:
This creates an email address of the following structure photo@
要将成功或失败的电子邮件发送给用户,我们需要配置电子邮件订户。您需要一个SMTP服务器来发送发送邮件,而FME服务器没有提供一个。在本例中,我们使用的是Gmail帐户。创建具有以下内容的新订阅服务器:
Edit the 3_report_photo.fmw workspace,you need to update the private parameters in the workspace:
将工作区发布到地图上的照片存储库。发布时,向作业提交者服务和通知服务注册工作区。Make sure to set the edit properties on the Notification Service and set theSubscribe to Topicstophoto_map_incoming_photo.What this does is subscribe the workspace to thephoto_map_incoming_phototopic so that emails that come in trigger this workspace with the contents of the email.
Once you have run the 亚搏在线workflow once the PhotoOnMapPhotoLibrary Google Fusion table will be created.The settings on the table need changing to ensure the data is presented in the optimal way.
{subject}
摄像头信息
Manufacturer: {使}
模型: {model}
位置
Lat: {纬度}
Lng: {经度}
Altitude: {altitude}m
{subject}
摄像头信息
Manufacturer:{使}
模型:{model}
位置
Lat:{纬度}
Lng:{经度}
Altitude:{altitude}m
Sending email,第1部分:设置主题和电子邮件订户(2015年)
Receiving email,Part 1: Setting up a topic and an email address (2015)
Tutorial: Triggering Notifications from a Workspace (2015)
Workspace Notifications,第1部分:工作区内(2015年)
Directory Watch Publisher Tutorial (2016)
工作区通知,Part 3: Completion notification (2015)
工作区通知,Part 2: Configuring the default subscribers (2016)
Receiving UDP messages with FME Server
Workspace Notifications,Part 1: From within the workspace (2016)
© 2019 亚搏在线Safe Software Inc |Legal